style(frontend): 优化 AI 分析结果弹窗样式

-调整弹窗高度为480px,增加垂直空间
- 设置 Markdown 预览区域高度为 380px,确保内容显示完整
-移除不必要的 previewTheme 属性,直接使用 theme 属性
This commit is contained in:
spark 2025-01-17 15:19:46 +08:00
parent ccbb835c83
commit af3f2b03dc

View File

@ -522,8 +522,8 @@ function getHeight() {
<n-image :src="data.kURL" /> <n-image :src="data.kURL" />
</n-modal> </n-modal>
<n-modal transform-origin="center" v-model:show="modalShow4" preset="card" style="width: 800px;height: 400px" :title="'['+data.name+']AI分析结果'" > <n-modal transform-origin="center" v-model:show="modalShow4" preset="card" style="width: 800px;height: 480px" :title="'['+data.name+']AI分析结果'" >
<MdPreview :modelValue="data.airesult" :previewTheme="'dark'"/> <MdPreview style="height: 380px" :modelValue="data.airesult" :theme="'dark'"/>
</n-modal> </n-modal>
</template> </template>