Files
czzj-app/src/pages/add-device/pair/pair.scss
2026-10-21 17:09:53 +08:00

139 lines
2.3 KiB
SCSS

.pair-page {
min-height: 100vh;
background: $color-bg-page;
display: flex;
flex-direction: column;
box-sizing: border-box;
}
.pair-page__scroll {
width: 100%;
}
.pair-page__body {
padding-bottom: 24rpx;
}
.pair-page__status {
padding: 0 40rpx;
margin-bottom: 32rpx;
display: flex;
flex-direction: column;
align-items: center;
}
.pair-page__title {
font-size: 40rpx;
font-weight: 700;
color: $color-text;
margin-bottom: 16rpx;
text-align: center;
}
.pair-page__desc {
font-size: 26rpx;
color: #98a2b3;
line-height: 1.65;
text-align: center;
padding: 0 24rpx;
}
.pair-page__progress-block {
margin: 0 32rpx 24rpx;
padding: 28rpx 24rpx;
background: #fff;
border-radius: 20rpx;
box-shadow: 0 4rpx 24rpx rgba(0, 0, 0, 0.04);
}
.pair-page__progress-head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20rpx;
}
.pair-page__progress-label {
font-size: 28rpx;
color: $color-text;
font-weight: 500;
}
.pair-page__progress-percent {
font-size: 28rpx;
font-weight: 600;
color: $color-primary;
}
.pair-page__progress-track {
height: 16rpx;
border-radius: 999rpx;
background: #eef1f4;
overflow: hidden;
margin-bottom: 16rpx;
}
.pair-page__progress-fill {
height: 100%;
border-radius: 999rpx;
background: linear-gradient(90deg, #45d685 0%, #21c25e 100%);
transition: width 0.4s ease;
}
.pair-page__progress-tip {
font-size: 24rpx;
color: #98a2b3;
line-height: 1.5;
}
.pair-page__error-block {
margin: 0 32rpx 24rpx;
padding: 24rpx;
background: #fff5f5;
border-radius: 20rpx;
border: 1rpx solid #ffd6d6;
}
.pair-page__error-text {
font-size: 26rpx;
color: #e54d4d;
line-height: 1.65;
}
.pair-page__retry {
margin-bottom: 16rpx;
height: 88rpx;
border-radius: 44rpx;
background: $color-primary;
display: flex;
align-items: center;
justify-content: center;
}
.pair-page__retry-text {
font-size: 30rpx;
font-weight: 600;
color: #fff;
}
.pair-page__footer {
padding: 16rpx 32rpx calc(24rpx + env(safe-area-inset-bottom));
background: $color-bg-page;
}
.pair-page__cancel {
height: 96rpx;
border-radius: 24rpx;
background: #fff;
border: 2rpx solid #e8eaed;
display: flex;
align-items: center;
justify-content: center;
}
.pair-page__cancel-text {
font-size: 32rpx;
color: #666;
font-weight: 500;
}