Showing
3 changed files
with
25 additions
and
5 deletions
| ... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ |
| 4 | <StarryBackground :bg-image="bgImg" /> | 4 | <StarryBackground :bg-image="bgImg" /> |
| 5 | 5 | ||
| 6 | <!-- Main Content Card --> | 6 | <!-- Main Content Card --> |
| 7 | - <div class="w-full px-6 mt-20 z-10"> | 7 | + <div class="w-full px-6 mt-10 z-10"> |
| 8 | <FrostedGlass class="p-6 !rounded-2xl !border-white/20 !shadow-none" :bg-opacity="10" blur-level="md"> | 8 | <FrostedGlass class="p-6 !rounded-2xl !border-white/20 !shadow-none" :bg-opacity="10" blur-level="md"> |
| 9 | <!-- Illustration --> | 9 | <!-- Illustration --> |
| 10 | <div class="flex justify-center mb-2"> | 10 | <div class="flex justify-center mb-2"> |
| ... | @@ -112,6 +112,16 @@ const handleConfirm = () => { | ... | @@ -112,6 +112,16 @@ const handleConfirm = () => { |
| 112 | </script> | 112 | </script> |
| 113 | 113 | ||
| 114 | <style lang="less" scoped> | 114 | <style lang="less" scoped> |
| 115 | +.submit-btn { | ||
| 116 | + background: linear-gradient(180deg, rgba(249, 243, 157, 0.19) 0%, rgba(219, 243, 48, 0.3) 100%) !important; | ||
| 117 | + backdrop-filter: blur(4px); | ||
| 118 | + box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); | ||
| 119 | + | ||
| 120 | + &:active { | ||
| 121 | + transform: scale(0.99); | ||
| 122 | + } | ||
| 123 | +} | ||
| 124 | + | ||
| 115 | .custom-input { | 125 | .custom-input { |
| 116 | ::v-deep(.van-field__control) { | 126 | ::v-deep(.van-field__control) { |
| 117 | color: #fff; | 127 | color: #fff; | ... | ... |
| ... | @@ -6,9 +6,9 @@ | ... | @@ -6,9 +6,9 @@ |
| 6 | 6 | ||
| 7 | <!-- Title Section --> | 7 | <!-- Title Section --> |
| 8 | <div class="mt-10 flex flex-col items-center z-10 w-full px-8"> | 8 | <div class="mt-10 flex flex-col items-center z-10 w-full px-8"> |
| 9 | - <img :src="titleImg" class="w-full max-w-[300px] mb-8 object-contain" alt="title" /> | 9 | + <img :src="titleImg" class="w-full max-w-[300px] mb-4 object-contain" alt="title" /> |
| 10 | 10 | ||
| 11 | - <div class="text-white text-center space-y-3 tracking-wider text-shadow-md"> | 11 | + <div class="text-white text-center space-y-1 tracking-wider text-shadow-md"> |
| 12 | <p class="text-sm">请验证身份</p> | 12 | <p class="text-sm">请验证身份</p> |
| 13 | <p class="text-sm">开启专属您的「时光机」</p> | 13 | <p class="text-sm">开启专属您的「时光机」</p> |
| 14 | <p class="text-sm">见证每一段成长故事</p> | 14 | <p class="text-sm">见证每一段成长故事</p> |
| ... | @@ -16,7 +16,7 @@ | ... | @@ -16,7 +16,7 @@ |
| 16 | </div> | 16 | </div> |
| 17 | 17 | ||
| 18 | <!-- Login Form Module --> | 18 | <!-- Login Form Module --> |
| 19 | - <div class="w-full px-6 mt-12 z-10"> | 19 | + <div class="w-full px-6 mt-6 z-10"> |
| 20 | <!-- Using existing FrostedGlass component for semi-transparent effect --> | 20 | <!-- Using existing FrostedGlass component for semi-transparent effect --> |
| 21 | <FrostedGlass class="p-6 !rounded-2xl !border-white/20 !shadow-none" :bg-opacity="10" blur-level="md"> | 21 | <FrostedGlass class="p-6 !rounded-2xl !border-white/20 !shadow-none" :bg-opacity="10" blur-level="md"> |
| 22 | <h2 class="text-white text-center text-xl font-bold mb-8 tracking-widest drop-shadow-md">手机号验证</h2> | 22 | <h2 class="text-white text-center text-xl font-bold mb-8 tracking-widest drop-shadow-md">手机号验证</h2> | ... | ... |
| ... | @@ -73,7 +73,7 @@ | ... | @@ -73,7 +73,7 @@ |
| 73 | 都是这片星球上不灭的星光。 | 73 | 都是这片星球上不灭的星光。 |
| 74 | </p> | 74 | </p> |
| 75 | <van-button block | 75 | <van-button block |
| 76 | - class="!rounded-lg !bg-transparent !border-[#FFDD01] !text-[#FFDD01] !font-bold !text-lg !h-[48px] !max-w-xs" | 76 | + class="submit-btn !rounded-lg !bg-transparent !border-[#FFDD01] !text-[#FFDD01] !font-bold !text-lg !h-[48px] !max-w-xs" |
| 77 | @click="handleViewHistory"> | 77 | @click="handleViewHistory"> |
| 78 | 我的星光 | 78 | 我的星光 |
| 79 | </van-button> | 79 | </van-button> |
| ... | @@ -166,6 +166,16 @@ const handleViewHistory = () => { | ... | @@ -166,6 +166,16 @@ const handleViewHistory = () => { |
| 166 | // Custom animations if needed, or use Tailwind utility classes | 166 | // Custom animations if needed, or use Tailwind utility classes |
| 167 | } | 167 | } |
| 168 | 168 | ||
| 169 | +.submit-btn { | ||
| 170 | + background: linear-gradient(180deg, rgba(249, 243, 157, 0.19) 0%, rgba(219, 243, 48, 0.3) 100%) !important; | ||
| 171 | + backdrop-filter: blur(4px); | ||
| 172 | + box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); | ||
| 173 | + | ||
| 174 | + &:active { | ||
| 175 | + transform: scale(0.99); | ||
| 176 | + } | ||
| 177 | +} | ||
| 178 | + | ||
| 169 | // Simple fade/zoom animations | 179 | // Simple fade/zoom animations |
| 170 | @keyframes fadeInDown { | 180 | @keyframes fadeInDown { |
| 171 | from { | 181 | from { | ... | ... |
-
Please register or login to post a comment