info.wxml
3.7 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
<!--pages/addAddress/addAddress.wxml-->
<form bindsubmit='formSubmit'>
<view class='content_item'>
<view class='item_list' style='padding:10rpx 0'>
<view class='list_title'>
<image class='head_img' src='{{avatar}}'></image>
</view>
<view class='list_input' bindtap='chooseImg'>
<input type='number' placeholder='编辑头像' disabled='true'></input>
<view class='iconfont icon-fanhui'></view>
</view>
</view>
<view class='item_list'>
<view class='list_title'>
<text>昵称</text>
</view>
<!-- bindtap='showMask' -->
<view class='list_input'>
<input type='text' placeholder='请输入' name='user_name' value='{{user_name}}' bindinput='getName'></input>
<view class='iconfont icon-fanhui'></view>
</view>
</view>
</view>
<view class='content_item'>
<view class='item_list'>
<view class='list_title'>
<text>性别</text>
</view>
<view class='list_input'>
<picker class='chassify_picker' range='{{sex_array}}' value='{{sex_index}}' bindchange='setSex'>
<input placeholder='请选择' value='{{sex_array[sex_index]}}' disabled='true'></input>
</picker>
<view class='iconfont icon-fanhui'></view>
</view>
</view>
<view class='item_list'>
<view class='list_title'>
<text>出生日期</text>
</view>
<view class='list_input'>
<picker mode='date' bindchange='setTime'>
<input type='text' placeholder='未选择' value='{{birthday}}' disabled='true'></input>
</picker>
<view class='iconfont icon-fanhui'></view>
</view>
</view>
<view class='item_list'>
<view class='list_title'>
<text>星座</text>
</view>
<view class='list_input'>
<picker range='{{constellation_array}}' value='{{index}}' bindchange='setInfo'>
<input type='text' placeholder='未选择' name='constellation' value="{{constellation!='null'?constellation:''}}" disabled='true'></input>
</picker>
<view class='iconfont icon-fanhui'></view>
</view>
</view>
</view>
<view class='content_item'>
<view class='item_list'>
<view class='list_title'>
<text>身高</text>
</view>
<view class='list_input'>
<input type='number' placeholder='请填写' name='stature' value='{{stature}}'></input>
<view class='iconfont icon-fanhui'></view>
</view>
</view>
<view class='item_list' style='border:0'>
<view class='list_title'>
<text>体重</text>
</view>
<view class='list_input'>
<input type='number' placeholder='请填写' name='weight' value='{{weight}}'></input>
<view class='iconfont icon-fanhui'></view>
</view>
</view>
<view class='info_box'>
<view class='list_title textarea_title'>
<text>个性签名</text>
</view>
<view class='list_textarea'>
<textarea placeholder='记录此刻的心情' maxlength='{{max}}' value='{{signature}}' bindinput='getText' maxlength='{{max}}'>
<text class='words_num'>{{current_num}}/{{max}}</text>
</textarea>
</view>
</view>
</view>
<!-- 底部按钮 -->
<view class='null_box'></view>
<button class='save_address_btn' form-type='submit'>确定</button>
</form>
<!-- <view class='mask_box' wx:if='{{mask_state}}'>
<view class='popup_box'>
<view class='popup_title'>昵称</view>
<view class='popup_input'><input placeholder='可妮兔'></input></view>
<view class='popup_btn_box'>
<view class='popup_btn' bindtap='cancleMak'>取消</view>
<view class='popup_btn' bindtap='cancleMak'>确定</view>
</view>
</view>
</view> -->