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