|
@@ -43,10 +43,23 @@ export default {
|
|
|
this.titleShare = data.title;
|
|
|
},
|
|
|
initLoad(optios) {
|
|
|
- let urlType = ["index", "reportForm", "activity", "themeActivity", "activityDetail", "reportDetail", "IndustryReport", "reportSecretDetail", "roadEssence"];
|
|
|
+ let urlType = [
|
|
|
+ "index",
|
|
|
+ "reportForm",
|
|
|
+ "activity",
|
|
|
+ "themeActivity",
|
|
|
+ "activityDetail",
|
|
|
+ "reportDetail",
|
|
|
+ "IndustryReport",
|
|
|
+ "reportSecretDetail",
|
|
|
+ "roadEssence",
|
|
|
+ "chartPage",
|
|
|
+ "specialDetail",
|
|
|
+ "specialResearchPage",
|
|
|
+ ];
|
|
|
if (JSON.stringify(optios) !== "{}" && optios.path) {
|
|
|
let pathUrl = optios.path.split("/")[2];
|
|
|
- this.urlPath = urlType.includes(pathUrl) ? '/' + pathUrl : "/index";
|
|
|
+ this.urlPath = urlType.includes(pathUrl) ? "/" + pathUrl : "/index";
|
|
|
this.queryList = optios.query || "";
|
|
|
}
|
|
|
},
|
|
@@ -55,9 +68,9 @@ export default {
|
|
|
this.getToken();
|
|
|
this.initLoad(optios);
|
|
|
},
|
|
|
- onShareAppMessage(op) {
|
|
|
+ onShareAppMessage() {
|
|
|
return {
|
|
|
- title: this.isHorzMobile ? "好友向您推荐此内容,上传名片享查研观向免费月卡!" : this.titleShare,
|
|
|
+ title: this.isHorzMobile ? "好友向您推荐此内容,上传名片享查研观向免费月卡!" : this.titleShare,
|
|
|
path: this.urlShare,
|
|
|
};
|
|
|
},
|