From 91751b1b9b16c0044e16ad80c237b7275a409046 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期四, 06 三月 2025 14:47:12 +0800
Subject: [PATCH] 修改首页和登录相关

---
 pages/login/login.wxss |  174 +++++++++++++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 141 insertions(+), 33 deletions(-)

diff --git a/pages/login/login.wxss b/pages/login/login.wxss
index 8d3b2a8..e44353a 100644
--- a/pages/login/login.wxss
+++ b/pages/login/login.wxss
@@ -1,16 +1,131 @@
 /* pages/login/login.wxss */
 
-
-
 .login-container {
   display: flex;
   flex-direction: column;
-  align-items: center;
-  justify-content: flex-end;
-  height: 80vh;
-
+  height: 100vh;
+  width: 100%;
+  background-color: #f5f5f5;
 }
 
+.logo-container {
+  display: flex;
+  justify-content: center;
+  align-items: center;
+  padding: 60rpx 0;
+}
+
+.logo-circle {
+  width: 200rpx;
+  height: 200rpx;
+  border-radius: 50%;
+  background: #1890FF;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+  color: white;
+  font-size: 80rpx;
+  font-weight: bold;
+}
+
+.form-container {
+  background-color: #fff;
+  border-radius: 20rpx;
+  margin: 0 40rpx;
+  padding: 40rpx;
+  box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.1);
+}
+
+.title {
+  font-size: 40rpx;
+  font-weight: bold;
+  color: #333;
+  margin-bottom: 40rpx;
+  text-align: center;
+}
+
+.input-wrapper {
+  display: flex;
+  align-items: center;
+  border-bottom: 1rpx solid #e0e0e0;
+  margin-bottom: 40rpx;
+  padding-bottom: 20rpx;
+}
+
+.input-icon {
+  width: 40rpx;
+  height: 40rpx;
+  margin-right: 20rpx;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+  color: #1890FF;
+  font-weight: bold;
+  font-size: 32rpx;
+}
+
+.user-icon::before {
+  content: "馃懁";
+}
+
+.lock-icon::before {
+  content: "馃敀";
+}
+
+.eye-open-icon::before {
+  content: "馃憗锔�";
+}
+
+.eye-close-icon::before {
+  content: "馃憗锔忊�嶐煑笍";
+}
+
+.input {
+  flex: 1;
+  height: 60rpx;
+  font-size: 32rpx;
+  color: #333;
+}
+
+.password-toggle {
+  padding: 10rpx;
+  font-size: 32rpx;
+}
+
+.login-btn-container {
+  margin-top: 60rpx;
+}
+
+.login-button {
+  height: 90rpx;
+  background-color: #1890FF;
+  color: #fff;
+  font-size: 34rpx;
+  border-radius: 45rpx;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+}
+
+.footer-links {
+  display: flex;
+  justify-content: space-between;
+  margin-top: 40rpx;
+  font-size: 28rpx;
+}
+
+.link {
+  color: #1aad19;
+}
+
+.project-info {
+  position: fixed;
+  bottom: 40rpx;
+  width: 100%;
+  text-align: center;
+  font-size: 28rpx;
+  color: #999;
+}
 
 image {
   position: fixed;
@@ -22,33 +137,14 @@
   z-index: -999;
 }
 
-.input {
-  flex: 1;
-  height: 30rpx;
-  padding: 10rpx;
-  border: 1px solid #ccc;
-  border-radius: 5px;
-  background-color: #fff;
-
-}
-
-.input-wrapper {
-  width: 70%;
-  display: flex;
-  /* 浣跨敤 Flex 甯冨眬浣� text 鍜� input 鍦ㄥ悓涓�琛� */
-  align-items: center;
-  justify-content: center;
-  margin-bottom: 15px;
-  
-}
-
 .input-label {
-  flex: 1; /* 璁╁�煎崰鎹墿浣欑┖闂� */
+  flex: 1;
+  /* 璁╁�煎崰鎹墿浣欑┖闂� */
   align-items: left;
-  width: 150px;
-  margin-right: 10px;
-  font-size: 16px;
-  color: #fff;
+  width: 150rpx;
+  margin-right: 10rpx;
+  font-size: 31rpx;
+  color: #333;
   font-weight: bold;
   text-align: justify;
   text-align-last: justify;
@@ -59,6 +155,18 @@
   display: flex;
   align-items: center;
 }
-.login-button{
-  margin-top: 50rpx;
+
+.code-button {
+  width: 220rpx;
+  font-size: 28rpx;
+  color: #1890FF;
+  text-align: center;
+  padding: 10rpx 0;
+  border-left: 1rpx solid #e0e0e0;
+}
+
+.code-button text {
+  display: block;
+  width: 100%;
+  height: 100%;
 }
\ No newline at end of file

--
Gitblit v1.8.0