瀏覽代碼

feat: 标讯搜索【VIP】icon改为V

zhangsiya 11 月之前
父節點
當前提交
b47d3b3160

二進制
apps/bigmember_pc/src/assets/images/icon/v-vip-icon.png


+ 5 - 5
apps/bigmember_pc/src/components/filter-items/BasePowerLayout.vue

@@ -65,13 +65,13 @@ $gold: #c98f37;
   &::after {
     content: '';
     position: absolute;
-    top: 50%;
-    right: -48px;
+    top: 8px;
+    right: -26px;
     transform: translate(0, -50%);
     display: inline-block;
-    width: 38px;
-    height: 20px;
-    background: url(~@/assets/images/icon/vip.png) no-repeat center;
+    width: 18px;
+    height: 18px;
+    background: url(~@/assets/images/icon/v-vip-icon.png) no-repeat center;
     background-size: contain;
   }
 }

+ 3 - 3
apps/bigmember_pc/src/components/filter-items/RegionSelector.vue

@@ -950,11 +950,11 @@ export default {
     &::after {
       position: absolute;
       content: '';
-      width: 38px;
+      width: 18px;
       height: 18px;
-      right: -42px;
+      right: -26px;
       top: 0;
-      background: url('~@/assets/images/icon/vip.png') no-repeat right center;
+      background: url('~@/assets/images/icon/v-vip-icon.png') no-repeat right center;
       background-size: contain;
     }
   }

+ 4 - 4
apps/bigmember_pc/src/views/search/bidding/model/base.js

@@ -79,7 +79,7 @@ export default function () {
   // 获取搜索历史业务数据模型
   const searchHistoryModel = useSearchHistoryModel({ type: 1 })
   const { getHistoryQuery, clearHistoryQuery, searchHistoryList } = searchHistoryModel
- 
+
   // 标讯搜索历史列表
   const bidHistoryList = computed(() => {
     return searchHistoryList.value
@@ -87,12 +87,12 @@ export default function () {
 
   // 跨组件通信 将历史搜索列表数据注入 在SearchHeader子组件中引用
   provide('searchHistoryList', bidHistoryList)
-  
+
 
   // 是否在工作台内
   // 本地调试,可改为工作台内isInApp = ref(true),  isInWeb = ref(false)   提交记得改回!
-  const isInApp = ref(InContainer.inApp) // InContainer.inApp
-  const isInWeb = ref(InContainer.inWeb) // InContainer.inWeb
+  const isInApp = ref(true) || ref(InContainer.inApp) // InContainer.inApp
+  const isInWeb = ref(false) || ref(InContainer.inWeb) // InContainer.inWeb
 
   // 是否是渠道商
   const cooperateCode = ref(false)

+ 6 - 5
apps/bigmember_pc/src/views/search/layout/search-list.vue

@@ -288,16 +288,17 @@ function onCurrentChange($event) {
 
     &.icon-have-vip {
       position: relative;
+      margin-right: 18px;
 
       &::after {
         content: '';
         position: absolute;
         z-index: 2;
-        width: 32px;
-        height: 14px;
-        top: -11px;
-        right: -8px;
-        background: url('~@/assets/images/icon/vip.png') no-repeat right center;
+        width: 18px;
+        height: 18px;
+        top: 1px;
+        right: -22px;
+        background: url('~@/assets/images/icon/v-vip-icon.png') no-repeat right center;
         background-size: contain;
       }
     }