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

修改城市切换跳转

... ... @@ -293,8 +293,10 @@
}
});
$('.first_searchUl li').click(function() {
$('#city_id').val($(this).val());
var city_id = $(this).val();
$('#city_id').val(city_id);
$('form').submit();
window.location.href = '/portal/enjoy/index?city_id='+city_id;
});
// 星域秀场视频
var video = document.getElementById("video");
... ...
... ... @@ -203,9 +203,10 @@
//下拉框选择城市
$('.select ul li').click(function() {
$('#city_id').val($(this).val());
console.log($(this).val());
var city_id = $(this).val();
$('#city_id').val(city_id);
$('form').submit();
window.location.href = '/portal/region/getMoreVideo?city_id='+city_id;
});
//切换视频
... ...