add_address.wxml
1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<view class="box">
<view class="list">
<view class="list_left">收货人</view>
<view class="list_right">
<input placeholder="请输入收货人" bindinput="nameFun" placeholder-class="inut_plclass"></input>
</view>
</view>
<view class="list">
<view class="list_left">手机号码</view>
<view class="list_right">
<input placeholder="请输入手机号" type="number" maxlength="11" bindinput="telFun" placeholder-class="inut_plclass"></input>
</view>
</view>
<view class="list">
<view class="list_left">备用手机号</view>
<view class="list_right">
<input placeholder="请输入备用手机号" type="number" maxlength="11" bindinput="beiTelFun" placeholder-class="inut_plclass"></input>
</view>
</view>
<picker mode="region" style="width: 100%;" bindchange="bindRegionChange">
<view class="list">
<view class="list_left">所在地区</view>
<view class="list_right">
<view class="area">{{area}}</view>
<view class="list_right_img">
<image src="/images/youjiantou.png"></image>
</view>
</view>
</view>
</picker>
<view class="list_textarea">
<view class="list_left">详细地址</view>
<view class="list_right">
<!-- style="padding-top:22rpx;" -->
<textarea placeholder="道路、门牌号、小区、楼栋号等" placeholder-class="inut_plclass" bindinput="getAddressFun" style="padding-top:2rpx;" ></textarea>
</view>
</view>
<view class="list">
<view class="list_left">设为默认地址</view>
<view class="list_right">
<switch type="switch" color="rgba(242, 0, 0, 1)" bindchange="switchChange" />
</view>
</view>
</view>
<view class="add_btn_box">
<view class="add_btn" bindtap="addFun">保存</view>
</view>