2025-03-24 18:57:16 +08:00

1 line
5.8 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<view class="page-body _div data-v-f752e738"><view class="address-box _div data-v-f752e738"><view class="adress-content _div data-v-f752e738"><label class="content-title _span data-v-f752e738">收货人</label><view class="content-input borbottom _div data-v-f752e738"><input type="text" placeholder="请填写收货人姓名" data-event-opts="{{[['input',[['bindKeyInput',['$event','userName']]]]]}}" value="{{saveMsg.userName}}" bindinput="__e" class="data-v-f752e738"/></view></view><view class="adress-content _div data-v-f752e738"><label class="content-title _span data-v-f752e738"></label><radio-group class="radio-box borbottom data-v-f752e738" value="{{saveMsg.userSex}}" data-event-opts="{{[['change',[['changRadio',['$event']]]]]}}" bindchange="__e"><block wx:for="{{sexList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="radio-list data-v-f752e738"><radio value="{{item.value}}" color="#CAA97F" checked="{{item.isChecked}}" data-event-opts="{{[['tap',[['getSex',['$0'],[[['sexList','',index]]]]]]]}}" bindtap="__e" class="data-v-f752e738"></radio><text class="radio-unit data-v-f752e738">{{item.name}}</text></view></block></radio-group></view><view class="adress-content borbottom _div data-v-f752e738"><label class="content-title _span data-v-f752e738">手机号</label><view class="content-input _div data-v-f752e738"><input type="number" maxlength="11" placeholder="请填写收货人手机号" data-event-opts="{{[['input',[['bindKeyInput',['$event','mobilePhone']]]]]}}" value="{{saveMsg.mobilePhone}}" bindinput="__e" class="data-v-f752e738"/></view></view><view class="adress-content borbottom data-v-f752e738"><text class="content-title data-v-f752e738">收货地址</text><view data-event-opts="{{[['tap',[['handleShowPopup',['$event']]]]]}}" class="content-input address-content data-v-f752e738" style="text-align:left;" bindtap="__e">{{''+(saveMsg.address||"请选择收货地址")+''}}<image style="width:28rpx;height:28rpx;margin-left:12rpx;" src="https://cdn-icons-png.flaticon.com/512/545/545682.png" class="data-v-f752e738"></image></view></view><block wx:if="{{$root.g0}}"><view class="textarea-content borbottom _div data-v-f752e738"><label class="content-title _span data-v-f752e738">街道地址</label><view class="content-input _div data-v-f752e738"><picker mode="selector" range="{{streetList}}" range-key="region_name" value="{{streetIndex}}" data-event-opts="{{[['change',[['handleChangeStreet',['$event']]]]]}}" bindchange="__e" class="data-v-f752e738">{{''+(streetList[streetIndex]&&streetList[streetIndex].region_name?streetList[streetIndex].region_name:"请选择街道")+''}}</picker></view></view></block><view class="textarea-content borbottom _div data-v-f752e738"><label class="content-title _span data-v-f752e738">详细地址</label><view class="content-input _div data-v-f752e738"><textarea auto-height="{{true}}" placeholder="例如花园小区9号楼三单元202" data-event-opts="{{[['input',[['bindKeyInput',['$event','doorplate']]]]]}}" value="{{saveMsg.doorplate}}" bindinput="__e" class="data-v-f752e738"></textarea></view></view><view class="adress-content borbottom _div data-v-f752e738"><label class="content-title _span data-v-f752e738">标签</label><view class="content-input tip-content _div data-v-f752e738"><block wx:for="{{tipCodes}}" wx:for-item="u" wx:for-index="i" wx:key="i"><label data-event-opts="{{[['tap',[['tagClick',['$0'],[[['tipCodes','',i]]]]]]]}}" class="{{['tip-tag','_span','data-v-f752e738',(u.isChecked)?'active':'']}}" bindtap="__e">{{u.name}}</label></block></view></view><view class="moren-content _div data-v-f752e738"><view class="_div data-v-f752e738"><view class="_p data-v-f752e738">设为默认地址</view><view class="moren-text _p data-v-f752e738">每次购物时会优先选定该地址,方便您轻松购物</view></view><switch checked="{{saveMsg.isDefault}}" activeColor="#07c160" inactiveColor="#fff" size="{{30}}" data-event-opts="{{[['change',[['onChange',['$event']]]]]}}" bindchange="__e" class="data-v-f752e738"></switch></view></view><view data-event-opts="{{[['tap',[['checkFn',['$event']]]]]}}" class="save-btn _div data-v-f752e738" bindtap="__e">保存并使用</view><block wx:if="{{pageMsg.id}}"><view data-event-opts="{{[['tap',[['deleteFn',['$event']]]]]}}" class="del-btn _div data-v-f752e738" bindtap="__e">删除地址</view></block><uni-popup vue-id="067b8122-1" show="{{pageMsg.isSelect}}" position="bottom" overlay="false" safe-area="{{false}}" custom-style="height: 760rpx;" data-ref="popup" data-event-opts="{{[['^close',[['handleClosePopup']]]]}}" bind:close="__e" class="data-v-f752e738 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="addressSelecct _div data-v-f752e738"><view class="addressTitle _div data-v-f752e738"><label data-event-opts="{{[['tap',[['handleClosePopup',['$event']]]]]}}" class="cancelText _span data-v-f752e738" bindtap="__e">取消</label><label data-event-opts="{{[['tap',[['getAddress',['$event']]]]]}}" class="confirmText _span data-v-f752e738" bindtap="__e">确认</label></view><picker-view class="picker-view data-v-f752e738" value="{{addressSelectIndex}}" data-event-opts="{{[['change',[['areaChange',['$event']]]]]}}" bindchange="__e"><picker-view-column class="data-v-f752e738"><block wx:for="{{areaData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item data-v-f752e738">{{item.region_name}}</view></block></picker-view-column><picker-view-column class="data-v-f752e738"><block wx:for="{{city_list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item data-v-f752e738">{{item.region_name}}</view></block></picker-view-column><picker-view-column class="data-v-f752e738"><block wx:for="{{county_list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item data-v-f752e738">{{item.region_name}}</view></block></picker-view-column></picker-view></view></uni-popup></view>