...
|
...
|
@@ -5,92 +5,108 @@ |
|
|
<cover-view class="record_left {{showrecord?'':'active'}}" bindtap='setshowrecord'>病情记录</cover-view>
|
|
|
</cover-view>
|
|
|
|
|
|
<view class='container_box' wx:if='{{showrecord}}'>
|
|
|
<view class="container">
|
|
|
<view class='container_txt'>白细胞</view>
|
|
|
<view class='container_box' wx:if='{{showrecord}}'>
|
|
|
|
|
|
<view class="container">
|
|
|
<view class='container_top'>
|
|
|
<view class='top_left' style=" background-image:url('../../img/pre.png')"></view>
|
|
|
<view>6月7日-6月13日</view>
|
|
|
<view class='top_rigth' style=" background-image:url('../../img/next.png')"></view>
|
|
|
</view>
|
|
|
<view class='container_contertab'>
|
|
|
<view class="contertab {{tab==1?'contertab_active':''}}" data-tab='1' bindtap='settab'>白细胞计数</view>
|
|
|
<view class="contertab {{tab==2?'contertab_active':''}}" data-tab='2' bindtap='settab'>中性粒细胞</view>
|
|
|
<view class="contertab {{tab==3?'contertab_active':''}}" data-tab='3' bindtap='settab'>血红蛋白</view>
|
|
|
<view class="contertab {{tab==4?'contertab_active':''}}" data-tab='4' bindtap='settab'>血小板</view>
|
|
|
</view>
|
|
|
<view class='tab_content'>
|
|
|
<!-- 白细胞 -->
|
|
|
<view wx:if='{{tab==1}}'>
|
|
|
<canvas class="canvas" canvas-id="lineCanvaswhite" disable-scroll="true" class="canvas" bindtouchstart="touchHandlerwhite"></canvas>
|
|
|
</view>
|
|
|
<view class="container">
|
|
|
<view class='container_txt'>中性粒细胞</view>
|
|
|
<!-- 中性粒细胞 -->
|
|
|
<view wx:if='{{tab==2}}'>
|
|
|
<canvas class="canvas" canvas-id="lineCanvasneutrophils" disable-scroll="true" class="canvas" bindtouchstart="touchHandlerneutrophils"></canvas>
|
|
|
</view>
|
|
|
<view class="container">
|
|
|
<view class='container_txt'>血红蛋白</view>
|
|
|
<!-- 血红蛋白 -->
|
|
|
<view wx:if='{{tab==3}}'>
|
|
|
<canvas class="canvas" canvas-id="lineCanvashemoglobin" disable-scroll="true" class="canvas" bindtouchstart="touchHandlerhemoglobin"></canvas>
|
|
|
</view>
|
|
|
<view class="container">
|
|
|
<view class='container_txt'>血小板</view>
|
|
|
<!-- 血小板 -->
|
|
|
<view wx:if='{{tab==4}}'>
|
|
|
<canvas class="canvas" canvas-id="lineCanvasplatelet" disable-scroll="true" class="canvas" bindtouchstart="touchHandlerplatelet"></canvas>
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 病情记录 -->
|
|
|
<scroll-view class='file_plan' wx:else scroll-y bindscrolltolower='scrollbottom'>
|
|
|
<view class='plan_item1' wx:for='{{FilesLogList}}' wx:key>
|
|
|
<view class='title_box'>
|
|
|
<view>{{item.create_time}}</view>
|
|
|
<view class='title_img' bindtap='goeditfile' data-id='{{item.id}}'>
|
|
|
<image src='../../img/edit.png'></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="two_item two_items {{item.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>
|
|
|
{{item.more.white_blood_cell_result}}
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 病情记录 -->
|
|
|
<scroll-view class='file_plan' wx:else scroll-y bindscrolltolower='scrollbottom'>
|
|
|
<view class='plan_item1' wx:for='{{FilesLogList}}' wx:key>
|
|
|
<view class='title_box'>
|
|
|
<view>{{item.create_time}}</view>
|
|
|
<view class='title_img' bindtap='goeditfile' data-id='{{item.id}}'>
|
|
|
<image src='../../img/edit.png'></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="two_item two_items {{item.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>
|
|
|
<view class="two_item_rigth">
|
|
|
<text class='two_num'> {{item.more.white_blood_cell}}</text>*10^9/L</view>
|
|
|
{{item.more.white_blood_cell_result}}
|
|
|
</view>
|
|
|
<view class="two_item two_items {{item.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>
|
|
|
{{item.more.neutrophils_result}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="two_item_rigth">
|
|
|
<text class='two_num'> {{item.more.white_blood_cell}}</text>*10^9/L</view>
|
|
|
</view>
|
|
|
<view class="two_item two_items {{item.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>
|
|
|
<view class="two_item_rigth">
|
|
|
<text class='two_num'>{{item.more.neutrophils}}</text>*10^9/L</view>
|
|
|
{{item.more.neutrophils_result}}
|
|
|
</view>
|
|
|
<view class="two_item two_items {{item.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>
|
|
|
{{item.more.hemoglobin_result}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="two_item_rigth">
|
|
|
<text class='two_num'>{{item.more.neutrophils}}</text>*10^9/L</view>
|
|
|
</view>
|
|
|
<view class="two_item two_items {{item.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>
|
|
|
<view class="two_item_rigth">
|
|
|
<text class='two_num'> {{item.more.hemoglobin}}</text>g/L</view>
|
|
|
{{item.more.hemoglobin_result}}
|
|
|
</view>
|
|
|
<view class="two_item two_items {{item.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>
|
|
|
{{item.more.platelet_result}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="two_item_rigth">
|
|
|
<text class='two_num'> {{item.more.hemoglobin}}</text>g/L</view>
|
|
|
</view>
|
|
|
<view class="two_item two_items {{item.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>
|
|
|
<view class="two_item_rigth">
|
|
|
<text class='two_num'>{{item.more.platelet}}</text>*10^9/L</view>
|
|
|
</view>
|
|
|
<view class='two_item' wx:if='{{item.doctor_reply != null}}'>
|
|
|
<view>医生建议:</view>
|
|
|
<view class='two_item_content'>{{item.doctor_reply == null ? '等待医生回复':item.doctor_reply}}</view>
|
|
|
{{item.more.platelet_result}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='addnomore' wx:if='{{shownomore}}'>——没有更多数据了——</view>
|
|
|
</scroll-view>
|
|
|
<view class="two_item_rigth">
|
|
|
<text class='two_num'>{{item.more.platelet}}</text>*10^9/L</view>
|
|
|
</view>
|
|
|
<view class='two_item' wx:if='{{item.doctor_reply != null}}'>
|
|
|
<view>医生建议:</view>
|
|
|
<view class='two_item_content'>{{item.doctor_reply == null ? '等待医生回复':item.doctor_reply}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='addnomore' wx:if='{{shownomore}}'>——没有更多数据了——</view>
|
|
|
</scroll-view>
|
|
|
|
|
|
<!-- 趋势图 -->
|
|
|
<!-- <view class="container" wx:if='{{showrecord}}'>
|
...
|
...
|
|