Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
26f4442e
Commit
26f4442e
authored
May 27, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:修改样式
parent
cdd9e9eb
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
14 deletions
+32
-14
src/components/CheckBeforeSendCode.less
+1
-0
src/core/antd.less
+1
-1
src/modules/root/Login.jsx
+1
-0
src/modules/root/Login.less
+19
-6
src/modules/root/WechatLogin.less
+9
-6
src/modules/root/WechatLogin.tsx
+1
-1
No files found.
src/components/CheckBeforeSendCode.less
View file @
26f4442e
...
@@ -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;
...
...
src/core/antd.less
View file @
26f4442e
...
@@ -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:
2
px;
height:
4
px;
background: #2966FF !important;
background: #2966FF !important;
left: 50%;
left: 50%;
transform: translateX(-50%);
transform: translateX(-50%);
...
...
src/modules/root/Login.jsx
View file @
26f4442e
...
@@ -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
>
...
...
src/modules/root/Login.less
View file @
26f4442e
...
@@ -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:
38
0px;
width:
42
0px;
height:
38
0px;
height:
42
0px;
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:
24
px;
padding:
40
px;
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;
...
...
src/modules/root/WechatLogin.less
View file @
26f4442e
...
@@ -12,21 +12,24 @@
...
@@ -12,21 +12,24 @@
}
}
.rwm{
.rwm{
position: relative;
position: relative;
width:
16
0px;
width:
21
0px;
height:
16
0px;
height:
21
0px;
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:
17
0px;
width:
20
0px;
height:
17
0px;
height:
20
0px;
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;
...
...
src/modules/root/WechatLogin.tsx
View file @
26f4442e
...
@@ -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
:
1
6
0
,
size
:
1
8
0
,
image
:
'https://image.xiaomaiketang.com/xm/Newk4NrxKC.png'
,
image
:
'https://image.xiaomaiketang.com/xm/Newk4NrxKC.png'
,
imageSize
:
50
imageSize
:
50
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment