123456789101112131415161718192021222324252627282930313233 |
- <view class='top'>
- <view class='address' bindtap='chooseAddress'>
- <image class='left' src='/static/img/location2.png'></image>
- <view class='center' wx:if='{{isUseAddress}}'>
- <text>{{addrObj.userName}}</text>
- <text>{{addrObj.provinceName+addrObj.cityName+addrObj.countyName+addrObj.detailInfo}}</text>
- <text>{{addrObj.telNumber}}</text>
- </view>
- <view class='tips' wx:else><text>使用微信地址</text></view>
- <image class='right' src='/static/img/item-right.png'></image>
- <!--兼容授权提醒-->
- <authdialog id='authdialog' title='授权提示' content='小程序需要您的授权才能提供更好的服务哦' confirmText='知道了'></authdialog>
- </view>
- <view class='address_line'></view>
- <view class='order' wx:for='{{list}}' wx:key='{{index}}' data-id='{{item.product.id}}' bindlongtap='delOrder'>
- <text class='title'>{{item.product.name}}</text>
- <view class='oper'>
- <text class='price'>¥ {{item.product.price}}</text>
- <view class='edit-num'>
- <image class='sub' src='/static/img/carts-sub.png' data-id='{{item.product.id}}' bindtap='doSub'></image>
- <view class='num'>{{item.num}}</view>
- <image class='add' src='/static/img/carts-add.png' data-id='{{item.product.id}}' bindtap='doAdd'></image>
- </view>
- </view>
- <view class='split_line'/>
- </view>
- </view>
- <view class='bottom'>
- <view class='left'>合计 ¥{{settlement}} 元</view>
- <view class='right' bindtap='doPay'>立即支付</view>
- </view>
|