style(mobile): 优化候选人和成长页视觉细节

统一候选人、主管、案例、学习和我的成长页面中的状态色、徽标与摘要卡样式,不改变原有数据流和交互逻辑。
This commit is contained in:
2026-07-11 01:13:57 +08:00
parent 78859899f3
commit 19788bedb0
6 changed files with 158 additions and 52 deletions
+6 -1
View File
@@ -27,7 +27,7 @@
<view v-else class="panel">
<text class="panel-title">提交素材</text>
<view class="file-box">
<view class="file-box" :class="{ 'has-file': Boolean(selectedFile) }">
<text class="file-title">{{ selectedFile?.name || '未选择音频' }}</text>
<text class="file-desc">{{ selectedFile ? formatSize(selectedFile.size) : '支持 mp3 / wav / m4a / webm 等音频' }}</text>
</view>
@@ -273,6 +273,11 @@ onShow(() => {
background: #f8fafc;
}
.file-box.has-file {
border-color: #168243;
background: #f2f8f4;
}
.file-title,
.file-desc,
.case-content,