confirmOrder.wxml 2.2 KB

1
  1. <view class="data-v-72138f4a"><view class="inner-box data-v-72138f4a"><view class="goods-list data-v-72138f4a"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['showDetail',['$0'],[[['carts','',index]]]]]]]}}" class="item data-v-72138f4a" bindtap="__e"><view class="img-box data-v-72138f4a"><image src="{{item.$orig.productAttrImage!=null?item.$orig.productAttrImage:item.$orig.productImage}}" mode="aspectFill" class="data-v-72138f4a"></image></view><view class="info-box data-v-72138f4a"><view class="data-v-72138f4a"><view class="name-box ellipsis2 data-v-72138f4a"><view class="tag data-v-72138f4a">{{item.g0}}</view>{{item.$orig.productName+''}}</view><view class="spec ellipsis2 data-v-72138f4a">{{item.$orig.productAttrName}}</view></view><view class="price-num data-v-72138f4a"><view class="price data-v-72138f4a"><text class="unit data-v-72138f4a">¥</text><text class="num data-v-72138f4a">{{item.g1}}</text></view><view class="num data-v-72138f4a">{{"x"+item.$orig.cartNum}}</view></view></view></view></block><view class="sub-total data-v-72138f4a"><text class="label data-v-72138f4a">订单金额:</text><view class="price data-v-72138f4a"><text class="unit data-v-72138f4a">¥</text><text class="num data-v-72138f4a">{{$root.g2}}</text></view></view></view></view><view class="btn-foot data-v-72138f4a"><view class="right data-v-72138f4a"><view class="total data-v-72138f4a"><text class="label data-v-72138f4a">实付金额:</text><view class="price data-v-72138f4a"><text class="unit data-v-72138f4a">¥</text><text class="num data-v-72138f4a">{{$root.g3}}</text></view></view><view data-event-opts="{{[['tap',[['submitOrder',['$event']]]]]}}" class="btn data-v-72138f4a" bindtap="__e">{{"支付"+$root.g4}}</view></view></view><block wx:if="{{messageShow}}"><view class="message-box data-v-72138f4a"><view class="left data-v-72138f4a"><image src="/static/images/close24.png" mode data-event-opts="{{[['tap',[['closeOrder']]]]}}" bindtap="__e" class="data-v-72138f4a"></image><view class="text ellipsis data-v-72138f4a">{{"您有"+count0+"个待支付订单"}}</view></view><view data-event-opts="{{[['tap',[['showOrder']]]]}}" class="btn data-v-72138f4a" bindtap="__e">查看</view></view></block></view>