diff --git a/.idea/watcherTasks.xml b/.idea/watcherTasks.xml
new file mode 100644
index 0000000..c70980f
--- /dev/null
+++ b/.idea/watcherTasks.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/App.vue b/App.vue
index dc6dc62..4ef4d1e 100644
--- a/App.vue
+++ b/App.vue
@@ -1,22 +1,41 @@
+
+
+
+
+
+
diff --git a/components/tarbar/tarbar.vue b/components/tarbar/tarbar.vue
new file mode 100644
index 0000000..3280b4e
--- /dev/null
+++ b/components/tarbar/tarbar.vue
@@ -0,0 +1,141 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/tarbar_community/tarbar_community.vue b/components/tarbar_community/tarbar_community.vue
new file mode 100644
index 0000000..e051ea0
--- /dev/null
+++ b/components/tarbar_community/tarbar_community.vue
@@ -0,0 +1,153 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/tarbar_home/tarbar_home.vue b/components/tarbar_home/tarbar_home.vue
new file mode 100644
index 0000000..f39988c
--- /dev/null
+++ b/components/tarbar_home/tarbar_home.vue
@@ -0,0 +1,145 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/tarbar_puppy_chat/tarbar_puppy_chat.vue b/components/tarbar_puppy_chat/tarbar_puppy_chat.vue
new file mode 100644
index 0000000..8355d6f
--- /dev/null
+++ b/components/tarbar_puppy_chat/tarbar_puppy_chat.vue
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/tarbar_user/tarbar_user.vue b/components/tarbar_user/tarbar_user.vue
new file mode 100644
index 0000000..27853d3
--- /dev/null
+++ b/components/tarbar_user/tarbar_user.vue
@@ -0,0 +1,152 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages.json b/pages.json
index d7448c0..1eabbcb 100644
--- a/pages.json
+++ b/pages.json
@@ -1,122 +1,162 @@
{
"pages": [
- // {
- // "path": "pages/transition/page1/page1",
- // "style": {
- // "navigationStyle": "custom"
- // }
- // },
- // {
- // "path": "pages/transition/page2/page2",
- // "style": {
- // "navigationStyle": "custom"
- // }
- // },
- // {
- // "path": "pages/transition/page3/page3",
- // "style": {
- // "navigationStyle": "custom"
- // }
- // },
- // {
- // "path": "pages/transition/page4/page4",
- // "style": {
- // "navigationStyle": "custom"
- // }
- // },
- // {
- // "path": "pages/transition/page5/page5",
- // "style": {
- // "navigationStyle": "custom"
- // }
- // },
- // {
- // "path": "pages/transition/page6/page6",
- // "style": {
- // "navigationStyle": "custom"
- // }
- // },
- // {
- // "path": "pages/transition/page7/page7",
- // "style": {
- // "navigationStyle": "custom"
- // }
- // },
- // {
- // "path": "pages/login/account_login/account_login",
- // "style": {
- // "navigationStyle": "custom"
- // }
- // },
- // {
- // "path": "pages/login/register/register",
- // "style": {
- // "navigationStyle": "custom"
- // }
- // },
- // {
- // "path": "pages/information/sex/sex",
- // "style": {
- // "navigationBarTitleText": "",
- // "enablePullDownRefresh": false
- // }
- // },
- {
- "path": "pages/information/boy_height/boy_height",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/information/boy_height2/boy_height2",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/information/boy_roll/boy_roll",
- "style": {
- "navigationStyle": "custom"
- }
- },
- // {
- // "path": "pages/information/girl_height/girl_height",
- // "style": {
- // "navigationStyle": "custom"
- // }
- // },
- {
- "path": "pages/information/boy_weight/boy_weight",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/information/boy_weight2/boy_weight2",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/information/boy_roll_w/boy_roll_w",
- "style": {
- "navigationStyle": "custom"
- }
- }
- // {
- // "path": "pages/information/gril_weight/gril_weight",
- // "style": {
- // "navigationBarTitleText": "",
- // "enablePullDownRefresh": false
- // }
- // },
- // {
- // "path": "pages/login/forget_password/forget_password",
- // "style": {
- // "navigationBarTitleText": "",
- // "enablePullDownRefresh": false
- // }
- // }
+ /* {
+ "path": "pages/transition/page1/page1",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/transition/page2/page2",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/transition/page3/page3",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/transition/page4/page4",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/transition/page5/page5",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/transition/page6/page6",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/transition/page7/page7",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },*/
+ /*-----------------------------------------------------------------------动画过渡界面-------------------------------------------*/
+
+ /*
+
+ {
+ "path": "pages/login/account_login/account_login",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/login/register/register",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/login/forget_password/forget_password",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },*/
+ /*-----------------------------------------------------------------------登录注册界面-------------------------------------------*/
+
+ {
+ "path": "pages/information/sex/sex",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/information/boy_height_start/boy_height_start",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/information/boy_height_roll/boy_height_roll",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/information/boy_height_end/boy_height_end",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ /*------------------------------------------------男生填写身高------------------------------------------------------------*/
+ {
+ "path": "pages/information/boy_weight_start/boy_weight_start",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/information/boy_weight_roll/boy_weight_roll",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/information/boy_weight_end/boy_weight_end",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ /*---------------------------------------男生填写体重--------------------------------------------------------------*/
+ {
+ "path": "pages/information/girl_height/girl_height",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/information/girl_weight/girl_weight",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/information/purpose/purpose",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ /*---------------------------------------------------------------信息填写界面----------------------------------------------------*/
+ {
+ "path": "pages/homepages/home/home",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ /*--------------------------------------------------------------主界面----------------------------------------------------------*/
+ {
+ "path": "pages/homepages/puppy_chat/puppy_chat",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ /*-------------------------------------------------------------聊天界面--------------------------------------------------------*/
+ {
+ "path": "pages/homepages/community/community",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ /*-------------------------------------------------------------社区界面------------------------------------------------------*/
+ {
+ "path": "pages/homepages/user/user",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ }
+ /*---------------------------------------------------------------个人信息界面----------------------------------------------------*/
],
"uniIdRouter": {},
"tabBar": null
diff --git a/pages/homepages/community/community.vue b/pages/homepages/community/community.vue
index 342846f..81d353e 100644
--- a/pages/homepages/community/community.vue
+++ b/pages/homepages/community/community.vue
@@ -1,6 +1,7 @@
-
+ 这个是社区界面
+
diff --git a/pages/homepages/main/main.vue b/pages/homepages/home/home.vue
similarity index 67%
rename from pages/homepages/main/main.vue
rename to pages/homepages/home/home.vue
index bffab1b..13eaf52 100644
--- a/pages/homepages/main/main.vue
+++ b/pages/homepages/home/home.vue
@@ -1,6 +1,7 @@
- 这是主页面
+ 这个是home界面
+
diff --git a/pages/homepages/puppy_chat/puppy_chat.vue b/pages/homepages/puppy_chat/puppy_chat.vue
index 342846f..caa91d0 100644
--- a/pages/homepages/puppy_chat/puppy_chat.vue
+++ b/pages/homepages/puppy_chat/puppy_chat.vue
@@ -1,6 +1,7 @@
-
+ 这个是puppy_chat界面
+
diff --git a/pages/homepages/self_information/self_information.vue b/pages/homepages/user/user.vue
similarity index 67%
rename from pages/homepages/self_information/self_information.vue
rename to pages/homepages/user/user.vue
index 342846f..980e300 100644
--- a/pages/homepages/self_information/self_information.vue
+++ b/pages/homepages/user/user.vue
@@ -1,6 +1,7 @@
-
+ 这个是User界面
+
diff --git a/pages/information/boy_height2/boy_height2.vue b/pages/information/boy_height_end/boy_height_end.vue
similarity index 80%
rename from pages/information/boy_height2/boy_height2.vue
rename to pages/information/boy_height_end/boy_height_end.vue
index e585428..d4bfcef 100644
--- a/pages/information/boy_height2/boy_height2.vue
+++ b/pages/information/boy_height_end/boy_height_end.vue
@@ -5,9 +5,9 @@
-
+
-
+
@@ -32,12 +32,12 @@ export default {
});
},
- goTob_weight() {
- this.navigateTo('/pages/information/boy_weight/boy_weight');
+ go_to_purpose() {
+ this.navigateTo('/pages/information/purpose/purpose');
},
- goTob_roll() {
- this.navigateTo('/pages/information/boy_roll/boy_roll');
+ go_to_roll() {
+ this.navigateTo('/pages/information/boy_height_roll/boy_height_roll');
},
}
}
@@ -57,7 +57,7 @@ export default {
position: relative;
}
-/* Human 动画,从页面中部向上移动 */
+
.human {
position: absolute;
width: 100%;
@@ -88,8 +88,8 @@ export default {
/* Button 延迟显示并加缩放特效,放在下方 */
.button {
position: absolute;
- height: 13vh;
- width: 45vh;
+ height: 13%;
+ width: 80%;
opacity: 1;
right: 10%; /* 距右边 10% */
bottom: 2%; /* 距底部 3.5% */
diff --git a/pages/information/boy_roll/boy_roll.vue b/pages/information/boy_height_roll/boy_height_roll.vue
similarity index 86%
rename from pages/information/boy_roll/boy_roll.vue
rename to pages/information/boy_height_roll/boy_height_roll.vue
index 1382012..ffb0085 100644
--- a/pages/information/boy_roll/boy_roll.vue
+++ b/pages/information/boy_height_roll/boy_height_roll.vue
@@ -8,11 +8,13 @@
-
+
+
-
\ No newline at end of file
+
diff --git a/pages/information/gril_weight/gril_weight.vue b/pages/information/girl_weight/girl_weight.vue
similarity index 100%
rename from pages/information/gril_weight/gril_weight.vue
rename to pages/information/girl_weight/girl_weight.vue
diff --git a/pages/information/purpose/purpose.vue b/pages/information/purpose/purpose.vue
new file mode 100644
index 0000000..838f1bf
--- /dev/null
+++ b/pages/information/purpose/purpose.vue
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/information/sex/sex.vue b/pages/information/sex/sex.vue
index f12330a..2245b10 100644
--- a/pages/information/sex/sex.vue
+++ b/pages/information/sex/sex.vue
@@ -1,18 +1,25 @@
+
+
+
@@ -21,14 +28,14 @@
class="girl_image"
@click="clickGirlImage"
v-if="!isGirlSelected"
- :class="{'slide-in-right': !isGirlSelected}"
+ :class="{ 'slide-in-right': !isGirlSelected }"
src="/static/information/sex/pictures/girl.png"
>
@@ -47,25 +54,31 @@ export default {
return {
isBoySelected: false,
isGirlSelected: false,
+ isHumanVisible: false, // 控制 human 图片显示
};
},
+ mounted() {
+ // 页面加载时延时显示 human 图片
+ setTimeout(() => {
+ this.isHumanVisible = true;
+ }, 100); // 延迟 100ms 开始渐变,可以根据需求调整
+ },
methods: {
- // 跳转到下一页
goToNextPage() {
const targetPage = this.isBoySelected
- ? "/pages/information/boy_height/boy_height"
- : "/pages/information/girl_height/girl_height";
+ ? "/pages/information/boy_weight_start/boy_weight_start"
+ : "/pages/information/girl_weight/girl_weight";
uni.navigateTo({
- url: targetPage, // 根据选择跳转到对应页面
+ url: targetPage,
});
},
clickBoyImage() {
this.isBoySelected = true;
- this.isGirlSelected = false; // 取消女生选中状态
+ this.isGirlSelected = false;
},
clickGirlImage() {
this.isGirlSelected = true;
- this.isBoySelected = false; // 取消男生选中状态
+ this.isBoySelected = false;
},
},
};
@@ -73,4 +86,13 @@ export default {
diff --git a/pages/transition/page2/page2.vue b/pages/transition/page2/page2.vue
index a0b00e7..fae9289 100644
--- a/pages/transition/page2/page2.vue
+++ b/pages/transition/page2/page2.vue
@@ -19,6 +19,7 @@ export default {
diff --git a/static/information/girl_height/pictures/background.png b/static/information/girl_height/pictures/background.png
new file mode 100644
index 0000000..6f91856
Binary files /dev/null and b/static/information/girl_height/pictures/background.png differ
diff --git a/static/information/girl_height/pictures/button.png b/static/information/girl_height/pictures/button.png
new file mode 100644
index 0000000..72d3cb0
Binary files /dev/null and b/static/information/girl_height/pictures/button.png differ
diff --git a/static/information/girl_height/pictures/height_text.png b/static/information/girl_height/pictures/height_text.png
new file mode 100644
index 0000000..bf7c809
Binary files /dev/null and b/static/information/girl_height/pictures/height_text.png differ
diff --git a/static/information/girl_height/pictures/human.png b/static/information/girl_height/pictures/human.png
new file mode 100644
index 0000000..23524b3
Binary files /dev/null and b/static/information/girl_height/pictures/human.png differ
diff --git a/static/information/girl_height/pictures/img.png b/static/information/girl_weight/pictures/img.png
similarity index 100%
rename from static/information/girl_height/pictures/img.png
rename to static/information/girl_weight/pictures/img.png
diff --git a/static/information/gril_weight/pictures/img.png b/static/information/gril_weight/pictures/img.png
deleted file mode 100644
index 32bee67..0000000
Binary files a/static/information/gril_weight/pictures/img.png and /dev/null differ
diff --git a/static/information/purpose/pictures/background.png b/static/information/purpose/pictures/background.png
new file mode 100644
index 0000000..e5b63a9
Binary files /dev/null and b/static/information/purpose/pictures/background.png differ
diff --git a/static/information/purpose/pictures/button.png b/static/information/purpose/pictures/button.png
new file mode 100644
index 0000000..6f52f38
Binary files /dev/null and b/static/information/purpose/pictures/button.png differ
diff --git a/static/information/purpose/pictures/dot1.png b/static/information/purpose/pictures/dot1.png
new file mode 100644
index 0000000..b3b6c2d
Binary files /dev/null and b/static/information/purpose/pictures/dot1.png differ
diff --git a/static/information/purpose/pictures/dot2.png b/static/information/purpose/pictures/dot2.png
new file mode 100644
index 0000000..d4de8a7
Binary files /dev/null and b/static/information/purpose/pictures/dot2.png differ
diff --git a/static/information/purpose/pictures/dot3.png b/static/information/purpose/pictures/dot3.png
new file mode 100644
index 0000000..8b8af32
Binary files /dev/null and b/static/information/purpose/pictures/dot3.png differ
diff --git a/static/information/purpose/pictures/dot4.png b/static/information/purpose/pictures/dot4.png
new file mode 100644
index 0000000..5afd54e
Binary files /dev/null and b/static/information/purpose/pictures/dot4.png differ
diff --git a/static/information/purpose/pictures/dot5.png b/static/information/purpose/pictures/dot5.png
new file mode 100644
index 0000000..5e78c76
Binary files /dev/null and b/static/information/purpose/pictures/dot5.png differ
diff --git a/static/information/purpose/pictures/picture1.png b/static/information/purpose/pictures/picture1.png
new file mode 100644
index 0000000..6e21bd1
Binary files /dev/null and b/static/information/purpose/pictures/picture1.png differ
diff --git a/static/information/purpose/pictures/picture2.png b/static/information/purpose/pictures/picture2.png
new file mode 100644
index 0000000..a15233a
Binary files /dev/null and b/static/information/purpose/pictures/picture2.png differ
diff --git a/static/information/purpose/pictures/picture3.png b/static/information/purpose/pictures/picture3.png
new file mode 100644
index 0000000..0accbae
Binary files /dev/null and b/static/information/purpose/pictures/picture3.png differ
diff --git a/static/information/purpose/pictures/picture4.png b/static/information/purpose/pictures/picture4.png
new file mode 100644
index 0000000..133f468
Binary files /dev/null and b/static/information/purpose/pictures/picture4.png differ
diff --git a/static/information/purpose/pictures/picture5.png b/static/information/purpose/pictures/picture5.png
new file mode 100644
index 0000000..ba7eeed
Binary files /dev/null and b/static/information/purpose/pictures/picture5.png differ
diff --git a/static/information/sex/css/sex.css b/static/information/sex/css/sex.css
index 8bface2..67b1005 100644
--- a/static/information/sex/css/sex.css
+++ b/static/information/sex/css/sex.css
@@ -45,4 +45,38 @@
.boy_image:hover,
.girl_image:hover {
transform: scale(1.1); /* 鼠标悬浮时放大 */
-}
\ No newline at end of file
+}
+.human{
+ height: 30%;
+ width: 80%;
+ bottom: 55%;
+
+
+
+
+}
+@keyframes slideInLeft {
+ from {
+ transform: translateX(-100%);
+ }
+ to {
+ transform: translateX(0);
+ }
+}
+
+@keyframes slideInRight {
+ from {
+ transform: translateX(100%);
+ }
+ to {
+ transform: translateX(0);
+ }
+}
+
+.slide-in-left {
+ animation: slideInLeft 0.5s ease forwards;
+}
+
+.slide-in-right {
+ animation: slideInRight 0.5s ease forwards;
+}
diff --git a/static/information/sex/pictures/background.png b/static/information/sex/pictures/background.png
index 3d9bf34..61767a9 100644
Binary files a/static/information/sex/pictures/background.png and b/static/information/sex/pictures/background.png differ
diff --git a/static/information/sex/pictures/human.png b/static/information/sex/pictures/human.png
new file mode 100644
index 0000000..65e9e97
Binary files /dev/null and b/static/information/sex/pictures/human.png differ
diff --git a/static/pro.png b/static/pro.png
deleted file mode 100644
index f4af3a5..0000000
Binary files a/static/pro.png and /dev/null differ
diff --git a/static/pros.png b/static/pros.png
deleted file mode 100644
index 37bb170..0000000
Binary files a/static/pros.png and /dev/null differ
diff --git a/static/transition/.idea/modules.xml b/static/transition/.idea/modules.xml
deleted file mode 100644
index c2a930b..0000000
--- a/static/transition/.idea/modules.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/static/transition/.idea/transition.iml b/static/transition/.idea/transition.iml
deleted file mode 100644
index 0c8867d..0000000
--- a/static/transition/.idea/transition.iml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/static/transition/.idea/vcs.xml b/static/transition/.idea/vcs.xml
deleted file mode 100644
index b2bdec2..0000000
--- a/static/transition/.idea/vcs.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/static/transition/.idea/workspace.xml b/static/transition/.idea/workspace.xml
deleted file mode 100644
index cd0ce38..0000000
--- a/static/transition/.idea/workspace.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1730032420973
-
-
- 1730032420973
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/unpackage/dist/cache/.vite/deps/_metadata.json b/unpackage/dist/cache/.vite/deps/_metadata.json
index ed3c019..27774d0 100644
--- a/unpackage/dist/cache/.vite/deps/_metadata.json
+++ b/unpackage/dist/cache/.vite/deps/_metadata.json
@@ -1,8 +1,8 @@
{
- "hash": "48f6c93b",
- "configHash": "badd50c8",
+ "hash": "3dcffc29",
+ "configHash": "cc60d382",
"lockfileHash": "e3b0c442",
- "browserHash": "debd2ea0",
+ "browserHash": "e601f541",
"optimized": {},
"chunks": {}
}
\ No newline at end of file