patient-mini/pages/home/index.wxml
2025-05-28 22:43:31 +08:00

93 lines
2.9 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.

<!-- <nav nav-type="search" /> -->
<view class="home-container">
<view class="home-content">
<view class="item-content">
<view class="item-title">宝宝成长曲线</view>
<view class="echarts-legend">
<view class="{{ activeIndex == 0 ? 'active' : '' }}" data-index="0" bindtap="changeChart">
身高曲线
</view>
<view class="{{ activeIndex == 1 ? 'active' : '' }}" data-index="1" bindtap="changeChart">
体重曲线
</view>
</view>
<view class="echarts-canvas-container">
<ec-canvas wx:if="{{ activeIndex == 0 }}" id="mychart-dom-bar" canvas-id="mychart-bar" ec="{{ ec }}"></ec-canvas>
<ec-canvas wx:else id="mychart-dom-bar" canvas-id="mychart-bar2" ec="{{ ec2 }}"></ec-canvas>
</view>
</view>
<view class="item-content">
<view class="item-title">每日用药提醒
<view class="item-title-right-text" bindtap="toClockIn">
更多
</view>
</view>
<view class="item-box">
<view class="item-box-title">
<view class="item-box-title-left">
中午 12:00
</view>
<view class="item-box-title-right">
未完成
</view>
</view>
<!-- 药品名字 -->
<view class="drug-name">
布洛芬
</view>
<!-- 药品用量 -->
<view class="drug-usage">
1片 饭后复用
</view>
<t-button theme="primary" block>打卡</t-button>
</view>
</view>
<view class="item-content">
<view class="item-title">随访提醒
</view>
<view class="item-box">
<view class="drug-name">
术后一个月随访
</view>
<!-- 药品名字 -->
<view class="follow-up-itme">
随访时间2025-05-25
</view>
<text class="follow-itme-ed">50天后</text>
</view>
</view>
<view class="item-content">
<view class="item-title">健康推送
<view class="item-title-right-text">
更多
</view>
</view>
<view class="item-box">
<view class="drug-name">
关于配方奶粉的选择
</view>
<!-- 药品名字 -->
<view class="follow-up-itme">
关于配方奶粉的选择
含 MCT(中链脂肪)奶粉或粉剂有利于胆闭宝宝脂肪酸及维生素的吸收,改善营养状况。待退黄后根据营养科医生指导,可逐步转回母乳喂养,母乳不足者用普通......
</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>