diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json new file mode 100644 index 0000000..8ae452a --- /dev/null +++ b/.hbuilderx/launch.json @@ -0,0 +1,9 @@ +{ + "version" : "1.0", + "configurations" : [ + { + "playground" : "standard", + "type" : "uni-app:app-android" + } + ] +} diff --git a/src/components/AppTabBar.vue b/src/components/AppTabBar.vue index a9da0ce..58971c7 100644 --- a/src/components/AppTabBar.vue +++ b/src/components/AppTabBar.vue @@ -6,11 +6,11 @@ const props = defineProps<{ }>() const tabs: Array<{ key: TabKey, label: string, icon: string, activeIcon: string, path: string }> = [ - { key: 'home', label: '首页', icon: '/static/icons/tab-home.png', activeIcon: '/static/icons/tab-home-active.png', path: '/pages/home-index/index' }, - { key: 'case', label: '案例库', icon: '/static/icons/tab-case.png', activeIcon: '/static/icons/tab-case-active.png', path: '/pages/case-library/index' }, - { key: 'message', label: '消息中心', icon: '/static/icons/tab-message.png', activeIcon: '/static/icons/tab-message-active.png', path: '/pages/message-center/index' }, - { key: 'project', label: '项目中心', icon: '/static/icons/tab-project.png', activeIcon: '/static/icons/tab-project-active.png', path: '/pages/project-center/index' }, - { key: 'personal', label: '个人中心', icon: '/static/icons/tab-personal.png', activeIcon: '/static/icons/tab-personal-active.png', path: '/pages/personal-center/index' }, + { key: 'home', label: '首页', icon: '/static/icons/首页.png', activeIcon: '/static/icons/首页选中.png', path: '/pages/home-index/index' }, + { key: 'case', label: '案例库', icon: '/static/icons/案例库.png', activeIcon: '/static/icons/案例库选中.png', path: '/pages/case-library/index' }, + { key: 'message', label: '消息中心', icon: '/static/icons/消息中心.png', activeIcon: '/static/icons/消息中心选中.png', path: '/pages/message-center/index' }, + { key: 'project', label: '项目中心', icon: '/static/icons/项目中心.png', activeIcon: '/static/icons/项目中心选中.png', path: '/pages/project-center/index' }, + { key: 'personal', label: '个人中心', icon: '/static/icons/个人中心.png', activeIcon: '/static/icons/个人中心选中.png', path: '/pages/personal-center/index' }, ] function getTabIcon(tab: typeof tabs[number]) { diff --git a/src/constants/message-center.ts b/src/constants/message-center.ts index d6003b3..3a27686 100644 --- a/src/constants/message-center.ts +++ b/src/constants/message-center.ts @@ -4,7 +4,7 @@ export const MESSAGE_LIST: MessageItem[] = [ { id: '1', type: 'service', - icon: '/static/icons/icon-message-service.png', + icon: '/static/icons/message-service.png', title: '在线客服', preview: '您好,请问有什么可以帮您的?', time: '刚刚', @@ -13,7 +13,7 @@ export const MESSAGE_LIST: MessageItem[] = [ { id: '2', type: 'workorder', - icon: '/static/icons/icon-message-workorder.png', + icon: '/static/icons/message-workorder.png', title: '工单状态通知', preview: '您的「社区康养服务系统」项目已进入开发阶段,请关注进度', time: '10:23', @@ -21,7 +21,7 @@ export const MESSAGE_LIST: MessageItem[] = [ { id: '3', type: 'system', - icon: '/static/icons/icon-message-system.png', + icon: '/static/icons/message-system.png', title: '系统通知', preview: '平台将于2026年7月31日00:00:00进行系统维护', time: '昨天', diff --git a/src/constants/status-notification.ts b/src/constants/status-notification.ts index c80a51c..3240c14 100644 --- a/src/constants/status-notification.ts +++ b/src/constants/status-notification.ts @@ -1,6 +1,6 @@ import type { StatusNotificationItem } from '@/types/status-notification' -export const STATUS_NOTIFICATION_ICON = '/static/icons/icon-message-workorder.png' +export const STATUS_NOTIFICATION_ICON = '/static/icons/message-workorder.png' export const STATUS_NOTIFICATION_LIST: StatusNotificationItem[] = [ { diff --git a/src/constants/system-notification.ts b/src/constants/system-notification.ts index 6315628..1822e69 100644 --- a/src/constants/system-notification.ts +++ b/src/constants/system-notification.ts @@ -1,6 +1,6 @@ import type { StatusNotificationItem } from '@/types/status-notification' -export const SYSTEM_NOTIFICATION_ICON = '/static/icons/icon-message-system.png' +export const SYSTEM_NOTIFICATION_ICON = '/static/icons/message-system.png' export const SYSTEM_NOTIFICATION_LIST: StatusNotificationItem[] = [ { diff --git a/src/pages/Login/splash/index.vue b/src/pages/Login/splash/index.vue index 2d493eb..9a2d3f4 100644 --- a/src/pages/Login/splash/index.vue +++ b/src/pages/Login/splash/index.vue @@ -1,10 +1,20 @@