restore: 恢复橙色逍遥梦UI版本(2ea2860)到主分支
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
228
pages/dashou-exam/dashou-exam.wxss
Normal file
228
pages/dashou-exam/dashou-exam.wxss
Normal file
@@ -0,0 +1,228 @@
|
||||
.exam-page {
|
||||
min-height: 100vh;
|
||||
background: linear-gradient(180deg, #f5f3ff 0%, #fff3d6 100%);
|
||||
padding: 24rpx;
|
||||
padding-bottom: calc(24rpx + env(safe-area-inset-bottom));
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.center-tip,
|
||||
.center-box {
|
||||
padding: 80rpx 40rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.tip-title {
|
||||
font-size: 36rpx;
|
||||
font-weight: 600;
|
||||
display: block;
|
||||
margin-bottom: 16rpx;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.tip-desc {
|
||||
font-size: 28rpx;
|
||||
color: #666;
|
||||
display: block;
|
||||
margin-bottom: 32rpx;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: linear-gradient(90deg, #c4b5fd, #a78bfa);
|
||||
padding: 22rpx 48rpx;
|
||||
border-radius: 48rpx;
|
||||
font-weight: 600;
|
||||
font-size: 30rpx;
|
||||
color: #6d28d9;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.btn-primary.block {
|
||||
display: block;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.btn-row {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20rpx;
|
||||
margin-top: 24rpx;
|
||||
}
|
||||
|
||||
.btn-outline {
|
||||
padding: 20rpx 48rpx;
|
||||
border-radius: 48rpx;
|
||||
border: 2rpx solid #ddd;
|
||||
color: #666;
|
||||
font-size: 28rpx;
|
||||
text-align: center;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.btn-outline.block {
|
||||
display: block;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.exam-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: calc(100vh - 48rpx);
|
||||
}
|
||||
|
||||
.exam-card {
|
||||
flex: 1;
|
||||
background: #fff;
|
||||
border-radius: 24rpx;
|
||||
padding: 28rpx;
|
||||
box-shadow: 0 8rpx 32rpx rgba(73, 47, 0, 0.06);
|
||||
}
|
||||
|
||||
.progress {
|
||||
font-size: 28rpx;
|
||||
color: #6d28d9;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.progress-sub {
|
||||
font-size: 24rpx;
|
||||
color: #999;
|
||||
margin-top: 8rpx;
|
||||
margin-bottom: 24rpx;
|
||||
}
|
||||
|
||||
.q-type-tag {
|
||||
display: inline-block;
|
||||
font-size: 22rpx;
|
||||
color: #b8860b;
|
||||
background: #f5f3ff;
|
||||
border: 1rpx solid #c4b5fd;
|
||||
border-radius: 8rpx;
|
||||
padding: 4rpx 16rpx;
|
||||
margin-bottom: 16rpx;
|
||||
}
|
||||
|
||||
.q-stem {
|
||||
font-size: 32rpx;
|
||||
font-weight: 600;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 24rpx;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.q-images {
|
||||
margin-bottom: 24rpx;
|
||||
}
|
||||
|
||||
.q-img {
|
||||
width: 100%;
|
||||
border-radius: 12rpx;
|
||||
margin-bottom: 12rpx;
|
||||
}
|
||||
|
||||
.options {
|
||||
margin-top: 8rpx;
|
||||
}
|
||||
|
||||
.opt-item {
|
||||
background: #fafafa;
|
||||
border: 2rpx solid #eee;
|
||||
border-radius: 16rpx;
|
||||
padding: 24rpx;
|
||||
margin-bottom: 16rpx;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 20rpx;
|
||||
}
|
||||
|
||||
.opt-active {
|
||||
border-color: #c4b5fd;
|
||||
background: #fffdf0;
|
||||
}
|
||||
|
||||
.opt-radio {
|
||||
width: 36rpx;
|
||||
height: 36rpx;
|
||||
border-radius: 50%;
|
||||
border: 2rpx solid #ccc;
|
||||
flex-shrink: 0;
|
||||
margin-top: 4rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.opt-radio-on {
|
||||
border-color: #c4b5fd;
|
||||
background: #f5f3ff;
|
||||
}
|
||||
|
||||
.opt-radio-dot {
|
||||
width: 18rpx;
|
||||
height: 18rpx;
|
||||
border-radius: 50%;
|
||||
background: #c4b5fd;
|
||||
}
|
||||
|
||||
.opt-body {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
gap: 12rpx;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.opt-label {
|
||||
font-weight: 700;
|
||||
color: #6d28d9;
|
||||
min-width: 40rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
|
||||
.opt-text {
|
||||
flex: 1;
|
||||
font-size: 28rpx;
|
||||
line-height: 1.5;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.explain-box {
|
||||
background: #fffbf0;
|
||||
border-left: 6rpx solid #e6a23c;
|
||||
padding: 20rpx 24rpx;
|
||||
margin-top: 24rpx;
|
||||
border-radius: 0 12rpx 12rpx 0;
|
||||
}
|
||||
|
||||
.explain-title {
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
display: block;
|
||||
margin-bottom: 8rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
|
||||
.explain-text {
|
||||
font-size: 26rpx;
|
||||
color: #666;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.foot-actions {
|
||||
margin-top: 24rpx;
|
||||
padding: 0 8rpx;
|
||||
}
|
||||
|
||||
.foot-btn {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
min-height: 88rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
line-height: 1.2;
|
||||
padding: 0 32rpx;
|
||||
}
|
||||
Reference in New Issue
Block a user