Commit 43951857 authored by xuchaozou's avatar xuchaozou

chore: 修改首页

parent bf51d8c2
Pipeline #63871 passed with stages
...@@ -27,7 +27,7 @@ const TieShanLogin = forwardRef((props, _ref) => { ...@@ -27,7 +27,7 @@ const TieShanLogin = forwardRef((props, _ref) => {
const [visible, setVisible] = useState(false); const [visible, setVisible] = useState(false);
const history = useHistory(); const history = useHistory();
const [dateObj, setDateObj] = useState({}); const [dateObj, setDateObj] = useState({});
const {projectName} = props.loginParams const { projectName } = props.loginParams
const [action, setAction] = useState( const [action, setAction] = useState(
() => () =>
new LoginAction(Object.assign({}, props, { history }), setVisible, false), new LoginAction(Object.assign({}, props, { history }), setVisible, false),
...@@ -174,6 +174,7 @@ const TieShanLogin = forwardRef((props, _ref) => { ...@@ -174,6 +174,7 @@ const TieShanLogin = forwardRef((props, _ref) => {
</div> </div>
</div> </div>
</div> </div>
<div className={styles['login-header-wrapper']}>
<div className={styles['login-header']}> <div className={styles['login-header']}>
<div className={styles['left-title']}> <div className={styles['left-title']}>
<div> <div>
...@@ -189,8 +190,9 @@ const TieShanLogin = forwardRef((props, _ref) => { ...@@ -189,8 +190,9 @@ const TieShanLogin = forwardRef((props, _ref) => {
</div> </div>
</div> </div>
</div> </div>
</div>
<div className={styles['krpano']}> <div className={styles['krpano']}>
<Krpano projectName = {projectName}/> <Krpano projectName={projectName} />
</div> </div>
<Modal centered visible={visible} width={340} footer={null} closable={false} bodyStyle={{ padding: '15px' }}> <Modal centered visible={visible} width={340} footer={null} closable={false} bodyStyle={{ padding: '15px' }}>
<div ref={sliVerify} /> <div ref={sliVerify} />
......
.tieshanLogin{ .tieshanLogin {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: relative; position: relative;
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
&>div { &>div {
width: 70%; width: 70%;
margin: 0 auto; margin: 0 auto;
...@@ -24,6 +23,7 @@ ...@@ -24,6 +23,7 @@
font-weight: bold; font-weight: bold;
color: rgba(255, 255, 255, 1); color: rgba(255, 255, 255, 1);
letter-spacing: 2px; letter-spacing: 2px;
} }
.form-control:focus { .form-control:focus {
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
top: 50%; top: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
z-index: 100; z-index: 100;
background-color: rgba(255, 255, 255, .4);
// bottom: 20%; // bottom: 20%;
// top: 46%; // top: 46%;
// right: 0; // right: 0;
...@@ -55,15 +55,15 @@ ...@@ -55,15 +55,15 @@
.inner-center { .inner-center {
position: relative; position: relative;
width: 482px; width: 400px;
height: 316px; // height: 316px;
background: rgba(255,255,255,0.3); background: rgba(255, 255, 255, 0.9);
border: 1px solid #FFFFFF; border: 1px solid #FFFFFF;
box-shadow: 0px 15px 15px 3px rgba(140,142,145,0.52); box-shadow: 0px 15px 15px 3px rgba(140, 142, 145, 0.52);
border-radius: 15px; border-radius: 15px;
} }
.welcome-title{ .welcome-title {
width: 100%; width: 100%;
height: 68px; height: 68px;
display: flex; display: flex;
...@@ -71,17 +71,20 @@ ...@@ -71,17 +71,20 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
flex-wrap: nowrap; flex-wrap: nowrap;
background: linear-gradient(#0061E4 , #00CEFA); background: linear-gradient(#0061E4, #00CEFA);
margin-bottom: 24px; margin-bottom: 24px;
border-top-left-radius: 15px; border-top-left-radius: 15px;
border-top-right-radius: 15px; border-top-right-radius: 15px;
.welcome-split{ background-color: rgba(255, 255, 255, .9);
.welcome-split {
height: 30px; height: 30px;
width: 1px; width: 1px;
background-color: #eee; background-color: #eee;
margin: 0 20px; margin: 0 20px;
} }
.welcome-slogan{
.welcome-slogan {
vertical-align: middle; vertical-align: middle;
margin-top: 3px; margin-top: 3px;
} }
...@@ -125,28 +128,38 @@ ...@@ -125,28 +128,38 @@
} }
.login-header{
.login-header-wrapper {
width: 100%; width: 100%;
position: absolute; position: absolute;
top: 0; top: 0;
background: linear-gradient(to bottom ,rgba(56,158,239, 1), rgba(56,158,239, 0));
height: 100px;
z-index: 100;
.login-header {
position: relative;
width: 100%;
padding: 0 38px; padding: 0 38px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
z-index: 100;
background: url('./images/header.png'); .left-title {
.left-title{
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: center;
.cn-title{
.cn-title {
font-size: 26px; font-size: 26px;
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
font-weight: 400; font-weight: 400;
color: #FFFFFF; color: #FFFFFF;
margin-left: 10px; margin-left: 10px;
} }
.en-title{
.en-title {
font-size: 12px; font-size: 12px;
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
font-weight: 400; font-weight: 400;
...@@ -154,27 +167,32 @@ ...@@ -154,27 +167,32 @@
opacity: 0.65; opacity: 0.65;
} }
} }
.right-timebox{
.right-timebox {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
height: 60px; height: 60px;
.curr-time{
.curr-time {
width: 140px; width: 140px;
font-size: 36px; font-size: 36px;
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
font-weight: 300; font-weight: 300;
color: #FFFFFF; color: #FFFFFF;
} }
.curr-week-date{
.curr-week-date {
margin-left: 10px; margin-left: 10px;
.curr-week{
.curr-week {
font-size: 16px; font-size: 16px;
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
font-weight: 400; font-weight: 400;
color: #FFFFFF; color: #FFFFFF;
} }
.curr-date{
.curr-date {
font-size: 14px; font-size: 14px;
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
font-weight: 400; font-weight: 400;
...@@ -184,7 +202,9 @@ ...@@ -184,7 +202,9 @@
} }
} }
.copyright{ }
.copyright {
position: absolute; position: absolute;
bottom: 7%; bottom: 7%;
width: 100%; width: 100%;
...@@ -195,7 +215,8 @@ ...@@ -195,7 +215,8 @@
color: #F1F6FD; color: #F1F6FD;
text-align: center; text-align: center;
} }
.qrcode-box{
.qrcode-box {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
right: -35px; right: -35px;
...@@ -206,7 +227,7 @@ ...@@ -206,7 +227,7 @@
cursor: pointer; cursor: pointer;
} }
.krpano{ .krpano {
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
......
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