浏览代码

feat: 阳光采购标讯详情页 调整

cuiyalong 9 月之前
父节点
当前提交
b1ec28041f

二进制
apps/bigmember_pc/src/assets/images/article-mask/content-mask-card@2x.png


二进制
apps/bigmember_pc/src/assets/images/article-mask/content-mask-text@2x.png


+ 28 - 0
apps/bigmember_pc/src/assets/style/page/article.scss

@@ -116,6 +116,30 @@
     }
   }
 
+  .origin-detail-action-container {
+    display: flex;
+    align-items: center;
+    .origin-link-suffix {
+      display: flex;
+      align-items: center;
+      margin-left: 12px;
+      font-size: 14px;
+      line-height: 18px;
+      color: #888;
+    }
+  }
+  .origin-link-button {
+    display: flex;
+    align-items: center;
+    padding: 4px 14px;
+    background: linear-gradient(to right, #2abed1 0%, #1b8ffaf5 96%);
+    font-size: 16px;
+    line-height: 24px;
+    color: #fff;
+    border-radius: 4px;
+    margin-left: 12px;
+    cursor: pointer;
+  }
   .origin-detail-action {
     width: 132px;
     height: 34px;
@@ -133,6 +157,10 @@
     }
   }
 
+  .content-mask-container {
+    margin-top: 10px;
+  }
+
   .watch-tab-header {
     margin-top: 16px;
   }

+ 70 - 42
apps/bigmember_pc/src/views/article-content/components/ContentHeader.vue

@@ -6,6 +6,7 @@ import ArticleStar from '@/components/push-list/ArticleStar.vue'
 import {
   ContentModel,
   ContentId,
+  IsSunPublishContent,
   useRenMaiModel
 } from '@/views/article-content/composables/useContentStore'
 import { computed, getCurrentInstance, onMounted, ref } from 'vue'
@@ -25,7 +26,18 @@ const vt = computed(() => {
   return useStore().getters['user/vt']
 })
 
