add-student.wxml
2.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
<!--pages/index/confirm-appointment-info/add-student/add-student.wxml-->
<view class="content">
<view class="input-box">
<view class="name-box">
<text>姓 名:</text>
<input type="text" placeholder="请输入姓名" cursor="100" placeholder-class="placeholder-style"
value="{{name}}" bindinput="inputName"/>
</view>
<picker bindchange="sexPickerChange" value="{{sex_index}}" range="{{sex}}">
<view class="select-box">
<view class="select-picker">
<view class="sex">性 别:</view>
<view class="picker" wx:if="{{is_sex_change}}">
{{sex[sex_index]}}
</view>
<view wx:else>{{default_sex.name}}</view>
</view>
<view class="iconfont icon-daosanjiao"></view>
</view>
</picker>
<picker bindchange="birthPickerChange" value="{{birth_date}}" mode="date">
<view class="select-box">
<view class="select-picker">
<view class="sex">生 日:</view>
<view class="picker" wx:if="{{is_birth_change}}">
{{birth_date}}
</view>
<view wx:else>{{default_birth}}</view>
</view>
<view class="iconfont icon-daosanjiao"></view>
</view>
</picker>
<!--<picker bindchange="cityPickerChange" value="{{city_index}}" range="{{cityList}}">-->
<!--<view class="select-box">-->
<!--<view class="select-picker">-->
<!--<view class="sex">城 市:</view>-->
<!--<view class="picker" wx:if="{{is_city_change}}">-->
<!--{{cityList[city_index]}}-->
<!--</view>-->
<!--<view wx:else>{{default_city}}</view>-->
<!--</view>-->
<!--<view class="iconfont icon-daosanjiao"></view>-->
<!--</view>-->
<!--</picker>-->
<picker
mode="region"
bindchange="bindRegionChange"
value="{{region}}"
>
<view class="select-box">
<view class="select-picker">
<view class="sex">城 市:</view>
<view class="picker" wx:if="{{is_city_change}}">
{{region[0]}},{{region[1]}},{{region[2]}}
</view>
<view wx:else>{{default_city}}</view>
</view>
<view class="iconfont icon-daosanjiao"></view>
</view>
</picker>
</view>
<view class="save-btn" bindtap="clickSave">
<view class="save-box">
<text>保 存</text>
</view>
</view>
</view>