feat(aihr): align figma pages for release

This commit is contained in:
2026-07-14 02:04:36 +08:00
parent 922fe7ff29
commit 87360a25d3
51 changed files with 3575 additions and 629 deletions
+95 -68
View File
@@ -774,11 +774,12 @@ onShow(() => {
.practice-head::after {
position: absolute;
right: 28px;
bottom: 24px;
width: 56px;
height: 3px;
background: #e70014;
right: 20px;
bottom: 20px;
width: 42px;
height: 4px;
border-radius: 4px;
background: var(--employee-primary);
content: '';
}
@@ -1058,7 +1059,7 @@ onShow(() => {
}
.dialogue-card {
border-color: #f0dfe0;
border-color: #dbe7ff;
box-shadow: var(--employee-card-shadow);
}
@@ -1120,19 +1121,19 @@ onShow(() => {
}
.emotion-fill {
background: #e45757;
background: #6f9cff;
}
.trust-fill {
background: #d51b2b;
background: #2f6bff;
}
.red-flag {
padding: 9px 10px;
border-left: 3px solid #e70014;
border-left: 3px solid #f59e0b;
border-radius: 4px;
background: #fff2f3;
color: #bd0010;
background: #fff7e6;
color: #a15c00;
font-size: 13px;
font-weight: 800;
line-height: 1.45;
@@ -1162,19 +1163,19 @@ onShow(() => {
}
.turn-row.trainee {
border-left-color: #e70014;
background: #fff6f6;
border-left-color: #2f6bff;
background: #eef4ff;
}
.turn-row.coach {
border-left-color: #d98282;
background: #fff5f5;
border-left-color: #8bb1ff;
background: #f4f7ff;
}
.reply-actions button.recording-active {
border-color: #e70014;
background: #fff5f5;
color: #e70014;
border-color: #2f6bff;
background: #eef4ff;
color: #2f6bff;
}
.turn-role {
@@ -1198,9 +1199,9 @@ onShow(() => {
.style-chip {
width: auto;
border-color: #f0c8ca;
border-color: #c9d9ff;
background: #ffffff;
color: #d51b2b;
color: #2f6bff;
}
.reply-card {
@@ -1210,7 +1211,7 @@ onShow(() => {
.practice-textarea {
min-height: 124px;
border-color: #f0dfe0;
border-color: #dbe7ff;
border-radius: 18px;
background: #f9fbff;
}
@@ -1230,8 +1231,8 @@ onShow(() => {
.help-ref {
padding: 5px 8px;
border-radius: 5px;
background: #fff1f2;
color: #d51b2b;
background: #eef4ff;
color: #2f6bff;
font-size: 12px;
font-weight: 800;
}
@@ -1243,7 +1244,7 @@ onShow(() => {
}
.result-score {
color: #e52323;
color: #2f6bff;
font-size: 44px;
font-weight: 900;
line-height: 1;
@@ -1261,55 +1262,56 @@ onShow(() => {
flex-direction: column;
gap: 6px;
padding: 12px;
border-left: 3px solid #e52323;
border-left: 3px solid #2f6bff;
border-radius: 6px;
background: #fff6f6;
background: #eef4ff;
}
.mentor-rewrite text:first-child {
color: #c71927;
color: #2f6bff;
font-weight: 900;
}
/* 练页入口态:对应高保真原型,真实对话状态仍沿用下方业务面板 */
/* 练页入口态:与员工端蓝白轻卡片体系保持一致 */
.practice-page {
padding: 0 18px 104px;
background: #fafafa;
padding: 0 16px 108px;
background: linear-gradient(180deg, var(--employee-bg-soft) 0%, var(--employee-bg) 100%);
}
.practice-head {
margin: 0 -18px;
padding: 36px 18px 26px;
background: #ffffff;
text-align: center;
margin: 0 -16px;
padding: 30px 20px 24px;
border-bottom: 1px solid var(--employee-line);
background: linear-gradient(180deg, #eef4ff 0%, #f5f8fd 100%);
text-align: left;
}
.practice-head::after,
.practice-eyebrow,
.practice-tip {
display: none;
display: block;
}
.practice-head .page-title {
color: #111111;
font-size: 38px;
color: var(--employee-text);
font-size: 30px;
font-weight: 900;
}
.practice-head .page-subtitle {
max-width: none;
margin-top: 8px;
color: #858991;
font-size: 16px;
color: var(--employee-muted);
font-size: 14px;
}
.scenario-card {
position: relative;
overflow: hidden;
margin-top: 18px;
margin-top: 16px;
padding: 22px 18px 18px;
border: 0;
border-radius: 20px;
border-radius: var(--employee-card-radius);
border-left: 0;
background: #ffffff;
box-shadow: 0 8px 24px rgba(24, 28, 36, 0.06);
@@ -1323,13 +1325,13 @@ onShow(() => {
}
.scenario-title {
color: #111111;
color: var(--employee-text);
font-size: 30px;
font-weight: 900;
}
.scenario-desc {
color: #858991;
color: var(--employee-muted);
font-size: 17px;
}
@@ -1340,7 +1342,7 @@ onShow(() => {
width: 42%;
height: 108px;
border-radius: 50%;
background: #fff1f2;
background: var(--employee-primary-soft);
opacity: 0.9;
}
@@ -1352,7 +1354,7 @@ onShow(() => {
height: 76px;
border-radius: 12px;
background: #ffffff;
box-shadow: 0 8px 16px rgba(231, 0, 20, 0.08);
box-shadow: 0 8px 16px rgba(47, 107, 255, 0.08);
transform: rotate(7deg);
}
@@ -1363,7 +1365,7 @@ onShow(() => {
width: 48px;
height: 6px;
border-radius: 6px;
background: #f5dfe1;
background: #dce8ff;
content: '';
}
@@ -1386,11 +1388,11 @@ onShow(() => {
align-items: center;
justify-content: center;
border-radius: 14px;
background: #ef5b61;
background: #7ba4ff;
color: #ffffff;
font-size: 19px;
letter-spacing: 3px;
box-shadow: 0 8px 14px rgba(231, 0, 20, 0.16);
box-shadow: 0 8px 14px rgba(47, 107, 255, 0.16);
}
.visual-bubble::after {
@@ -1399,7 +1401,7 @@ onShow(() => {
bottom: -7px;
width: 14px;
height: 14px;
background: #ef5b61;
background: #7ba4ff;
content: '';
transform: rotate(35deg);
}
@@ -1421,27 +1423,47 @@ onShow(() => {
justify-content: center;
gap: 4px;
padding: 8px;
border: 1px solid #f4d9da;
border: 1px solid #dce8ff;
border-radius: 12px;
background: #fffafa;
background: #f8fbff;
}
.prep-mini .prep-label {
color: #e70014;
color: var(--employee-primary);
font-size: 15px;
font-weight: 800;
}
.prep-mini text:last-child {
color: #8c8f96;
color: var(--employee-muted);
font-size: 11px;
line-height: 1.3;
}
.scenario-card .primary-button {
margin-top: 18px;
background: #e70014;
box-shadow: 0 8px 16px rgba(231, 0, 20, 0.18);
background: linear-gradient(135deg, #2f6bff, #5a8cff);
box-shadow: 0 8px 16px rgba(47, 107, 255, 0.18);
}
.login-panel {
border-left-color: var(--employee-primary);
}
.assignment-row {
border-color: #dbe7ff;
}
.assignment-row.highlighted {
border-color: #9bbaff;
background: #f4f7ff;
}
.assignment-badge,
.assignment-badge.daily,
.scenario-badge {
background: var(--employee-primary-soft);
color: var(--employee-primary);
}
.recent-panel,
@@ -1449,14 +1471,14 @@ onShow(() => {
margin-top: 14px;
padding: 18px;
border: 0;
border-radius: 20px;
border-radius: var(--employee-card-radius);
background: #ffffff;
box-shadow: 0 8px 24px rgba(24, 28, 36, 0.05);
}
.recent-link,
.daily-action-label {
color: #858991;
color: var(--employee-muted);
font-size: 14px;
}
@@ -1481,8 +1503,8 @@ onShow(() => {
justify-content: center;
margin-right: 12px;
border-radius: 50%;
background: #fff1f2;
color: #e52323;
background: var(--employee-primary-soft);
color: var(--employee-primary);
font-size: 24px;
font-weight: 800;
}
@@ -1502,7 +1524,7 @@ onShow(() => {
.recent-row .assignment-desc {
margin-top: 4px;
color: #858991;
color: var(--employee-muted);
}
.recent-arrow {
@@ -1517,7 +1539,7 @@ onShow(() => {
.daily-subtitle {
display: block;
margin-top: 4px;
color: #858991;
color: var(--employee-muted);
font-size: 14px;
}
@@ -1529,17 +1551,17 @@ onShow(() => {
gap: 5px;
margin-top: 14px;
padding: 0 14px;
border: 1px dashed #f0c8ca;
border: 1px dashed #cfe0ff;
border-radius: 14px;
background: #fffafa;
color: #858991;
background: #f8fbff;
color: var(--employee-muted);
font-size: 13px;
line-height: 1.45;
text-align: center;
}
.daily-empty text:first-child {
color: #d51b2b;
color: var(--employee-primary);
font-size: 15px;
font-weight: 800;
}
@@ -1556,13 +1578,18 @@ onShow(() => {
margin-top: 8px;
}
.daily-row .small-button {
background: linear-gradient(135deg, #2f6bff, #5a8cff);
box-shadow: 0 6px 12px rgba(47, 107, 255, 0.16);
}
.capability-strip {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0;
margin-top: 14px;
padding: 16px 8px;
border-radius: 18px;
border-radius: var(--employee-card-radius);
background: #ffffff;
box-shadow: 0 8px 24px rgba(24, 28, 36, 0.05);
}
@@ -1580,13 +1607,13 @@ onShow(() => {
}
.capability-strip text:first-child {
color: #1a1a1a;
color: var(--employee-text);
font-size: 16px;
font-weight: 800;
}
.capability-strip text:last-child {
color: #8a8d93;
color: var(--employee-muted);
font-size: 11px;
}
</style>