Просмотр исходного кода

fix(shop): 商品列表赠品徽标简化为仅图标,去除冗长文字

liaoxg 1 неделя назад
Родитель
Сommit
5f9306f30c

+ 1 - 1
cfc-frontend/pages/shop/cart/cart.vue

@@ -43,7 +43,7 @@
                 </text>
               </view>
               <text class="item-name">{{ item.productName }}</text>
-              <text v-if="item.giftLevelName" class="gift-badge">🎁购此送 {{ item.giftLevelName }}会员</text>
+              <text v-if="item.giftLevelName" class="gift-badge">🎁</text>
               <text v-if="item.specDesc" class="item-spec">{{ item.specDesc }}</text>
               <text v-if="item.supplierName" class="item-supplier">供应商: {{ item.supplierName }}</text>
               <text class="item-delete" @click="onRemove(item.productId)">🗑</text>

+ 1 - 1
cfc-frontend/pages/shop/index/index.vue

@@ -126,7 +126,7 @@
             <view class="price-row">
               <text class="price">{{ formatPriceWithSymbol(item.price) }}</text>
               <text v-if="item.memberPrice" class="member-price">会员{{ formatPriceWithSymbol(item.memberPrice) }}</text>
-              <text v-if="item.giftLevelName" class="gift-badge">🎁购此送 {{ item.giftLevelName }}会员</text>
+              <text v-if="item.giftLevelName" class="gift-badge">🎁</text>
             </view>
             <text class="vendor-name">{{ item.brandName || '平台官方' }}</text>
           </view>

+ 1 - 1
cfc-frontend/pages/shop/search/search.vue

@@ -58,7 +58,7 @@
             <view class="price-row">
               <text class="price">{{ formatPriceWithSymbol(item.price) }}</text>
               <text v-if="item.memberPrice" class="member-price">会员{{ formatPriceWithSymbol(item.memberPrice) }}</text>
-              <text v-if="item.giftLevelName" class="gift-badge">🎁购此送 {{ item.giftLevelName }}会员</text>
+              <text v-if="item.giftLevelName" class="gift-badge">🎁</text>
             </view>
           </view>
         </view>