fix(miniprogram): 精简菜单,移除推迟模块入口
- 个人中心:15→8 项菜单(移除积分商城/订单/用药/透析/知情同意/积分明细) - 健康页:移除 BLE 设备同步入口 - 医生端:移除透析记录/透析处方快捷入口
This commit is contained in:
@@ -30,8 +30,6 @@ const QUICK_ACTIONS = [
|
|||||||
{ label: '患者查询', initial: '查', route: '/pages/doctor/patients/index' },
|
{ label: '患者查询', initial: '查', route: '/pages/doctor/patients/index' },
|
||||||
{ label: '随访记录', initial: '随', route: '/pages/doctor/followup/index' },
|
{ label: '随访记录', initial: '随', route: '/pages/doctor/followup/index' },
|
||||||
{ label: '告警中心', initial: '警', route: '/pages/doctor/alerts/index' },
|
{ label: '告警中心', initial: '警', route: '/pages/doctor/alerts/index' },
|
||||||
{ label: '透析记录', initial: '透', route: '/pages/doctor/dialysis/index' },
|
|
||||||
{ label: '透析处方', initial: '方', route: '/pages/doctor/prescription/index' },
|
|
||||||
];
|
];
|
||||||
|
|
||||||
export default function DoctorHome() {
|
export default function DoctorHome() {
|
||||||
|
|||||||
@@ -366,22 +366,7 @@ export default function Health() {
|
|||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
{/* BLE 设备卡片 */}
|
{/* BLE 设备同步功能暂缓开放 */}
|
||||||
<View className='device-section'>
|
|
||||||
<View
|
|
||||||
className='device-card'
|
|
||||||
onClick={() => Taro.navigateTo({ url: '/pages/device-sync/index' })}
|
|
||||||
>
|
|
||||||
<View className='device-icon'>
|
|
||||||
<Text className='device-icon-text'>设</Text>
|
|
||||||
</View>
|
|
||||||
<View className='device-info'>
|
|
||||||
<Text className='device-name'>蓝牙设备</Text>
|
|
||||||
<Text className='device-desc'>连接设备自动同步数据</Text>
|
|
||||||
</View>
|
|
||||||
<Text className='device-arrow'>›</Text>
|
|
||||||
</View>
|
|
||||||
</View>
|
|
||||||
|
|
||||||
{/* 健康资讯入口 */}
|
{/* 健康资讯入口 */}
|
||||||
<View
|
<View
|
||||||
|
|||||||
@@ -6,37 +6,23 @@ import { usePointsStore } from '../../stores/points';
|
|||||||
import './index.scss';
|
import './index.scss';
|
||||||
|
|
||||||
const MENU_ITEMS = [
|
const MENU_ITEMS = [
|
||||||
{ label: '积分商城', icon: '🎁', bg: '#FDEAEA' },
|
|
||||||
{ label: '我的订单', icon: '📦', bg: '#E8F0F8' },
|
|
||||||
{ label: '就诊人管理', icon: '👨👩👧', bg: '#F0DDD4' },
|
{ label: '就诊人管理', icon: '👨👩👧', bg: '#F0DDD4' },
|
||||||
{ label: '我的报告', icon: '📄', bg: '#E8F0E8' },
|
{ label: '我的报告', icon: '📄', bg: '#E8F0E8' },
|
||||||
{ label: '健康记录', icon: '📝', bg: '#E8F0F8' },
|
{ label: '健康记录', icon: '📝', bg: '#E8F0F8' },
|
||||||
{ label: '诊断记录', icon: '📋', bg: '#E8F0E8' },
|
{ label: '诊断记录', icon: '📋', bg: '#E8F0E8' },
|
||||||
{ label: '我的随访', icon: '🏥', bg: '#F3E8F8' },
|
{ label: '我的随访', icon: '🏥', bg: '#F3E8F8' },
|
||||||
{ label: '用药提醒', icon: '💊', bg: '#FFF3E0' },
|
|
||||||
{ label: '透析记录', icon: '💉', bg: '#E8F0F8' },
|
|
||||||
{ label: '透析处方', icon: '💊', bg: '#E8F0E8' },
|
|
||||||
{ label: '知情同意', icon: '📋', bg: '#F3E8F8' },
|
|
||||||
{ label: '积分明细', icon: '📊', bg: '#F0DDD4' },
|
|
||||||
{ label: '我的预约', icon: '📅', bg: '#E8F0F8' },
|
{ label: '我的预约', icon: '📅', bg: '#E8F0F8' },
|
||||||
{ label: '在线咨询', icon: '💬', bg: '#E8F0E8' },
|
{ label: '在线咨询', icon: '💬', bg: '#E8F0E8' },
|
||||||
{ label: '设置', icon: '⚙️', bg: '#f0f0f0' },
|
{ label: '设置', icon: '⚙️', bg: '#f0f0f0' },
|
||||||
];
|
];
|
||||||
|
|
||||||
const MENU_PATHS: Record<string, string> = {
|
const MENU_PATHS: Record<string, string> = {
|
||||||
'积分商城': '/pages/mall/index',
|
|
||||||
'我的订单': '/pages/pkg-mall/orders/index',
|
|
||||||
'积分明细': '/pages/pkg-mall/detail/index',
|
|
||||||
'就诊人管理': '/pages/pkg-profile/family/index',
|
'就诊人管理': '/pages/pkg-profile/family/index',
|
||||||
'我的报告': '/pages/pkg-profile/reports/index',
|
'我的报告': '/pages/pkg-profile/reports/index',
|
||||||
'健康记录': '/pages/pkg-profile/health-records/index',
|
'健康记录': '/pages/pkg-profile/health-records/index',
|
||||||
'诊断记录': '/pages/pkg-profile/diagnoses/index',
|
'诊断记录': '/pages/pkg-profile/diagnoses/index',
|
||||||
'我的随访': '/pages/pkg-profile/followups/index',
|
'我的随访': '/pages/pkg-profile/followups/index',
|
||||||
'用药提醒': '/pages/pkg-profile/medication/index',
|
'我的预约': '/pages/appointment/index',
|
||||||
'透析记录': '/pages/pkg-profile/dialysis-records/index',
|
|
||||||
'透析处方': '/pages/pkg-profile/dialysis-prescriptions/index',
|
|
||||||
'知情同意': '/pages/pkg-profile/consents/index',
|
|
||||||
'我的预约': '/pages/pkg-appointment/index',
|
|
||||||
'在线咨询': '/pages/consultation/index',
|
'在线咨询': '/pages/consultation/index',
|
||||||
'设置': '/pages/pkg-profile/settings/index',
|
'设置': '/pages/pkg-profile/settings/index',
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user