-const headerType = '业主委托项目'
+const headerType = computed(() => {
+  if (IsSunPublishContent.value) {
+    return '阳光直采用户发布'
+    // return '阳光直采平台发布'
+  } else {
+    return '业主委托项目'
+  }
+})
+
+const sunPublishContent = computed(() => IsSunPublishContent.value)
+
+const headerTypeShow = computed(() => ContentModel.value.isSelfSite || sunPublishContent.value)
 
 const keepLabel = [
   {
@@ -92,6 +104,8 @@ const openTagLink = (event, url) => {
   */
 }
 
+console.log(ContentModel)
+
 const {
   findRenMai,
   showRenMaiButton,
@@ -105,7 +119,7 @@ const {
       v-if="InWhichContainer === 'in-web'"
       class="right-work-actions"
     ></WorkspaceButtonGroup>
-    <div class="before-type" v-if="ContentModel.isSelfSite">
+    <div class="before-type" v-if="headerTypeShow">
       {{ headerType }}
     </div>
     <h1 class="title">
@@ -116,6 +130,7 @@ const {
         <a
           v-if="item.hasLink"
           class="pointer"
+          :class="[item.className]"
           data-link
           :key="index"
           v-drag
@@ -123,7 +138,7 @@ const {
         >
           {{ item.label }}
         </a>
-        <a v-else :key="index + 'no-link'">
+        <a v-else :key="index + 'no-link'" :class="[item.className]">
           {{ item.label }}
         </a>
       </template>
@@ -131,14 +146,17 @@ const {
     <div class="actions-info">
       <div class="time-label">{{ ContentModel.time }}</div>
       <div class="actions" v-if="!isUseBIActions">
-        <div class="action-item" @click="openDistribute" v-if="vt === 'q'">
-          <span class="iconfont icon-shoudongfenfa"></span>
-          <span class="text">分发</span>
-        </div>
-        <div class="action-item" @click="openShare">
-          <span class="iconfont icon-fenxiang"></span>
-          <span class="text">转给同事</span>
-        </div>
+        <template v-if="!sunPublishContent">
+          <div class="action-item" @click="openDistribute" v-if="vt === 'q'">
+            <span class="iconfont icon-shoudongfenfa"></span>
+            <span class="text">分发</span>
+          </div>
+          <div class="action-item" @click="openShare">
+            <span class="iconfont icon-fenxiang"></span>
+            <span class="text">转给同事</span>
+          </div>
+        </template>
+        
 
         <div class="action-item">
           <el-popover
@@ -157,38 +175,41 @@ const {
           </el-popover>
         </div>
 
-        <quick-monitor
-          class="action-item"
-          :cache="true"
-          type="project"
-          :params="ContentId"
-        ></quick-monitor>
+        <template v-if="!sunPublishContent">
+          <quick-monitor
+            class="action-item"
+            :cache="true"
+            type="project"
+            :params="ContentId"
+          ></quick-monitor>
 
-        <div
-          class="action-item"
-          v-if="JoinBidInfo.showParticipate"
-          @click="doChangeJoinBid('in')"
-        >
-          <span class="iconfont icon-canbiao"></span>
-          <span class="text">参标</span>
-        </div>
-        <div
-          class="action-item"
-          v-if="JoinBidInfo.showStopParticipate"
-          @click="doChangeJoinBid('out')"
-        >
-          <span class="iconfont icon-canbiao icon-stop-canbiao"></span>
-          <span class="text">终止参标</span>
-        </div>
+          <div
+            class="action-item"
+            v-if="JoinBidInfo.showParticipate"
+            @click="doChangeJoinBid('in')"
+          >
+            <span class="iconfont icon-canbiao"></span>
+            <span class="text">参标</span>
+          </div>
+          <div
+            class="action-item"
+            v-if="JoinBidInfo.showStopParticipate"
+            @click="doChangeJoinBid('out')"
+          >
+            <span class="iconfont icon-canbiao icon-stop-canbiao"></span>
+            <span class="text">终止参标</span>
+          </div>
 
-        <div class="action-item">
-          <article-star
-            :id="ContentId"
-            :star="starModel.star"
-            @change="doFetchStarState"
-            @change-labels="doFetchStarState"
-          ></article-star>
-        </div>
+          <div class="action-item">
+            <article-star
+              :id="ContentId"
+              :star="starModel.star"
+              @change="doFetchStarState"
+              @change-labels="doFetchStarState"
+            ></article-star>
+          </div>
+        </template>
+        
       </div>
       <div class="actions" v-if="isUseBIActions">
         <content-b-i-actions
@@ -197,7 +218,7 @@ const {
         ></content-b-i-actions>
       </div>
     </div>
-    <div class="expands-info">
+    <div class="expands-info" v-if="!sunPublishContent">
       <div class="join-bid-actions flex flex-(row items-center)">
         <el-tooltip
           class="item"
@@ -329,6 +350,13 @@ const {
   }
   .tags {
     margin-top: 12px;
+    .tag-orange {
+      color: #FA6F33;
+      background-color: #FFF1EB;
+      &.border {
+        border: 1px solid #F56500;
+      }
+    }
   }
   .tags a {
     border-radius: 4px;

+ 61 - 0
apps/bigmember_pc/src/views/article-content/components/ContentTextMask.vue

@@ -0,0 +1,61 @@
+<template>
+  <div class="content-text-mask-container">
+    <div class="content-text-mask">
+      <div class="content-text-mask-bg-container">
+        <img class="mask-img mask-bg" src="@/assets/images/article-mask/content-mask-text@2x.png" />
+      </div>
+      <div class="content-text-card">
+        <img src="@/assets/images/article-mask/content-mask-card@2x.png" alt="">
+        <div class="click-mask pointer" @click="toSee"></div>
+      </div>
+    </div>
+  </div>
+</template>
+
+<script>
+export default {
+  name: 'ContentTextMask',
+  props: {},
+  data() {
+    return {}
+  },
+  methods: {
+    toSee() {
+      this.$emit('see')
+    }
+  }
+}
+</script>
+
+<style lang="scss" scoped>
+.content-text-mask {
+  position: relative;
+  .content-text-mask-bg-container {
+    position: relative;
+    width: 100%;
+    height: 100%;
+    z-index: 1;
+  }
+  .mask-img {
+    display: block;
+    width: 100%;
+  }
+  .content-text-card {
+    position: absolute;
+    left: 50%;
+    top: 50%;
+    transform: translate(-50%,-50%);
+    width: 480px;
+    height: 295px;
+    z-index: 2;
+  }
+  .click-mask {
+    position: absolute;
+    width: 132px;
+    height: 36px;
+    left: 50%;
+    bottom: 20%;
+    transform: translateX(-50%);
+  }
+}
+</style>

+ 10 - 1
apps/bigmember_pc/src/views/article-content/composables/useContentStore.js

@@ -36,7 +36,9 @@ const AgentInfo = ref({
   token: '',
   baseToken: ''
 })
-const Content = reactive(useContentModel())
+
+const contentModelData = useContentModel()
+const Content = reactive(contentModelData)
 const ContentExpands = reactive(useContentExpandModel())
 
 const ContentPageLoading = ref(true)
@@ -53,6 +55,11 @@ const IsCustomTopNet = computed(() => {
   return ContentModel.value.IsCustomTopNet
 })
 
+// 是否阳光采购发布标讯
+const IsSunPublishContent = computed(() => {
+  return ContentModel.value.IsSunPublishContent
+})
+
 const SummaryModel = computed(() => {
   return Content.model.summary
 })
@@ -117,6 +124,7 @@ async function useContentStore() {
     ContentExpandsModel,
     ContentPageLoading,
     ContentPageExpandsLoading,
+    IsSunPublishContent,
     IsCustomTopNet
   }
 }
@@ -179,6 +187,7 @@ export {
   ContentPageLoading,
   ContentPageExpandsLoading,
   IsCustomTopNet,
+  IsSunPublishContent,
   ContentIsError,
   ContentErrorText
 }

+ 88 - 41
apps/bigmember_pc/src/views/article-content/pages/Article.vue

@@ -16,6 +16,7 @@ import CollectInfo from '@/components/collect-info/CollectInfo.vue'
 import Reward from '@/views/article-content/components/Reward.vue'
 import TimeLine from '@/components/time-line/TimeLine.vue'
 import ContentMask from '@/views/article-content/components/ContentMask.vue'
+import ContentTextMask from '@/views/article-content/components/ContentTextMask.vue'
 import Nps from '../components/Nps.vue'
 import adsense from '@/views/order/components/adsense/index.vue'
 import ContentLayout from '@/components/common/ContentLayout.vue'
@@ -32,6 +33,7 @@ import {
   ContentModel,
   ContentId,
   IsCustomTopNet,
+  IsSunPublishContent,
   ContentPageLoading,
   ContentPageExpandsLoading,
   SummaryModel,
@@ -115,6 +117,12 @@ const tabContentShow = computed(() => {
     computedState['投标服务'] = false
     computedState['客户推荐'] = false
   }
+  // 阳关采购隐藏以下3个模块
+  if (IsSunPublishContent.value) {
+    computedState['商机推荐'] = false
+    computedState['客户推荐'] = false
+    computedState['投标服务'] = false
+  }
   const result = Object.assign({}, tabContentState.value, computedState)
   handleScroll()
   return result
@@ -125,6 +133,14 @@ const tabContentHeaderList = computed(() => {
   })
 })
 
+const showSelfSiteTip = computed(() => {
+  if (IsSunPublishContent.value) {
+    return false
+  } else {
+    return ContentModel.isSelfSite
+  }
+})
+
 function doHideTabContent(label) {
   tabContentState.value[label] = false
 }
@@ -171,6 +187,13 @@ const timeLineList = computed(() => {
   )
 })
 
+const showRightTimeLine = computed(() => {
+  if (IsSunPublishContent.value) {
+    return false
+  }
+  return timeLineList.value.length > 0
+})
+
 const isFixedHeader = ref(false)
 
 const handleScroll = throttle((e) => {
@@ -268,15 +291,23 @@ function doOpenCustomer() {
 }
 // 是否显示遮罩
 const canShowMask = computed(() => {
-  let type = 'free-max'
-  if (ContentModel.value.isNiJian) {
-    type = 'proposed'
-  } else if (ContentModel.value.isCaigouyixiang) {
-    type = 'purchase'
-  }
-  return {
-    show: !ContentModel.value.isCanRead,
-    type: type
+  if (IsSunPublishContent.value) {
+    return {
+      show: false,
+      contentMaskShow: !ContentModel.value.isCanRead,
+      type: 'content-mask'
+    }
+  } else {
+    let type = 'free-max'
+    if (ContentModel.value.isNiJian) {
+      type = 'proposed'
+    } else if (ContentModel.value.isCaigouyixiang) {
+      type = 'purchase'
+    }
+    return {
+      show: !ContentModel.value.isCanRead,
+      type: type
+    }
   }
 })
 
@@ -431,7 +462,7 @@ function doClickFreeView() {
 
           <div v-if="!canShowMask.show">
             <!--  顶部提示 -->
-            <div class="content-header-tip" v-if="ContentModel.isSelfSite">
+            <div class="content-header-tip" v-if="showSelfSiteTip">
               <span>
                 该公告由业主方/采购单位直接发布,急寻供应商,立即报名直接联系业主方/采购单位参与投标采购。
               </span>
@@ -486,38 +517,54 @@ function doClickFreeView() {
                 v-if="tabContentShow['公告正文']"
               >
                 <div
-                  class="content-main-container"
-                  :data-content="canAddContentMainEvent"
-                >
-                  <div class="content-block-header">公告正文</div>
-                  <div
-                    class="content-detail-container"
-                    v-event-listener:click="doClickFreeView"
-                    data-event-selector=".free-view"
-                  >
-                    <pre v-html="ContentModel.contentHighlighted"></pre>
-                  </div>
-
-                  <el-button
-                    v-if="ContentModel.originalShow"
-                    class="origin-detail-action"
-                    @click="doOpenOriginLink"
+                    class="content-main-container"
+                    :data-content="canAddContentMainEvent"
                   >
-                    <span class="iconfont icon-chakanyuanwen"></span>
-                    查看原文链接
-                  </el-button>
-
-                  <div>
-                    <attachment-download
-                      :id="ContentId"
-                      :title="ContentModel.title"
-                      :attachment-list="ContentModel.attachments"
-                      @doOpenCollect="doOpenCollectDialog"
-                    ></attachment-download>
+                    <div class="content-block-header">公告正文</div>
+
+                    <template v-if="canShowMask.contentMaskShow">
+                      <div class="content-mask-container">
+                        <ContentTextMask />
+                      </div>
+                    </template>
+                    <template v-else>
+                      <div
+                        class="content-detail-container"
+                        v-event-listener:click="doClickFreeView"
+                        data-event-selector=".free-view"
+                      >
+                        <pre v-html="ContentModel.contentHighlighted"></pre>
+                      </div>
+
+                      <div class="origin-detail-action-container">
+                        <el-button
+                          v-if="ContentModel.originalShow"
+                          class="origin-detail-action"
+                          @click="doOpenOriginLink"
+                        >
+                          <span class="iconfont icon-chakanyuanwen"></span>
+                          查看原文链接
+                        </el-button>
+
+                        <span class="origin-link-suffix">
+                          <span>由于该企业要求必须入库供应商才可以参与报价,请点击入库链接,进行入库申请</span>
+                          <button class="origin-link-button" @click="doOpenOriginLink">点击入库</button>
+                        </span>
+                      </div>
+                      
+
+                      <div>
+                        <attachment-download
+                          :id="ContentId"
+                          :title="ContentModel.title"
+                          :attachment-list="ContentModel.attachments"
+                          @doOpenCollect="doOpenCollectDialog"
+                        ></attachment-download>
+                      </div>
+
+                      <Reward :id="ContentId" />
+                    </template>
                   </div>
-
-                  <Reward :id="ContentId" />
-                </div>
               </div>
             </div>
             <!--  nps评分  -->
@@ -609,7 +656,7 @@ function doClickFreeView() {
       :id="ContentId"
       @click-collect="doOpenCollectDialog"
     ></origin-link>
-    <template #right-top v-if="timeLineList.length > 0">
+    <template #right-top v-if="showRightTimeLine">
       <!--  招标/采购进度  -->
       <content-right-time-line
         :content-id="ContentId"

二进制
apps/mobile/src/assets/image/mask/bg/article-content-mask-card@2x.png


+ 6 - 0
apps/mobile/src/assets/style/modules/tag.scss

@@ -18,6 +18,7 @@ $jy-tag-padding: 6px;
 
 .j-tag-item {
   $blue: #05a6f3;
+  $orange-deep: #FA6F33;
 
   display: inline-flex;
   align-items: center;
@@ -45,6 +46,11 @@ $jy-tag-padding: 6px;
     border-color: $orange;
     background-color: rgba($orange, 0.1);
   }
+  &.orange-deep {
+    color: $orange-deep;
+    border-color: $orange-deep;
+    background-color: rgba($orange-deep, 0.1);
+  }
   &.blue {
     color: $blue;
     border-color: $blue;

+ 18 - 4
apps/mobile/src/views/article/components/ContentHeader.vue

@@ -1,7 +1,7 @@
 <template>
   <section class="content-title-container bg-white">
-    <span v-if="content.isSelfSite" class="page-tag red fixed-header-top-left">
-      业主委托项目
+    <span v-if="showHeaderType" class="page-tag red fixed-header-top-left">
+      {{ headerType }}
     </span>
     <!-- <span class="forecast fixed-header-right" v-if="otherModel.forecastShow">
       <span class="j-icon j-base-icon icon-ai"></span>
@@ -17,6 +17,7 @@
         v-for="(tag, index) in content.tags"
         :key="index"
         class="j-tag-item border gray round"
+        :class="[tag.className]"
         :href="tag.link"
         >{{ tag.label }}</a
       >
@@ -89,7 +90,21 @@ export default {
     ...mapState({
       content: (state) => state.article.mainModel.content,
       summary: (state) => state.article.mainModel.summary,
-      otherModel: (state) => state.article.otherModel
+      otherModel: (state) => state.article.otherModel,
+      IsSunPublishContent() {
+        return this.content.IsSunPublishContent || false
+      },
+      showHeaderType() {
+        return this.content.isSelfSite || this.IsSunPublishContent
+      },
+      headerType() {
+        if (this.IsSunPublishContent) {
+          return '阳光直采用户发布'
+          // return '阳光直采平台发布'
+        } else {
+          return '业主委托项目'
+        }
+      }
     }),
 
     cbPersonText() {
@@ -106,7 +121,6 @@ export default {
       }
     },
     showRenMaiButton() {
-      console.log(this.content)
       return articleTypeArr.includes(this.content?._ob?.topType)
     },
     collectionTags() {

+ 61 - 18
apps/mobile/src/views/article/components/ContentMainText.vue

@@ -1,23 +1,32 @@
 <template>
-  <ContentModuleCard title="公告正文" class="content-main-text-container">
-    <section class="content-main-text">
-      <pre v-html="content.contentHighlighted"></pre>
-    </section>
-    <AttachmentDownloadCard class="attachment-download-section" />
-    <div></div>
-    <Reward
-      :beforeLeavePage="beforeLeavePage"
-      v-if="rewardShow"
-      :id="content.id"
-    />
-    <section class="others-footer">
-      <div class="origin-link-container">
-        <OriginLink :id="content.id" v-if="content.originalShow" />
+  <ContentModuleCard title="公告正文" class="content-main-text-container" :class="{ 'mask-content': showMask }">
+    <template v-if="showMask">
+      <div class="content-text-mask-container">
+        <img src="@/assets/image/mask/bg/article-content-mask-card@2x.png" alt="">
+        <div class="click-to-get" @click="toUnlockContent"></div>
+        <div class="mask-feedback" @click="feedback"></div>
       </div>
-      <button class="feedback-button clickable" @click="feedback">
-        意见反馈
-      </button>
-    </section>
+    </template>
+    <template v-else>
+      <section class="content-main-text">
+        <pre v-html="content.contentHighlighted"></pre>
+      </section>
+      <AttachmentDownloadCard class="attachment-download-section" />
+      <div></div>
+      <Reward
+        :beforeLeavePage="beforeLeavePage"
+        v-if="rewardShow"
+        :id="content.id"
+      />
+      <section class="others-footer">
+        <div class="origin-link-container">
+          <OriginLink :id="content.id" v-if="content.originalShow" />
+        </div>
+        <button class="feedback-button clickable" @click="feedback">
+          意见反馈
+        </button>
+      </section>
+    </template>
   </ContentModuleCard>
 </template>
 <script>
@@ -38,6 +47,10 @@ export default {
     ContentModuleCard
   },
   props: {
+    showMask: {
+      type: Boolean,
+      default: false
+    },
     beforeLeavePage: Function
   },
   computed: {
@@ -53,6 +66,9 @@ export default {
     ...mapGetters('user', ['isLogin'])
   },
   methods: {
+    toUnlockContent() {
+      console.log('tounlockcontent')
+    },
     async feedback() {
       if (this.beforeLeavePage) {
         await this.beforeLeavePage()
@@ -74,6 +90,33 @@ export default {
     background-color: $white;
   }
 }
+.mask-content {
+  ::v-deep {
+    .content-module-main {
+      padding: 0;
+    }
+  }
+}
+
+.content-text-mask-container {
+  position: relative;
+  .click-to-get {
+    position: absolute;
+    width: 134px;
+    height: 36px;
+    left: 50%;
+    transform: translateX(-50%);
+    bottom: 126px;
+  }
+  .mask-feedback {
+    position: absolute;
+    width: 60px;
+    height: 24px;
+    right: 16px;
+    bottom: 12px;
+  }
+}
+
 .content-main-text {
   margin-bottom: 16px;
   ::v-deep {

+ 46 - 12
apps/mobile/src/views/article/content.vue

@@ -19,10 +19,10 @@
           <ContentHeaderBannerTip
             :id="pageState.id"
             :beforeLeavePage="beforeLeavePage"
-            v-if="content.recommendedService"
+            v-if="showContentHeaderBannerTip"
           ></ContentHeaderBannerTip>
           <van-tabs
-            v-if="canRead"
+            v-if="canReadConf.show"
             v-model="pageState.tabActive"
             :offset-top="offsetTop"
             scrollspy
@@ -53,6 +53,7 @@
               <ContentMainText
                 class="tab-module"
                 :beforeLeavePage="beforeLeavePage"
+                :showMask="!canReadConf.showContentModule"
               />
               <NpsCard
                 class="nps-module"
@@ -105,8 +106,7 @@
               />
             </van-tab>
           </van-tabs>
-
-          <template v-if="!canRead">
+          <template v-if="!canReadConf.show">
             <FreeUserAdvancedMask
               v-if="content.isNiJian || content.isCaigouyixiang"
               :type="content.isNiJian ? 'nijian' : 'caigouyixiang'"
@@ -124,7 +124,7 @@
           />
         </div>
         <div class="j-footer article-content-footer">
-          <TabActions :beforeLeavePage="beforeLeavePage" v-if="canRead" />
+          <TabActions :beforeLeavePage="beforeLeavePage" v-if="showTabActions" />
         </div>
       </div>
     </van-skeleton>
@@ -303,6 +303,15 @@ export default {
     IsCustomTopNet() {
       return this.content.IsCustomTopNet || false
     },
+    IsSunPublishContent() {
+      return this.content.IsSunPublishContent || false
+    },
+    showContentHeaderBannerTip() {
+      if (this.IsSunPublishContent) {
+        return false
+      }
+      return this.content.recommendedService
+    },
     openid() {
       return this.preAgentInfo.openid
     },
@@ -313,23 +322,44 @@ export default {
       'isNewBusiness',
       'bigMemberPower'
     ]),
-    canRead() {
-      return this.content.isCanRead
+    canReadConf() {
+      if (this.IsSunPublishContent) {
+        return {
+          show: true, // 是否展示全部内容
+          showContentModule: this.content.isCanRead,
+        }
+      } else {
+        return {
+          show: this.content.isCanRead,
+          showContentModule: true,
+        }
+      }
     },
     canShowNpsModule() {
       if (this.IsCustomTopNet) {
         return false
       }
-      return this.canRead
+      if (this.IsSunPublishContent) {
+        return false
+      }
+      return this.canReadConf.show
+    },
+    showTabActions() {
+      if (this.IsSunPublishContent) {
+        return false
+      }
+      return this.canReadConf.show
     },
     baseModuleShow() {
       return this.mainModel.moduleShow
     },
     advancedModuleShow() {
+      const { tbService, customerRecommend, timeline, zbRecommend } = this.expandModel.moduleShow
       return Object.assign({}, this.expandModel.moduleShow, {
-        tbService: this.IsCustomTopNet
-          ? false
-          : this.expandModel.moduleShow.tbService
+        tbService: (this.IsCustomTopNet || this.IsSunPublishContent) ? false : tbService,
+        customerRecommend: this.IsSunPublishContent ? false : customerRecommend,
+        timeline: this.IsSunPublishContent ? false : timeline,
+        zbRecommend: this.IsSunPublishContent ? false : zbRecommend,
       })
     },
     // 客户推荐模块是否展示
@@ -337,6 +367,9 @@ export default {
       if (this.IsCustomTopNet) {
         return false
       }
+      if (this.IsSunPublishContent) {
+        return false
+      }
       // 如果是有权限用户(权限7),则有数据展示,无数据不展示。无权限7用户则一直展示,展示广告引导
       if (this.hasCustomerModulePower) {
         return this.advancedModuleShow.customerRecommend
@@ -353,6 +386,7 @@ export default {
     }
   },
   async created() {
+    window.t = this
     this.appHeaderActions()
     await this.getPageState()
     this.initAppWxShare()
@@ -417,7 +451,7 @@ export default {
         } finally {
           // console.log('基础接口请求完成')
         }
-        if (this.canRead) {
+        if (this.canReadConf.show) {
           this.getAdvancedInfo()
         }
       }