Files
MBTI_wang/miniprogram/pages/result/pdp.wxss
2026-03-24 10:07:00 +08:00

212 lines
4.1 KiB
Plaintext

/* pages/result/pdp.wxss - 按旧版模板重构 */
.result-page {
width: 100%;
min-height: 100vh;
background-color: #f5f5f5;
}
.content-scroll {
width: 100%;
height: 100vh;
}
.content-container {
padding: 32rpx;
padding-bottom: 64rpx;
}
.type-card,
.analysis-card {
background-color: #fff;
border-radius: 24rpx;
padding: 48rpx;
margin-bottom: 32rpx;
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.08);
}
.type-header {
text-align: center;
margin-bottom: 40rpx;
}
.type-label {
display: block;
font-size: 30rpx;
color: #333;
}
.type-value {
display: block;
font-size: 56rpx;
font-weight: bold;
color: #8b5cf6;
margin: 14rpx 0;
}
.type-title {
display: block;
font-size: 34rpx;
color: #333;
margin-bottom: 16rpx;
}
.type-description {
display: block;
font-size: 28rpx;
color: #666;
line-height: 1.6;
}
.section-title,
.card-title {
display: block;
font-size: 34rpx;
font-weight: bold;
color: #333;
margin-bottom: 20rpx;
}
.score-item {
margin-bottom: 18rpx;
}
.score-header {
display: flex;
justify-content: space-between;
margin-bottom: 8rpx;
}
.score-label,
.score-value {
font-size: 28rpx;
color: #666;
}
.progress-bar-container {
width: 100%;
height: 14rpx;
background-color: #e5e5e5;
border-radius: 8rpx;
overflow: hidden;
}
.progress-bar {
height: 100%;
border-radius: 8rpx;
}
.fill-tiger { background: #ef4444; }
.fill-peacock { background: #eab308; }
.fill-koala { background: #22c55e; }
.fill-owl { background: #3b82f6; }
.fill-chameleon { background: #a855f7; }
.trait-section {
margin-bottom: 18rpx;
}
.trait-title {
display: block;
font-size: 30rpx;
color: #333;
margin-bottom: 8rpx;
}
.trait-item {
display: flex;
align-items: flex-start;
margin-bottom: 6rpx;
}
.trait-bullet {
margin-right: 12rpx;
color: #8b5cf6;
}
.trait-text {
flex: 1;
font-size: 28rpx;
color: #666;
line-height: 1.6;
}
.relationship-text {
font-size: 28rpx;
color: #666;
line-height: 1.7;
}
.career-item {
display: flex;
align-items: center;
margin-bottom: 16rpx;
}
.career-dot {
width: 14rpx;
height: 14rpx;
background-color: #8b5cf6;
border-radius: 50%;
margin-right: 16rpx;
}
.career-text {
flex: 1;
font-size: 28rpx;
color: #333;
}
.action-section {
margin-top: 16rpx;
padding-bottom: 40rpx;
}
.btn {
display: flex;
align-items: center;
justify-content: center;
width: 100% !important;
padding: 28rpx;
border-radius: 16rpx;
margin-bottom: 20rpx;
border: none;
box-sizing: border-box;
overflow: hidden;
}
.btn::after {
border: none;
}
.btn-primary {
background: linear-gradient(135deg, #F59E0B 0%, #fbbf24 100%);
box-shadow: 0 8rpx 24rpx rgba(245, 158, 11, 0.3);
}
.btn-outline {
background: #fff;
border: 2rpx solid #F59E0B;
}
.btn-text {
font-size: 32rpx;
font-weight: 600;
color: #fff;
}
.btn-text-outline {
font-size: 30rpx;
color: #F59E0B;
font-weight: 500;
}
.paywall-card { margin-top: 24rpx; border-radius: 24rpx; overflow: hidden; }
.paywall-content { position: relative; min-height: 360rpx; }
.paywall-blur { padding: 32rpx 24rpx 200rpx; border-radius: 24rpx; background: rgba(255,255,255,0.97); backdrop-filter: blur(6rpx); }
.paywall-mask { position: absolute; left: 0; top: 0; right: 0; bottom: 0; border-radius: 24rpx; z-index: 1; background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.28) 38%, rgba(255,255,255,0.58) 100%); pointer-events: none; }
.paywall-fake-title { display: block; font-size: 30rpx; font-weight: 600; color: #444; margin-bottom: 16rpx; }
.paywall-fake-line { display: block; font-size: 26rpx; color: #888; line-height: 1.8; }
.paywall-btn { position: absolute; left: 5%; right: 5%; width: 90%; bottom: 132rpx; z-index: 3; padding: 20rpx 0; border-radius: 999rpx; background: linear-gradient(135deg, #F59E0B 0%, #fbbf24 100%); box-shadow: 0 8rpx 24rpx rgba(245,158,11,0.35); display: flex; flex-direction: row; align-items: baseline; justify-content: center; gap: 12rpx; }
.paywall-btn-main { font-size: 30rpx; color: #fff; font-weight: 600; }
.paywall-btn-price { font-size: 24rpx; color: #ffe5f0; }