This commit is contained in:
2026-01-30 15:15:31 +08:00
parent 1ad05f016a
commit beee2ec54b
11 changed files with 255 additions and 193 deletions

View File

@@ -1298,7 +1298,7 @@
<span slot="label" class="title" :style="v.color ? `color:${v.color}` : ''">
{{ `${i + 1}. ${v.topic} : ` }}
</span>
<div style="">
<div style="" v-if="v.value!='hotspot'">
<div
style="color: #333; width: calc(100% - 180px); margin-left: 180px"
v-if="v.parameter && v.parameter.length > 0"
@@ -1349,6 +1349,58 @@
</template>
</div>
<div style="color: #888; line-height: 22px" v-if="v.explanationValue">
<p
:class="{ 'short-content': !v.showFullContent }"
@click="toggleContent1(i)"
style="margin-top: 0; cursor: pointer; color: #888"
>
<span>{{ $t('aiReview.Explain') }} : </span> {{ currentArticleData.ai_review[v.explanationValue] }}
</p>
</div>
</div>
<div style="" v-else>
<div
style="color: #333; width: calc(100% - 180px); margin-left: 180px"
v-if=" currentArticleData.ai_review[v.value] && currentArticleData.ai_review[v.value].length > 0"
>
<div label="``" v-for="(item, index) in currentArticleData.ai_review[v.value]">
<span class="title" style="" :style="item.color ? `color:${item.color}` : ''">
{{ `(${index + 1}) 领域 : ${item['领域']} ` }}
</span>
<div style="">
<div style="color: #333">
是否热点 : 【{{item['是否热点'] }}】
<div v-if="item['解释说明']">
<div>
<p
:class="{ 'short-content': !item.showFullContent }"
@click="toggleContent2(i, index)"
style="margin-top: 0; cursor: pointer; color: #888; line-height: 22px"
>
<span>{{ $t('aiReview.Explain') }} : </span>
{{ item['解释说明'] }}
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="color: #333" v-else>
<template v-if="v.isShowSign == 1"> 【{{ currentArticleData.ai_review[v.value] }}】 </template>
<template v-else>
{{ currentArticleData.ai_review[v.value] }}
</template>
</div>
<div style="color: #888; line-height: 22px" v-if="v.explanationValue">
<p
:class="{ 'short-content': !v.showFullContent }"
@@ -2076,7 +2128,7 @@ export default {
ai_review: ''
};
if (res.data) {
this.currentArticleData.ai_review = res.data;
this.currentArticleData.ai_review = {...res.data, hotspot: res.data.hotspot?JSON.parse(res.data.hotspot):''};
var aiReview = {};
if (this.currentArticleData.ai_review.journal_scope_assessment == '') {
aiReview = {
@@ -2108,6 +2160,8 @@ export default {
};
}
this.aiReview[0] = aiReview;
}
})
.catch((err) => {