fix button status
This commit is contained in:
@ -23,6 +23,14 @@
|
||||
findGoods: findGoods,
|
||||
}
|
||||
</wxs>
|
||||
<wxs module="num">
|
||||
function toFixed(num, precise) {
|
||||
return typeof (num) === "undefined" ? num : num.toFixed(precise)
|
||||
}
|
||||
module.exports = {
|
||||
toFixed: toFixed,
|
||||
}
|
||||
</wxs>
|
||||
<!-- 倒计时 -->
|
||||
<view wx:if='{{goods.status==1}}'>
|
||||
<view class="djs" wx:if="{{ticker!=''}}">还剩余<text>{{ticker}}</text>订单将自动取消</view>
|
||||
@ -100,7 +108,7 @@
|
||||
<view class="data">
|
||||
<view class="data-t display_J_B display_A_C">
|
||||
<view class="t-l">商品合计</view>
|
||||
<view class="t-r t-r__1">{{goods.orderPayWay!=2?'¥'+total:goods.orderOtherPay+'积分'}}</view>
|
||||
<view class="t-r t-r__1">{{goods.orderPayWay!=2?'¥'+ num.toFixed(total, 2) : goods.orderOtherPay+'积分'}}</view>
|
||||
</view>
|
||||
<view class="data-t display_J_B display_A_C">
|
||||
<view class="t-l">运费</view>
|
||||
@ -130,7 +138,7 @@
|
||||
</view>
|
||||
<view class="data-t display_J_B display_A_C">
|
||||
<view class="t-l">实际支付</view>
|
||||
<view class="t-r t-r__4">{{goods.orderPayWay!=2?'¥'+goods.orderActualPay:goods.orderOtherPay+'积分'}}</view>
|
||||
<view class="t-r t-r__4">{{goods.orderPayWay!=2?'¥'+num.toFixed(goods.orderActualPay, 2):goods.orderOtherPay+'积分'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
Reference in New Issue
Block a user