100 lines
4.8 KiB
Plaintext
100 lines
4.8 KiB
Plaintext
<!-- <nav nav-type="search" /> -->
|
||
<view class="home-container">
|
||
<image class="home-top-bg" mode="widthFix" src="https://image-fudan.oss-cn-beijing.aliyuncs.com/mini_images/my/my-top-bg.png" />
|
||
<t-navbar t-class-placeholder="t-navbar-placeholder" t-class-content="t-navbar-content" class="block" title="患者详情" left-arrow bind:go-back="handleBack" />
|
||
<view class="home-content">
|
||
|
||
<view class="group_2">
|
||
<view class="box_1">
|
||
<image src="{{userInfo.avatar}}" />
|
||
</view>
|
||
<view class="text-group_1">
|
||
<text lines="1" class="text_2">{{userInfo.username}}<text lines="1" decode="true" class="text_4">{{userInfo.sex == 1 ? '男':'女'}} · {{ userInfo.age }}</text></text>
|
||
<text lines="1" class="text_3">下次随访时间:{{ userInfo.next_follow_date }}</text>
|
||
</view>
|
||
|
||
</view>
|
||
|
||
<view class="table-group">
|
||
<view class="core-indicators">
|
||
<text lines="1" class="text_1">核心指标</text>
|
||
<view class="box_2">
|
||
<t-row>
|
||
<t-col span="12" t-class="dark">
|
||
<view class="box_2_item">
|
||
<view class="info">{{userInfo.postoperative_duration}}</view>
|
||
<view class="text">术后时长</view>
|
||
</view>
|
||
</t-col>
|
||
<t-col span="12" t-class="light">
|
||
<view class="box_2_item border-left">
|
||
<view class="hot" wx:if="{{userInfo.risk_type == 3}}">高危/PELD {{userInfo.risk_value}}</view>
|
||
<view class="hot wargin" wx:if="{{userInfo.risk_type == 2}}">中危/PELD {{userInfo.risk_value}}</view>
|
||
<view class="hot success" wx:if="{{userInfo.risk_type == 1}}">低危/PELD {{userInfo.risk_value}}</view>
|
||
<view class="hot success" wx:if="{{userInfo.risk_type == 0}}">-- {{userInfo.risk_value}}</view>
|
||
<view class="text">当前风险</view>
|
||
</view>
|
||
</t-col>
|
||
<t-col span="12" t-class="dark">
|
||
<view class="box_3_item">
|
||
<view class="hot" wx:if="{{userInfo.ggt_compared > 0}}">{{userInfo.ggt_compared}}% <text class="iconfont icon-jiantoushang"></text></view>
|
||
<view class="hot success" wx:if="{{userInfo.ggt_compared < 0}}">{{userInfo.ggt_compared}}% <text class="iconfont icon-jiantouxia"></text></view>
|
||
<view class="info" wx:if="{{userInfo.ggt_compared == 0}}">--</view>
|
||
<view class="text">GGT指数/较上次</view>
|
||
</view>
|
||
</t-col>
|
||
<t-col span="12" t-class="dark">
|
||
<view class="box_3_item border-left">
|
||
<view class="info" wx:if="{{userInfo.height_growth_curve_type == 0}}">--</view>
|
||
<view class="info" wx:if="{{userInfo.height_growth_curve_type == 1}}">轻度偏离</view>
|
||
<view class="info" wx:if="{{userInfo.height_growth_curve_type == 2}}">正常</view>
|
||
<view class="info" wx:if="{{userInfo.height_growth_curve_type == 3}}">重度偏离</view>
|
||
<view class="text">生长曲线</view>
|
||
</view>
|
||
</t-col>
|
||
</t-row>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="item-title">
|
||
生长曲线</view>
|
||
<view class="item-content">
|
||
|
||
<view class="box_3">
|
||
<view class="{{activeIndex == 0 ? 'text-wrapper_1 text-act' : 'text-wrapper_1'}}" data-index="0" bindtap="changeChart">
|
||
<text lines="1" class="text_2">身高曲线</text>
|
||
</view>
|
||
<view class="{{activeIndex == 1 ? 'text-wrapper_1 text-act' : 'text-wrapper_1'}}" data-index="1" bindtap="changeChart">
|
||
<text lines="1" class="text_2">体重曲线</text>
|
||
</view>
|
||
</view>
|
||
<text class="echarts-title">{{activeIndex == 0 ? '身高(cm)':'体重(g)'}}</text>
|
||
<view class="echarts-canvas-container">
|
||
<ec-canvas wx:if="{{ activeIndex == 0 }}" id="mychart-dom-height" canvas-id="mychart-height" ec="{{ ec }}"></ec-canvas>
|
||
<ec-canvas wx:else id="mychart-dom-weight" canvas-id="mychart-weight" ec="{{ ec2 }}" ></ec-canvas>
|
||
<!-- force-use-old-canvas="true" -->
|
||
</view>
|
||
</view>
|
||
<view class="item-title">
|
||
总胆红素趋势</view>
|
||
<view class="item-content">
|
||
<view class="echarts-canvas-container">
|
||
<ec-canvas id="mychart-dom-direct" canvas-id="mychart-direct" ec="{{ ec3 }}"></ec-canvas>
|
||
</view>
|
||
</view>
|
||
<view class="item-title">
|
||
直接胆红素趋势</view>
|
||
<view class="item-content">
|
||
<view class="echarts-canvas-container">
|
||
<ec-canvas id="mychart-dom-indirect" canvas-id="mychart-indirect" ec="{{ ec4 }}"></ec-canvas>
|
||
|
||
</view>
|
||
|
||
|
||
</view>
|
||
<view class="btn" bind:tap="toLink">
|
||
查看患者随访问卷
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view> |