You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.3 KiB
Plaintext

<view>
<view class='address_man'>
<!-- <view class='link_title'>联系人</view> -->
<view class='flex-row line_row'>
<text class='link_header'>姓名:</text>
<input class='link_content' data-index='1' bindinput='getInputContent' focus="true" placeholder='请输入姓名' value='{{name}}' />
</view>
<view class='flex-row line_row'>
<radio-group class="radio-group" bindchange="radioChange">
<label class="radio line_sex">
<radio value="1" color='#1C4586' checked="{{sex_man}}" />
<text style="color: {{sex==1 ? '#1C4586':'#919191'}}">男士</text>
</label>
<label class="radio line_sex">
<radio value="0" color='#1C4586' checked="{{sex_woman}}" />
<text style="color: {{sex==2 ? '#1C4586':'#919191'}}">女士</text>
</label>
<!-- <label class="radio line_sex">
<radio value="2" checked="{{sex_secrecy}}" />保密
</label> -->
</radio-group>
</view>
<view class='flex-row line_row'>
<text class='link_header'>手机:</text>
<input class='link_content' type='number' data-index='2' bindinput='getInputContent' placeholder='填写手机号码' value='{{iPhone}}' />
</view>
</view>
<view class='address_info'>
<!-- <view class='link_title'>收货地址</view> -->
<!-- <view class='flex-row line_row'>
<text class='link_header'>地址:</text>
<input class='link_content' data-index='3' bindinput='getInputContent' placeholder='请输入收货地址' value='{{newAddress}}' />
<view class='cy-location' style='height:100%;' bindtap='getLocation'>{{newAddress}}</view>
</view> -->
<view class='flex-row line_row'>
<text class='link_header'>地区:</text>
<picker mode = 'region'>广东省 清华市 方圆区</picker>
</view>
<view class='flex-row line_row'>
<text class='link_header'>详细地址:</text>
<input class='link_content' data-index='4' bindinput='getInputContent' placeholder='街道地址' value='{{tablet}}' />
</view>
<!-- <view class='flex-row line_row'>
<text class='address_default'>是否默认地址</text>
<switch checked="{{isSwitch}}" style='position: fixed;right:25rpx' bindchange="switchChange" />
</view>
-->
</view>
<button class='address_save' bindtap='saveAddAddress'>保存</button>
</view>