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

调试视频定位

@@ -104,7 +104,7 @@ @@ -104,7 +104,7 @@
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="" />
106 </div> 106 </div>
107 - <div class="idnex_seventh_swiper_contant_title txt-cut" style="-webkit-line-clamp: 2;"> 107 + <div class="idnex_seventh_swiper_contant_title txt-cut video_title" style="-webkit-line-clamp: 2;">
108 {$vo.post_title} 108 {$vo.post_title}
109 </div> 109 </div>
110 </div> 110 </div>
@@ -6,17 +6,21 @@ @@ -6,17 +6,21 @@
6 var city_id = getUrlParam('city_id'); 6 var city_id = getUrlParam('city_id');
7 // 分享链接 7 // 分享链接
8 var url; 8 var url;
  9 + var title_title;
9 if(pathname == '/portal/region/getMoreVideo'){ 10 if(pathname == '/portal/region/getMoreVideo'){
  11 + title_title = $('.video_title').text();
10 if(city_id == ''){ 12 if(city_id == ''){
11 url = $('.video_index_url').val(); 13 url = $('.video_index_url').val();
12 }else{ 14 }else{
13 url = $('.video_index_url').val(); 15 url = $('.video_index_url').val();
14 } 16 }
15 }else{ 17 }else{
  18 + // 分享标题
  19 + title_title = $(document).attr('title');
16 url = window.location.href; 20 url = window.location.href;
17 } 21 }
18 - // 分享标题  
19 - var title_title = $(document).attr('title'); 22 + console.log(444);
  23 + console.log(url);
20 // 分享简介 24 // 分享简介
21 var description = $('.share_content').text().replace(/\s*/g,'').substring(0,50); 25 var description = $('.share_content').text().replace(/\s*/g,'').substring(0,50);
22 wx.config({ 26 wx.config({