orderaction.wxml
986 Bytes
<!--src/components/order/orderaction.wxml-->
<view class='order-action-bottom-view'>
<view class='order-action-left-view'>
<view class='order-action-bottom-info-view' wx:if="{{realPrice}}">
<text class='order-action-pay-amount-txt'>¥{{realPrice}}</text>
<text class='order-daction-pay-amount-title-txt'>实付金额</text>
</view>
<view class='order-action-cut-down-time-view' wx:if="{{lefttime}}">
<image class='order-action-cut-down-time-image' src='../../assets/images/time@3x.png'></image>
<text class='order-daction-pay-amount-title-txt'>{{lefttime}}</text>
</view>
</view>
<view class='order-action-bottom-button-view'>
<block wx:for="{{buttons}}" wx:key="{{index}}">
<button class='{{index == lastIndex ? "order-action-selected-button":"order-action-unselected-button"}}' catchtap='onButtonClick' data-button-code='{{item.code}}' data-order-code='{{orderCode}}' data-product-id='{{productId}}'>{{item.text}}</button>
</block>
</view>
</view>