|
|
@ -1,9 +1,9 @@ |
|
|
|
<!--地址管理--> |
|
|
|
<view class='top-ql' wx:if="{{address !=''}}"> |
|
|
|
<!-- <view class='top-ql' wx:if="{{address !=''}}"> |
|
|
|
<view wx:if="{{!flag}}" bindtap="upflag" class='top-ql-1' style='color:#333;'>地址管理</view> |
|
|
|
<view wx:else class='top-ql-1' bindtap="uptrue" style='color:#f60;'>完成</view> |
|
|
|
</view> |
|
|
|
<radio-group class="radio-group" wx:for="{{address}}" wx:key="key"> |
|
|
|
</view> --> |
|
|
|
<radio-group class="radio-group" wx:for="{{address}}" wx:key="key" data-id="{{item.id}}" bindtap="chooseBack"> |
|
|
|
<view hidden="{{hiddenAddress}}" class="address"> |
|
|
|
<view class="address-detail"> |
|
|
|
<view class='address_div'> |
|
|
@ -23,17 +23,12 @@ |
|
|
|
<text hidden="{{item.is_default==0?false:true}}"></text> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
|
|
|
|
<!-- <text hidden="{{item.is_default==0?false:true}}" bindtap="setDefault" data-id="{{item.id}}">设置默认</text> --> |
|
|
|
<!-- <text hidden="{{item.is_default==0?false:true}}"> | </text> --> |
|
|
|
|
|
|
|
<view class="address-icon"> |
|
|
|
<text class='address_text' wx:if="{{item.is_default==1}}">默认地址</text> |
|
|
|
|
|
|
|
<view wx:if="{{flag}}" class='add_icon'> |
|
|
|
<icon wx:if="{{item.selected}}" type="success_circle" size="26" bindtap="bindCheckbox" data-index="{{index}}" class='address_icon' /> |
|
|
|
<icon wx:else type="circle" size="26" bindtap="bindCheckbox" data-index="{{index}}" class='address_icon' /> |
|
|
|
</view> |
|
|
|
<text class='address_text' wx:if="{{item.is_default==1}}">默认地址</text> |
|
|
|
</view> |
|
|
|
<navigator style='display:inline-block;' url="../address/upaddress?addr_id={{item.id}}&name={{item.name}}&tel={{item.tel}}&sheng={{item.sheng}}&city={{item.city}}&quyu={{item.quyu}}&address={{item.address}}&is_default={{item.is_default}}"> |
|
|
|
<text style='margin:10px'>编辑</text> |
|
|
|