zhangyuhan 1 жил өмнө
parent
commit
60e8146de4

BIN
apps/bigmember_pc/src/assets/images/vip/qzkh.png


+ 6 - 1
apps/bigmember_pc/src/composables/quick-monitor/use/ent.js

@@ -213,7 +213,12 @@ function useEntQuickMonitorModel({ type, id }) {
         }
         break
       case 'more':
-        doOpenWinnerPage({ id: getId() })
+        doOpenWinnerPage({
+          id: getId(),
+          query: {
+            active: 4
+          }
+        })
         break
       case 'list':
         doOpenWinnerListPage()

+ 1 - 1
apps/bigmember_pc/src/composables/quick-monitor/use/porject.js

@@ -213,7 +213,7 @@ function useProjectQuickMonitorModel({ type, id }) {
         }
         break
       case 'more':
-        doOpenProjectDetailPage({ id: getId() })
+        doOpenProjectDetailPage({ id: getId(), mark: 1 })
         break
       case 'list':
         doOpenProjectProgressListPage()

+ 7 - 2
apps/bigmember_pc/src/views/article-content/composables/useArticleUtil.js

@@ -52,8 +52,13 @@ export function doOpenCorListPage() {
 }
 
 // 打开项目监控详情页
-export function doOpenProjectDetailPage({ id }) {
-  window.open(`/swordfish/page_big_pc/pro_follow_detail?sid=${id}`, '_blank')
+export function doOpenProjectDetailPage({ id, mark }) {
+  window.open(
+    `/swordfish/page_big_pc/pro_follow_detail?sid=${id}${
+      mark ? `&mark=${mark}` : ''
+    }`,
+    '_blank'
+  )
 }
 
 // 打开项目监控列表页

+ 8 - 7
apps/bigmember_pc/src/views/project/ProjectInfo.vue

@@ -423,7 +423,14 @@ export default {
     this.sid = query.sid
     // this.fid = query.fid
     this.getProjectRecordList()
-    await this.getFollowPInfo()
+    await this.getFollowPInfo().then(() => {
+      // 从详情页过来时,跳转定位到项目公告
+      if (this.$route.query.mark === '1') {
+        this.$nextTick(() => {
+          this.$refs.timeList.$el.scrollIntoView()
+        })
+      }
+    })
     await this.getJoinBidInfo()
   },
   beforeDestroy() {
@@ -433,12 +440,6 @@ export default {
   },
   mounted() {
     window.addEventListener('click', this.doClosePopover)
-    // 从详情页过来时,跳转定位到项目公告
-    if (document.referrer && document.referrer?.indexOf('/content/') !== -1) {
-      this.$nextTick(() => {
-        this.$refs.timeList.$el.scrollIntoView()
-      })
-    }
   },
   beforeMount() {
     window.removeEventListener('click', this.doClosePopover)