88 lines
2.7 KiB
Plaintext
88 lines
2.7 KiB
Plaintext
<!-- <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" wx:if="{{sfListLength > 0}}">
|
|
<view class="item-title">随访提醒
|
|
|
|
</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" wx:if="articlesLength > 0">
|
|
<view class="item-title">健康推送
|
|
<view class="item-title-right-text" bind:tap="toArticle">
|
|
更多
|
|
</view>
|
|
</view>
|
|
<view class="item-box" bind:tap="toArticleDelit">
|
|
<view class="drug-name">
|
|
{{article.title}}
|
|
</view>
|
|
<view class="article-content">
|
|
{{article.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> |