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

调试视频定位

... ... @@ -281,9 +281,9 @@
function video_index_url(index){
var city_id = getUrlParam('city_id');
if(city_id == ''){
$('.video_index_url').val(window.location.href+'?video_index='+index);
$('.video_index_url').val(window.location.href+'?video_index='+index+'#video_index_'+index);
}else{
$('.video_index_url').val(window.location.href+'&video_index='+index);
$('.video_index_url').val(window.location.href+'&video_index='+index+'#video_index_'+index);
}
}
... ...
... ... @@ -99,7 +99,7 @@
<!-- 轮播图 -->
<ul class="swiper-wrapper curren video_active">
<volist name="res['data']" id="vo">
<li class="swiper-slide">
<li class="swiper-slide" id="video_index_{$key}">
<div class="idnex_seventh_swiper_contant">
<div class="idnex_seventh_swiper_contant_img">
<img class="li_img" src="{:cmf_get_image_url($vo.thumbnail)}" alt="" />
... ... @@ -296,9 +296,9 @@
function video_index_url(index){
var city_id = getUrlParam('city_id');
if(city_id == ''){
$('.video_index_url').val(window.location.href+'?city_id=0&video_index='+index);
$('.video_index_url').val(window.location.href+'?city_id=0&video_index='+index+'#video_index_'+index);
}else{
$('.video_index_url').val(window.location.href+'&video_index='+index);
$('.video_index_url').val(window.location.href+'&video_index='+index+'#video_index_'+index);
}
}
... ...