团购已结束,未开始显示处理
订单待支付数量显示
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
|
||||
<view class='c-flex-row'>
|
||||
<text style='flex: 1'>{{ goodsBean?.name }}</text>
|
||||
<view class='share-button c-flex-column'>
|
||||
<view class='share-button'>
|
||||
<image :src='assetsUrl("ic_share.png")'></image>
|
||||
<button class='btn' plain open-type='share'>分享</button>
|
||||
</view>
|
||||
@@ -56,8 +56,8 @@
|
||||
<view class='recommend-item c-flex-column'>
|
||||
<image :src='item.images||defaultImage' />
|
||||
<text>{{ item.goodsName || '未知' }}</text>
|
||||
<text class='goods-price'>{{ (item.price * ((userInfo.levelEntity.discount || 100) / 100)).toFixed(2) }}
|
||||
<text v-if='userInfo.levelEntity.discount>0'
|
||||
<text class='goods-price'>{{ (item.price * ((userInfo.levelEntity?.discount || 100) / 100)).toFixed(2) }}
|
||||
<text v-if='userInfo.levelEntity?.discount>0'
|
||||
style='text-decoration: line-through;font-size: 25rpx;color: #999999'>{{ item.price }}
|
||||
</text>
|
||||
</text>
|
||||
@@ -175,7 +175,6 @@ const addShoppingCart = () => {
|
||||
|
||||
const placeOrder = () => {
|
||||
showSkuDialog((e: GoodsBean) => {
|
||||
console.log(e);
|
||||
const orderBean = {
|
||||
totalPrice: (e.consumePrice * e.checkedStock.count).toFixed(2),
|
||||
orderGoods: [e]
|
||||
@@ -264,6 +263,8 @@ const placeOrder = () => {
|
||||
}
|
||||
|
||||
.share-button {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
image {
|
||||
|
Reference in New Issue
Block a user