From 68301369572e873542f8522f4604714af1c28961 Mon Sep 17 00:00:00 2001 From: kron Date: Wed, 26 Nov 2025 15:09:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E9=A6=96=E9=A1=B53=E4=B8=AAt?= =?UTF-8?q?ab=E9=A1=B5=E7=9A=84=E7=A7=BB=E5=8A=A8=E7=AB=AF=E6=94=B9?= =?UTF-8?q?=E9=80=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 5 + src/components/AppBackground.vue | 29 +- src/components/Container.vue | 15 +- src/components/Header.vue | 106 +------- src/components/Tabbar.vue | 70 +++++ src/pages.json | 18 +- src/pages/create.vue | 2 +- src/pages/detail.vue | 2 +- src/pages/edit-profile.vue | 2 +- src/pages/edit.vue | 2 +- src/pages/index.vue | 450 ++++++------------------------- src/pages/list.vue | 186 +++++++------ src/pages/profile.vue | 130 ++++----- src/pages/score.vue | 394 +++++++++++++++++++++++++++ src/static/app-bg6.png | Bin 0 -> 8684 bytes src/static/tab-history-s.png | Bin 0 -> 1336 bytes src/static/tab-history.png | Bin 0 -> 820 bytes src/static/tab-score-s.png | Bin 0 -> 1708 bytes src/static/tab-score.png | Bin 0 -> 1155 bytes src/static/tab-user-s.png | Bin 0 -> 1647 bytes src/static/tab-user.png | Bin 0 -> 1043 bytes 21 files changed, 716 insertions(+), 695 deletions(-) create mode 100644 src/components/Tabbar.vue create mode 100644 src/pages/score.vue create mode 100644 src/static/app-bg6.png create mode 100644 src/static/tab-history-s.png create mode 100644 src/static/tab-history.png create mode 100644 src/static/tab-score-s.png create mode 100644 src/static/tab-score.png create mode 100644 src/static/tab-user-s.png create mode 100644 src/static/tab-user.png diff --git a/src/App.vue b/src/App.vue index 86eff1e..473e32b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,3 +4,8 @@ + diff --git a/src/components/AppBackground.vue b/src/components/AppBackground.vue index 3095318..52a94bf 100644 --- a/src/components/AppBackground.vue +++ b/src/components/AppBackground.vue @@ -10,56 +10,31 @@ const props = defineProps({ default: "#050b19", }, }); -const capsuleHeight = ref(0); -// onMounted(() => { -// const menuBtnInfo = uni.getMenuButtonBoundingClientRect(); -// capsuleHeight.value = menuBtnInfo.top + 50 - 9; -// }); diff --git a/src/components/Container.vue b/src/components/Container.vue index 5b3cfe4..9b3dd14 100644 --- a/src/components/Container.vue +++ b/src/components/Container.vue @@ -9,7 +9,7 @@ const props = defineProps({ }, bgType: { type: Number, - default: 0, + default: 2, }, onBack: { type: Function, @@ -25,18 +25,13 @@ const props = defineProps({ }, bgColor: { type: String, - default: "#050b19", + default: "#F5F5F5", }, }); const showHint = ref(false); const hintType = ref(0); -const capsuleHeight = ref(0); const isLoading = ref(false); - -onMounted(() => { - // const menuBtnInfo = uni.getMenuButtonBoundingClientRect(); - // capsuleHeight.value = menuBtnInfo.top - 9; -}); +const statusBarHeight = uni.getSystemInfoSync().statusBarHeight; const goBack = () => { uni.navigateBack(); @@ -44,13 +39,13 @@ const goBack = () => {