ソースを参照

```
fix(goodsCollection): 移除商品收藏页面图片默认占位符

移除了商品收藏列表中图片的默认占位符路径,现在将直接使用 item.pic
作为图片源,避免在图片不存在时显示默认订单图标。
```

zouzexu 21 時間 前
コミット
9a520df491
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/subPack-xsb/goodsCollection/index.vue

+ 1 - 1
src/subPack-xsb/goodsCollection/index.vue

@@ -122,7 +122,7 @@ function handleDelete() {
               <wd-icon :name="selectedIds.has(item.id) ? 'check-circle-filled' : 'circle1'" :color="selectedIds.has(item.id) ? themeVars.colorTheme : ''" size="16px" />
             </view>
             <view class="flex items-center gap-20rpx">
-              <image :src="item.pic || `${StaticUrl}/order-icon.png`" class="h-200rpx w-200rpx rounded-16rpx" />
+              <image :src="item.pic" class="h-200rpx w-200rpx rounded-16rpx" />
               <view>
                 <view class="flex items-start gap-8rpx">
                   <view class="funt-bold flex-1 break-words text-32rpx">