refactor(views): 优化考试分析视图格式
This commit is contained in:
parent
9be5af017f
commit
4119982525
|
|
@ -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.\nA:fox\nB:foxes\nC:fox\'s\nD:foxes\''">
|
||||
<button
|
||||
class="example-btn"
|
||||
@click="
|
||||
textInput =
|
||||
'A ______ is a small, clever animal with a red coat.\nA:fox\nB:foxes\nC:fox\'s\nD:foxes\''
|
||||
"
|
||||
>
|
||||
示例试题
|
||||
</button>
|
||||
</div>
|
||||
|
|
@ -795,7 +809,6 @@ onUnmounted(() => {
|
|||
backdrop-filter: blur(12px);
|
||||
}
|
||||
|
||||
|
||||
/* Tabs */
|
||||
.tabs {
|
||||
display: flex;
|
||||
|
|
|
|||
Loading…
Reference in New Issue