fix(前端):进度环方向 + 按钮颜色 + 删除确认 + 移除 console.log

- StartTask.vue:progress 计算改为 (total-current)/total*100,进度环从
  满到空递减(正确方向)
- ReviewDetail/ReviewRecall/MindMapViewer:type="primary" 全部改为
  type="success",统一绿白主题
- Study.vue:删除任务增加 ElMessageBox.confirm 确认
- request.ts:移除全部 console.log
This commit is contained in:
2026-07-04 17:38:00 +08:00
parent 89d186c82e
commit 9c2c1b7614
5 changed files with 17 additions and 12 deletions
+2 -1
View File
@@ -81,7 +81,8 @@ const breakAudio = new Audio('/resource/notification.mp3');
const progress = computed(() => {
const total = isBreak.value ? 5 * 60 : 25 * 60;
return ((timerMinutes.value * 60 + timerSeconds.value) / total) * 100;
const current = timerMinutes.value * 60 + timerSeconds.value;
return ((total - current) / total) * 100;
});
const nowTimestamp = ref(Date.now());