|
@@ -19,12 +19,12 @@
|
|
|
<a-spin></a-spin>
|
|
<a-spin></a-spin>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div v-if="content.length !== 0 && !is_loading" v-html="content" class="answer-content-text" />
|
|
|
|
|
|
|
+ <div v-if="content.length !== 0 && !is_loading" v-html="content" class="answer-content-text"></div>
|
|
|
<div class="mind-map" v-if="mind_map_btn">
|
|
<div class="mind-map" v-if="mind_map_btn">
|
|
|
<a-button class="mind-map-btn" @click="toShowMindMap" :loading="loading_mind_map">
|
|
<a-button class="mind-map-btn" @click="toShowMindMap" :loading="loading_mind_map">
|
|
|
<img width="14px" style="margin-right: 10px" src="../../assets/chat/mind_map1.png" alt="" />
|
|
<img width="14px" style="margin-right: 10px" src="../../assets/chat/mind_map1.png" alt="" />
|
|
|
- <!-- {{ $t('conversation.mindmap_title') }} -->
|
|
|
|
|
- 思维导图
|
|
|
|
|
|
|
+ {{ $t('conversation.mindmap_title') }}
|
|
|
|
|
+ <!-- 思维导图 -->
|
|
|
<span v-if="!loading_mind_map" style="margin-left: 5px"> > </span>
|
|
<span v-if="!loading_mind_map" style="margin-left: 5px"> > </span>
|
|
|
</a-button>
|
|
</a-button>
|
|
|
</div>
|
|
</div>
|
|
@@ -129,4 +129,19 @@ const toShowMindMap = () => {
|
|
|
.mind-map-btn {
|
|
.mind-map-btn {
|
|
|
border-radius: 8px;
|
|
border-radius: 8px;
|
|
|
}
|
|
}
|
|
|
|
|
+.answer-content-text table {
|
|
|
|
|
+ border-collapse: collapse; /* 确保表格边框合并 */
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.answer-content-text table,
|
|
|
|
|
+.answer-content-text th,
|
|
|
|
|
+.answer-content-text td {
|
|
|
|
|
+ border: 1px solid black; /* 设置边框颜色和样式 */
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.answer-content-text th,
|
|
|
|
|
+.answer-content-text td {
|
|
|
|
|
+ padding: 8px; /* 可选,设置单元格内边距 */
|
|
|
|
|
+ text-align: left; /* 可选,设置文本对齐方式 */
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|