Ver Fonte

3.5 密码修改完成

bding há 7 meses atrás
pai
commit
bd4f04a3fc

+ 10 - 1
src/Login2p/Login2p.tsx

@@ -180,7 +180,16 @@ const Login2p: React.FC = () => {
                   )}
                 </>
               ) : (
-                <div className={styles['login-title']}>验证码登录</div>
+                <>
+                  <div>
+                    <img
+                      src="https://hzstatic.hzinsights.com/yx_xcx/web/login_bg_phone_log.png"
+                      alt=""
+                      className={styles['login-log-img-phone']}
+                    />
+                  </div>
+                  <div className={styles['login-title']}>验证码登录</div>
+                </>
               )}
             </>
           ) : (

+ 1 - 1
src/Service/NewAxiosInstance.ts

@@ -23,7 +23,7 @@ if (Cookie.get('From') || fromString)
 
 NewAxiosInstanceFunc.interceptors.response.use(
   (response: AxiosResponse): AxiosResponse | Promise<AxiosResponse> => {
-    if (response.data?.Ret === 408) {
+    if (response.data?.Ret === 406) {
       Modal.confirm({
         title: '登录提示',
         content: '您的登录状态已过期,请重新登录',

+ 8 - 2
src/styles/NewPage.module.scss

@@ -641,7 +641,7 @@
   .login-content-bg-img {
     width: 100%;
     height: 100vh;
-    background: url('../assets/login_bg_phone.png') no-repeat 100% 100%;
+    background: url('https://hzstatic.hzinsights.com/yx_xcx/web/login_bg_phone.png') no-repeat 100% 100%;
     background-size: cover;
     :global {
       .custom-style-bottom,
@@ -686,9 +686,15 @@
   .login-content-box-mobile {
     width: 100%;
     height: 100%;
-    padding: 115px 30px 0;
+    padding: 50px 30px 0;
     height: auto;
     box-sizing: border-box;
+    .login-log-img-phone {
+      display: block;
+      width: 100%;
+      height: 91px;
+      margin-bottom: 20px;
+    }
   }
   .custom-style-divider {
     padding-top: 50px;