mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-02 08:36:51 +08:00
feat: 登录页面修改
This commit is contained in:
parent
e9e15240b2
commit
b1cc7c0c1d
@ -2,10 +2,10 @@
|
|||||||
<div>
|
<div>
|
||||||
<div class="login-backgroud" v-if="statusCode == 1">
|
<div class="login-backgroud" v-if="statusCode == 1">
|
||||||
<div class="login-wrapper" v-if="screenWidth > 1000">
|
<div class="login-wrapper" v-if="screenWidth > 1000">
|
||||||
<div class="left inline-block">
|
|
||||||
<div class="login-title">
|
<div class="login-title">
|
||||||
<span>{{ $t('commons.login.title') }}</span>
|
<span>{{ $t('commons.login.title') }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="left inline-block">
|
||||||
<img src="@/assets/images/1Panel-login.png" alt="" />
|
<img src="@/assets/images/1Panel-login.png" alt="" />
|
||||||
</div>
|
</div>
|
||||||
<div class="right inline-block">
|
<div class="right inline-block">
|
||||||
@ -95,11 +95,12 @@ onMounted(() => {
|
|||||||
rgba(0, 57, 142, 0.05);
|
rgba(0, 57, 142, 0.05);
|
||||||
|
|
||||||
.login-wrapper {
|
.login-wrapper {
|
||||||
padding-top: 10%;
|
padding-top: 8%;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@media only screen and (max-width: 1280px) {
|
@media only screen and (max-width: 1440px) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
padding-top: 6%;
|
||||||
}
|
}
|
||||||
.left {
|
.left {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
@ -118,14 +119,15 @@ onMounted(() => {
|
|||||||
|
|
||||||
.login-title {
|
.login-title {
|
||||||
// margin-top: 10%;
|
// margin-top: 10%;
|
||||||
margin-right: 15%;
|
// margin-right: 15%;
|
||||||
|
margin-left: 10%;
|
||||||
span:first-child {
|
span:first-child {
|
||||||
color: $primary-color;
|
color: $primary-color;
|
||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
font-family: pingFangSC-Regular;
|
font-family: pingFangSC-Regular;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
@media only screen and (max-width: 1440px) {
|
@media only screen and (max-width: 1440px) {
|
||||||
font-size: 38px;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media only screen and (max-width: 1000px) {
|
@media only screen and (max-width: 1000px) {
|
||||||
@ -146,10 +148,10 @@ onMounted(() => {
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
box-shadow: 2px 4px 22px rgba(0, 94, 235, 0.2);
|
box-shadow: 2px 4px 22px rgba(0, 94, 235, 0.2);
|
||||||
@media only screen and (max-width: 1440px) {
|
@media only screen and (max-width: 1440px) {
|
||||||
margin-top: 100px;
|
margin-top: 60px;
|
||||||
}
|
}
|
||||||
@media only screen and (max-width: 1000px) {
|
@media only screen and (max-width: 1000px) {
|
||||||
margin: 0 auto;
|
margin: 60px auto 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user