Browse Source

🩹 perf: SP, 商品中心模块体验优化

WanGxC 10 months ago
parent
commit
33d7e87aa5

File diff suppressed because it is too large
+ 317 - 291
src/views/adManage/sp/campaigns/CreateCampaigns/index.vue


+ 2 - 2
src/views/productCenter/productAnalysis/components/ExchangeProduct.vue

@@ -136,7 +136,7 @@ onBeforeUnmount(() => {
             <div class="list-content">
               <img :src="item.Image" class="list-item-image" />
               <div>
-                <el-tooltip effect="dark" :content="item.Title" placement="top-start">
+                <el-tooltip effect="dark" :content="item.Title" placement="top-start" :show-after="300">
                   <span class="list-item-title">{{ item.Title }}</span>
                 </el-tooltip>
                 <div>
@@ -174,7 +174,7 @@ onBeforeUnmount(() => {
             <div class="list-content">
               <img :src="item.Image" class="asin-list-item-image" />
               <div>
-                <el-tooltip effect="dark" :content="item.Title" placement="top-start">
+                <el-tooltip effect="dark" :content="item.Title" placement="top-start" :show-after="300">
                   <span class="list-item-title">{{ item.Title }}</span>
                 </el-tooltip>
                 <div>

+ 5 - 3
src/views/productCenter/productAnalysis/components/TopParentAsin.vue

@@ -108,9 +108,11 @@ onBeforeUnmount(() => {
               <div class="classification-title" :style="classificationStyle">{{ classification }}</div>
             </div>
           </div>
-          <div class="product-title">
-            {{ dataSet.Title ? dataSet.Title : '--' }}
-          </div>
+          <el-tooltip effect="dark" :content="dataSet.Title" placement="top-start">
+            <div class="product-title">
+              {{ dataSet.Title ? dataSet.Title : '--' }}
+            </div>
+          </el-tooltip>
           <div class="product-detail">
             <span class="product-detail__label"> 父ASIN: </span>
             <span>{{ dataSet.parentAsin ? dataSet.parentAsin : '--' }}</span>

Some files were not shown because too many files changed in this diff