...
|
...
|
@@ -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({
|
...
|
...
|
|