modifyPersonInformation.wxml
3.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!--pages/my/modifyPersonInformation/modifyPersonInformation.wxml-->
<view>
<view class='banner'>
<view class='iconfont icon-fanhui' catchtap='get_my'></view>
<view class='coupons'>修改个人信息</view>
</view>
<view class='content_item'>
<view class='item_list' bindtap='changePhoto'>
<view class='content_title'>头像</view>
<view class='person_information_box'>
<view class='head_portrait'>
<image src='{{photoPath!==""?photoPath[0]:"http://hifresh.w.bronet.cn/assets/wxapp/keshihua@2x.png"}}'></image>
</view>
<view class='iconfont icon-jinru'></view>
</view>
</view>
<view class='item_list' bindtap='getamend_nickname'>
<view class='content_title'>昵称</view>
<view class='person_information_box'>
<view class='content_information'>叶晓林</view>
<view class='iconfont icon-jinru'></view>
</view>
</view>
<view class='item_list'>
<view class='content_title'>性别</view>
<view class='person_information_box'>
<!-- <view class='content_information'>男</view> -->
<!-- <picker class='content_information'>
<text>男</text>
</picker> -->
<view class='content_information' bindtap='changeSex'>男</view>
<view class='iconfont icon-jinru'></view>
</view>
</view>
<view class='item_list'>
<view class='content_title'>生日</view>
<view class='person_information_box'>
<picker mode="date" class='content_information'>
<text>设置生日</text>
</picker>
<view class='iconfont icon-jinru'></view>
</view>
</view>
<view class='item_list' bindtap='getamend_nickphone'>
<view class='content_title'>手机号</view>
<view class='person_information_box'>
<!-- <view class='content_information'>男</view> -->
<view class='content_information'>绑定手机号</view>
<view class='iconfont icon-jinru'></view>
</view>
</view>
</view>
</view>
<view wx:if='{{flag}}' class='mask'>
<view class='show_change_sex'>
<view class='choose_sex'>选择性别</view>
<view class='choose'>
<view class='man'>
<view class='xuanzhong'>
<view class='iconfont icon-weixuanzhong {{choose===1?"active":""}}' bindtap='choose1'></view>
</view>
<view class='nan'>男</view>
</view>
<view class='man'>
<view class='xuanzhong'>
<view class='iconfont icon-weixuanzhong {{choose===2?"active":""}}' bindtap='choose2'></view>
</view>
<view class='nan'>女</view>
</view>
</view>
<view class='confirm' bindtap='hide'>确定 </view>
</view>
</view>