deguodaigou/components/order/commodity/index.wxml

17 lines
799 B
Plaintext

<view class="commodity">
<message wx:for="{{goods}}" title="{{item.goods_name}}" spec="{{item.spec_key_name}}" price="{{item.goods_price}}" num="{{item.goods_num}}" image="{{item.image}}"></message>
<view class="aggregate">
共计{{num}}件商品 合计:
<text>¥{{cprice}}</text>
(含运费¥{{freight}})
</view>
<view class="operation" wx:if="{{type == 1}}">
<view class="button" catch:tap="cancel">取消订单</view>
<view class="button hlight" catch:tap="pay">立即付款</view>
</view>
<view class="operation" wx:if="{{type == 3}}">
<!-- <view class="button" catch:tap="cancel">取消订单</view> -->
<view class="button hlight" catch:tap="shouhuo">确认收货</view>
</view>
</view>