Commit c57fd418 authored by zhenghaiyuan's avatar zhenghaiyuan

添加总EB信息

parent 457143b7
......@@ -10,6 +10,7 @@ Page({
availableCouponLength: 0, // 可用的优惠券数量
goodsTotalPrice: 0.00, //商品总价
freightPrice: 0.00, //快递费
totalScores: 0, // 总EB
totalSendScores: 0, // 赠送EB
totalUseScores: 0, // 消费EB
couponPrice: 0.00, //优惠券的价格
......@@ -47,6 +48,7 @@ Page({
grouponPrice: res.data.grouponPrice,
freightPrice: res.data.freightPrice,
goodsTotalPrice: res.data.goodsTotalPrice,
totalScores: res.data.totalScores,
totalUseScores: res.data.totalUseScores,
totalSendScores: res.data.totalSendScores,
orderTotalPrice: res.data.orderTotalPrice,
......
......@@ -43,6 +43,17 @@
</view>
</view>
<view class="order-box" wx:if="{{totalScores}}">
<view class="order-item" style='border: none;'>
<view class="l">
<text class="name">总EB</text>
</view>
<view class="r">
<text class="txt">{{totalScores}}</text>
</view>
</view>
</view>
<view class="order-box" wx:if="{{totalSendScores}}">
<view class="order-item" style='border: none;'>
<view class="l">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment