|
@@ -288,9 +288,8 @@ export default {
|
|
this.reportInfo = Data.Report;
|
|
this.reportInfo = Data.Report;
|
|
this.Disclaimer = Data.Disclaimer||'';
|
|
this.Disclaimer = Data.Disclaimer||'';
|
|
this.isshow = true;
|
|
this.isshow = true;
|
|
- wxShare(document.location.href,H5ShareName || document.title,wxShareTitle,H5ReportShareImg,0);
|
|
|
|
|
|
|
|
- this.splitContentHandle();
|
|
|
|
|
|
+ this.splitContentHandle(document.location.href,H5ShareName || document.title,wxShareTitle,H5ReportShareImg,0);
|
|
|
|
|
|
$(document).on("click", "#resetcss img", function (event) {
|
|
$(document).on("click", "#resetcss img", function (event) {
|
|
let imgArray = [];
|
|
let imgArray = [];
|
|
@@ -351,7 +350,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
/*内容分割*/
|
|
/*内容分割*/
|
|
- splitContentHandle() {
|
|
|
|
|
|
+ splitContentHandle(shareurl,title,desc,imgurl,hide) {
|
|
let content='';
|
|
let content='';
|
|
if(this.reportInfo.HasChapter===1) {
|
|
if(this.reportInfo.HasChapter===1) {
|
|
this.reportInfo.ChapterList.forEach(item => {
|
|
this.reportInfo.ChapterList.forEach(item => {
|
|
@@ -366,6 +365,10 @@ export default {
|
|
this.realContent = this.totalContent.slice(0, this.pageSize);
|
|
this.realContent = this.totalContent.slice(0, this.pageSize);
|
|
this.total_page = parseInt(this.totalContent.length / this.pageSize) + 1;
|
|
this.total_page = parseInt(this.totalContent.length / this.pageSize) + 1;
|
|
// console.log(this.realContent, this.totalContent);
|
|
// console.log(this.realContent, this.totalContent);
|
|
|
|
+
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
+ wxShare(shareurl,title,desc,imgurl,hide);
|
|
|
|
+ })
|
|
},
|
|
},
|
|
|
|
|
|
/* 加载下一页内容 */
|
|
/* 加载下一页内容 */
|