1 line
2.7 KiB
Plaintext
1 line
2.7 KiB
Plaintext
<view class="address-page"><custom-navbar vue-id="7ef180ee-1" title="选择地址" showBack="{{true}}" backgroundColor="#FFFFFF" show-headle="{{true}}" headleSrc="/static/images/add_icon.png" data-event-opts="{{[['^onHeadleClick',[['addAddress']]]]}}" bind:onHeadleClick="__e" bind:__l="__l"></custom-navbar><view class="map-container" style="{{('height:'+mapHeight+'rpx')}}"><map class="map" style="{{('height:'+mapHeight+'rpx')}}" id="map" latitude="{{addressInfo.latitude}}" longitude="{{addressInfo.longitude}}" show-location="{{true}}" data-event-opts="{{[['regionchange',[['onRegionChange',['$event']]]],['tap',[['onMapTap',['$event']]]]]}}" bindregionchange="__e" bindtap="__e"></map><view class="center-marker" style="{{('top:'+mapHeight/2+'rpx')}}"><image class="center-marker-img" src="/static/images/mapCenter.png" mode="widthFix"></image></view></view><view class="address-form"><view class="address-form-cont"><view class="form-item"><text class="label">服务地址</text><view class="input textarea"><text class="textarea-text">{{addressInfo.server_address}}</text></view></view><view class="form-item"><text class="label">门牌号</text><input class="input" type="text" placeholder="如3号楼4单元502" placeholder-class="placeholder" data-event-opts="{{[['input',[['__set_model',['$0','house_number','$event',[]],['addressInfo']]]]]}}" value="{{addressInfo.house_number}}" bindinput="__e"/></view><view class="form-item"><text class="label">预约人</text><input class="input" type="text" placeholder="请输入预约人姓名" placeholder-class="placeholder" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['addressInfo']]]]]}}" value="{{addressInfo.name}}" bindinput="__e"/></view><view class="form-item"><text class="label">手机号</text><input class="input" type="number" placeholder="请输入手机号" placeholder-class="placeholder" maxlength="11" data-event-opts="{{[['input',[['__set_model',['$0','call_phone','$event',[]],['addressInfo']]]]]}}" value="{{addressInfo.call_phone}}" bindinput="__e"/></view><view class="form-item switch-item"><text class="label">设为默认地址</text><switch checked="{{addressInfo.is_default==1}}" color="#E8101E" data-event-opts="{{[['change',[['onSwitchChange',['$event']]]]]}}" bindchange="__e"></switch></view><view class="biao"></view><view data-event-opts="{{[['tap',[['saveAddress',['$event']]]]]}}" class="save-btn" bindtap="__e"><text class="save-text">保存</text></view></view></view><view class="{{['permission',(isShowPer)?'transform':'']}}"><text class="per-tit">美融融plus 对精确定位权限申请说明</text><text class="per-cont">便于您使用该功能获取您附近的手艺人以及店铺下的服务内容。</text></view></view> |