Commit 26f4442e by zhangleyuan

feat:修改样式

parent cdd9e9eb
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
.nc_scale .nc_ok, .nc_scale .nc_bg { .nc_scale .nc_ok, .nc_scale .nc_bg {
background: #2966FF; background: #2966FF;
border-radius: 4px 0 0 4px; border-radius: 4px 0 0 4px;
opacity: 0.3;
} }
.nc_scale .btn_ok { .nc_scale .btn_ok {
color: #2966FF; color: #2966FF;
......
...@@ -268,7 +268,7 @@ background-color: #F0F2F5 !important; ...@@ -268,7 +268,7 @@ background-color: #F0F2F5 !important;
display: inline-block; display: inline-block;
position: absolute; position: absolute;
width: 30px; width: 30px;
height: 2px; height: 4px;
background: #2966FF !important; background: #2966FF !important;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
......
...@@ -151,6 +151,7 @@ function Login(props) { ...@@ -151,6 +151,7 @@ function Login(props) {
return ( return (
<div className="login-page" > <div className="login-page" >
<div className="logo-img-box"><img src="https://image.xiaomaiketang.com/xm/6k8PPCmywG.png" className="logo-img"/></div>
<div className="login-main"> <div className="login-main">
<div className="left-banner"> <div className="left-banner">
<div className="img-box"><img src="https://image.xiaomaiketang.com/xm/CDCcdAdaPs.png" alt="" /></div> <div className="img-box"><img src="https://image.xiaomaiketang.com/xm/CDCcdAdaPs.png" alt="" /></div>
......
...@@ -7,6 +7,17 @@ ...@@ -7,6 +7,17 @@
background: #F4F6FA; background: #F4F6FA;
height: 100%; height: 100%;
overflow-y: hidden; overflow-y: hidden;
.logo-img-box{
position: absolute;
top:24px;
right:32px;
z-index:1;
.logo-img{
width:120px;
display: inline-block;
}
}
.login-main { .login-main {
min-width: 1200px; min-width: 1200px;
display: flex; display: flex;
...@@ -75,8 +86,8 @@ ...@@ -75,8 +86,8 @@
display: -webkit-flex; display: -webkit-flex;
flex-direction: row; flex-direction: row;
-webkit-flex-direction: row; -webkit-flex-direction: row;
width: 380px; width: 420px;
height: 380px; height: 420px;
position: absolute; position: absolute;
left: 50%; left: 50%;
top:50%; top:50%;
...@@ -86,9 +97,7 @@ ...@@ -86,9 +97,7 @@
border-radius: 4px; border-radius: 4px;
.ant-tabs-tab-btn { .ant-tabs-tab-btn {
color: #999999; color: #999999;
font-size: 16px; font-size: 18px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
line-height: 25px; line-height: 25px;
&.ant-tabs-tab-active { &.ant-tabs-tab-active {
color: #333333; color: #333333;
...@@ -98,6 +107,7 @@ ...@@ -98,6 +107,7 @@
.ant-tabs-tab-active { .ant-tabs-tab-active {
.ant-tabs-tab-btn { .ant-tabs-tab-btn {
color: #333333; color: #333333;
font-weight:bold;
} }
} }
.ant-tabs-nav::before { .ant-tabs-nav::before {
...@@ -171,7 +181,7 @@ ...@@ -171,7 +181,7 @@
flex: 1; flex: 1;
-webkit-flex: 1; -webkit-flex: 1;
height: 100%; height: 100%;
padding: 24px; padding: 40px;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
&.show-qrcode { &.show-qrcode {
...@@ -187,6 +197,9 @@ ...@@ -187,6 +197,9 @@
} }
} }
} }
.login-form{
margin-top:32px;
}
.qrcode { .qrcode {
display: none; display: none;
text-align: center; text-align: center;
......
...@@ -12,21 +12,24 @@ ...@@ -12,21 +12,24 @@
} }
.rwm{ .rwm{
position: relative; position: relative;
width: 160px; width: 210px;
height: 160px; height: 210px;
text-align: center; text-align: center;
display: inline-block; display: inline-block;
margin-top: 24px; margin-top: 24px;
border: 1px solid #e8e8e8;
border-radius: 2px;
padding:15px;
.error{ .error{
position: absolute; position: absolute;
width: 170px; width: 200px;
height: 170px; height: 200px;
background: rgba(255, 255, 255, 0.95); background: rgba(255, 255, 255, 0.95);
display: flex; display: flex;
align-items:center; align-items:center;
justify-content:center; justify-content:center;
left:-5px; left:5px;
top:-5px; top:5px;
div{ div{
margin: 0 10px; margin: 0 10px;
font-size: 14px; font-size: 14px;
......
...@@ -36,7 +36,7 @@ export default function WechatLogin(props: any) { ...@@ -36,7 +36,7 @@ export default function WechatLogin(props: any) {
let qrnode = new qrcode({ let qrnode = new qrcode({
text: redirect, text: redirect,
correctLevel: 2, correctLevel: 2,
size: 160, size: 180,
image: 'https://image.xiaomaiketang.com/xm/Newk4NrxKC.png', image: 'https://image.xiaomaiketang.com/xm/Newk4NrxKC.png',
imageSize: 50 imageSize: 50
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment