forked from gxwebsoft/mp-10550
feat(shop): 更新商品价格显示及订单状态逻辑
- 修改商品列表和详情页价格展示,增加会员价和原价显示 - 调整订单确认收货状态值从30改为20 - 恢复订单列表中查看物流按钮功能 - 更新二维码接口域名地址 - 统一使用Taro组件替换部分原生HTML标签
This commit is contained in:
@@ -280,8 +280,10 @@ const GoodsDetail = () => {
|
||||
<>
|
||||
<View className={'flex justify-between'}>
|
||||
<View className={'flex text-red-500 text-xl items-baseline'}>
|
||||
<span className={'text-xs'}>¥</span>
|
||||
<span className={'font-bold text-2xl'}>{goods.price}</span>
|
||||
<Text className={'text-xs'}>¥</Text>
|
||||
<Text className={'font-bold text-2xl'}>{goods.price}</Text>
|
||||
<Text className={'text-xs px-1'}>会员价</Text>
|
||||
<Text className={'text-xs text-gray-400 line-through'}>¥{goods.salePrice}</Text>
|
||||
</View>
|
||||
<span className={"text-gray-400 text-xs"}>已售 {goods.sales}</span>
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user