充值页面调整

商品折扣显示逻辑调整
增加公众号跳转修改资料逻辑
This commit is contained in:
2024-05-10 17:51:30 +08:00
parent dccdd43e3a
commit 74dba2ef29
7 changed files with 133 additions and 46 deletions

View File

@@ -14,7 +14,7 @@
<image class='goods-image' :src='item.images||defaultImage' />
<text class='goods-name'>{{ item.goodsName || '未知' }}</text>
<text class='goods-price'>¥{{ (item.price * ((userInfo.levelEntity?.discount || 100)/100)).toFixed(2) }}
<text v-if='userInfo.levelEntity?.discount>0'
<text v-if='userInfo.levelEntity?.discount>0&&userInfo.levelEntity?.discount<100'
style='text-decoration: line-through;color: #999999;font-size: 25rpx'>¥{{ item.price }}
</text>
</text>