index.wxml
5.5 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<view wx:if='{{showdoctor}}'>
<view class='index_item' bindtap='gointroduce' data-id='{{doctorinfo.doctor_id}}'>
<view class='index_item_left'>
<view class='itemimg'>
<image src='{{doctorinfo.avatar}}'></image>
</view>
<view class='item_box'>
<view class='item_box_title'>{{doctorinfo.name}}</view>
<view class='item_contenr'>{{doctorinfo.department_name}} {{doctorinfo.title_name}}</view>
<view>{{doctorinfo.hospital_name}}</view>
</view>
</view>
<view class='iconfont icon-xiangyou'></view>
</view>
</view>
<view class='index_test' wx:if='{{show_notest}}'>
<view class='test_frist'>
<view class='dot'></view>
记录血项测评结果,并获得专家建议和正确医学科普知识。
<view class='button_box'>
<button open-type="getUserInfo" bindgetuserinfo='getopwer' data-tag='1'></button>
<view class='jia_box'>
<view class='iconfont icon-jia'></view>
</view>
<view class='jia_txt'>添加血项检测记录</view>
</view>
</view>
</view>
<view class='index_twotest' wx:else>
<view class='index_twotab'>
<view>用户:{{fileslog.patient}} {{fileslog.age}}岁</view>
<view class='twotab' wx:if='{{filesLogdata > 1}}'>
<button class='twotab_button' open-type='getUserInfo' bindgetuserinfo='getopwer' data-tag='2' data-files_id='{{fileslog.files_id}}'></button>
切换用户
</view>
</view>
<view class='two_main'>
<view class='two_item'>
<view>
最近添加记录:
<text class='time_txt'>{{fileslog.create_time}}</text>
</view>
</view>
<view class='two_item_box' wx:if='{{showfilesLog}}'>
<view class="two_item two_items {{fileslog.more.white_blood_cell_result=='正常'?'':'danger'}} " >
<view class='two_items_left'>
<view class='two_txt'>白细胞计数</view>
<view class='two_state' bindtap='gonormal'>
<view class='iconbox'>
<view class='iconfont icon-jinggao'></view>
</view>
{{fileslog.more.white_blood_cell_result}}
</view>
</view>
<view class="two_item_rigth">
<text class='two_num'> {{fileslog.more.white_blood_cell}}</text>*10^9/L</view>
</view>
<view class="two_item two_items {{fileslog.more.neutrophils_result=='正常'?'':'danger'}} ">
<view class='two_items_left'>
<view class='two_txt'>中性粒细胞计数</view>
<view class='two_state' bindtap='gonormal'>
<view class='iconbox'>
<view class='iconfont icon-jinggao'></view>
</view>
{{fileslog.more.neutrophils_result}}
</view>
</view>
<view class="two_item_rigth">
<text class='two_num'> {{fileslog.more.neutrophils}}</text>*10^9/L</view>
</view>
<view class="two_item two_items {{fileslog.more.hemoglobin_result=='正常'?'':'danger'}} " >
<view class='two_items_left'>
<view class='two_txt'>血红蛋白</view>
<view class='two_state' bindtap='gonormal'>
<view class='iconbox'>
<view class='iconfont icon-jinggao'></view>
</view>
{{fileslog.more.hemoglobin_result}}
</view>
</view>
<view class="two_item_rigth">
<text class='two_num'> {{fileslog.more.hemoglobin}}</text>g/L</view>
</view>
<view class="two_item two_items {{fileslog.more.platelet_result=='正常'?'':'danger'}} ">
<view class='two_items_left'>
<view class='two_txt'>血小板计数</view>
<view class='two_state' bindtap='gonormal'>
<view class='iconbox'>
<view class='iconfont icon-jinggao'></view>
</view>
{{fileslog.more.platelet_result}}
</view>
</view>
<view class="two_item_rigth">
<text class='two_num'> {{fileslog.more.platelet}}</text>*10^9/L</view>
</view>
</view>
<view class='notest' wx:else>暂无记录</view>
<view class='two_item' wx:if='{{fileslog.doctor_reply != null}}'>
<view>医生建议:</view>
<view class='two_item_content'>{{fileslog.doctor_reply == null ? '等待医生回复':fileslog.doctor_reply}}</view>
</view>
<view class='two_item two_items'>
<view class='two_item_yuan_box' bindtap='gorecord' data-files_id='{{fileslog.files_id}}' data-showrecord='1'>
<view class='two_item_yuan'>
<image src='../../img/qst.png'></image>
</view>
<view>趋势图</view>
</view>
<view class='two_item_yuan_box'>
<button class='two_item_yuan_box_button' open-type='getUserInfo' bindgetuserinfo='getopwer' data-tag='3' data-files_id='{{fileslog.files_id}}' data-patient='{{fileslog.patient}}'></button>
<view class='jia_box two_jiabox'>
<view class='iconfont icon-jia'></view>
</view>
<view>添加血项检测记录</view>
</view>
<view class='two_item_yuan_box' bindtap='gorecord' data-showrecord='2' data-files_id='{{fileslog.files_id}}' data-patient='{{fileslog.patient}}'>
<view class='two_item_yuan'>
<image src='../../img/bq.png'></image>
</view>
<view>病情记录</view>
</view>
</view>
</view>
</view>
<view class='index_three'>
<view class='three'>
<view class='three_title'>相关文章:</view>
</view>
<view wx:for='{{articlelist}}' wx:key>
<view class='three' bindtap='goarticle_details' id='{{item.id}}'>
<view class='threeimg_box'>
<image src='{{item.more.thumbnail}}'></image>
</view>
<view class='three_txtbox'>
<view class='three_txtbox_title'>{{item.post_title}}</view>
<view>
{{item.hospital_name}} {{item.department_name}}{{item.title_name}} {{item.doctor_name}}</view>
</view>
</view>
</view>
<view class='three just_last' bindtap='goarticle'>
<view class='more'>查看更多</view>
<view class='iconfont icon-xiangyou'></view>
</view>
</view>