From 6a7d31e1c0594046d3ec7ed04e1237b118c4bfcd Mon Sep 17 00:00:00 2001 From: Gary <3489015381@qq.com> Date: Tue, 26 Nov 2024 10:39:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90AI=E8=81=8A=E5=A4=A9=E7=95=8C?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/swiper/community.vue | 4 +- components/swiper/exercise.vue | 4 +- components/swiper/puppy_chat.vue | 6 +- components/swiper/read_center.vue | 4 +- .../tarbar_community/tarbar_community.vue | 22 +++--- components/tarbar_home/tarbar_home.vue | 38 +++++------ .../tarbar_puppy_chat/tarbar_puppy_chat.vue | 13 ++-- components/tarbar_user/tarbar_user.vue | 26 ++++---- manifest.json | 24 +++---- pages.json | 41 ++++++------ .../community/community/community.vue | 5 +- pages/homepages/homes/home/home.vue | 2 +- pages/homepages/puppy_chat/puppy_chat.vue | 4 +- pages/homepages/user/user/user.vue | 63 ++++++++++++------ pages/login/account_login/account_login.vue | 10 ++- .../homepages/puppy_chat/css/puppy_chat.scss | 7 +- static/homepages/user/user/ad_button.png | Bin 0 -> 7089 bytes static/homepages/user/user/background.png | Bin 0 -> 1991737 bytes static/homepages/user/user/bmi_button.png | Bin 0 -> 7953 bytes static/homepages/user/user/button.png | Bin 0 -> 212741 bytes static/homepages/user/user/eat_button.png | Bin 0 -> 8095 bytes static/homepages/user/user/female.png | Bin 0 -> 191596 bytes static/homepages/user/user/head_button.png | Bin 0 -> 7320 bytes static/homepages/user/user/head_pic.png | Bin 0 -> 66826 bytes static/homepages/user/user/male.png | Bin 0 -> 507399 bytes .../user/user/pictures/background.png | Bin 0 -> 1991737 bytes static/homepages/user/user/point.png | Bin 0 -> 837 bytes .../dist/cache/.vite/deps/_metadata.json | 8 +-- 28 files changed, 158 insertions(+), 123 deletions(-) create mode 100644 static/homepages/user/user/ad_button.png create mode 100644 static/homepages/user/user/background.png create mode 100644 static/homepages/user/user/bmi_button.png create mode 100644 static/homepages/user/user/button.png create mode 100644 static/homepages/user/user/eat_button.png create mode 100644 static/homepages/user/user/female.png create mode 100644 static/homepages/user/user/head_button.png create mode 100644 static/homepages/user/user/head_pic.png create mode 100644 static/homepages/user/user/male.png create mode 100644 static/homepages/user/user/pictures/background.png create mode 100644 static/homepages/user/user/point.png diff --git a/components/swiper/community.vue b/components/swiper/community.vue index 33030bf..8e336b5 100644 --- a/components/swiper/community.vue +++ b/components/swiper/community.vue @@ -10,7 +10,9 @@ export default { name: "community", data() { - return {}; + return { + extend_class : '' + }; }, methods: { go_to_community() { diff --git a/components/swiper/exercise.vue b/components/swiper/exercise.vue index a195587..a836fab 100644 --- a/components/swiper/exercise.vue +++ b/components/swiper/exercise.vue @@ -10,7 +10,9 @@ export default { name: "exercise", data() { - return {}; + return { + extend_class : '' + }; }, methods:{ go_to_my_exercise_plan() { diff --git a/components/swiper/puppy_chat.vue b/components/swiper/puppy_chat.vue index 9250a61..04aad6f 100644 --- a/components/swiper/puppy_chat.vue +++ b/components/swiper/puppy_chat.vue @@ -10,13 +10,15 @@ export default { name: "puppy_chat", data() { - return {}; + return { + extend_class : '' + }; }, methods:{ go_go_puppy_chat(){ uni.navigateTo({ - url: '/pages/puppy_chat/puppy_chat' + url: '/pages/homepages/puppy_chat/puppy_chat' }) } } diff --git a/components/swiper/read_center.vue b/components/swiper/read_center.vue index 65c70ab..7e5a303 100644 --- a/components/swiper/read_center.vue +++ b/components/swiper/read_center.vue @@ -10,7 +10,9 @@ export default { name: "read_center", data() { - return {}; + return { + extend_class : '' + }; }, methods:{ go_to_choice_book() { diff --git a/components/tarbar_community/tarbar_community.vue b/components/tarbar_community/tarbar_community.vue index e051ea0..ef0b76b 100644 --- a/components/tarbar_community/tarbar_community.vue +++ b/components/tarbar_community/tarbar_community.vue @@ -53,7 +53,7 @@ export default { data() { return { is_home_picked_up: false, - is_communnity_picked_up: false, + is_community_picked_up: false, is_assistant_picked_up: false, is_user_picked_up: false }; @@ -64,14 +64,14 @@ export default { this.resetPicks(); this.is_home_picked_up = true; uni.reLaunch({ - url: '/pages/homepages/home/home', // 使用 navigateTo + url: '/pages/homepages/homes/home/home', // 使用 navigateTo }); }, pick_up_community() { this.resetPicks(); - this.is_communnity_picked_up = true; + this.is_community_picked_up = true; uni.reLaunch({ - url: '/pages/homepages/community/community', + url: '/pages/homepages/community/community/community', }); }, pick_up_assistant() { @@ -85,12 +85,12 @@ export default { this.resetPicks(); this.is_user_picked_up = true; uni.reLaunch({ - url: '/pages/homepages/user/user', + url: '/pages/homepages/user/user/user', }); }, resetPicks() { this.is_home_picked_up = false; - this.is_communnity_picked_up = false; + this.is_community_picked_up = false; this.is_assistant_picked_up = false; this.is_user_picked_up = false; } @@ -110,14 +110,14 @@ export default { } } .bar_background{ - position: absolute; + position: fixed; width: 95%; /* 宽度占95% */ height: 10%; /* 高度 */ bottom: 1.2%; /* 距离底部2% */ left: 2.5%; /* 左侧2.5% */ background-color: khaki; /* 初始颜色 */ border-radius: 37px; /* 圆角半径,可以根据需要调整 */ - z-index: -1; /* 使背景框在其他元素后面 */ + z-index: 100; /* 使背景框在其他元素后面 */ animation: colorTransition 2s ease forwards; /* 添加颜色渐变动画 */ } @@ -125,19 +125,21 @@ export default { .home, .community, .assistant, .user { - position: absolute; + position: fixed; width: 15%; height: 6%; bottom: 2%; transition: opacity 0.7s ease; /* 添加渐变过渡 */ + z-index: 100; /* 使背景框在其他元素后面 */ } .pick_up_home, .pick_up_community, .pick_up_assistant, .pick_up_user { - position: absolute; + position: fixed; width: 17%; height: 10%; bottom: 2%; transition: opacity 1s ease; /* 添加渐变过渡 */ + z-index: 101; /* 使背景框在其他元素后面 */ } diff --git a/components/tarbar_home/tarbar_home.vue b/components/tarbar_home/tarbar_home.vue index 4954412..74c2fa1 100644 --- a/components/tarbar_home/tarbar_home.vue +++ b/components/tarbar_home/tarbar_home.vue @@ -1,6 +1,5 @@