From 3cd5db661238041ae7518bfd175f689d49c6858b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E9=B9=8F?= Date: Tue, 7 Jan 2025 16:56:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=8C=E6=88=90=E9=A6=96=E9=A1=B5UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.config.ts | 16 ++-- src/components/TeamDilog/TeamPopup.vue | 88 ++++++++++++++++++++ src/pages.json | 16 ++-- src/pages/home/HomeAddDevice.vue | 10 +++ src/pages/home/HomeAddTeamManager.vue | 20 +++++ src/pages/home/HomeAttendance.vue | 27 ++++++ src/pages/home/HomeOpenDoor.vue | 43 ++++++++++ src/pages/home/HomeSetting.vue | 16 ++++ src/pages/home/HomeTab.vue | 8 +- src/pages/home/HomeTeamManager.vue | 26 ++++++ src/pages/home/HomeTodo.vue | 4 +- src/pages/home/home.vue | 42 ++++++++-- src/static/images/bg_no_device.webp | Bin 0 -> 20920 bytes src/static/images/bg_one_key_door.png | Bin 0 -> 19532 bytes src/static/images/icon_main_edit.webp | Bin 0 -> 942 bytes src/static/images/icon_main_switch.webp | Bin 0 -> 776 bytes src/static/images/icon_one_key_door.png | Bin 0 -> 606 bytes src/static/images/icon_one_key_door_key.png | Bin 0 -> 1820 bytes src/static/images/icon_setting.webp | Bin 0 -> 882 bytes src/static/images/icon_team.webp | Bin 0 -> 1514 bytes src/static/images/icon_team_authed.webp | Bin 0 -> 1492 bytes src/static/images/icon_team_join.png | Bin 0 -> 823 bytes src/static/images/icon_team_own.png | Bin 0 -> 947 bytes src/static/tabbar/example.png | Bin 1371 -> 0 bytes src/static/tabbar/exampleHL.png | Bin 1398 -> 0 bytes src/static/tabbar/home.png | Bin 1346 -> 2747 bytes src/static/tabbar/homeHL.png | Bin 1415 -> 0 bytes src/static/tabbar/home_selected.png | Bin 0 -> 2162 bytes src/static/tabbar/mine.png | Bin 0 -> 2951 bytes src/static/tabbar/mine_selected.png | Bin 0 -> 2323 bytes src/static/tabbar/notification.png | Bin 0 -> 3771 bytes src/static/tabbar/notification_selected.png | Bin 0 -> 3176 bytes src/static/tabbar/personal.png | Bin 2457 -> 0 bytes src/static/tabbar/personalHL.png | Bin 2534 -> 0 bytes src/static/tabbar/workbench.png | Bin 0 -> 3870 bytes src/static/tabbar/workbench_selected.png | Bin 0 -> 3061 bytes src/typings.ts | 1 + 37 files changed, 288 insertions(+), 29 deletions(-) create mode 100644 src/components/TeamDilog/TeamPopup.vue create mode 100644 src/pages/home/HomeAddDevice.vue create mode 100644 src/pages/home/HomeAddTeamManager.vue create mode 100644 src/pages/home/HomeAttendance.vue create mode 100644 src/pages/home/HomeOpenDoor.vue create mode 100644 src/pages/home/HomeSetting.vue create mode 100644 src/pages/home/HomeTeamManager.vue create mode 100644 src/static/images/bg_no_device.webp create mode 100644 src/static/images/bg_one_key_door.png create mode 100644 src/static/images/icon_main_edit.webp create mode 100644 src/static/images/icon_main_switch.webp create mode 100644 src/static/images/icon_one_key_door.png create mode 100644 src/static/images/icon_one_key_door_key.png create mode 100644 src/static/images/icon_setting.webp create mode 100644 src/static/images/icon_team.webp create mode 100644 src/static/images/icon_team_authed.webp create mode 100644 src/static/images/icon_team_join.png create mode 100644 src/static/images/icon_team_own.png delete mode 100644 src/static/tabbar/example.png delete mode 100644 src/static/tabbar/exampleHL.png delete mode 100644 src/static/tabbar/homeHL.png create mode 100644 src/static/tabbar/home_selected.png create mode 100644 src/static/tabbar/mine.png create mode 100644 src/static/tabbar/mine_selected.png create mode 100644 src/static/tabbar/notification.png create mode 100644 src/static/tabbar/notification_selected.png delete mode 100644 src/static/tabbar/personal.png delete mode 100644 src/static/tabbar/personalHL.png create mode 100644 src/static/tabbar/workbench.png create mode 100644 src/static/tabbar/workbench_selected.png diff --git a/pages.config.ts b/pages.config.ts index 672e834..bdb69ce 100644 --- a/pages.config.ts +++ b/pages.config.ts @@ -3,7 +3,7 @@ import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages' export default defineUniPages({ globalStyle: { navigationStyle: 'default', - navigationBarTitleText: 'unibest', + navigationBarTitleText: '星星勤务', navigationBarBackgroundColor: '#f8f8f8', navigationBarTextStyle: 'black', backgroundColor: '#FFFFFF' @@ -28,25 +28,25 @@ export default defineUniPages({ list: [ { iconPath: 'static/tabbar/home.png', - selectedIconPath: 'static/tabbar/homeHL.png', + selectedIconPath: 'static/tabbar/home_selected.png', pagePath: 'pages/home/home', text: '首页' }, { - iconPath: 'static/tabbar/home.png', - selectedIconPath: 'static/tabbar/homeHL.png', + iconPath: 'static/tabbar/workbench.png', + selectedIconPath: 'static/tabbar/workbench_selected.png', pagePath: 'pages/workbench/workbench', text: '工作台' }, { - iconPath: 'static/tabbar/home.png', - selectedIconPath: 'static/tabbar/homeHL.png', + iconPath: 'static/tabbar/notification.png', + selectedIconPath: 'static/tabbar/notification_selected.png', pagePath: 'pages/notification/notification', text: '消息' }, { - iconPath: 'static/tabbar/example.png', - selectedIconPath: 'static/tabbar/exampleHL.png', + iconPath: 'static/tabbar/mine.png', + selectedIconPath: 'static/tabbar/mine_selected.png', pagePath: 'pages/mine/mine', text: '我的' } diff --git a/src/components/TeamDilog/TeamPopup.vue b/src/components/TeamDilog/TeamPopup.vue new file mode 100644 index 0000000..d988f1f --- /dev/null +++ b/src/components/TeamDilog/TeamPopup.vue @@ -0,0 +1,88 @@ + + + diff --git a/src/pages.json b/src/pages.json index 0189e52..400228e 100644 --- a/src/pages.json +++ b/src/pages.json @@ -1,7 +1,7 @@ { "globalStyle": { "navigationStyle": "default", - "navigationBarTitleText": "unibest", + "navigationBarTitleText": "星星勤务", "navigationBarBackgroundColor": "#f8f8f8", "navigationBarTextStyle": "black", "backgroundColor": "#FFFFFF" @@ -25,25 +25,25 @@ "list": [ { "iconPath": "static/tabbar/home.png", - "selectedIconPath": "static/tabbar/homeHL.png", + "selectedIconPath": "static/tabbar/home_selected.png", "pagePath": "pages/home/home", "text": "首页" }, { - "iconPath": "static/tabbar/home.png", - "selectedIconPath": "static/tabbar/homeHL.png", + "iconPath": "static/tabbar/workbench.png", + "selectedIconPath": "static/tabbar/workbench_selected.png", "pagePath": "pages/workbench/workbench", "text": "工作台" }, { - "iconPath": "static/tabbar/home.png", - "selectedIconPath": "static/tabbar/homeHL.png", + "iconPath": "static/tabbar/notification.png", + "selectedIconPath": "static/tabbar/notification_selected.png", "pagePath": "pages/notification/notification", "text": "消息" }, { - "iconPath": "static/tabbar/example.png", - "selectedIconPath": "static/tabbar/exampleHL.png", + "iconPath": "static/tabbar/mine.png", + "selectedIconPath": "static/tabbar/mine_selected.png", "pagePath": "pages/mine/mine", "text": "我的" } diff --git a/src/pages/home/HomeAddDevice.vue b/src/pages/home/HomeAddDevice.vue new file mode 100644 index 0000000..442a88c --- /dev/null +++ b/src/pages/home/HomeAddDevice.vue @@ -0,0 +1,10 @@ + + + diff --git a/src/pages/home/HomeAddTeamManager.vue b/src/pages/home/HomeAddTeamManager.vue new file mode 100644 index 0000000..3463f5f --- /dev/null +++ b/src/pages/home/HomeAddTeamManager.vue @@ -0,0 +1,20 @@ + + + diff --git a/src/pages/home/HomeAttendance.vue b/src/pages/home/HomeAttendance.vue new file mode 100644 index 0000000..53e6e30 --- /dev/null +++ b/src/pages/home/HomeAttendance.vue @@ -0,0 +1,27 @@ + + + diff --git a/src/pages/home/HomeOpenDoor.vue b/src/pages/home/HomeOpenDoor.vue new file mode 100644 index 0000000..6a3e01f --- /dev/null +++ b/src/pages/home/HomeOpenDoor.vue @@ -0,0 +1,43 @@ + + + diff --git a/src/pages/home/HomeSetting.vue b/src/pages/home/HomeSetting.vue new file mode 100644 index 0000000..7131eb8 --- /dev/null +++ b/src/pages/home/HomeSetting.vue @@ -0,0 +1,16 @@ + + + diff --git a/src/pages/home/HomeTab.vue b/src/pages/home/HomeTab.vue index 485d109..f124fe2 100644 --- a/src/pages/home/HomeTab.vue +++ b/src/pages/home/HomeTab.vue @@ -31,6 +31,8 @@ diff --git a/src/pages/home/HomeTeamManager.vue b/src/pages/home/HomeTeamManager.vue new file mode 100644 index 0000000..8d7c8a3 --- /dev/null +++ b/src/pages/home/HomeTeamManager.vue @@ -0,0 +1,26 @@ + + + diff --git a/src/pages/home/HomeTodo.vue b/src/pages/home/HomeTodo.vue index 87e36f4..ecc5421 100644 --- a/src/pages/home/HomeTodo.vue +++ b/src/pages/home/HomeTodo.vue @@ -11,10 +11,10 @@ :key="index" > - {{ item.name }} + {{ item.title }} {{ item.content }} - 去处理 + 去处理 diff --git a/src/pages/home/home.vue b/src/pages/home/home.vue index 2d14f90..0107281 100644 --- a/src/pages/home/home.vue +++ b/src/pages/home/home.vue @@ -15,9 +15,12 @@ - 19104656的互联 - - + + 19104656的互联 + + + + - - - - - + + + + + + + + + + + + + +