Files
2025-05-03 13:55:05 +08:00

1 line
3.0 KiB
Plaintext

<view class="address u-p-l-32 u-p-r-32"><u-form class="vue-ref" vue-id="55a6351c-1" model="{{addressObj}}" data-ref="uForm" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('55a6351c-2')+','+('55a6351c-1')}}" label="收货人" label-width="160" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('55a6351c-3')+','+('55a6351c-2')}}" placeholder="请填写收货人姓名" value="{{addressObj.contact}}" data-event-opts="{{[['^input',[['__set_model',['$0','contact','$event',[]],['addressObj']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('55a6351c-4')+','+('55a6351c-1')}}" label="联系方式" label-width="160" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('55a6351c-5')+','+('55a6351c-4')}}" placeholder="请填写手机号码" value="{{addressObj.telephone}}" data-event-opts="{{[['^input',[['__set_model',['$0','telephone','$event',[]],['addressObj']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('55a6351c-6')+','+('55a6351c-1')}}" label="所在地区" label-width="160" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="row-between w-full" bindtap="__e"><view class="{{[[(!addressObj.region)?'placeholder-color':'']]}}">{{addressObj.region||'请选择地区'}}</view><view><u-icon vue-id="{{('55a6351c-7')+','+('55a6351c-6')}}" name="arrow-right" size="32" color="rgb(192, 196, 204)" bind:__l="__l"></u-icon></view></view></u-form-item><u-form-item vue-id="{{('55a6351c-8')+','+('55a6351c-1')}}" label="详细地址" label-width="160" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('55a6351c-9')+','+('55a6351c-8')}}" type="textarea" placeholder="请填写小区、街道、门牌号等信息" value="{{addressObj.address}}" data-event-opts="{{[['^input',[['__set_model',['$0','address','$event',[]],['addressObj']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('55a6351c-10')+','+('55a6351c-1')}}" border-bottom="{{false}}" bind:__l="__l" vue-slots="{{['default']}}"><u-checkbox bind:input="__e" vue-id="{{('55a6351c-11')+','+('55a6351c-10')}}" shape="circle" active-color="{{themeColor}}" value="{{addressObj.is_default}}" data-event-opts="{{[['^input',[['__set_model',['$0','is_default','$event',[]],['addressObj']]]]]}}" bind:__l="__l" vue-slots="{{['default']}}">设为默认</u-checkbox></u-form-item><view class="u-m-t-60"><u-button vue-id="{{('55a6351c-12')+','+('55a6351c-1')}}" hover-class="none" customStyle="{{({backgroundColor:themeColor,color:'#fff',border:'none',borderRadius:'100rpx',fontSize:'24rpx'})}}" hair-line="{{false}}" data-event-opts="{{[['^click',[['save']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">保存</u-button></view></u-form><u-select vue-id="55a6351c-13" mode="mutil-column-auto" list="{{lists}}" value="{{showPopup}}" data-event-opts="{{[['^confirm',[['regionChange']]],['^input',[['__set_model',['','showPopup','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-select></view>