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

调试视频定位

@@ -281,9 +281,9 @@ @@ -281,9 +281,9 @@
281 function video_index_url(index){ 281 function video_index_url(index){
282 var city_id = getUrlParam('city_id'); 282 var city_id = getUrlParam('city_id');
283 if(city_id == ''){ 283 if(city_id == ''){
284 - $('.video_index_url').val(window.location.href+'?video_index='+index); 284 + $('.video_index_url').val(window.location.href+'?video_index='+index+'#video_index_'+index);
285 }else{ 285 }else{
286 - $('.video_index_url').val(window.location.href+'&video_index='+index); 286 + $('.video_index_url').val(window.location.href+'&video_index='+index+'#video_index_'+index);
287 } 287 }
288 } 288 }
289 289
@@ -99,7 +99,7 @@ @@ -99,7 +99,7 @@
99 <!-- 轮播图 --> 99 <!-- 轮播图 -->
100 <ul class="swiper-wrapper curren video_active"> 100 <ul class="swiper-wrapper curren video_active">
101 <volist name="res['data']" id="vo"> 101 <volist name="res['data']" id="vo">
102 - <li class="swiper-slide"> 102 + <li class="swiper-slide" id="video_index_{$key}">
103 <div class="idnex_seventh_swiper_contant"> 103 <div class="idnex_seventh_swiper_contant">
104 <div class="idnex_seventh_swiper_contant_img"> 104 <div class="idnex_seventh_swiper_contant_img">
105 <img class="li_img" src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> 105 <img class="li_img" src="{:cmf_get_image_url($vo.thumbnail)}" alt="" />
@@ -296,9 +296,9 @@ @@ -296,9 +296,9 @@
296 function video_index_url(index){ 296 function video_index_url(index){
297 var city_id = getUrlParam('city_id'); 297 var city_id = getUrlParam('city_id');
298 if(city_id == ''){ 298 if(city_id == ''){
299 - $('.video_index_url').val(window.location.href+'?city_id=0&video_index='+index); 299 + $('.video_index_url').val(window.location.href+'?city_id=0&video_index='+index+'#video_index_'+index);
300 }else{ 300 }else{
301 - $('.video_index_url').val(window.location.href+'&video_index='+index); 301 + $('.video_index_url').val(window.location.href+'&video_index='+index+'#video_index_'+index);
302 } 302 }
303 } 303 }
304 304