作者 jinglong
1 个管道 的构建 通过 耗费 1 秒

调试分享

@@ -30,7 +30,7 @@ @@ -30,7 +30,7 @@
30 <span class="hp_forConTime"></span> 30 <span class="hp_forConTime"></span>
31 <!--富文本--> 31 <!--富文本-->
32 <div class="hp_forConText"> 32 <div class="hp_forConText">
33 - <div class="hp_forConTime" style="color:#333;">{$res.post_content}</div> 33 + <div class="hp_forConTime share_content" style="color:#333;">{$res.post_content}</div>
34 <!--轮播--> 34 <!--轮播-->
35 <div class="hp_fwb swiper-container"> 35 <div class="hp_fwb swiper-container">
36 <div class="swiper-wrapper"> 36 <div class="swiper-wrapper">
@@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@
33 <div class="index_eight_detail_two"> 33 <div class="index_eight_detail_two">
34 <!--2019-02-04--> 34 <!--2019-02-04-->
35 </div> 35 </div>
36 - <div class="index_eight_detail_three"> 36 + <div class="index_eight_detail_three share_content">
37 {$res.post_content} 37 {$res.post_content}
38 </div> 38 </div>
39 </div> 39 </div>
@@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@
33 <div class="index_eight_detail_two"> 33 <div class="index_eight_detail_two">
34 <!--2019-02-04--> 34 <!--2019-02-04-->
35 </div> 35 </div>
36 - <div class="index_eight_detail_three"> 36 + <div class="index_eight_detail_three share_content">
37 {$res.post_content} 37 {$res.post_content}
38 </div> 38 </div>
39 </div> 39 </div>
@@ -39,7 +39,7 @@ @@ -39,7 +39,7 @@
39 </div> 39 </div>
40 </div> 40 </div>
41 <!--富文本内容--> 41 <!--富文本内容-->
42 - <div class="sw_deCon"> 42 + <div class="sw_deCon share_content">
43 {$res.post_content} 43 {$res.post_content}
44 </div> 44 </div>
45 </div> 45 </div>
@@ -36,7 +36,7 @@ @@ -36,7 +36,7 @@
36 </div> 36 </div>
37 </div> 37 </div>
38 <!--富文本内容--> 38 <!--富文本内容-->
39 - <div class="sw_deCon"> 39 + <div class="sw_deCon share_content">
40 {$res.post_content} 40 {$res.post_content}
41 </div> 41 </div>
42 </div> 42 </div>
@@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@
33 <div class="index_eight_detail_two"> 33 <div class="index_eight_detail_two">
34 {$res.post_excerpt} 34 {$res.post_excerpt}
35 </div> 35 </div>
36 - <div class="index_eight_detail_three"> 36 + <div class="index_eight_detail_three share_content">
37 {$res.post_content} 37 {$res.post_content}
38 </div> 38 </div>
39 </div> 39 </div>
@@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@
33 <div class="index_eight_detail_two"> 33 <div class="index_eight_detail_two">
34 <!--2019-02-04--> 34 <!--2019-02-04-->
35 </div> 35 </div>
36 - <div class="index_eight_detail_three"> 36 + <div class="index_eight_detail_three share_content">
37 {$res.post_content} 37 {$res.post_content}
38 </div> 38 </div>
39 </div> 39 </div>
@@ -64,7 +64,7 @@ @@ -64,7 +64,7 @@
64 </ul> 64 </ul>
65 </div> 65 </div>
66 <!--详细--> 66 <!--详细-->
67 - <div class="hapy_lodDetail"> 67 + <div class="hapy_lodDetail share_content">
68 {$res.post_content} 68 {$res.post_content}
69 </div> 69 </div>
70 </div> 70 </div>
@@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@
33 <div class="index_eight_detail_two"> 33 <div class="index_eight_detail_two">
34 <!--2019-02-04--> 34 <!--2019-02-04-->
35 </div> 35 </div>
36 - <div class="index_eight_detail_three"> 36 + <div class="index_eight_detail_three share_content">
37 {$res.post_content} 37 {$res.post_content}
38 </div> 38 </div>
39 </div> 39 </div>
@@ -58,7 +58,7 @@ @@ -58,7 +58,7 @@
58 </div> 58 </div>
59 <div class="index_eighteenth"> 59 <div class="index_eighteenth">
60 <div class="index_eighteenth_top"> 60 <div class="index_eighteenth_top">
61 - <div class="index_eighteenth_center_one"> 61 + <div class="index_eighteenth_center_one share_content">
62 {$res.post_content} 62 {$res.post_content}
63 </div> 63 </div>
64 </div> 64 </div>
@@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@
33 <div class="index_eight_detail_two"> 33 <div class="index_eight_detail_two">
34 {$res.post_excerpt} 34 {$res.post_excerpt}
35 </div> 35 </div>
36 - <div class="index_eight_detail_three"> 36 + <div class="index_eight_detail_three share_content">
37 {$res.post_content} 37 {$res.post_content}
38 </div> 38 </div>
39 </div> 39 </div>
@@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
7 // 分享标题 7 // 分享标题
8 var title_title = $(document).attr('title'); 8 var title_title = $(document).attr('title');
9 // 分享简介 9 // 分享简介
10 - var description = $(document).text().substring(0,50); 10 + var description = $('.share_content').text().substring(0,50);
11 wx.config({ 11 wx.config({
12 debug: false, 12 debug: false,
13 appId: '{$data.appId}', 13 appId: '{$data.appId}',