问题修复

This commit is contained in:
2024-04-16 01:39:23 +08:00
parent 0562554266
commit 178e8ff5cb
6 changed files with 13 additions and 12 deletions

View File

@@ -3,7 +3,7 @@
<view class='content'>
<view class='c-flex-row' style='align-items: flex-start'>
<image class='goods-image' :src='goodsDetailBean?.images||defaultImage' />
<view class='c-flex-column' style='flex: 1'>
<view class='c-flex-column' style='flex: 1;display: inline-grid'>
<text class='goods-name'>{{ goodsDetailBean?.name || '未知' }}</text>
<text class='goods-price'>{{ flashPrice > 0 ? `${flashPrice}` : `${goodsDetailBean?.consumePrice || 0}` || 0
}}
@@ -46,7 +46,7 @@
</view>
</view>
</view>
<button class='primary-button' :plain='currentSizeIndex<=0' :disabled='currentSizeIndex<=0' @click='confirm'>
<button class='primary-button' :plain='currentSizeIndex<0' :disabled='currentSizeIndex<0' @click='confirm'>
确定
</button>
</view>
@@ -189,6 +189,7 @@ defineExpose({
color: #333333;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.goods-price {