优化商品默认颜色尺码配置显示问题

This commit is contained in:
2024-05-16 16:25:24 +08:00
parent f547216c2b
commit cb40ce643f
5 changed files with 7 additions and 7 deletions

View File

@@ -49,7 +49,7 @@
</text>
<view class='bottom-sku-view c-flex-row'>
<text>
{{ item.checkedStock.colorName }}{{ item.checkedStock.sizeName }} x{{ item.checkedStock.count }}
{{ item.checkedStock.colorName||'均色' }}{{ item.checkedStock.sizeName||'均码' }} x{{ item.checkedStock.count }}
</text>
<text>¥{{ item.price }}</text>
</view>
@@ -161,7 +161,7 @@ const buildSqbParams = computed(() => {
return_url: '/pages/common/payresult/index',
total_amount: Number(((totalPrice.value || 0) * 100).toFixed(2)),
terminal_sn: terminalInfo.value.terminalSn,
subject: orderBean?.value?.orderGoods[0].name,
subject: orderBean?.value?.orderGoods[0].name||'未知',
subject_img: orderBean?.value?.orderGoods[0].images || '',
merchant_name: terminalInfo.value.companyName,
notify_url: 'https://www.baidu.com'

View File

@@ -18,7 +18,7 @@
<text>{{ item.name }}</text>
<view class='c-flex-row'>
<view class='sku-view' @click.stop='showSkuDialog(index)'>
<text>{{ item?.checkedStock?.colorName }}{{ item?.checkedStock?.sizeName }}
<text>{{ item?.checkedStock?.colorName||'均色' }}{{ item?.checkedStock?.sizeName||'均码' }}
x{{ item?.checkedStock?.count }}
</text>
<image :src='assetsUrl("ic_arrow_down_gray.png")' />