fix(ui): align binding headers and unify handoff buttons

This commit is contained in:
stu2not
2026-09-23 20:47:20 +08:00
parent 3fd750989f
commit a9769fb9c6
11 changed files with 394 additions and 26 deletions
+7 -16
View File
@@ -1,3 +1,5 @@
@import '../../styles/binding-controls';
.bind-page {
min-height: 100%;
background: #F5F7FA;
@@ -28,12 +30,13 @@
.bind-header {
padding: 80px 32px 32px;
position: relative;
box-sizing: border-box;
text-align: center;
.back-btn {
position: absolute;
left: 32px;
top: 80px;
position: static;
flex-shrink: 0;
box-sizing: border-box;
display: flex;
align-items: center;
padding: 12px 18px;
@@ -53,14 +56,6 @@
color: #1A1A1A;
font-weight: 500;
}
.title {
font-size: 44px;
font-weight: 700;
color: #1A1A1A;
display: block;
padding: 0 120px;
}
}
.scan-area {
@@ -411,11 +406,7 @@
.bind-countdown-label { margin-top: 12px; font-size: 22px; color: #aa8154; }
.bind-instruction { padding: 28px; border: 2px solid #d2b48c; border-radius: 46px; background: #fffdf7; }
.bind-instruction-title { font-size: 34px; font-weight: 600; color: #895731; }
.bind-result-button { min-height: 92px; margin-top: 28px; border-radius: 46px; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 600; box-sizing: border-box; }
.bind-result-button::after { display: none; }
.bind-result-button.primary { background: linear-gradient(#ffce8d, #efa05a); border: 2px solid #cf935a; color: #895731; }
.bind-result-button.secondary { background: #fffdf7; border: 2px solid #cf935a; color: #ad8054; }
.bind-result-button.waiting { background: linear-gradient(#eeede9, #c9c7c1); border: 2px solid #aaa69c; color: #777168; }
.bind-result-button { @include binding-action-button; }
.bind-device-summary { margin-top: 32px; padding: 12px 28px; border: 2px solid #d2b48c; border-radius: 28px; background: #fffdf7; text-align: left; }
.bind-device-row { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; color: #a68d74; font-size: 26px; }
.bind-device-row + .bind-device-row { border-top: 1px solid #eee3d5; }