Files
MBTI_wang/miniprogram/pages/result/pdp.wxss
卡若 ce55c48c64 feat: 同步今日小程序与后台迭代版本
集中提交今日 API、管理端、小程序与部署文档调整,确保 Gitea 主分支与本地最新开发版本一致。

Made-with: Cursor
2026-04-20 11:07:55 +08:00

291 lines
5.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* pages/result/pdp.wxssdash 样式见 app.wxss */
.result-page {
width: 100%;
min-height: 100vh;
background-color: #f5f5f5;
}
.content-scroll {
width: 100%;
height: 100vh;
}
.content-container {
padding: 32rpx;
padding-bottom: 64rpx;
}
.content-container--with-fixed-footer {
padding-bottom: calc(64rpx + 220rpx + env(safe-area-inset-bottom));
}
.content-scroll--with-fixed-footer {
height: 100vh;
}
.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; }
.result-share-footer {
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 200;
box-sizing: border-box;
width: 100%;
padding: 20rpx 32rpx;
padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
background: #f5f5f5;
box-shadow: 0 -8rpx 24rpx rgba(0, 0, 0, 0.06);
display: flex;
flex-direction: column;
gap: 16rpx;
}
.disc-dash-track {
height: 10rpx;
background: #e5e7eb;
border-radius: 6rpx;
overflow: hidden;
}
.disc-dash-fill {
height: 100%;
border-radius: 6rpx;
}
.paywall-btn--inline-profile {
position: relative !important;
left: auto !important;
right: auto !important;
bottom: auto !important;
width: 100% !important;
margin-top: 28rpx;
z-index: 1;
}
.result-share-footer-row2 {
display: flex;
flex-direction: row;
gap: 16rpx;
width: 100%;
}
.result-share-footer-row2 .result-share-footer-btn {
flex: 1;
min-height: 88rpx;
line-height: 88rpx;
}
.result-share-footer-btn {
width: 100% !important;
box-sizing: border-box;
display: block;
margin: 0;
padding: 0;
min-height: 96rpx;
line-height: 96rpx;
border-radius: 999rpx;
font-size: 30rpx;
font-weight: 600;
color: #fff;
background: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
border: none;
}
.result-share-footer-btn::after {
border: none;
}