diff --git a/mobile-uni/src/pages/user/learning/index.vue b/mobile-uni/src/pages/user/learning/index.vue index be35aa27..c378faed 100644 --- a/mobile-uni/src/pages/user/learning/index.vue +++ b/mobile-uni/src/pages/user/learning/index.vue @@ -97,8 +97,8 @@ 今日任务 - @@ -128,7 +128,13 @@ - 暂无今日任务 + + + + + 暂无待完成任务 + 今日练习任务已全部搞定,保持优秀! + @@ -141,22 +147,27 @@ 低分与违规自动归集 - - - - + + + + + + + + @@ -185,8 +196,12 @@ {{ showAllMistakes ? '收起 ▲' : `展开全部 ${visibleMistakes.length} 条 ▼` }} - - {{ mistakes.length ? '当前归因筛选暂无错题' : '完成训练后,低分和红线回合会自动出现在这里' }} + + + + + 表现优异 + {{ mistakes.length ? '当前归因筛选下暂无错题' : '完成对练后,低分和红线回合将归集于此' }} @@ -200,8 +215,8 @@ 岗位 SOP 知识库 - @@ -260,7 +275,13 @@ {{ snippetExcerpt(snippet.content) }} - 知识库暂未命中可引用内容 + + + + + 知识空间提示 + 知识库暂未命中可引用内容,欢迎咨询师傅! + @@ -270,8 +291,8 @@ 训练前预习卡 - @@ -309,7 +330,13 @@ {{ showPrepDetail ? '收起 ▲' : '展开红线与推荐话术 ▼' }} - 暂无可用预习卡 + + + + + 预习准备 + 暂无可用预习卡,可直接开启实操对练! + @@ -322,8 +349,8 @@ 上岗资格 - @@ -348,7 +375,9 @@ 岗位考试与自动评分 - + @@ -363,7 +392,13 @@ - 暂无考试任务 + + + + + 暂无考试任务 + 经理或主管发布考试后将出现在这里 + @@ -376,8 +411,8 @@ 组织系统已派发的任务 - @@ -400,7 +435,13 @@ - 暂无正式岗前/入职任务 + + + + + 暂无岗前派发任务 + 等待 HR 或组织系统派发正式任务 + @@ -1385,6 +1426,110 @@ onUnload(invalidateRequests); color: #ffffff; } +.icon-refresh-btn { + display: flex; + align-items: center; + justify-content: center; + width: 32px; + height: 32px; + border-radius: 50%; + background: #f1f5f9; + border: none; + padding: 0; + flex: none; + transition: background 0.2s ease, transform 0.15s ease; +} + +.icon-refresh-btn:active { + background: #e2e8f0; + transform: scale(0.92); +} + +.spinning { + animation: spin 0.8s linear infinite; +} + +@keyframes spin { + from { transform: rotate(0deg); } + to { transform: rotate(360deg); } +} + +.app-empty-state { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 24px 16px; + text-align: center; +} + +.empty-icon-circle { + display: flex; + align-items: center; + justify-content: center; + width: 48px; + height: 48px; + border-radius: 50%; + background: #edf7f0; + margin-bottom: 10px; +} + +.empty-icon-circle.circle-amber { + background: #fff8e6; +} + +.empty-icon-circle.circle-blue { + background: #eff6ff; +} + +.empty-title { + font-size: 14px; + font-weight: 800; + color: #1a1a1a; + +} + +.empty-desc { + font-size: 12px; + color: #8a8d93; + margin-top: 4px; + line-height: 1.4; +} + +/* Horizontal mistake scroll view */ +.chip-scroll-view { + width: 100%; + white-space: nowrap; + margin-top: 10px; + margin-bottom: 12px; +} + +.mistake-pill-row { + display: inline-flex; + gap: 8px; + padding: 2px 0; +} + +.mistake-pill { + display: inline-flex; + align-items: center; + height: 32px; + padding: 0 12px; + border-radius: 999px; + background: #f1f3f7; + color: #64748b; + font-size: 12px; + font-weight: 700; + border: none; + white-space: nowrap; + transition: all 0.2s ease; +} + +.mistake-pill.active { + background: #d97706; + color: #ffffff; +} + .fold-toggle { display: flex; align-items: center;