128 lines
5.2 KiB
Plaintext
128 lines
5.2 KiB
Plaintext
<!-- <nav nav-type="search" /> -->
|
||
<view class="home-container">
|
||
<image class="home-top-bg" mode="widthFix" src="../../assets/images/my/my-top-bg.png" />
|
||
<view class="group_1">
|
||
<text class="iconfont icon-fanhui image_2" bind:tap="toBack"></text>
|
||
<text lines="1" class="text_1">患者详情页</text>
|
||
</view>
|
||
<view class="group_2">
|
||
<view class="box_1"></view>
|
||
<view class="text-group_1">
|
||
<text lines="1" class="text_2">张知梦<text lines="1" decode="true" class="text_4">女 · 2岁5个月</text></text>
|
||
<text lines="1" class="text_3">下次随访时间:2025-12-12</text>
|
||
</view>
|
||
|
||
</view>
|
||
|
||
<view class="home-content">
|
||
|
||
<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>术后时长3个月</view>
|
||
</view>
|
||
</t-col>
|
||
<t-col span="12" t-class="light">
|
||
<view >高危/PELD 12</view>
|
||
<view></view>
|
||
</t-col>
|
||
<t-col span="12" t-class="dark">col-8</t-col>
|
||
</t-row>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="item-title">
|
||
<image class="item-title-icon" src="../../assets/images/home/icon_1.svg"></image>
|
||
宝宝成长曲线</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 }}" force-use-old-canvas="true"></ec-canvas>
|
||
<ec-canvas wx:else id="mychart-dom-weight" canvas-id="mychart-weight" ec="{{ ec2 }}" force-use-old-canvas="true"></ec-canvas>
|
||
</view>
|
||
</view>
|
||
<view class="item-content item-content-1">
|
||
<image class="item-content-1-bg" src="../../assets/images/home/img_1.png" mode="widthFix"></image>
|
||
<view class="item-title">
|
||
<image class="item-title-img" src="../../assets/images/home/img_title_1.png" mode="heightFix"></image>
|
||
<view class="item-title-right-text" bindtap="toClockIn">
|
||
更多
|
||
</view>
|
||
</view>
|
||
<view wx:for="{{carList}}">
|
||
|
||
<view class="image-text_3">
|
||
<view class="box_6"></view>
|
||
<text lines="1" class="text-group_3">{{item.medicine_time}}</text>
|
||
</view>
|
||
<view class="box_9" wx:for="{{item.detail}}" wx:for-item="item2">
|
||
<view class="image-text_5">
|
||
<view class="box_10"></view>
|
||
<view class="text-group_5">
|
||
<text lines="1" class="text_21">{{item2.name}}</text>
|
||
<text lines="1" class="text_22">{{item2.frequency}}片,{{item2.time}}服用</text>
|
||
</view>
|
||
</view>
|
||
<view class="box_11"></view>
|
||
<view class="text-wrapper_6 {{item.status=='2'?'':'catArt'}}" data-id="{{item.id}}" data-status="{{item.status}}" bind:tap="medicineRecord">
|
||
<text lines="1" class="text_23">{{item.status=='2'?'已打卡':'打卡'}}</text>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="item-content item-content-2" wx:if="{{sfListLength > 0}}">
|
||
<image class="item-content-1-bg" src="../../assets/images/home/img_2.png" mode="widthFix"></image>
|
||
<view class="item-title">
|
||
<image class="item-title-img-2" src="../../assets/images/home/img_title_2.png" mode="heightFix"></image>
|
||
</view>
|
||
<view class="item-box">
|
||
<view class="drug-name">
|
||
{{sfData.plan_name}}
|
||
</view>
|
||
|
||
<view class="follow-up-itme">
|
||
随访时间:{{sfData.plan_date}}
|
||
</view>
|
||
<text class="follow-itme-ed">{{sfData.daysUntilPlan}}天后</text>
|
||
</view>
|
||
</view>
|
||
<view class="item-content item-content-3" wx:if="articlesLength > 0">
|
||
<view class="item-title">
|
||
<image class="item-title-icon" src="../../assets/images/home/icon_2.png"></image> 健康推送
|
||
<view class="item-title-right-text" bind:tap="toArticle">
|
||
更多
|
||
</view>
|
||
</view>
|
||
<view class="item-box" wx:for="{{articles}}" wx:key="index" bind:tap="toArticleDelit" data-index="{{index}}">
|
||
<view class="drug-name">
|
||
{{item.title}}
|
||
</view>
|
||
<view class="article-content">
|
||
{{item.contentText}}
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<!-- <view class="home-release">
|
||
<t-button theme="primary" size="large" icon="add" shape="round" bindtap="goRelease">
|
||
发布
|
||
</t-button>
|
||
</view> -->
|
||
<!-- <t-message id="t-message" /> -->
|
||
|
||
<view class="emergency-access" bindtap="toEmergency">
|
||
<t-icon name="call-1-filled" size="42rpx" />
|
||
</view> |