index.wxml 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. <view class='top'>
  2. <view class='address' bindtap='chooseAddress'>
  3. <!--<view>{{address}}</view>
  4. <text class='tips'>填写收货地址</text>
  5. <button class='nxh__button' bindtap='chooseAddress' >使用微信地址</button>-->
  6. <image class='left' src='/static/img/location2.png'></image>
  7. <view class='center' wx:if='{{isUseAddress}}'>
  8. <text>{{addrObj.userName}}</text>
  9. <text>{{addrObj.provinceName+addrObj.cityName+addrObj.countyName+addrObj.detailInfo}}</text>
  10. <text>{{addrObj.telNumber}}</text>
  11. </view>
  12. <view class='tips' wx:else><text>使用微信地址</text></view>
  13. <image class='right' src='/static/img/item-right.png'></image>
  14. <!--兼容授权提醒-->
  15. <authdialog id='authdialog' title='授权提示' content='小程序需要您的授权才能提供更好的服务哦' confirmText='知道了'></authdialog>
  16. </view>
  17. <view class='address_line'></view>
  18. <view class='order' wx:for='{{list}}' wx:key='{{index}}' data-id='{{item.id}}'>
  19. <text class='title'>{{item.name}}</text>
  20. <view class='oper'>
  21. <text class='price'>¥ {{item.price}}</text>
  22. <view class='edit-num'>数量 1 件</view>
  23. </view>
  24. <view class='split_line'/>
  25. </view>
  26. </view>
  27. <view class='bottom'>
  28. <view class='left'>合计 ¥{{settlement}} 元</view>
  29. <view class='right' bindtap='doCash'>确定</view>
  30. </view>