正在显示
4 个修改的文件
包含
4 行增加
和
2 行删除
@@ -113,6 +113,7 @@ class EnjoyController extends HomeBaseController | @@ -113,6 +113,7 @@ class EnjoyController extends HomeBaseController | ||
113 | ->where('pid','<>',0) | 113 | ->where('pid','<>',0) |
114 | ->where('id','<>',CityCategoryModel::xqgh_cc) | 114 | ->where('id','<>',CityCategoryModel::xqgh_cc) |
115 | ->where('id','<>',CityCategoryModel::djxq) | 115 | ->where('id','<>',CityCategoryModel::djxq) |
116 | + ->where('is_show',1) | ||
116 | ->where('delete_time',0) | 117 | ->where('delete_time',0) |
117 | ->field('id,name')->select()->toArray(); | 118 | ->field('id,name')->select()->toArray(); |
118 | return $res; | 119 | return $res; |
@@ -167,6 +167,7 @@ class RegionController extends HomeBaseController | @@ -167,6 +167,7 @@ class RegionController extends HomeBaseController | ||
167 | $res = Db::name('city_category') | 167 | $res = Db::name('city_category') |
168 | ->where('pid','<>',0) | 168 | ->where('pid','<>',0) |
169 | ->where('id','<>',CityCategoryModel::xqgh_cc) | 169 | ->where('id','<>',CityCategoryModel::xqgh_cc) |
170 | + ->where('is_show',1) | ||
170 | ->where('delete_time',0) | 171 | ->where('delete_time',0) |
171 | ->field('id,name')->select()->toArray(); | 172 | ->field('id,name')->select()->toArray(); |
172 | return $res; | 173 | return $res; |
@@ -49,7 +49,7 @@ | @@ -49,7 +49,7 @@ | ||
49 | <form method="GET" action="/portal/enjoy/index"> | 49 | <form method="GET" action="/portal/enjoy/index"> |
50 | <input class="show_city" type="text" value="所有" readonly="readonly"> | 50 | <input class="show_city" type="text" value="所有" readonly="readonly"> |
51 | <img src="__TMPL__/public/assets/starImg/down.png" alt=""> | 51 | <img src="__TMPL__/public/assets/starImg/down.png" alt=""> |
52 | - <ul style="height:300px;overflow-y: scroll;width:240px;"> | 52 | + <ul style="min-height:138px;max-height:300px;overflow-y: scroll;width:240px;"> |
53 | <li>所有</li> | 53 | <li>所有</li> |
54 | <volist name="city_name" id="vo"> | 54 | <volist name="city_name" id="vo"> |
55 | <li value="{$vo.id}">{$vo.name}</li> | 55 | <li value="{$vo.id}">{$vo.name}</li> |
@@ -45,7 +45,7 @@ | @@ -45,7 +45,7 @@ | ||
45 | <div class="select"> | 45 | <div class="select"> |
46 | <input type="text" class="show_city" value="所有" readonly="readonly"> | 46 | <input type="text" class="show_city" value="所有" readonly="readonly"> |
47 | <img src="__TMPL__/public/assets/starImg/down.png" alt=""> | 47 | <img src="__TMPL__/public/assets/starImg/down.png" alt=""> |
48 | - <ul style="height:300px;overflow-y: scroll;width:145px;"> | 48 | + <ul style="min-height:130px;max-height:300px;overflow-y: scroll;width:145px;"> |
49 | <li>所有</li> | 49 | <li>所有</li> |
50 | <volist name="city_name" id="vo"> | 50 | <volist name="city_name" id="vo"> |
51 | <li value="{$vo.id}">{$vo.name}</li> | 51 | <li value="{$vo.id}">{$vo.name}</li> |
-
请 注册 或 登录 后发表评论