137 lines
2.7 KiB
Plaintext
137 lines
2.7 KiB
Plaintext
/* pages/test-select/index.wxss - 详细性格测试入口,与现有 UI 风格一致 */
|
|
.container {
|
|
min-height: 100vh;
|
|
background: linear-gradient(180deg, #fff5f5 0%, #f5f5f5 50%, #ffffff 100%);
|
|
padding: 24rpx 24rpx 60rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.card {
|
|
background-color: #fff;
|
|
border-radius: 16rpx;
|
|
padding: 32rpx;
|
|
margin-bottom: 24rpx;
|
|
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
/* 顶部说明 */
|
|
.intro-card {
|
|
text-align: center;
|
|
padding: 40rpx 32rpx;
|
|
}
|
|
|
|
.intro-title {
|
|
display: block;
|
|
font-size: 34rpx;
|
|
font-weight: 700;
|
|
color: #e63946;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.intro-desc {
|
|
display: block;
|
|
font-size: 26rpx;
|
|
color: #666;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.perm-disabled-hint {
|
|
text-align: center;
|
|
padding: 32rpx;
|
|
}
|
|
|
|
.perm-disabled-text {
|
|
font-size: 28rpx;
|
|
color: #888;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* 入口卡片(与 result 页 next-btn 同色系) */
|
|
.entry-card {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 28rpx 32rpx;
|
|
transition: opacity 0.2s;
|
|
border-radius: 16rpx;
|
|
border: 2rpx solid transparent;
|
|
}
|
|
|
|
.entry-card:active {
|
|
opacity: 0.9;
|
|
background: linear-gradient(135deg, rgba(230, 57, 70, 0.04) 0%, rgba(255, 107, 157, 0.04) 100%);
|
|
border-color: rgba(230, 57, 70, 0.15);
|
|
}
|
|
|
|
.entry-icon-wrap {
|
|
width: 88rpx;
|
|
height: 88rpx;
|
|
border-radius: 20rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-right: 24rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.entry-icon-wrap.mbti {
|
|
background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(139, 92, 246, 0.2) 100%);
|
|
}
|
|
|
|
.entry-icon-wrap.sbti {
|
|
background: linear-gradient(135deg, #f2f7f3 0%, #dce8e0 100%);
|
|
border: 1rpx solid #c5d4cc;
|
|
}
|
|
|
|
.entry-icon-wrap.pdp {
|
|
background: linear-gradient(135deg, rgba(230, 57, 70, 0.12) 0%, rgba(255, 107, 157, 0.15) 100%);
|
|
}
|
|
|
|
.entry-icon-wrap.disc {
|
|
background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(96, 165, 250, 0.18) 100%);
|
|
}
|
|
|
|
.entry-icon-wrap.gaokao {
|
|
background: linear-gradient(135deg, rgba(79, 70, 229, 0.18) 0%, rgba(129, 140, 248, 0.22) 100%);
|
|
border: 1rpx solid rgba(99, 102, 241, 0.25);
|
|
}
|
|
|
|
.entry-icon-wrap.ai-chat {
|
|
background: linear-gradient(135deg, rgba(124, 58, 237, 0.16) 0%, rgba(99, 102, 241, 0.2) 100%);
|
|
}
|
|
|
|
.entry-icon-wrap.ai-face {
|
|
background: linear-gradient(135deg, rgba(236, 72, 153, 0.14) 0%, rgba(244, 114, 182, 0.18) 100%);
|
|
}
|
|
|
|
.entry-emoji {
|
|
font-size: 44rpx;
|
|
}
|
|
|
|
.entry-content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.entry-name {
|
|
display: block;
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.entry-brief {
|
|
display: block;
|
|
font-size: 24rpx;
|
|
color: #888;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.entry-arrow {
|
|
font-size: 32rpx;
|
|
color: #e63946;
|
|
font-weight: 600;
|
|
margin-left: 16rpx;
|
|
flex-shrink: 0;
|
|
}
|