|
@@ -33,7 +33,8 @@
|
|
|
<div class="w-full content-html" v-html="detail.content"></div>
|
|
|
<div class="w-full flex justify-between pt-6 bt-1px_#EBEBEB color-[#999898]">
|
|
|
<div class="prev flex flex-col">
|
|
|
- <span class="flex-1 text-align-left">
|
|
|
+ <span class="flex-1 text-align-left" :class="{ articleNear: articleNear[0] }"
|
|
|
+ @click="handleToArticle(articleNear[0])">
|
|
|
{{ $t('prev_article') }} </span>
|
|
|
<span class="flex-1 articleNear" v-if="articleNear[0]" @click="handleToArticle(articleNear[0])">
|
|
|
{{ articleNear[0].title }}
|
|
@@ -44,7 +45,8 @@
|
|
|
|
|
|
</div>
|
|
|
<div class="next flex flex-col ">
|
|
|
- <span class="flex-1 text-align-right">
|
|
|
+ <span class="flex-1 text-align-right" :class="{ articleNear: articleNear[1] }"
|
|
|
+ @click="handleToArticle(articleNear[1])">
|
|
|
{{ $t('next_article') }}
|
|
|
</span>
|
|
|
<span class="flex-1 articleNear" v-if="articleNear[1]" @click="handleToArticle(articleNear[1])">
|