bding 2 年之前
父節點
當前提交
9ce52c710b
共有 2 個文件被更改,包括 14 次插入2 次删除
  1. 8 1
      pageMy/myCollection/myCollection.vue
  2. 6 1
      pageMy/myLeavingMessage/myLeavingMessage.vue

+ 8 - 1
pageMy/myCollection/myCollection.vue

@@ -146,7 +146,14 @@ export default {
     },
     // 去往文章详情页面
     goDetailReport(item) {
-      this.$store.dispatch("checkHandle", "/pageMy/reportDetail/reportDetail?id=" + item.ArticleId);
+      if (item.IsRoadShow) {
+        //跳转路演精华
+        uni.navigateTo({
+          url: "/reportPages/roadEssence/roadEssence?id=" + item.ArticleId,
+        });
+      } else {
+        this.$store.dispatch("checkHandle", "/pageMy/reportDetail/reportDetail?id=" + item.ArticleId);
+      }
     },
 
     // 去往主题详情

+ 6 - 1
pageMy/myLeavingMessage/myLeavingMessage.vue

@@ -46,7 +46,12 @@ export default {
     goDetail(item) {
       this.$store.commit("setRouterActivity", "我的留言");
       this.$store.commit("setRouterReport", "我的留言");
-      if (item.RedirectType == 1) {
+      if (item.IsRoadShow) {
+        //跳转路演精华
+        uni.navigateTo({
+          url: "/reportPages/roadEssence/roadEssence?id=" + item.ArticleId,
+        });
+      } else if (item.RedirectType == 1) {
         uni.navigateTo({
           url: "/pageMy/reportDetail/reportDetail?id=" + item.ArticleId,
         });