瀏覽代碼

💄 style(buttons): adjust button styles and text

- 移除多个页面按钮的type属性,统一通过CSS控制样式
- 修改登录按钮文本为"登录222"
- 涉及页面: 首页、登录页、注册页
yourname 4 月之前
父節點
當前提交
a5c3f17c72
共有 3 個文件被更改,包括 1 次插入5 次删除
  1. 0 2
      mini/src/pages/index/index.tsx
  2. 1 2
      mini/src/pages/login/index.tsx
  3. 0 1
      mini/src/pages/register/index.tsx

+ 0 - 2
mini/src/pages/index/index.tsx

@@ -81,7 +81,6 @@ export default function Index() {
             </Button>
             <Button 
               className="action-button" 
-              type="warn" 
               loading={loading}
               onClick={handleLogout}
             >
@@ -99,7 +98,6 @@ export default function Index() {
           <View className="login-buttons">
             <Button 
               className="login-button" 
-              type="primary" 
               onClick={handleLogin}
             >
               立即登录

+ 1 - 2
mini/src/pages/login/index.tsx

@@ -75,11 +75,10 @@ export default function Login() {
         
         <Button
           className="login-button"
-          type="primary"
           loading={loading}
           onClick={handleLogin}
         >
-          登录
+          登录222
         </Button>
         
         <View className="login-footer">

+ 0 - 1
mini/src/pages/register/index.tsx

@@ -120,7 +120,6 @@ export default function Register() {
         
         <Button
           className="register-button"
-          type="primary"
           loading={loading}
           onClick={handleRegister}
         >