Files
sykl-hy/pages/record/reportSee/index.wxml

92 lines
4.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<view wx:if="{{log}}">
<view class="space">
<view class="top">
<view class="title">
体检报告数据
</view>
<view class="other">
<view class="time">
{{today}}
</view>
<view class="tips">
<view class="item">血压</view>
<view class="item">血脂</view>
<view class="item">血糖</view>
<view class="item">尿酸</view>
</view>
</view>
</view>
<view class="report" wx:if="{{log.symptoms}}">
<view class="label" wx:for="{{log.symptoms}}" wx:key="symptoms">
<view class="title">
<image wx:if="{{item.symptom.name == 'hypertension'}}" src="/static/icons/uricacidIcon_00.png" mode=""></image>
<image wx:elif="{{item.symptom.name == 'hyperlipidemia'}}" src="/static/icons/uricacidIcon_01.png" mode=""></image>
<image wx:elif="{{item.symptom.name == 'hyperglycemia'}}" src="/static/icons/uricacidIcon_02.png" mode=""></image>
<image wx:else src="/static/icons/uricacidIcon_03.png" mode=""></image>
{{item.diff.text}}<text wx:if="{{log.hypertension}}">{{item.diff.unit}}</text>
</view>
<!-- 只有血压的时候显示两个值 -->
<view class="data" wx:if="{{item.symptom.name == 'hypertension'}}">
<view class="number">
<view class="number-top active">{{item.high}}</view>
最新报告(高)
</view>
<view class="number">
<view class="number-top active">{{item.diff.diff.high.before}}</view>
初始报告
</view>
<view class="number">
<view class="number-top">
<text class="{item.diff.diff.high.symbol == '+' ? 'red' : ''}">{{item.diff.diff.high.value}}</text>
<image src="{{item.diff.diff.high.symbol == '+' ? '/static/icons/red.png' : '/static/icons/green.png'}}" mode=""></image>
</view>
<text>{{item.diff.diff.high.symbol == '+' ? '上升' : '下降'}}</text>
</view>
</view>
<view class="data">
<view class="number">
<view class="number-top active">{{item.low}}</view>
最新报告 {{item.symptom.name == 'hypertension' ? '(低)' : ''}}
</view>
<view class="number">
<view class="number-top active">{{item.diff.diff.low.before}}</view>
初始报告
</view>
<view class="number">
<view class="number-top">
<text class="{{item.diff.diff.low.symbol == '+' ? 'red' : ''}}">{{item.diff.diff.low.value}}</text>
<image src="{{item.diff.diff.low.symbol == '+' ? '/static/icons/red.png' : '/static/icons/green.png'}}" mode=""></image>
</view>
<text>{{item.diff.diff.low.symbol == '+' ? '上升' : '下降'}}</text>
</view>
</view>
<image class="enlarge" bindtap="opneImg" data-cover="{{item.cover}}" src="/static/icons/enlarge.png"></image>
</view>
</view>
<view class="tool">
<view class="item">
<image src="/static/icons/uricacidImg_01.png" mode="aspectFill"></image>
<navigator hover-class="none" url="/pages/record/index/index?hasCase={{isCase}}" class="name">
个人档案
<text>查看档案信息</text>
</navigator>
</view>
<view class="item">
<image src="/static/icons/uricacidImg_02.png" mode="aspectFill"></image>
<navigator hover-class="none" url="/pages/record/list/index?caseid={{caseId}}" class="name">
历史报告
<text>查看历史报告</text>
</navigator>
</view>
</view>
</view>
<navigator hover-class="none" open-type="navigateBack" class="analyse-btn">
<view class="btn">
返回
</view>
</navigator>
</view>
<view class="pack-center pages-hint" wx:else>
<image src="/static/imgs/coupon_null.png"></image>
<view>暂无数据</view>
</view>