浏览代码

feat: 优化运营商专版详情页

cuiyalong 7 月之前
父节点
当前提交
b444e0e3a4

+ 1 - 0
apps/mobile/src/views/article/components/ContentAbstract.vue

@@ -350,6 +350,7 @@
     </template>
     <ContentSummaryPurchaseList />
     <div
+      v-if="!yyszbContent"
       class="abstract-bottom-desc"
       :class="{ transparent: IsSunPublishContent }"
     >

+ 5 - 2
apps/mobile/src/views/article/content.vue

@@ -337,7 +337,7 @@ export default {
       return this.content.IsCustomTopNet || false
     },
     yyszbContent() {
-      return this.content.yyszbContent
+      return this.content.yyszbContent || location.pathname.includes('/yyszb')
     },
     toBCustom() {
       return this.IsCustomTopNet || this.yyszbContent
@@ -390,7 +390,7 @@ export default {
       return this.canReadConf.show
     },
     showTabActions() {
-      if (this.IsSunPublishContent) {
+      if (this.toBCustom) {
         return false
       }
       return this.canReadConf.show
@@ -534,6 +534,9 @@ export default {
     appHeaderActions() {
       const { $envs } = this
       if (!$envs.inApp) return
+      if (this.yyszbContent) {
+        return
+      }
       const actionRightConf = {
         actionRightText:
           '<div class="j-icon icon-points" style="width:24px;height:24px"></div><p>分享有礼</p>',

+ 2 - 38
apps/mobile/src/views/search/result/bidding-custom/index.vue

@@ -168,31 +168,11 @@
         <div v-if="showMoreThanMaxCount" class="max-see-more">
           <p class="m-s-content">
             <span>为您展示前{{ listState.count }}条,</span>
-            <template v-if="isFree">
-              <span
-                >点击<i
-                  class="highlight-text"
-                  @click="toLeaveInfoPage('jylab_see500_plus')"
-                  >免费查看更多信息</i
-                ></span
-              >
-            </template>
-            <template v-else>
-              <span>可细化筛选条件查看更多信息</span>
-            </template>
+            <span>可细化筛选条件查看更多信息</span>
           </p>
         </div>
         <AppEmpty v-show="listState.list.length === 0 && listState.finished">
           <div class="empty-text" v-html="emptyText" />
-          <van-button
-            class="feedback-button"
-            plain
-            size="small"
-            type="primary"
-            @click="feedback"
-          >
-            意见反馈
-          </van-button>
         </AppEmpty>
       </van-list>
     </div>
@@ -406,12 +386,7 @@ export default {
       return additionalWordsArr
     },
     emptyText() {
-      const { keywords } = this.filters
-      if (keywords || this.additionalWordsArr.length) {
-        return '对不起,没有找到相关匹配的信息'
-      } else {
-        return '请输入关键词试试吧'
-      }
+      return '对不起,没有找到相关匹配的信息'
     },
     interceptTipText() {
       const { interceptLimit, interceptOtherWords } = this.pageState
@@ -1176,12 +1151,6 @@ export default {
       this.saveState()
       this.$leaveInfo.toLeaveInfoPage({ source })
     },
-    // 去用户反馈页面
-    feedback() {
-      // 判断是否登陆,未登录去登陆
-      this.saveState()
-      openAppOrWxPage(LINKS.用户反馈)
-    },
     // 跳转企业画像
     toToEntProfile(id) {
       // this.saveState()
@@ -1590,11 +1559,6 @@ export default {
   text-align: center;
   line-height: 22px;
 }
-.feedback-button {
-  width: 165px;
-  height: 40px;
-  margin-top: 48px;
-}
 .max-see-more {
   padding: 12px 16px;
   font-size: 14px;