Skip to content

Let's use AI to Earn!

样式

daoyian577c8d6d4649
diff --git a/src/components/GetCode.tsx b/src/components/GetCode.tsx
index 3eb63788..fb71c44a 100644
--- a/src/components/GetCode.tsx
+++ b/src/components/GetCode.tsx
@@ -23,7 +23,7 @@ function GetCode({ onGetCode }: { onGetCode: (unlock: () => void) => void }) {
styles['loginForm-getCode'] +
` ${isCode ? styles['loginForm-getCode--disable'] : ''}`
}
- style={{ display: 'flex' }}
+ style={{ display: 'flex',justifyContent: 'center', alignItems: 'center' }}
onClick={() => {
if (isCode) return;
lockCode();
@@ -37,6 +37,7 @@ function GetCode({ onGetCode }: { onGetCode: (unlock: () => void) => void }) {
<>
(
<Countdown
+ style={{fontSize: '12px'}}
format="ss"
value={Date.now() + currTime.current}
precision={1}
diff --git a/src/views/login/components/qrcodeLogin.tsx b/src/views/login/components/qrcodeLogin.tsx
index c7dcf327..bc89a88a 100644
--- a/src/views/login/components/qrcodeLogin.tsx
+++ b/src/views/login/components/qrcodeLogin.tsx
@@ -220,7 +220,7 @@ export default forwardRef<PubItemRef>((props, ref) => {
}}
>
<Input placeholder="请输入验证码" style={{ flex: 1 }} />
- {/* <div style={{ marginLeft: '8px', width: '120px' }}> */}
+ <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>