ソースを参照

瀑布流界面左上角使用对应的热点图标

任一存 1 年間 前
コミット
2b5914bfd1
1 ファイル変更4 行追加1 行削除
  1. 4 1
      src/components/Tags/waterfall.vue

+ 4 - 1
src/components/Tags/waterfall.vue

@@ -3,7 +3,8 @@
     <div class="waterfall" v-if="tagclick.type == 'waterfall'">
       <div class="waterfallcon">
         <div class="wfheader">
-          <img :src="require('@/assets/images/icon/top5.png')" alt="" />
+          <!-- <img :src="require('@/assets/images/icon/top5.png')" alt="" /> -->
+          <img class="" :src="tagclick.data.icon" alt="" draggable="false">
           <ui-icon @click="emit('close')" type="close"></ui-icon>
         </div>
         <ul class="wfcon">
@@ -84,6 +85,8 @@ const gotoGoods = (item) => {
       align-items: center;
       > img {
         width: 80px;
+        max-height: 80px;
+        object-fit: contain;
       }
     }
     .wfcon {