|
@@ -30,43 +30,18 @@
|
|
|
<text class="item-desc">管理被监护的家人</text>
|
|
<text class="item-desc">管理被监护的家人</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="function-item purple" @click="onItemClick('健康知识')">
|
|
|
|
|
|
|
+ <view class="function-item purple" @click="onItemClick('疑问解答')">
|
|
|
<view class="item-content">
|
|
<view class="item-content">
|
|
|
<view class="title-row">
|
|
<view class="title-row">
|
|
|
<view class="item-line"></view>
|
|
<view class="item-line"></view>
|
|
|
- <text class="item-title">健康知识</text>
|
|
|
|
|
|
|
+ <text class="item-title">疑问解答</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <text class="item-desc">获取健康相关知识</text>
|
|
|
|
|
|
|
+ <text class="item-desc">解答您的健康疑问</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <view class="today-reminder-card">
|
|
|
|
|
- <view class="card-header">
|
|
|
|
|
- <text class="card-title">今日提醒</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="card-content">
|
|
|
|
|
- <view class="reminder-item" @click="onItemClick('健康监控')">
|
|
|
|
|
- <view class="reminder-icon">
|
|
|
|
|
- <image src="/static/icons/remixicon/time-line.svg" class="icon" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="reminder-text">
|
|
|
|
|
- <text class="reminder-number">{{ todayReminders.medicationCount }}</text>
|
|
|
|
|
- <text class="reminder-label">用药提醒</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="reminder-item" @click="onItemClick('健康监控')">
|
|
|
|
|
- <view class="reminder-icon">
|
|
|
|
|
- <image src="/static/icons/remixicon/alert-line.svg" class="icon" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="reminder-text">
|
|
|
|
|
- <text class="reminder-number">{{ todayReminders.abnormalCount }}</text>
|
|
|
|
|
- <text class="reminder-label">异常数据</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
|
|
|
<view class="family-activity-card">
|
|
<view class="family-activity-card">
|
|
|
<view class="card-header">
|
|
<view class="card-header">
|
|
@@ -258,8 +233,8 @@ function handleScan(res: any) {
|
|
|
function onItemClick(type: string) {
|
|
function onItemClick(type: string) {
|
|
|
if (type === '家人管理') {
|
|
if (type === '家人管理') {
|
|
|
uni.navigateTo({ url: '/pages/patient-family/index/my-family' })
|
|
uni.navigateTo({ url: '/pages/patient-family/index/my-family' })
|
|
|
- } else if (type === '健康知识') {
|
|
|
|
|
- uni.showToast({ title: '健康知识功能开发中', icon: 'none' })
|
|
|
|
|
|
|
+ } else if (type === '疑问解答') {
|
|
|
|
|
+ uni.showToast({ title: '疑问解答功能开发中', icon: 'none' })
|
|
|
} else {
|
|
} else {
|
|
|
uni.showToast({ title: '功能正在开发中', icon: 'none' })
|
|
uni.showToast({ title: '功能正在开发中', icon: 'none' })
|
|
|
}
|
|
}
|