personpage.wxml
3.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
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<view class="headtop">
<view class="headtopitem">
<view class="headtopleft">我的头像</view>
<view class="touxiang" bindtap='uploadImg'>
<image src="{{userInfo.avatar}}"></image>
</view>
</view>
<view class="headtopitem">
<view class="headtopleft">昵称</view>
<view class="entername">
<input placeholder='请输入昵称' placeholder-class='enterming' value='{{userInfo.user_nickname}}' bindinput='inputUserInfo' data-type='user_nickname' />
</view>
</view>
<view class="headtopitem">
<view class="headtopleft">性别</view>
<!-- <view class="entername">
<input placeholder='请输入昵称' placeholder-class='enterming' />
</view> -->
<picker bindchange="bindhospitaltypeChange" value="{{sexindex}}" range="{{sexarray}}" class="commentlsit_date allhospital">
<view class="selectoption">
<view class="sexname">
{{sexname}}
</view>
<view class="rowimg">
<image src="/img/aicon_61.png"></image>
</view>
</view>
</picker>
</view>
<view class="headtopitem">
<view class="headtopleft">生日</view>
<picker mode="date" value="{{userInfo.birthday}}" bindchange="bindDateChange">
<view class="selectoption">
<view class="sexname">
{{birthday}}
</view>
<view class="rowimg">
<image src="/img/aicon_61.png"></image>
</view>
</view>
</picker>
</view>
<view class="headtopitem">
<view class="headtopleft">地区</view>
<picker mode="region" bindchange="bindRegionChange" value="{{userInfo.region}}" custom-item="{{customItem}}">
<view class="selectoption">
<view class="sexname">
{{reginname}}
</view>
<view class="rowimg">
<image src="/img/aicon_61.png"></image>
</view>
</view>
</picker>
</view>
<view class="headtopitem">
<view class="headtopleft">个人签名</view>
<view class="entername qianming">
<input placeholder='请输入个性签名' placeholder-class='enterming' value='{{userInfo.sign}}' bindinput='inputUserInfo' data-type='sign' />
</view>
</view>
</view>
<view class="headtop">
<view class="headtopitem">
<view class="headtopleft">星座</view>
<view class="entername">
<input placeholder='请输入星座' placeholder-class='enterming' value='{{userInfo.constellation}}' bindinput='getUserInfo' data-type='constellation' />
</view>
</view>
<view class="headtopitem">
<view class="headtopleft">身高</view>
<view class="entername">
<input placeholder='请输入身高' placeholder-class='enterming' value='{{userInfo.height}}' bindinput='inputUserInfo' data-type='height'/>
</view>
</view>
<view class="headtopitem">
<view class="headtopleft">体重</view>
<view class="entername">
<input placeholder='请输入体重' placeholder-class='enterming' value='{{userInfo.weight}}' bindinput='inputUserInfo' data-type='weight'/>
</view>
</view>
</view>
<view class="headtop">
<view class="headtopitem">
<view class="headtopleft">职业</view>
<view class="entername">
<input placeholder='请输入职业' placeholder-class='enterming' value='{{userInfo.major}}' bindinput='inputUserInfo' data-type='major'/>
</view>
</view>
<view class="headtopitem">
<view class="headtopleft">收入</view>
<view class="entername">
<input placeholder='请输入收入' placeholder-class='enterming' value='{{userInfo.income}}' bindinput='inputUserInfo' data-type='income'/>
</view>
</view>
<view class="headtopitem">
<view class="headtopleft">兴趣爱好</view>
<view class="entername">
<input placeholder='请输入兴趣爱好' placeholder-class='enterming' value='{{userInfo.interest}}' bindinput='inputUserInfo' data-type='interest'/>
</view>
</view>
</view>