refactor(views): 优化考试分析视图格式

This commit is contained in:
cc 2026-03-24 11:03:38 +08:00
parent 9be5af017f
commit 4119982525
1 changed files with 17 additions and 4 deletions

View File

@ -3,7 +3,15 @@ import { ref, computed, onUnmounted } from "vue";
import { useRouter } from "vue-router";
import axios from "axios";
import { GRS_API_KEY, EXAM_API_URL, EXAM_MODEL, EXAM_TEMPERATURE, EXAM_MAX_TOKENS, IMAGE_MAX_SIZE_MB, IMAGE_ALLOWED_TYPES_EXAM } from "@/config/index.js";
import {
GRS_API_KEY,
EXAM_API_URL,
EXAM_MODEL,
EXAM_TEMPERATURE,
EXAM_MAX_TOKENS,
IMAGE_MAX_SIZE_MB,
IMAGE_ALLOWED_TYPES_EXAM,
} from "@/config/index.js";
const router = useRouter();
@ -20,7 +28,7 @@ const SYSTEM_PROMPT = `你是一位专业的英语教师,请对以下英语试
识别本题考查的语法点词汇点语言技能等核心考点
## 解题思路
详细说明解题步骤和方法帮助学生理解解题过程
详细说明解题步骤和方法帮助学生理解解题过程思路讲解需符合中学生思维逻辑
## 正确答案
给出正确答案如有选项请标明选项字母
@ -361,7 +369,13 @@ onUnmounted(() => {
<!-- Text Input -->
<div v-if="activeTab === 'text'" class="tab-content">
<div class="text-input-header">
<button class="example-btn" @click="textInput = 'A ______ is a small, clever animal with a red coat.\nAfox\nBfoxes\nCfox\'s\nDfoxes\''">
<button
class="example-btn"
@click="
textInput =
'A ______ is a small, clever animal with a red coat.\nAfox\nBfoxes\nCfox\'s\nDfoxes\''
"
>
示例试题
</button>
</div>
@ -795,7 +809,6 @@ onUnmounted(() => {
backdrop-filter: blur(12px);
}
/* Tabs */
.tabs {
display: flex;