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

调试视频定位

... ... @@ -104,7 +104,7 @@
<div class="idnex_seventh_swiper_contant_img">
<img class="li_img" src="{:cmf_get_image_url($vo.thumbnail)}" alt="" />
</div>
<div class="idnex_seventh_swiper_contant_title txt-cut" style="-webkit-line-clamp: 2;">
<div class="idnex_seventh_swiper_contant_title txt-cut video_title" style="-webkit-line-clamp: 2;">
{$vo.post_title}
</div>
</div>
... ...
... ... @@ -6,17 +6,21 @@
var city_id = getUrlParam('city_id');
// 分享链接
var url;
var title_title;
if(pathname == '/portal/region/getMoreVideo'){
title_title = $('.video_title').text();
if(city_id == ''){
url = $('.video_index_url').val();
}else{
url = $('.video_index_url').val();
}
}else{
// 分享标题
title_title = $(document).attr('title');
url = window.location.href;
}
// 分享标题
var title_title = $(document).attr('title');
console.log(444);
console.log(url);
// 分享简介
var description = $('.share_content').text().replace(/\s*/g,'').substring(0,50);
wx.config({
... ...