正在显示
2 个修改的文件
包含
6 行增加
和
3 行删除
@@ -293,8 +293,10 @@ | @@ -293,8 +293,10 @@ | ||
293 | } | 293 | } |
294 | }); | 294 | }); |
295 | $('.first_searchUl li').click(function() { | 295 | $('.first_searchUl li').click(function() { |
296 | - $('#city_id').val($(this).val()); | 296 | + var city_id = $(this).val(); |
297 | + $('#city_id').val(city_id); | ||
297 | $('form').submit(); | 298 | $('form').submit(); |
299 | + window.location.href = '/portal/enjoy/index?city_id='+city_id; | ||
298 | }); | 300 | }); |
299 | // 星域秀场视频 | 301 | // 星域秀场视频 |
300 | var video = document.getElementById("video"); | 302 | var video = document.getElementById("video"); |
@@ -203,9 +203,10 @@ | @@ -203,9 +203,10 @@ | ||
203 | 203 | ||
204 | //下拉框选择城市 | 204 | //下拉框选择城市 |
205 | $('.select ul li').click(function() { | 205 | $('.select ul li').click(function() { |
206 | - $('#city_id').val($(this).val()); | ||
207 | - console.log($(this).val()); | 206 | + var city_id = $(this).val(); |
207 | + $('#city_id').val(city_id); | ||
208 | $('form').submit(); | 208 | $('form').submit(); |
209 | + window.location.href = '/portal/region/getMoreVideo?city_id='+city_id; | ||
209 | }); | 210 | }); |
210 | 211 | ||
211 | //切换视频 | 212 | //切换视频 |
-
请 注册 或 登录 后发表评论