Files
MBTI_wang/miniprogram/pages/gaokao/index.wxss
Ghost a411bf7b21 高考版优化
审核模式优化
2026-04-29 18:01:26 +08:00

381 lines
6.2 KiB
Plaintext

.container {
min-height: 100vh;
width: 100vw;
overflow-x: hidden;
overflow-y: auto;
background: #f3f6fb;
position: relative;
display: flex;
flex-direction: column;
padding-bottom: calc(100rpx + env(safe-area-inset-bottom) + 40rpx);
box-sizing: border-box;
}
/* 背景装饰圆形 */
.bg-decoration {
position: absolute;
width: 600rpx;
height: 600rpx;
border-radius: 50%;
pointer-events: none;
z-index: 0;
}
.bg-top-right {
top: -200rpx;
right: -200rpx;
background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
}
.bg-bottom-left {
bottom: 0;
left: 0;
background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
}
.custom-navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
background: #ffffff;
z-index: 10000;
width: 100%;
}
.navbar-content {
height: 88rpx;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40rpx;
position: relative;
background: #fff;
min-height: 88rpx;
}
.navbar-title {
position: absolute;
left: 50%;
transform: translateX(-50%);
font-size: 36rpx;
font-weight: 700;
color: #1e3a8a;
text-align: center;
flex: 1;
}
.navbar-placeholder {
width: 140rpx;
flex-shrink: 0;
}
.switch-version-btn {
display: flex;
align-items: center;
gap: 8rpx;
padding: 12rpx 20rpx;
background: #e8f0ff;
border-radius: 30rpx;
border: 1rpx solid rgba(37, 99, 235, 0.3);
flex-shrink: 0;
z-index: 10;
}
.switch-version-icon {
font-size: 24rpx;
color: #1d4ed8;
}
.switch-version-text {
font-size: 24rpx;
color: #2563eb;
font-weight: 700;
}
.top-image-section {
width: 100%;
padding: 15rpx 40rpx 20rpx;
flex-shrink: 0;
box-sizing: border-box;
position: relative;
z-index: 1;
margin-top: 0;
}
.image-container {
position: relative;
width: 100%;
}
.image-wrapper {
position: relative;
width: 100%;
padding-top: 100%;
border-radius: 50%;
overflow: hidden;
background: #ffffff;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.12);
}
.main-image {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 85%;
height: 85%;
display: block;
}
.float-tag {
position: absolute;
padding: 12rpx 24rpx;
border-radius: 30rpx;
font-size: 24rpx;
font-weight: 600;
color: #2563eb;
background: #ffffff;
box-shadow: 0 4rpx 14rpx rgba(37, 99, 235, 0.12);
white-space: nowrap;
z-index: 10;
}
.tag-1 {
top: 15%;
right: 10rpx;
}
.tag-2 {
bottom: 25%;
left: 0;
}
.tag-3 {
bottom: 25%;
right: 0;
}
.process-section {
padding: 15rpx 40rpx 20rpx;
flex-shrink: 0;
position: relative;
z-index: 1;
}
.section-title {
font-size: 32rpx;
font-weight: 700;
color: #2563eb;
text-align: center;
margin-bottom: 25rpx;
}
.process-steps {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 10rpx;
}
.step-item {
display: flex;
flex-direction: column;
align-items: center;
flex: 1;
}
.step-circle {
width: 70rpx;
height: 70rpx;
border-radius: 50%;
background: #b8b9bc;
display: flex;
align-items: center;
justify-content: center;
font-size: 36rpx;
font-weight: 700;
color: #fff;
margin-bottom: 12rpx;
}
.step-circle.active {
background: #2563eb;
}
.step-label {
font-size: 20rpx;
color: #9ca3af;
margin-bottom: 4rpx;
}
.step-text {
font-size: 24rpx;
color: #374151;
font-weight: 600;
}
.step-line {
width: 50rpx;
height: 4rpx;
background: #e0e0e0;
margin: 0 6rpx 50rpx;
}
.start-button {
margin: 20rpx 40rpx 0;
background: #2563eb;
border-radius: 50rpx;
padding: 24rpx;
text-align: center;
box-shadow: 0 8rpx 24rpx rgba(37, 99, 235, 0.2);
position: relative;
z-index: 1;
}
.task-center-entry {
margin: 18rpx 36rpx 0;
background: #ffffff;
border: 1rpx solid #dbeafe;
border-radius: 18rpx;
padding: 22rpx 24rpx;
display: flex;
align-items: center;
box-shadow: 0 8rpx 18rpx rgba(37, 99, 235, 0.08);
}
.task-center-entry__icon {
font-size: 34rpx;
}
.task-center-entry__text {
flex: 1;
margin-left: 12rpx;
color: #1e3a8a;
font-size: 26rpx;
font-weight: 500;
}
.task-center-entry__arrow {
color: #93c5fd;
font-size: 34rpx;
}
.button-text {
font-size: 30rpx;
color: #fff;
font-weight: 700;
}
.version-picker-mask {
position: fixed;
inset: 0;
background: rgba(10, 15, 30, 0.52);
z-index: 20000;
display: flex;
align-items: center;
justify-content: center;
padding: 40rpx;
box-sizing: border-box;
}
.version-picker-dialog {
width: 100%;
max-width: 640rpx;
background: #fff;
border-radius: 30rpx;
padding: 26rpx 30rpx 24rpx;
box-shadow: 0 24rpx 70rpx rgba(16, 24, 40, 0.28);
}
.version-picker-head {
display: flex;
align-items: center;
justify-content: space-between;
}
.version-picker-badge {
padding: 8rpx 18rpx;
border-radius: 999rpx;
background: #e8f0ff;
color: #1d4ed8;
font-size: 22rpx;
font-weight: 600;
}
.version-picker-close {
width: 48rpx;
height: 48rpx;
border-radius: 50%;
background: #f3f4f6;
color: #6b7280;
display: flex;
align-items: center;
justify-content: center;
font-size: 34rpx;
line-height: 1;
}
.version-picker-title {
text-align: center;
font-size: 36rpx;
font-weight: 700;
color: #111827;
margin-top: 12rpx;
}
.version-picker-desc {
margin-top: 12rpx;
text-align: center;
font-size: 24rpx;
color: #6b7280;
line-height: 1.6;
}
.version-picker-actions {
margin-top: 28rpx;
display: flex;
flex-direction: column;
gap: 16rpx;
}
.version-btn {
height: 84rpx;
line-height: 84rpx;
border-radius: 999rpx;
color: #fff;
font-size: 29rpx;
font-weight: 600;
border: none;
box-shadow: 0 6rpx 16rpx rgba(37, 99, 235, 0.16);
}
.version-btn-personal { background: #2563eb; }
.version-btn-enterprise { background: #2563eb; }
.version-btn-gaokao { background: #2563eb; }
.version-picker-foot {
margin-top: 14rpx;
}
.version-cancel-btn {
height: 76rpx;
line-height: 76rpx;
border-radius: 999rpx;
background: #f3f4f6;
color: #4b5563;
font-size: 27rpx;
font-weight: 600;
border: 1rpx solid #d1d5db;
}
custom-tab-bar {
display: block;
height: 0;
overflow: visible;
}