作者 景龙
1 个管道 的构建 通过 耗费 2 秒

修改城市切换跳转

@@ -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 //切换视频