diff --git a/pages.json b/pages.json index dc57acb..91246c9 100644 --- a/pages.json +++ b/pages.json @@ -1,6 +1,6 @@ { "pages": [ - { + /*{ "path": "pages/transition/page1/page1", "style": { "navigationStyle": "custom" @@ -53,7 +53,7 @@ "style": { "navigationStyle": "custom" } - }, + },*/ { "path": "pages/information/sex/sex", "style": { diff --git a/pages/information/boy_weight/boy_weight.vue b/pages/information/boy_weight/boy_weight.vue index 46a28d0..3c347ba 100644 --- a/pages/information/boy_weight/boy_weight.vue +++ b/pages/information/boy_weight/boy_weight.vue @@ -1,17 +1,42 @@ diff --git a/pages/information/sex/sex.vue b/pages/information/sex/sex.vue index 342846f..f12330a 100644 --- a/pages/information/sex/sex.vue +++ b/pages/information/sex/sex.vue @@ -1,17 +1,76 @@ diff --git a/pages/login/account_login/account_login.vue b/pages/login/account_login/account_login.vue index 5e6e9b3..11f0c50 100644 --- a/pages/login/account_login/account_login.vue +++ b/pages/login/account_login/account_login.vue @@ -36,7 +36,7 @@ 忘了密码? - + @@ -70,8 +70,6 @@ const passageWordsBottomBorder = computed(() => isPassagePage.value? "0.1rem sol const captchaWordsBottomBorder = computed(() => isPassagePage.value? "none":"0.1rem solid #094ABC"); //验证码登录导航的下边框 const isOpened = ref(true); //密码是否明文显示的标志 const eyesStateIcon = ref("../../../static/login/account_login/login_part/closedeyes.png"); - - //进入验证码登录页面 function toCaptchaEvent(){ isPassagePage.value = false; @@ -97,7 +95,12 @@ function sendCaptchaEvent(){ },1000) }; } - +function login(){ + //TODO:登录操作向后端发送验证码的逻辑 + uni.navigateTo({ + url: '@pages/information/sex/sex.vue'//登录成功后跳转的页面 + }) +} //进入密码登录页面 function toPassageEvent(){ isPassagePage.value = true; diff --git a/static/information/sex/css/sex.css b/static/information/sex/css/sex.css new file mode 100644 index 0000000..8bface2 --- /dev/null +++ b/static/information/sex/css/sex.css @@ -0,0 +1,48 @@ + +.background { + background-image: url("/static/information/sex/pictures/background.png"); + background-size: cover; + background-position: center; + height: 100vh; + display: flex; + flex-direction: column; /* 纵向排列 */ + align-items: center; /* 水平居中 */ + justify-content: flex-end; /* 使内容向底部对齐 */ + position: relative; /* 为绝对定位子元素提供相对定位的上下文 */ +} + +.boy_image { + position: absolute; /* 绝对定位 */ + width: 30%; + height: 16%; + bottom: 33%; /* 距离底部 20% 的位置 */ + left: 10%; /* 水平居中 */ +} + +.girl_image { + position: absolute; /* 绝对定位 */ + width: 30%; + height: 16%; + bottom: 33%; /* 距离底部 20% 的位置 */ + right: 10%; /* 水平居中 */ +} + +.button { + position: absolute; /* 绝对定位 */ + width: 90%; + height: 12%; + bottom: 2%; /* 距离底部 20% 的位置 */ + left: 50%; /* 水平居中 */ + transform: translateX(-50%); /* 通过 translateX 使其居中 */ +} + + +.boy_image, +.girl_image { + transition: transform 0.3s ease; /* 设置过渡效果 */ +} + +.boy_image:hover, +.girl_image:hover { + transform: scale(1.1); /* 鼠标悬浮时放大 */ +} \ No newline at end of file diff --git a/static/information/sex/pictures/background.png b/static/information/sex/pictures/background.png new file mode 100644 index 0000000..3d9bf34 Binary files /dev/null and b/static/information/sex/pictures/background.png differ diff --git a/static/information/sex/pictures/boy.png b/static/information/sex/pictures/boy.png new file mode 100644 index 0000000..6c673a5 Binary files /dev/null and b/static/information/sex/pictures/boy.png differ diff --git a/static/information/sex/pictures/button.png b/static/information/sex/pictures/button.png new file mode 100644 index 0000000..72d3cb0 Binary files /dev/null and b/static/information/sex/pictures/button.png differ diff --git a/static/information/sex/pictures/girl.png b/static/information/sex/pictures/girl.png new file mode 100644 index 0000000..b38e310 Binary files /dev/null and b/static/information/sex/pictures/girl.png differ diff --git a/static/information/sex/pictures/shift_boy.png b/static/information/sex/pictures/shift_boy.png new file mode 100644 index 0000000..f87ed18 Binary files /dev/null and b/static/information/sex/pictures/shift_boy.png differ diff --git a/static/information/sex/pictures/shift_girl.png b/static/information/sex/pictures/shift_girl.png new file mode 100644 index 0000000..91863ca Binary files /dev/null and b/static/information/sex/pictures/shift_girl.png differ diff --git a/unpackage/dist/cache/.vite/deps/_metadata.json b/unpackage/dist/cache/.vite/deps/_metadata.json index debf2cb..27774d0 100644 --- a/unpackage/dist/cache/.vite/deps/_metadata.json +++ b/unpackage/dist/cache/.vite/deps/_metadata.json @@ -1,8 +1,8 @@ { - "hash": "538e540a", - "configHash": "9c86ed2d", - "lockfileHash": "039e346f", - "browserHash": "6871cd63", + "hash": "3dcffc29", + "configHash": "cc60d382", + "lockfileHash": "e3b0c442", + "browserHash": "e601f541", "optimized": {}, "chunks": {} } \ No newline at end of file