mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-24 18:23:05 +08:00
feat:修改分段样式
This commit is contained in:
@@ -33,8 +33,12 @@
|
||||
<p>{{ descriptions.data[activeSegment].answer }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex align-items-c mt20" v-if="descriptions.data[activeSegment].keywords && descriptions.data[activeSegment].keywords.length">
|
||||
关键词 :
|
||||
<div
|
||||
class="flex align-items-c mt20"
|
||||
v-if="descriptions.data[activeSegment].keywords && descriptions.data[activeSegment].keywords.length"
|
||||
style="width: max-content"
|
||||
>
|
||||
<span>关键词 :</span>
|
||||
<el-tag v-for="(item, index) in descriptions.data[activeSegment].keywords" :key="index" class="mr10" size="mini" type="primary">
|
||||
{{ item }}
|
||||
</el-tag>
|
||||
@@ -90,13 +94,16 @@ export default {
|
||||
background: #f3f5f7;
|
||||
}
|
||||
p {
|
||||
margin: 10px 0;
|
||||
margin: 15px 0;
|
||||
}
|
||||
.segment-number {
|
||||
color: #0a84ff;
|
||||
}
|
||||
.segment-keywords {
|
||||
color: #606266;
|
||||
p {
|
||||
margin: 0 10px 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -21,8 +21,12 @@
|
||||
<div class="segment-detail" v-if="descriptions.data && descriptions.data.length > 0">
|
||||
<div class="segment-content" v-if="activeSegment !== null">
|
||||
{{ descriptions.data[activeSegment].content }}
|
||||
<div class="flex align-items-c mt20" v-if="descriptions.data[activeSegment].keywords && descriptions.data[activeSegment].keywords.length">
|
||||
关键词 :
|
||||
<div
|
||||
class="flex align-items-c mt20"
|
||||
v-if="descriptions.data[activeSegment].keywords && descriptions.data[activeSegment].keywords.length"
|
||||
style="width: max-content"
|
||||
>
|
||||
<span>关键词 :</span>
|
||||
<el-tag v-for="(item, index) in descriptions.data[activeSegment].keywords" :key="index" class="mr10" size="mini" type="primary">
|
||||
{{ item }}
|
||||
</el-tag>
|
||||
@@ -78,13 +82,17 @@ export default {
|
||||
background: #f3f5f7;
|
||||
}
|
||||
p {
|
||||
margin: 10px 0;
|
||||
margin: 15px 0;
|
||||
}
|
||||
.segment-number {
|
||||
color: #0a84ff;
|
||||
}
|
||||
.segment-keywords {
|
||||
color: #606266;
|
||||
flex-wrap: wrap;
|
||||
p {
|
||||
margin: 0 10px 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -75,7 +75,6 @@ export default {
|
||||
},
|
||||
getForm(form) {
|
||||
console.log(form)
|
||||
debugger
|
||||
// if (form.beMinerU) {
|
||||
// this.beMinerU()
|
||||
// } else {
|
||||
|
||||
Reference in New Issue
Block a user