myaddcompile.wxml
2.0 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
<!-- 修改收货地址 -->
<view class="itemInput displayB">
<view class="itemName"> 姓名</view>
<input placeholder="请输入姓名" value="{{name}}" bindinput="bindName" placeholder-class="plaSty"></input>
</view>
<view class="itemInput displayB">
<view class="itemName">地区</view>
<picker mode="region" bindchange="bindRegionChange" value="{{region}}" custom-item="{{customItem}}">
<view style="display:flex;align-items:center">
<view wx:if="{{region.length>0}}">
{{region[0]}}{{region[1]}}{{region[2]}}
</view>
<view style="color:#727273;font-size:28rpx;" wx:else>请选择地址</view>
<image src="/imgs/right.png"></image>
</view>
</picker>
</view>
<view class="line"></view>
<view class="itemInput displayB">
<view class="itemName">详细地址</view>
<input placeholder="请输入详细地址" value="{{address}}" bindinput="bindAddress" placeholder-class="plaSty"></input>
</view>
<view class="itemInput displayB">
<view class="itemName">联系方式</view>
<input placeholder="请输入联系方式" value="{{phone}}" bindinput="bindPhone" maxlength="11"
placeholder-class="plaSty"></input>
</view>
<view class="itemInput displayB">
<view class="itemName">微信号</view>
<input placeholder="请输入微信号" value="{{wx_id}}" bindinput="bindwx_id" placeholder-class="plaSty"></input>
</view>
<view class="itemInput displayB">
<view class="itemName">邮箱号</view>
<input placeholder="请输入邮箱号" value="{{mail}}" bindinput="bindmail" placeholder-class="plaSty"></input>
</view>
<view class="itemInput center displayB">
<view class="itemName">设为默认</view>
<switch checked="{{isDefault==0?false:true}}" bindchange="switchChange" color="#21AE59" />
</view>
<!-- 编辑结束 -->
<view class="newaddress">
<!-- <view class="newaddress_left" bindtap="bindDelete" >删除</view> -->
<view class="newaddress_right" bindtap="bindsave">保存</view>
</view>