style: 调整复习总览操作按钮与参考文案
This commit is contained in:
@@ -12,7 +12,6 @@ export interface StandardMindMap {
|
||||
generator: "BUILTIN" | "AI" | "USER" | "USER_MERGE";
|
||||
generatorVersion?: string;
|
||||
sourceReportCount: number;
|
||||
sourceFragmentCount: number;
|
||||
generatedTime?: string;
|
||||
createdTime?: string;
|
||||
lastModifiedTime?: string;
|
||||
|
||||
+6
-3
@@ -38,20 +38,23 @@ a:hover {
|
||||
/* 按钮操作区统一规范:窄屏下操作按钮纵向全宽 */
|
||||
.action-row .el-button,
|
||||
.edit-actions .el-button,
|
||||
.fragment-edit-actions .el-button {
|
||||
.fragment-edit-actions .el-button,
|
||||
.task-actions .el-button {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.action-row,
|
||||
.edit-actions,
|
||||
.fragment-edit-actions {
|
||||
.fragment-edit-actions,
|
||||
.task-actions {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.action-row .el-button,
|
||||
.edit-actions .el-button,
|
||||
.fragment-edit-actions .el-button {
|
||||
.fragment-edit-actions .el-button,
|
||||
.task-actions .el-button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -89,7 +89,6 @@ onMounted(() => {
|
||||
v-for="row in tasks"
|
||||
:key="row.taskNum"
|
||||
class="surface-card task-card"
|
||||
@click="openTaskReview(row)"
|
||||
>
|
||||
<div class="task-head">
|
||||
<strong>{{ row.taskName }}</strong>
|
||||
@@ -107,15 +106,15 @@ onMounted(() => {
|
||||
type="success"
|
||||
size="small"
|
||||
:loading="openingTaskNum === row.taskNum"
|
||||
@click.stop="openTaskReview(row)"
|
||||
@click="openTaskReview(row)"
|
||||
>
|
||||
查看记录
|
||||
</el-button>
|
||||
<el-button
|
||||
text
|
||||
class="recall-button"
|
||||
type="success"
|
||||
size="small"
|
||||
@click.stop="router.push(`/review/recall/${row.taskNum}`)"
|
||||
@click="router.push(`/review/recall/${row.taskNum}`)"
|
||||
>
|
||||
回忆复习
|
||||
</el-button>
|
||||
@@ -172,7 +171,6 @@ onMounted(() => {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.task-head strong {
|
||||
@@ -193,6 +191,8 @@ onMounted(() => {
|
||||
|
||||
.task-actions {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
@@ -201,4 +201,10 @@ onMounted(() => {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.task-actions .recall-button {
|
||||
order: -1;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -541,7 +541,7 @@ onMounted(() => {
|
||||
<div v-else-if="standardExpanded" class="standard-content">
|
||||
<div class="standard-meta">
|
||||
<span>来源:{{ standard.generator }}</span>
|
||||
<span>参考:{{ standard.sourceReportCount }} 份报告 + {{ standard.sourceFragmentCount }} 份残片</span>
|
||||
<span>参考:{{ standard.sourceReportCount }} 份学习报告</span>
|
||||
</div>
|
||||
<p v-if="!focusPath && !hasCompared" class="select-hint">
|
||||
点击导图节点即可选择复习起点,选好后凭记忆在上方补全知识点。
|
||||
|
||||
Reference in New Issue
Block a user