addfile.wxml
2.6 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
<!--pages/addfile/addfile.wxml-->
<view class='top_tip'>
为了给您提供更准确的健康随访服务,请务必如实填写以下资料
</view>
<view class='record_main addfile_top'>
<view class='input_box'>
<view>姓名:</view>
<view class="input_cell">
<input placeholder='请输入姓名或昵称' type='text' placeholder-class='placeholderStyle' bindinput='setpatient'></input>
</view>
</view>
<picker mode="date" value="{{mdate}}" end="{{enddate}}" bindchange="bindDateChange">
<view class='input_box'>
<view>生日:</view>
<view class="input_cell">{{date}}</view>
</view>
</picker>
<view class='sexbox'>
<view class='man_box' bindtap='setsexman_yes'>
<view class='seximg'>
<image src='../../img/man.png'></image>
</view>
<view class='no_choose_box' wx:if='{{sexman}}'>
<image src='../../img/choose_yes.png'></image>
</view>
<view class='no_choose_box' wx:else>
<image src='../../img/choose_no.png'></image>
</view>
<view>男</view>
</view>
<view class='man_box' bindtap='setsexman_no'>
<view class='seximg'>
<image src='../../img/woman.png'></image>
</view>
<view class='no_choose_box' wx:if='{{sexman}}'>
<image src='../../img/choose_no.png'></image>
</view>
<view class='no_choose_box' wx:else>
<image src='../../img/choose_yes.png'></image>
</view>
<view>女</view>
</view>
</view>
<picker bindchange="bindPickeritem" range="{{for_meitem}}">
<view class='input_box'>
<view>与本人关系</view>
<view class="input_cell">
<view class="picker">
{{for_who}}
</view>
</view>
</view>
</picker>
<view class='input_box'>
<view>疾病名称:</view>
<view class="input_cell">
<input placeholder='请输入疾病名称' type='text' placeholder-class='placeholderStyle' bindinput='setdisease'></input>
</view>
</view>
<picker mode="region" bindchange="bindRegionChange" value="{{address}}" custom-item="{{customItem}}">
<view class='input_box'>
<view>现住址</view>
<view class="input_cell">
<view class="picker">
{{address[0]}}{{address[1]}}{{address[2]}}
</view>
</view>
</view>
</picker>
<view class='agreenbox'>
<view class='no_choose_box' wx:if='{{chooseagreen}}' bindtap='setchoose'>
<image src='../../img/choose_yes.png'></image>
</view>
<view class='no_choose_box' wx:else bindtap='setchoose'>
<image src='../../img/choose_no.png'></image>
</view>
<view class='agreen_txt'>我已阅读并同意
<text class='txt_a' bindtap='goagreement'>《用户授权隐私协议》</text>
</view>
</view>
<view class='btn addfile_btn' bindtap='addFiles'>保存 并开始记录</view>
</view>