Skip to content

Let's use AI to Earn!

111

daoyiana657a2116ef0
diff --git a/src/components/GetCode.tsx b/src/components/GetCode.tsx
index fb71c44a..a305e6e7 100644
--- a/src/components/GetCode.tsx
+++ b/src/components/GetCode.tsx
@@ -40,7 +40,7 @@ function GetCode({ onGetCode }: { onGetCode: (unlock: () => void) => void }) {
style={{fontSize: '12px'}}
format="ss"
value={Date.now() + currTime.current}
- precision={1}
+ precision={1}
onFinish={() => {
setIsCode(false);
}}
diff --git a/src/views/login/components/qrcodeLogin.tsx b/src/views/login/components/qrcodeLogin.tsx
index bc89a88a..421d981c 100644
--- a/src/views/login/components/qrcodeLogin.tsx
+++ b/src/views/login/components/qrcodeLogin.tsx
@@ -214,13 +214,13 @@ export default forwardRef<PubItemRef>((props, ref) => {
>
<div
style={{
- display: 'flex',
+ display: 'flex',
alignItems: 'center',
position: 'relative',
}}
>
<Input placeholder="请输入验证码" style={{ flex: 1 }} />
- <div style={{ marginLeft: '8px', width: '138px', backgroundColor: '#a66ae4', padding: '5px 0', borderRadius: '5px' }}>
+ {/* <div style={{ marginLeft: '8px', width: '138px', backgroundColor: '#a66ae4', padding: '5px 0', borderRadius: '5px' }}> */}
<GetCode
onGetCode={async (unlock: () => void) => {
const validateRes = await phoneForm
@@ -239,7 +239,7 @@ export default forwardRef<PubItemRef>((props, ref) => {
}
}}
/>
- </div>
+ {/* </div> */}
</div>
</Form.Item>
diff --git a/src/views/login/login.module.scss b/src/views/login/login.module.scss
index 813fe155..b8ef0797 100644
--- a/src/views/login/login.module.scss
+++ b/src/views/login/login.module.scss
@@ -278,56 +278,58 @@
}
}
- .loginForm-getCode {
- color: #C367EF;
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- right: 16px;
- cursor: pointer;
- font-size: 14px;
- font-weight: 500;
- background: linear-gradient(135deg, #C367EF 0%, #64C9ED 100%);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- transition: opacity 0.3s;
- z-index: 1;
- &:hover {
- opacity: 0.8;
- }
- &:active {
- opacity: 0.6;
- }
+ .loginForm-buttonWrapper {
+ margin-top: 40px;
+ }
+}
- &--disable {
- opacity: 0.5;
- cursor: not-allowed;
- }
+.loginForm-getCode {
+ color: #C367EF;
+ position: absolute;
+ top: 50%;
+ transform: translateY(-50%);
+ right: 16px;
+ cursor: pointer;
+ font-size: 14px;
+ font-weight: 500;
+ background: linear-gradient(135deg, #C367EF 0%, #64C9ED 100%);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ transition: opacity 0.3s;
+ z-index: 1;
+
+ &:hover {
+ opacity: 0.8;
+ }
- :global {
- .ant-statistic {
- position: static;
- }
+ &:active {
+ opacity: 0.6;
+ }
+
+ &--disable {
+ opacity: 0.5;
+ cursor: not-allowed;
+ }
+
+ :global {
+ .ant-statistic {
+ position: static;
+ }
+
+ .ant-statistic-content {
+ display: flex;
+ align-items: center;
+ background: linear-gradient(135deg, #C367EF 0%, #64C9ED 100%);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ white-space: nowrap;
- .ant-statistic-content {
- display: flex;
- align-items: center;
- background: linear-gradient(135deg, #C367EF 0%, #64C9ED 100%);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- white-space: nowrap;
-
- &-value {
- font-size: 14px !important;
- font-weight: 500;
- }
+ &-value {
+ font-size: 14px !important;
+ font-weight: 500;
}
}
}
-
- .loginForm-buttonWrapper {
- margin-top: 40px;
- }
}