Files
MBTI_wang/miniprogram/pages/index/result.wxss
Ghost 8abc5182af feat: 仪表盘企业余额展示与双端分析报告「详细性格测试」入口
1、管理端数据概览:拉取财务概览展示企业余额;充值改为金额后「充值」文字链。

2、微信/抖音人脸分析报告:PDP/DISC 下方增加跳转 test-select;实心按钮样式;按钮置于主要优势之后。

3、微信小程序 app.js 等小改动同步。

Made-with: Cursor
2026-03-31 16:24:38 +08:00

1335 lines
22 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/index/result.wxss - AI分析结果按旧版模板重构 */
.container {
min-height: 100vh;
background-color: #f5f5f5;
padding: 0 24rpx 60rpx;
}
/* ========== 分析中模态框 ========== */
.analyzing-modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.7);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
}
.analyzing-content {
background-color: #fff;
border-radius: 24rpx;
padding: 80rpx 60rpx;
width: 560rpx;
display: flex;
flex-direction: column;
align-items: center;
box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.15);
}
.analyzing-icon {
width: 120rpx;
height: 120rpx;
margin-bottom: 40rpx;
display: flex;
align-items: center;
justify-content: center;
}
.spinner {
width: 120rpx;
height: 120rpx;
border: 8rpx solid #e0e0e0;
border-top-color: #e63946;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.analyzing-title {
font-size: 36rpx;
font-weight: 600;
color: #333;
margin-bottom: 16rpx;
}
.analyzing-desc {
font-size: 28rpx;
color: #e63946;
margin-bottom: 24rpx;
text-align: center;
font-weight: 500;
}
.analyzing-bar {
width: 400rpx;
height: 12rpx;
background: #e5e5e5;
border-radius: 6rpx;
overflow: hidden;
margin-bottom: 24rpx;
}
.analyzing-bar-fill {
height: 100%;
background: linear-gradient(90deg, #e63946, #ff6b9d);
border-radius: 6rpx;
transition: width 0.3s ease;
}
.analyzing-hint {
font-size: 24rpx;
color: #999;
text-align: center;
line-height: 1.6;
}
/* ========== 状态横幅 ========== */
.status-banner {
background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
padding: 24rpx;
border-radius: 12rpx;
display: flex;
align-items: center;
margin: 24rpx 0;
}
.status-dot {
width: 12rpx;
height: 12rpx;
background-color: #4caf50;
border-radius: 50%;
margin-right: 16rpx;
}
.status-text {
font-size: 26rpx;
color: #2e7d32;
}
.error-banner {
background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
}
.error-dot {
background-color: #f44336;
}
.error-banner .status-text {
color: #c62828;
font-weight: bold;
}
.error-content {
background-color: #fff;
border-radius: 16rpx;
padding: 32rpx;
margin-bottom: 24rpx;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04);
border-left: 4rpx solid #f44336;
}
.error-title {
font-size: 28rpx;
color: #c62828;
font-weight: bold;
display: block;
margin-bottom: 16rpx;
}
.error-message {
font-size: 24rpx;
color: #666;
line-height: 1.8;
display: block;
white-space: pre-wrap;
word-break: break-all;
background-color: #f5f5f5;
padding: 16rpx;
border-radius: 8rpx;
margin-bottom: 24rpx;
}
.retry-btn {
background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
padding: 20rpx;
border-radius: 12rpx;
text-align: center;
}
.retry-text {
font-size: 28rpx;
color: #fff;
font-weight: 500;
}
/* ========== 通用卡片 ========== */
.card {
background-color: #fff;
border-radius: 16rpx;
padding: 32rpx;
margin-bottom: 24rpx;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04);
word-wrap: break-word;
}
.card-title {
font-size: 32rpx;
font-weight: 600;
color: #333;
display: block;
margin-bottom: 24rpx;
}
.card-text {
font-size: 28rpx;
color: #666;
line-height: 1.8;
display: block;
}
/* ========== 付费解锁毛玻璃区域 ========== */
.paywall-card {
position: relative;
overflow: hidden;
}
.paywall-content {
position: relative;
}
.paywall-blur {
padding: 32rpx 24rpx 140rpx;
border-radius: 24rpx;
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(18rpx);
}
.paywall-mask {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
border-radius: 24rpx;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(245, 245, 245, 0.98));
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: 56rpx;
padding: 20rpx 0;
border-radius: 999rpx;
background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
box-shadow: 0 8rpx 24rpx rgba(230, 57, 70, 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;
}
.paywall-tip {
display: block;
margin-top: 8rpx;
font-size: 22rpx;
color: #999;
text-align: center;
}
.paywall-tip-panel {
margin-top: 16rpx;
padding: 0 8rpx;
line-height: 1.5;
}
/* ========== 报告预览门禁(人脸分析报告):整区遮罩 + 预览截断 ========== */
.report-gate-wrap {
position: relative;
margin-bottom: 24rpx;
}
.report-gate-overlay {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 20;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: stretch;
overflow: hidden;
}
/* 占据遮罩下半区,组内标题/说明/按钮垂直居中,避免贴底留白过大 */
.report-gate-cta-wrap {
width: 100%;
box-sizing: border-box;
/* 占遮罩层约一半高度,保证内部 flex 垂直居中真正留白上下对称 */
height: 48%;
min-height: 400rpx;
max-height: 640rpx;
display: flex;
flex-direction: column;
justify-content: center;
align-items: stretch;
/* 整体上移,避免贴底 */
margin-bottom: 96rpx;
padding: 16rpx 0 calc(20rpx + env(safe-area-inset-bottom));
}
.report-gate-gradient {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
pointer-events: none;
/* 约前 50% 区域保持清晰预览,以下渐强变白 */
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0) 50%,
rgba(255, 255, 255, 0.2) 52%,
rgba(255, 255, 255, 0.55) 68%,
rgba(255, 255, 255, 0.82) 88%,
rgba(255, 255, 255, 0.92) 100%
);
}
/* 支付成功后:手机号 / 资料引导条 */
.post-pay-guide {
margin: 16rpx 24rpx 0;
padding: 24rpx 28rpx;
background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
border-radius: 20rpx;
border: 1rpx solid rgba(16, 185, 129, 0.35);
}
.post-pay-guide-title {
display: block;
font-size: 28rpx;
font-weight: 600;
color: #065f46;
margin-bottom: 8rpx;
}
.post-pay-guide-desc {
display: block;
font-size: 24rpx;
color: #047857;
line-height: 1.45;
margin-bottom: 20rpx;
}
.post-pay-guide-actions {
display: flex;
flex-wrap: wrap;
gap: 16rpx;
}
.post-pay-guide-btn.phone {
margin: 0;
padding: 0 36rpx;
height: 72rpx;
line-height: 72rpx;
font-size: 28rpx;
font-weight: 600;
color: #fff;
background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
border-radius: 36rpx;
border: none;
}
.post-pay-guide-btn.phone::after {
border: none;
}
.post-pay-guide-btn.profile {
padding: 0 36rpx;
height: 72rpx;
line-height: 72rpx;
font-size: 28rpx;
font-weight: 600;
color: #065f46;
background: #fff;
border-radius: 36rpx;
border: 2rpx solid #10b981;
text-align: center;
}
.report-gate-panel {
position: relative;
z-index: 2;
width: 100%;
box-sizing: border-box;
padding: 20rpx 20rpx 8rpx;
flex-shrink: 0;
background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.5) 18%, rgba(255, 255, 255, 0.96) 55%);
}
.report-gate-panel .paywall-fake-title {
text-align: center;
}
.report-gate-panel .paywall-tip {
text-align: center;
}
/* 遮罩内主按钮:不再用绝对定位贴底,避免区域过矮 */
.paywall-btn-inline {
position: relative !important;
left: auto !important;
right: auto !important;
bottom: auto !important;
width: 90% !important;
max-width: 640rpx;
margin: 28rpx auto 0;
box-sizing: border-box;
display: flex !important;
flex-direction: column !important;
align-items: center !important;
padding: 28rpx 24rpx !important;
}
.paywall-btn-inline .paywall-btn-price {
display: block;
width: 100%;
text-align: center;
margin-top: 10rpx;
font-size: 22rpx;
line-height: 1.45;
font-weight: 400;
}
/* 主按钮单行:仅金额 +「元解锁」 */
.paywall-btn--compact {
flex-direction: row !important;
justify-content: center !important;
padding: 32rpx 40rpx !important;
}
.paywall-btn--compact .paywall-btn-main {
font-size: 34rpx;
letter-spacing: 2rpx;
}
.report-gate-panel .paywall-btn-inline::after {
border: none;
}
/* 未解锁:三大场景标题预览 */
.scene-teaser-bundle {
text-align: left;
padding-bottom: 28rpx !important;
}
.scene-bundle-hint {
display: block;
font-size: 22rpx;
color: #94a3b8;
margin-bottom: 20rpx;
}
.scene-teaser-item {
padding: 20rpx 0;
border-bottom: 1rpx solid #f1f5f9;
}
.scene-teaser-item--last {
border-bottom: none;
padding-bottom: 8rpx;
}
.scene-teaser-title {
display: block;
font-size: 28rpx;
font-weight: 600;
color: #334155;
margin-bottom: 16rpx;
}
.scene-teaser-lines {
display: flex;
flex-direction: column;
gap: 12rpx;
}
.scene-teaser-line {
height: 14rpx;
border-radius: 8rpx;
background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 100%);
width: 100%;
}
.scene-teaser-line--short {
width: 62%;
}
.scene-detail-card {
border-left: 6rpx solid #e63946;
padding-left: 28rpx !important;
}
/* 未解锁:限制概述与盖洛普可见行数 */
.report-gate-teaser--locked .card-text {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 8;
overflow: hidden;
text-overflow: ellipsis;
}
.report-gate-teaser--locked .gallup-list {
max-height: 140rpx;
overflow: hidden;
position: relative;
}
.report-gate-teaser--locked .gallup-list::after {
content: '';
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 48rpx;
background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}
/* 未解锁:压缩首屏性格区可读内容 */
.personality-card--locked .type-desc {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
text-overflow: ellipsis;
}
.personality-card--locked .advantages-box {
max-height: 140rpx;
overflow: hidden;
position: relative;
}
.personality-card--locked .advantages-box::after {
content: '';
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 56rpx;
background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}
.personality-card--locked .next-btn {
opacity: 0.45;
pointer-events: none;
}
/* ========== 性格类型卡片 ========== */
.personality-card {
text-align: center;
}
.personality-card-sub {
display: block;
font-size: 22rpx;
color: #94a3b8;
margin: -8rpx 0 24rpx;
letter-spacing: 1rpx;
}
.type-chip-row {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 12rpx;
margin: 12rpx 0 8rpx;
}
.type-chip {
font-size: 22rpx;
color: #64748b;
background: #f8fafc;
border: 1rpx solid #e2e8f0;
padding: 8rpx 20rpx;
border-radius: 999rpx;
}
.type-chip--disc {
color: #2563eb;
background: #eff6ff;
border-color: #bfdbfe;
}
.type-emoji {
display: block;
font-size: 36rpx;
margin-bottom: 4rpx;
}
.type-emoji--disc {
opacity: 0.35;
font-size: 28rpx;
}
.personality-type {
margin-bottom: 32rpx;
}
.type-code {
font-size: 72rpx;
font-weight: 700;
color: #e63946;
display: block;
margin-bottom: 8rpx;
}
.type-name {
font-size: 28rpx;
color: #666;
display: block;
margin-bottom: 16rpx;
}
.type-desc {
font-size: 26rpx;
color: #888;
line-height: 1.6;
display: block;
text-align: center;
padding: 0 20rpx;
}
.type-details {
display: flex;
gap: 24rpx;
margin-bottom: 8rpx;
}
.result-cta-questionnaire {
box-sizing: border-box;
width: 100%;
max-width: 100%;
margin: 20rpx 0 32rpx;
padding: 24rpx 36rpx;
text-align: center;
background: linear-gradient(135deg, #e63946 0%, #e85d75 50%, #ff6b9d 100%);
border: none;
border-radius: 999rpx;
box-shadow: 0 6rpx 22rpx rgba(230, 57, 70, 0.35);
}
.result-cta-questionnaire--pressed {
opacity: 0.92;
transform: scale(0.985);
}
.result-cta-questionnaire-text {
font-size: 28rpx;
font-weight: 600;
color: #fff;
letter-spacing: 1rpx;
}
.type-box {
flex: 1;
padding: 24rpx;
border-radius: 12rpx;
text-align: center;
}
.pdp-box {
background: linear-gradient(135deg, #faf5fc 0%, #f3e5f5 100%);
}
.disc-box {
background: linear-gradient(135deg, #f5f9fd 0%, #e3f2fd 100%);
}
.type-label {
font-size: 24rpx;
color: #666;
display: block;
margin-bottom: 8rpx;
}
.type-value {
font-size: 30rpx;
font-weight: 600;
display: block;
margin-bottom: 4rpx;
}
.pdp-box .type-value { color: #7b1fa2; }
.disc-box .type-value { color: #1976d2; }
.type-sub {
font-size: 22rpx;
color: #999;
display: block;
}
/* 主要优势 */
.advantages-box {
background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
padding: 24rpx;
border-radius: 12rpx;
margin-bottom: 24rpx;
}
.advantages-label {
font-size: 26rpx;
color: #666;
display: block;
text-align: center;
margin-bottom: 16rpx;
}
.advantages-list {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
gap: 16rpx;
}
.advantage-item {
display: flex;
flex-direction: column;
align-items: center;
}
.advantage-dot {
width: 12rpx;
height: 12rpx;
background-color: #4caf50;
border-radius: 50%;
margin-bottom: 8rpx;
}
.advantage-text {
font-size: 24rpx;
font-weight: 500;
color: #333;
}
.next-btn {
background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
padding: 24rpx;
border-radius: 48rpx;
box-shadow: 0 8rpx 16rpx rgba(230, 57, 70, 0.3);
}
.next-btn-text {
font-size: 28rpx;
font-weight: 600;
color: #fff;
display: block;
text-align: center;
}
/* ========== Tab切换 ========== */
.tabs {
display: flex;
border-bottom: 2rpx solid #f0f0f0;
margin-bottom: 24rpx;
background-color: #fff;
border-radius: 16rpx 16rpx 0 0;
}
.tab {
flex: 1;
padding: 24rpx;
text-align: center;
position: relative;
}
.tab.active::after {
content: "";
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 60rpx;
height: 4rpx;
background-color: #e63946;
border-radius: 2rpx;
}
.tab-text {
font-size: 28rpx;
color: #999;
}
.tab-text.active {
color: #e63946;
font-weight: 600;
}
/* ========== 面相分析 ========== */
.feature-list {
display: flex;
flex-direction: column;
gap: 20rpx;
}
.feature-item {
display: flex;
font-size: 26rpx;
line-height: 1.8;
}
.feature-label {
font-weight: 600;
color: #333;
flex-shrink: 0;
}
.feature-desc {
color: #666;
flex: 1;
}
/* 职业建议 */
.career-list {
display: flex;
flex-direction: column;
gap: 24rpx;
}
.career-item {
display: flex;
flex-direction: column;
gap: 8rpx;
}
.career-header {
display: flex;
align-items: center;
}
.career-dot {
width: 12rpx;
height: 12rpx;
background-color: #e63946;
border-radius: 50%;
margin-right: 16rpx;
flex-shrink: 0;
}
.career-name {
font-size: 28rpx;
font-weight: 600;
color: #333;
}
.career-reason {
font-size: 24rpx;
color: #666;
line-height: 1.6;
padding-left: 28rpx;
}
/* 人际关系 */
.interpersonal-content {
display: flex;
flex-direction: column;
gap: 20rpx;
}
.interpersonal-item {
display: flex;
font-size: 26rpx;
line-height: 1.8;
}
.interpersonal-label {
font-weight: 600;
color: #333;
flex-shrink: 0;
}
.interpersonal-text {
color: #666;
flex: 1;
}
/* 潜能 */
.potential-list {
display: flex;
flex-direction: column;
gap: 20rpx;
}
.potential-item {
display: flex;
flex-direction: column;
gap: 8rpx;
}
.potential-name {
font-size: 28rpx;
font-weight: 600;
color: #333;
}
.potential-desc {
font-size: 24rpx;
color: #666;
line-height: 1.6;
padding-left: 20rpx;
}
/* ========== 骨相分析 ========== */
.bone-content {
display: flex;
flex-direction: column;
gap: 20rpx;
}
.bone-item {
display: flex;
font-size: 26rpx;
line-height: 1.8;
}
.bone-label {
font-weight: 600;
color: #333;
flex-shrink: 0;
min-width: 120rpx;
}
.bone-text {
color: #666;
flex: 1;
}
/* 人生阶段 */
.life-stage-list {
display: flex;
flex-direction: column;
gap: 24rpx;
}
.life-stage-item {
background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
padding: 20rpx;
border-radius: 12rpx;
border-left: 4rpx solid #ff9800;
}
.stage-label {
font-size: 28rpx;
font-weight: 600;
color: #e65100;
display: block;
margin-bottom: 8rpx;
}
.stage-desc {
font-size: 26rpx;
color: #666;
line-height: 1.8;
display: block;
}
/* 骨相总评 */
.bone-summary-content {
display: flex;
flex-direction: column;
gap: 24rpx;
}
.summary-text {
font-size: 28rpx;
color: #333;
line-height: 1.8;
display: block;
}
.suggestions-title {
font-size: 28rpx;
font-weight: 600;
color: #333;
margin-top: 8rpx;
}
.suggestions-list {
display: flex;
flex-direction: column;
gap: 16rpx;
margin-top: 12rpx;
}
.suggestion-item {
background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
padding: 16rpx 20rpx;
border-radius: 8rpx;
}
.suggestion-text {
font-size: 26rpx;
color: #333;
line-height: 1.6;
display: block;
}
/* ========== 简化版(无面相骨相数据) ========== */
.simple-career-list {
display: flex;
flex-wrap: wrap;
gap: 16rpx;
}
.simple-career-tag {
padding: 12rpx 24rpx;
background: #f3f4f6;
border-radius: 24rpx;
font-size: 26rpx;
color: #374151;
}
/* ========== 操作按钮 ========== */
.action-section {
margin-top: 16rpx;
padding-bottom: 40rpx;
}
.btn {
display: flex;
align-items: center;
justify-content: center;
width: 100%!important;
height: 100rpx;
min-height: 100rpx;
border-radius: 28rpx;
margin-bottom: 20rpx;
padding: 0;
border: none;
line-height: 100rpx;
box-sizing: border-box;
overflow: hidden;
}
.btn::after {
border: none;
}
.btn-primary {
background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
box-shadow: 0 8rpx 24rpx rgba(230, 57, 70, 0.3);
}
.btn-outline {
background: #fff;
border: 2rpx solid #e63946;
}
.btn-text {
font-size: 32rpx;
font-weight: 600;
color: #fff;
}
.btn-text-outline {
font-size: 30rpx;
color: #e63946;
font-weight: 500;
}
/* ========== 无人脸错误状态 ========== */
.no-face-wrap {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 40rpx 32rpx;
box-sizing: border-box;
}
.no-face-card {
background: #fff;
border-radius: 24rpx;
padding: 60rpx 48rpx;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.08);
}
.no-face-icon {
width: 120rpx;
height: 120rpx;
background: #fff3f3;
border-radius: 60rpx;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 32rpx;
}
.no-face-emoji {
font-size: 56rpx;
line-height: 1;
}
.no-face-title {
font-size: 38rpx;
font-weight: 700;
color: #1a1a2e;
margin-bottom: 16rpx;
text-align: center;
}
.no-face-desc {
font-size: 28rpx;
color: #e63946;
text-align: center;
line-height: 1.6;
margin-bottom: 40rpx;
}
.no-face-tips {
width: 100%;
background: #f8f9fa;
border-radius: 16rpx;
padding: 28rpx 32rpx;
margin-bottom: 48rpx;
box-sizing: border-box;
}
.no-face-tips-title {
font-size: 28rpx;
font-weight: 600;
color: #333;
display: block;
margin-bottom: 16rpx;
}
.no-face-tip-item {
font-size: 26rpx;
color: #666;
line-height: 1.8;
display: block;
}
.no-face-btn {
width: 100%;
height: 96rpx;
background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
border-radius: 48rpx;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 8rpx 24rpx rgba(230, 57, 70, 0.3);
}
.no-face-btn-text {
font-size: 32rpx;
font-weight: 600;
color: #fff;
}
/* ========== 盖洛普优势卡片 ========== */
.gallup-list {
display: flex;
flex-direction: column;
gap: 20rpx;
margin-top: 12rpx;
}
.gallup-item {
display: flex;
align-items: center;
gap: 24rpx;
padding: 18rpx 24rpx;
background: linear-gradient(135deg, rgba(230, 57, 70, 0.06) 0%, rgba(255, 107, 157, 0.04) 100%);
border-radius: 16rpx;
border-left: 6rpx solid #e63946;
}
.gallup-rank {
width: 56rpx;
height: 56rpx;
border-radius: 50%;
background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
display: flex;
align-items: center;
justify-content: center;
font-size: 28rpx;
font-weight: 700;
color: #fff;
flex-shrink: 0;
text-align: center;
line-height: 56rpx;
}
.gallup-text {
font-size: 30rpx;
font-weight: 600;
color: #1a1a2e;
}
/* ========== 企业版:职业画像 / HR视角 / 老板视角 ========== */
.enterprise-section {
margin-bottom: 24rpx;
}
.enterprise-section:last-child {
margin-bottom: 0;
}
.enterprise-label {
font-size: 26rpx;
font-weight: 600;
color: #333;
display: block;
margin-bottom: 12rpx;
}
.enterprise-sublabel {
font-size: 24rpx;
color: #888;
display: block;
margin-bottom: 8rpx;
}
.enterprise-tags {
display: flex;
flex-wrap: wrap;
gap: 12rpx;
}
.enterprise-tag {
padding: 10rpx 20rpx;
background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
border-radius: 24rpx;
font-size: 24rpx;
color: #2e7d32;
}
.enterprise-tag.risk {
background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
color: #e65100;
}
.lifecycle-list {
display: flex;
flex-direction: column;
gap: 16rpx;
}
.lifecycle-item {
padding: 16rpx 20rpx;
background: #f8f9fa;
border-radius: 12rpx;
}
.lifecycle-key {
font-size: 24rpx;
color: #999;
display: block;
margin-bottom: 6rpx;
}
.lifecycle-val {
font-size: 26rpx;
color: #333;
line-height: 1.6;
display: block;
}
.boss-card {
border-left: 6rpx solid #1976d2;
}
.boss-headline {
font-size: 30rpx;
font-weight: 600;
color: #1a1a2e;
line-height: 1.6;
display: block;
margin-bottom: 20rpx;
}
.boss-metrics {
display: flex;
flex-wrap: wrap;
gap: 16rpx;
}
.boss-metric {
flex: 1;
min-width: 140rpx;
padding: 16rpx;
background: #f5f5f5;
border-radius: 12rpx;
text-align: center;
}
.boss-metric-label {
font-size: 22rpx;
color: #999;
display: block;
margin-bottom: 6rpx;
}
.boss-metric-value {
font-size: 28rpx;
font-weight: 600;
color: #333;
display: block;
}
.boss-metric-value.high {
color: #4caf50;
}
.boss-metric-value.medium {
color: #ff9800;
}
.boss-metric-value.low {
color: #f44336;
}