增加积分商城的功能

This commit is contained in:
Gaoxs
2021-01-12 15:19:11 +08:00
parent 6827553f2d
commit 6d4fe7f4cb
5 changed files with 451 additions and 411 deletions
+6 -2
View File
@@ -90,13 +90,16 @@
<view class="text acea-row row-between">
<view class="name line2">{{ cart.productInfo.storeName }}</view>
<view class="money">
<view>
<view v-if="order.payType!='integral'">
{{
cart.productInfo.attrInfo
? cart.productInfo.attrInfo.price
: cart.productInfo.price
}}
</view>
<view v-if="order.payType=='integral'">
{{order.payIntegral}}积分
</view>
<view>x{{ cart.cartNum }}</view>
</view>
</view>
@@ -104,7 +107,8 @@
</view>
<view class="totalPrice">
{{ order.cartInfo.length || 0 }}件商品总金额
<text class="money font-color-red">{{ order.payPrice }}</text>
<text class="money font-color-red" v-if="order.payType!='integral'">{{ order.payPrice }}</text>
<text class="money font-color-red" v-if="order.payType=='integral'">{{order.payIntegral}}积分</text>
</view>
<view class="bottom acea-row row-right row-middle">
<template v-if="order._status._type == 0">