|
@@ -1,8 +1,21 @@
|
|
|
<view class='top'>
|
|
|
- <view class='address'>
|
|
|
- <view>{{address}}</view>
|
|
|
+ <view class='address' bindtap='chooseAddress'>
|
|
|
+ <!--<view>{{address}}</view>
|
|
|
<text class='tips'>填写收货地址</text>
|
|
|
- <button class='nxh__button' bindtap='chooseAddress' >使用微信地址</button>
|
|
|
+ <button class='nxh__button' bindtap='chooseAddress' >使用微信地址</button>-->
|
|
|
+ <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='order' wx:for='{{list}}' wx:key='{{index}}' bindlongtap='delOrder'>
|
|
|
<text class='title'>{{item.name}}</text>
|
|
@@ -14,6 +27,7 @@
|
|
|
<image class='add' src='/static/img/carts-add.png'></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class='split_line'/>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='bottom'>
|