1234567891011121314151617181920212223242526272829303132333435 |
- <navbar parameter='{{parameter}}'></navbar>
- <view class='address-management {{addressList.length < 1 && page > 1 ? "fff":""}}'>
- <!-- <view class='line'><image src='/images/line.jpg' wx:if="{{addressList.length}}"></image></view> -->
- <view class="addressa">
- <radio-group class="radio-group" bindchange="radioChange" wx:if="{{addressList.length}}">
- <view class='item' wx:for="{{addressList}}" data-index="{{index}}" wx:key>
- <view class='address' data-id="{{item.id}}" bindtap='goOrder'>
- <view class='consignee'>收货人:{{item.real_name}}<text class='phone'>{{item.phone}}</text></view>
- <view>收货地址:{{item.province}}{{item.city}}{{item.district}}{{item.detail}}</view>
- </view>
- <view class='operation acea-row row-between-wrapper'>
- <radio class="radio" value="{{index}}" checked="{{item.is_default ? true : false}}">
- <text>设为默认</text>
- </radio>
- <view class='acea-row row-middle'>
- <view data-id="{{item.id}}" bindtap='editAddress'><text class='iconfont icon-bianji'></text>编辑</view>
- <view data-index="{{index}}" bindtap='delAddress'><text class='iconfont icon-shanchu'></text>删除</view>
- </view>
- </view>
- </view>
- </radio-group>
- </view>
- <view class='loadingicon acea-row row-center-wrapper' wx:if="{{addressList.length}}">
- <text class='loading iconfont icon-jiazai' hidden='{{loading==false}}'></text>{{loadTitle}}
- </view>
- <view class='noCommodity' wx:if="{{addressList.length < 1 && page > 1}}">
- <view class='pictrue'><image src='/images/noAddress.png'></image></view>
- </view>
- <view style='height:120rpx;'></view>
- <view class='footer acea-row row-between-wrapper'>
- <view class='addressBnt wxbnt' bindtap='getWxAddress'>导入微信地址</view>
- <view class='addressBnt bgcolora' bindtap='addAddress'>添加收货地址</view>
- </view>
- </view>
- <authorize bind:onLoadFun="onLoadFun"></authorize>
|