1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <view class="memberList">
- <navigation-bar title="选择收货信息"></navigation-bar>
- <view class="appBg"></view>
- <scroll-view scroll-y class="memberListCon">
- <view wx:for="{{ addressList }}" wx:key="index" bind:tap="onSelect" data-item="{{ item }}" class="memberInfo {{ item.id === id?'active':'' }}">
- <view class="infoCon">
- <image class="tip" src="../orders/images/member.png" />
- <text class="name">{{item.name}}</text>
- <text class="phone">{{item.phoneNumber}}</text>
- </view>
- <view class="schoolInfoCon">
- <text class="schoolInfo">收货地址</text><text class="schoolInfoDes">{{
- item.provinceName + item.cityName + item.regionName + item.detailAddress
- }}
- </text>
- </view>
- <view class="operateCon">
- <view class="radio">
- <image wx:if="{{item.id === id}}" src="../login/images/radio-active.png"></image>
- <image wx:else src="../login/images/radio-default.png"></image>
- <text>{{ item.id === id ? "当前选中" : "未选中"}}</text>
- </view>
- <view class="operate">
- <view catch:tap="onDel" data-id="{{ item.id }}">删除</view>
- <view catch:tap="onEdit" data-id="{{ item.id }}">编辑</view>
- </view>
- </view>
- </view>
- </scroll-view>
- <view class="submitCon">
- <view class="subBtn" bind:tap="onAdd">
- <image src="../member/images/user.png" />
- 新增收货信息
- </view>
- </view>
- <view class="popup-section" wx:if="{{popupShow}}">
- <view class="popup-mask" bind:tap="onDialogClose"></view>
- <view class="popup-container">
- <view class="tit">请确认是否删除该收货信息</view>
- <view class="btnCon">
- <view bind:tap="onDialogClose">取消</view>
- <view bind:tap="onDialogOk">确认</view>
- </view>
- </view>
- </view>
- <addAddress editId="{{editId}}" popupShow='{{addAddressPopupShow}}' bind:addAddress="onAddAddress"></addAddress>
- </view>
|