Forráskód Böngészése

feat: 标讯收藏页面vip展示修改

zhangsiya 11 hónapja
szülő
commit
cda8592d13
1 módosított fájl, 13 hozzáadás és 11 törlés
  1. 13 11
      apps/mobile/src/views/collection/components/filters.vue

+ 13 - 11
apps/mobile/src/views/collection/components/filters.vue

@@ -146,9 +146,7 @@
           >
             <template #title v-if="noLoginOrFree">
               <span class="mr-6">采购单位类型</span>
-              <van-tag plain round type="danger" @click="onNoPower"
-                >开通</van-tag
-              >
+              <span class="v-vip-icon" @click="onNoPower"></span>
             </template>
           </van-cell>
           <JCell
@@ -158,9 +156,7 @@
           >
             <template #title v-if="noLoginOrFree">
               <span class="mr-6">中标企业联系方式</span>
-              <van-tag plain round type="danger" @click="onNoPower"
-                >开通</van-tag
-              >
+              <span class="v-vip-icon" @click="onNoPower"></span>
             </template>
             <template #label>
               <CheckboxGroup
@@ -178,9 +174,7 @@
           >
             <template #title v-if="noLoginOrFree">
               <span class="mr-6">采购单位联系方式</span>
-              <van-tag plain round type="danger" @click="onNoPower"
-                >开通</van-tag
-              >
+              <span class="v-vip-icon" @click="onNoPower"></span>
             </template>
             <template #label>
               <CheckboxGroup
@@ -713,7 +707,7 @@ export default {
           break
         }
         case 'more': {
-          
+
           const sameList = []
 
           // 更多关键词
@@ -873,7 +867,7 @@ export default {
             filters.industry = industry
             this.cacheMoreFilters.industry = industry
           }
-          
+
           // 信息类型
           if (infoType) {
             filters.infoType = infoType
@@ -1184,4 +1178,12 @@ export default {
 .price-input-group {
   margin-top: 6px;
 }
+.v-vip-icon{
+  display: inline-block;
+  width: 14px;
+  height: 14px;
+  background: url(@/assets/image/icon/vip/v_icon.png) no-repeat center;
+  background-size: contain;
+  margin-bottom: 2px;
+}
 </style>