bugfix:确认订单页面,不展示会员优惠信息
parent
a0e9ceb945
commit
d815fd5e3f
|
@ -103,6 +103,17 @@
|
||||||
<text class="_icon-forward item-icon" />
|
<text class="_icon-forward item-icon" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view
|
||||||
|
class="order-item ss-flex ss-col-center ss-row-between"
|
||||||
|
v-if="state.orderInfo.price.vipPrice > 0"
|
||||||
|
>
|
||||||
|
<view class="item-title">会员优惠</view>
|
||||||
|
<view class="ss-flex ss-col-center">
|
||||||
|
<text class="item-value text-red">
|
||||||
|
-¥{{ fen2yuan(state.orderInfo.price.vipPrice) }}
|
||||||
|
</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="total-box-footer ss-font-28 ss-flex ss-row-right ss-col-center ss-m-r-28">
|
<view class="total-box-footer ss-font-28 ss-flex ss-row-right ss-col-center ss-m-r-28">
|
||||||
<view class="total-num ss-m-r-20">
|
<view class="total-num ss-m-r-20">
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
class="detail-goods"
|
class="detail-goods"
|
||||||
:style="[{ marginTop: state.orderInfo.receiverAreaId > 0 ? '0' : '-40rpx' }]"
|
:style="[{ marginTop: state.orderInfo.receiverAreaId > 0 ? '0' : '-40rpx' }]"
|
||||||
>
|
>
|
||||||
<!-- 订单信息 TODO 芋艿: -->
|
<!-- 订单信 -->
|
||||||
<view class="order-list" v-for="item in state.orderInfo.items" :key="item.goods_id">
|
<view class="order-list" v-for="item in state.orderInfo.items" :key="item.goods_id">
|
||||||
<view class="order-card">
|
<view class="order-card">
|
||||||
<s-goods-item
|
<s-goods-item
|
||||||
|
@ -168,10 +168,18 @@
|
||||||
<text class="detail">¥{{ fen2yuan(state.orderInfo.deliveryPrice) }}</text>
|
<text class="detail">¥{{ fen2yuan(state.orderInfo.deliveryPrice) }}</text>
|
||||||
</view>
|
</view>
|
||||||
<!-- TODO 芋艿:优惠劵抵扣、积分抵扣 -->
|
<!-- TODO 芋艿:优惠劵抵扣、积分抵扣 -->
|
||||||
|
<view class="notice-item ss-flex ss-row-between" v-if="state.orderInfo.couponPrice > 0">
|
||||||
|
<text class="title">优惠劵金额</text>
|
||||||
|
<text class="detail">-¥{{ fen2yuan(state.orderInfo.couponPrice) }}</text>
|
||||||
|
</view>
|
||||||
<view class="notice-item ss-flex ss-row-between" v-if="state.orderInfo.discountPrice > 0">
|
<view class="notice-item ss-flex ss-row-between" v-if="state.orderInfo.discountPrice > 0">
|
||||||
<text class="title">优惠金额</text>
|
<text class="title">活动优惠</text>
|
||||||
<text class="detail">¥{{ fen2yuan(state.orderInfo.discountPrice) }}</text>
|
<text class="detail">¥{{ fen2yuan(state.orderInfo.discountPrice) }}</text>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="notice-item ss-flex ss-row-between" v-if="state.orderInfo.vipPrice > 0">
|
||||||
|
<text class="title">会员优惠</text>
|
||||||
|
<text class="detail">-¥{{ fen2yuan(state.orderInfo.vipPrice) }}</text>
|
||||||
|
</view>
|
||||||
<view class="notice-item all-rpice-item ss-flex ss-m-t-20">
|
<view class="notice-item all-rpice-item ss-flex ss-m-t-20">
|
||||||
<text class="title">{{ state.orderInfo.payStatus ? '已付款' : '需付款' }}</text>
|
<text class="title">{{ state.orderInfo.payStatus ? '已付款' : '需付款' }}</text>
|
||||||
<text class="detail all-price">¥{{ fen2yuan(state.orderInfo.payPrice) }}</text>
|
<text class="detail all-price">¥{{ fen2yuan(state.orderInfo.payPrice) }}</text>
|
||||||
|
|
Loading…
Reference in New Issue