|
@@ -8,12 +8,7 @@
|
|
|
</text>
|
|
|
</view>
|
|
|
<view class="read-more">
|
|
|
- <text
|
|
|
- class="text-box text_oneLine"
|
|
|
- @click="scrollGo(item.IndustrialSubjectId)"
|
|
|
- v-for="item in themeList.ListSubject"
|
|
|
- :key="item.IndustrialSubjectId"
|
|
|
- >
|
|
|
+ <text class="text-box text_oneLine" @click="scrollGo(item.IndustrialSubjectId)" v-for="item in themeList.ListSubject" :key="item.IndustrialSubjectId">
|
|
|
{{ item.SubjectName }}
|
|
|
</text>
|
|
|
</view>
|
|
@@ -75,6 +70,9 @@ export default {
|
|
|
confirmText: "知道了",
|
|
|
isCancelBtn: false,
|
|
|
accounts: "",
|
|
|
+ themeId: 0,
|
|
|
+ sourceShare: "",
|
|
|
+ pageRouterShare: "",
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
@@ -166,11 +164,21 @@ export default {
|
|
|
onLoad(options) {
|
|
|
let source = options.source || "";
|
|
|
let pageRouter = options.pageRouter || "";
|
|
|
+ this.themeId = options.id;
|
|
|
+ this.pageRouterShare = pageRouter;
|
|
|
+ this.sourceShare = source;
|
|
|
this.researchThemeDetail(options.id, source, pageRouter);
|
|
|
},
|
|
|
onShow() {
|
|
|
this.$store.commit("setRouterReport", "主题详情");
|
|
|
},
|
|
|
+ /** 用户点击分享 */
|
|
|
+ onShareAppMessage: function (res) {
|
|
|
+ return {
|
|
|
+ title: "研选主题",
|
|
|
+ path: "/reportPages/authorPages/authorPages?id=" + this.authorId + "&source=" + this.sourceShare + "&pageRouter=" + this.pageRouterShare,
|
|
|
+ };
|
|
|
+ },
|
|
|
};
|
|
|
</script>
|
|
|
|