feat: 首页下方剧本评测展示页替换为ScriptReviewShowcase,团队token监控替换为ModelGenerationShowcase

This commit is contained in:
OmniAI Developer
2026-06-02 22:45:16 +08:00
parent d4d8cc528d
commit 1cac62d14a
7 changed files with 2150 additions and 12 deletions
+478
View File
@@ -0,0 +1,478 @@
/* ===== Script Review Showcase ===== */
.omni-script-review-showcase {
display: flex;
flex-direction: column;
gap: 8px;
width: 100%;
height: 100%;
padding: 10px 12px;
background: #0a0b12;
color: #eeeef6;
font-family: "Inter", "Noto Sans SC", sans-serif;
overflow: hidden;
}
/* Score Hero */
.srs-score-hero {
display: flex;
align-items: center;
gap: 12px;
padding: 8px 14px;
border-radius: 12px;
background: rgba(20, 22, 52, 0.85);
border: 1px solid rgba(0, 255, 136, 0.14);
flex: 0 0 auto;
position: relative;
overflow: hidden;
}
.srs-score-hero::before {
content: "";
position: absolute;
inset: -1px;
border-radius: 13px;
background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(79, 195, 247, 0.12));
z-index: -1;
opacity: 0.5;
filter: blur(1px);
}
.srs-score-left {
display: flex;
align-items: center;
gap: 10px;
}
.srs-score-circle {
width: 52px;
height: 52px;
border-radius: 50%;
background: conic-gradient(#00ff88 0deg, #00ff88 calc(77 * 3.6deg), rgba(255, 255, 255, 0.06) calc(77 * 3.6deg));
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
box-shadow: 0 0 20px rgba(0, 255, 136, 0.15);
animation: srs-glow 3s ease-in-out infinite;
}
@keyframes srs-glow {
0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.15); }
50% { box-shadow: 0 0 30px rgba(0, 255, 136, 0.25); }
}
.srs-score-circle-inner {
width: 42px;
height: 42px;
border-radius: 50%;
background: rgba(20, 22, 52, 0.95);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.srs-score-num {
font-size: 18px;
font-weight: 900;
line-height: 1;
}
.srs-score-den {
font-size: 8px;
color: rgba(150, 155, 185, 0.45);
font-weight: 500;
}
.srs-score-meta {
text-align: left;
}
.srs-score-grade {
font-size: 16px;
font-weight: 900;
color: #00ff88;
line-height: 1;
text-shadow: 0 0 16px rgba(0, 255, 136, 0.3);
}
.srs-score-tags {
display: flex;
gap: 4px;
margin-top: 4px;
}
.srs-score-tag {
padding: 1px 6px;
border-radius: 4px;
font-size: 7px;
font-weight: 600;
background: rgba(0, 255, 136, 0.08);
color: #00ff88;
border: 1px solid rgba(0, 255, 136, 0.12);
}
.srs-score-divider {
width: 1px;
height: 40px;
background: linear-gradient(transparent, rgba(255, 255, 255, 0.08), transparent);
flex-shrink: 0;
}
.srs-score-right {
flex: 1;
min-width: 0;
}
.srs-score-proj {
font-size: 9px;
color: rgba(150, 155, 185, 0.45);
margin-bottom: 3px;
font-weight: 500;
}
.srs-score-summary {
font-size: 10px;
line-height: 1.55;
color: rgba(190, 195, 220, 0.72);
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
/* Chart Card */
.srs-chart-card {
padding: 8px 12px;
border-radius: 12px;
background: rgba(20, 22, 52, 0.85);
border: 1px solid rgba(0, 255, 136, 0.14);
flex: 1;
display: flex;
flex-direction: column;
min-height: 0;
}
.srs-chart-title {
font-size: 8px;
font-weight: 700;
color: rgba(190, 195, 220, 0.72);
margin-bottom: 6px;
letter-spacing: 1px;
text-transform: uppercase;
}
.srs-chart-body {
display: flex;
align-items: flex-end;
gap: 10px;
flex: 1;
padding-bottom: 2px;
}
.srs-chart-col {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
height: 100%;
}
.srs-chart-bar-wrap {
flex: 1;
width: 100%;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
position: relative;
}
.srs-chart-bar-bg {
width: 100%;
max-width: 42px;
position: absolute;
bottom: 0;
border-radius: 6px 6px 0 0;
background: rgba(255, 255, 255, 0.04);
}
.srs-chart-bar-fill {
width: 100%;
max-width: 42px;
border-radius: 6px 6px 0 0;
background: linear-gradient(180deg, rgba(0, 255, 136, 0.75), #00ff88);
box-shadow: 0 0 10px rgba(0, 255, 136, 0.12);
height: 0;
transition: height 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
position: relative;
}
.srs-chart-bar-fill.is-perfect {
background: linear-gradient(180deg, #00ff88, rgba(0, 255, 136, 0.85));
box-shadow: 0 0 14px rgba(0, 255, 136, 0.3);
}
.srs-chart-bar-fill.is-low {
background: linear-gradient(180deg, rgba(255, 165, 2, 0.65), rgba(255, 165, 2, 0.35));
box-shadow: 0 0 10px rgba(255, 165, 2, 0.12);
}
.srs-chart-bar-score {
position: absolute;
top: -16px;
left: 50%;
transform: translateX(-50%);
font-size: 10px;
font-weight: 900;
white-space: nowrap;
}
.srs-chart-bar-sub {
font-size: 7px;
color: rgba(150, 155, 185, 0.45);
font-weight: 400;
}
.srs-chart-bar-star {
color: #00ff88;
font-size: 8px;
margin-left: 1px;
}
.srs-chart-col-label {
text-align: center;
}
.srs-chart-col-name {
font-size: 9px;
font-weight: 700;
color: #eeeef6;
line-height: 1.3;
}
.srs-chart-col-desc {
font-size: 7px;
color: rgba(150, 155, 185, 0.45);
margin-top: 1px;
line-height: 1.3;
}
/* Triple Section */
.srs-triple-section {
display: flex;
gap: 7px;
flex: 0 0 auto;
}
.srs-section-card {
flex: 1;
padding: 8px 10px;
border-radius: 10px;
position: relative;
overflow: hidden;
transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.srs-section-card:hover {
transform: translateY(-2px);
}
.srs-section-card.is-highlight {
background: rgba(0, 255, 136, 0.03);
border: 1px solid rgba(0, 255, 136, 0.1);
}
.srs-section-card.is-highlight::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, #00ff88, rgba(0, 255, 136, 0.3));
border-radius: 10px 10px 0 0;
}
.srs-section-card.is-highlight:hover {
border-color: rgba(0, 255, 136, 0.22);
box-shadow: 0 6px 24px rgba(0, 255, 136, 0.08);
}
.srs-section-card.is-weakness {
background: rgba(255, 71, 87, 0.02);
border: 1px solid rgba(255, 71, 87, 0.08);
}
.srs-section-card.is-weakness::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, #ff4757, rgba(255, 71, 87, 0.3));
border-radius: 10px 10px 0 0;
}
.srs-section-card.is-weakness:hover {
border-color: rgba(255, 71, 87, 0.2);
box-shadow: 0 6px 24px rgba(255, 71, 87, 0.06);
}
.srs-section-card.is-optimize {
background: rgba(79, 195, 247, 0.02);
border: 1px solid rgba(79, 195, 247, 0.08);
}
.srs-section-card.is-optimize::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, #4fc3f7, rgba(79, 195, 247, 0.3));
border-radius: 10px 10px 0 0;
}
.srs-section-card.is-optimize:hover {
border-color: rgba(79, 195, 247, 0.2);
box-shadow: 0 6px 24px rgba(79, 195, 247, 0.06);
}
.srs-section-header {
display: flex;
align-items: center;
gap: 5px;
margin-bottom: 5px;
}
.srs-section-icon {
width: 16px;
height: 16px;
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
font-size: 8px;
}
.is-highlight .srs-section-icon { background: rgba(0, 255, 136, 0.12); }
.is-weakness .srs-section-icon { background: rgba(255, 71, 87, 0.12); }
.is-optimize .srs-section-icon { background: rgba(79, 195, 247, 0.12); }
.srs-section-label {
font-size: 10px;
font-weight: 800;
letter-spacing: 0.5px;
}
.is-highlight .srs-section-label { color: #00ff88; }
.is-weakness .srs-section-label { color: #ff4757; }
.is-optimize .srs-section-label { color: #4fc3f7; }
.srs-section-list {
display: flex;
flex-direction: column;
gap: 3px;
}
.srs-section-item {
padding: 4px 6px;
border-radius: 6px;
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.03);
transition: all 0.2s;
}
.srs-section-item:hover {
background: rgba(255, 255, 255, 0.04);
}
.srs-section-item-head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 2px;
}
.srs-section-item-dim {
font-size: 9px;
font-weight: 700;
color: #eeeef6;
}
.srs-section-item-score {
font-size: 8px;
font-weight: 700;
}
.srs-section-item-score.is-green { color: #00ff88; }
.srs-section-item-score.is-red { color: #ff4757; }
.srs-section-item-text {
font-size: 8px;
line-height: 1.4;
color: rgba(150, 155, 185, 0.45);
}
.srs-section-item-badge {
font-size: 7px;
font-weight: 700;
padding: 1px 4px;
border-radius: 3px;
letter-spacing: 0.3px;
}
.srs-section-item-badge.badge-red {
background: rgba(255, 71, 87, 0.1);
color: #ff4757;
}
.srs-section-item-badge.badge-orange {
background: rgba(255, 165, 2, 0.1);
color: #ffa502;
}
@media (max-width: 980px) {
.omni-script-review-showcase {
padding: 8px;
gap: 6px;
}
.srs-score-hero {
flex-wrap: wrap;
gap: 8px;
}
.srs-score-divider {
display: none;
}
.srs-triple-section {
flex-direction: column;
gap: 4px;
}
}
@media (max-width: 560px) {
.srs-score-circle {
width: 40px;
height: 40px;
}
.srs-score-circle-inner {
width: 32px;
height: 32px;
}
.srs-score-num {
font-size: 14px;
}
.srs-chart-body {
gap: 6px;
}
}