37 lines
1.9 KiB
Plaintext
37 lines
1.9 KiB
Plaintext
<view class="container">
|
|
<view class="header">
|
|
<view class="main">
|
|
<view class="main_title">姓名</view>
|
|
<input class="main_input" data-name="real_name" value="{{editAreaInfo.real_name}}" bindinput="headerAreaListClick" placeholder="请输入您的姓名" />
|
|
</view>
|
|
<view class="main">
|
|
<view class="main_title">手机</view>
|
|
<input class="main_input" data-name="mobile" type="number" maxlength="11" value="{{editAreaInfo.mobile}}" bindinput="headerAreaListClick" placeholder="请输入您的手机号码" />
|
|
</view>
|
|
<view class="main" wx:for="{{areaInfoList}}" bindtap="changeArea" wx:key="index">
|
|
<view class="main_title">{{item.desc}}</view>
|
|
<input class="main_input" type="text" value="{{item.name}}" placeholder="请选择所在区域" disabled />
|
|
</view>
|
|
</view>
|
|
<view class="detail_area">
|
|
<textarea class="rice_text" value="{{editAreaInfo.addr}}" placeholder="请输入详细地址:例:街道、小区、门牌号" placeholder-style="color:red;" bindinput="headerDetailAreaClick" />
|
|
</view>
|
|
<view class="line"></view>
|
|
<view class="bottom">
|
|
<!-- <view class="bottom_header">
|
|
<view class="bottom_header_title">是否默认</view>
|
|
<radio-group bindchange="radioChange">
|
|
<radio class="radio" value="yes" checked="{{radio === 'yes'}}" />是
|
|
<radio class="radio" value="no" checked="{{radio === 'no'}}" />否
|
|
</radio-group>
|
|
</view> -->
|
|
<button class="bottom_btn" bindtap="headerSubmitClick">{{pageState ==='edit' ? '修改' : '新增'}}地址</button>
|
|
</view>
|
|
</view>
|
|
<footer />
|
|
<van-popup show="{{ show }}" safe-area-inset-bottom lock-scroll bind:close="onClose"
|
|
round close-on-click-overlay position="bottom">
|
|
<view style="width: 100%;">
|
|
<van-area area-list="{{ areaList }}" bind:confirm="AreaConfirm" bind:cancel="onClose" value="110101" />
|
|
</view>
|
|
</van-popup> |