patient-mini/pages/home/index.wxml
码农搬砖工 0984a8157a wedwe
2025-04-24 18:24:05 +08:00

68 lines
2.1 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">
更多
</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="drug-name">
随访时间2025-05-25
</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" /> -->