forked from b2894lxlx/tuanwei-admin
refactor(passport): 登录页移除未实现的微信扫码登录入口
This commit is contained in:
@@ -135,19 +135,7 @@
|
|||||||
{{ loading ? "登录中" : "登录" }}
|
{{ loading ? "登录中" : "登录" }}
|
||||||
</a-button>
|
</a-button>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
|
|
||||||
<div class="login-divider"></div>
|
|
||||||
</a-form>
|
</a-form>
|
||||||
|
|
||||||
<div class="login-qr-card">
|
|
||||||
<div class="qr-frame">
|
|
||||||
<div class="qr-placeholder"></div>
|
|
||||||
</div>
|
|
||||||
<div class="qr-text">
|
|
||||||
<img class="wechat-icon" src="@/assets/icon/weixin.png" alt="微信" />
|
|
||||||
微信扫码登录
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -379,8 +367,7 @@ onBeforeUnmount(() => {
|
|||||||
|
|
||||||
.login-panel {
|
.login-panel {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: minmax(0, 1fr) 320px;
|
grid-template-columns: minmax(0, 1fr);
|
||||||
gap: 28px;
|
|
||||||
align-items: start;
|
align-items: start;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
justify-items: center;
|
justify-items: center;
|
||||||
@@ -562,60 +549,6 @@ onBeforeUnmount(() => {
|
|||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-divider {
|
|
||||||
margin-top: 16px;
|
|
||||||
height: 1px;
|
|
||||||
background: linear-gradient(90deg, transparent, #e6e6e6 20%, #e6e6e6 80%, transparent);
|
|
||||||
}
|
|
||||||
|
|
||||||
.login-qr-card {
|
|
||||||
width: 100%;
|
|
||||||
max-width: 320px;
|
|
||||||
background: #fff;
|
|
||||||
border-radius: 16px;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
padding: 22px 20px 18px;
|
|
||||||
box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
|
|
||||||
display: grid;
|
|
||||||
justify-items: center;
|
|
||||||
gap: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.qr-frame {
|
|
||||||
width: 210px;
|
|
||||||
height: 210px;
|
|
||||||
padding: 14px;
|
|
||||||
border-radius: 14px;
|
|
||||||
border: 1px solid #e6e6e6;
|
|
||||||
background: #fff;
|
|
||||||
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
|
|
||||||
display: grid;
|
|
||||||
place-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.qr-placeholder {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
border-radius: 8px;
|
|
||||||
background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.1) 50%, transparent 50%),
|
|
||||||
linear-gradient(rgba(0, 0, 0, 0.1) 50%, transparent 50%);
|
|
||||||
background-size: 14px 14px;
|
|
||||||
background-position: 0 0, 7px 7px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.qr-text {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 8px;
|
|
||||||
color: #3e3e3e;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wechat-icon {
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.login-copyright {
|
.login-copyright {
|
||||||
margin-top: 40px;
|
margin-top: 40px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
@@ -624,19 +557,10 @@ onBeforeUnmount(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 900px) {
|
@media (max-width: 900px) {
|
||||||
.login-panel {
|
|
||||||
grid-template-columns: 1fr;
|
|
||||||
justify-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.login-form {
|
.login-form {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 520px;
|
max-width: 520px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-qr-card {
|
|
||||||
max-width: 360px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 640px) {
|
@media (max-width: 640px) {
|
||||||
@@ -675,10 +599,5 @@ onBeforeUnmount(() => {
|
|||||||
height: 50px;
|
height: 50px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.qr-frame {
|
|
||||||
width: 180px;
|
|
||||||
height: 180px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user