浏览代码

feat: 供应信息页面调整

cuiyalong 1 年之前
父节点
当前提交
74fde43d82
共有 1 个文件被更改,包括 4 次插入9 次删除
  1. 4 9
      apps/mobile/src/views/article/index.vue

+ 4 - 9
apps/mobile/src/views/article/index.vue

@@ -140,8 +140,8 @@
       </div>
       <div class="other-project-group" v-if="getOtherList.length">
         <div class="other-title" v-show="contentInfo.publishEntName">
-          <span class="highlight-text">{{ contentInfo.publishEntName }}</span
-          >的其他供应信息
+          <span class="highlight-text">{{ contentInfo.publishEntName }}</span>
+          <span>的其他供应信息</span>
         </div>
         <project-cell
           v-for="(item, index) in getOtherList"
@@ -226,7 +226,6 @@ export default {
       conf: {
         type: ''
       },
-      typeList: ['content', 'issued'],
       matchKeys: [],
       contentId: '',
       contentInfo: {
@@ -349,13 +348,9 @@ export default {
       return top
     },
     getContent() {
-      const { type, id } = this.$route.params
+      const { id } = this.$route.params
       this.contentId = id
-      if (!this.typeList.includes(type)) return
-      this.conf.type = type
-      if (type === 'issued') {
-        this.getIssuedContent()
-      }
+      this.getIssuedContent()
     },
     async getIssuedContent() {
       const {