feat: 对接 UAC 登录并支持 iCenter 扫码

This commit is contained in:
2026-11-15 05:48:04 +08:00
parent 6340309e66
commit 158578d17c
7 changed files with 651 additions and 88 deletions
+68
View File
@@ -134,6 +134,74 @@ select {
color: var(--ink);
}
.gate-tabs {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
margin-bottom: 16px;
}
.gate-tabs button {
height: 34px;
border: 1px solid var(--line);
background: var(--elevated);
color: var(--muted);
border-radius: 4px;
cursor: pointer;
}
.gate-tabs button.active {
border-color: var(--accent);
color: var(--accent);
background: var(--accent-soft);
}
.gate-tabs button:disabled {
cursor: wait;
opacity: 0.7;
}
.gate-card.with-qr {
width: min(440px, 100%);
}
.qr-block {
text-align: center;
}
.qr-block p {
margin: 0 0 12px;
color: var(--muted);
}
.qr-frame {
position: relative;
display: inline-grid;
place-items: center;
width: 210px;
height: 210px;
padding: 0;
border: 1px solid var(--line);
background: #fff;
cursor: pointer;
}
.qr-frame img {
display: block;
width: 210px;
height: 210px;
}
.qr-mask {
position: absolute;
inset: 0;
display: grid;
place-items: center;
background: rgba(13, 17, 23, 0.72);
color: #fff;
font-size: 14px;
}
.gate-card.with-jigsaw {
width: max-content;
max-width: calc(100% - 32px);