@@ -9,6 +9,10 @@ defineProps<{
|
|||||||
<template>
|
<template>
|
||||||
<n-flex align="center">
|
<n-flex align="center">
|
||||||
<span>{{ problem.title }}</span>
|
<span>{{ problem.title }}</span>
|
||||||
<Icon v-if="problem.allow_flowchart" width="18" icon="vscode-icons:file-type-drawio" />
|
<Icon
|
||||||
|
v-if="problem.allow_flowchart"
|
||||||
|
width="18"
|
||||||
|
icon="vscode-icons:file-type-drawio"
|
||||||
|
/>
|
||||||
</n-flex>
|
</n-flex>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -275,17 +275,15 @@ onUnmounted(() => {
|
|||||||
</n-button>
|
</n-button>
|
||||||
|
|
||||||
<!-- 流程图评分详情模态框 -->
|
<!-- 流程图评分详情模态框 -->
|
||||||
<n-modal
|
<n-modal v-model:show="showDetailModal" preset="card" style="width: 1000px">
|
||||||
v-model:show="showDetailModal"
|
<template #header>
|
||||||
preset="card"
|
<n-flex align="center">
|
||||||
style="width: 1000px"
|
<n-text>流程图评分详情</n-text>
|
||||||
>
|
<n-text :type="getGradeType(modalRating.grade)">
|
||||||
<template #header>
|
{{ modalRating.score }}分 {{ modalRating.grade }}级
|
||||||
<n-flex align="center">
|
</n-text>
|
||||||
<n-text>流程图评分详情</n-text>
|
</n-flex>
|
||||||
<n-text :type="getGradeType(modalRating.grade)">{{ modalRating.score }}分 {{ modalRating.grade }}级</n-text>
|
</template>
|
||||||
</n-flex>
|
|
||||||
</template>
|
|
||||||
<n-grid :cols="5" :x-gap="16">
|
<n-grid :cols="5" :x-gap="16">
|
||||||
<!-- 左侧:流程图预览区域 -->
|
<!-- 左侧:流程图预览区域 -->
|
||||||
<n-gi :span="3">
|
<n-gi :span="3">
|
||||||
|
|||||||
Reference in New Issue
Block a user