|
@@ -11,12 +11,14 @@
|
|
|
<div class="farmer">
|
|
|
<h3 v-if="pageData[0].cid">
|
|
|
<NuxtLink
|
|
|
- v-if="pageData[0].cid"
|
|
|
- :href="getLinkPath(pageData[0])"
|
|
|
- class="active"
|
|
|
- :title="pageData[0].alias"
|
|
|
- >
|
|
|
- {{ pageData[0].alias }}
|
|
|
+ :to="{ path: `/newsList/${pageData[0].cid}`}"
|
|
|
+ v-if="pageData[0]&&pageData[0].children_count==0" class="active" :title="pageData[0].alias">
|
|
|
+ {{pageData[0].alias}}
|
|
|
+ </NuxtLink>
|
|
|
+ <NuxtLink
|
|
|
+ :to="{ path: `/xinnongcun11/${pageData[0].cid}`}"
|
|
|
+ v-else-if="pageData[0]&&pageData[0].children_count!=0" class="active" :title="pageData[0].alias">
|
|
|
+ {{pageData[0].alias}}
|
|
|
</NuxtLink>
|
|
|
<NuxtLink
|
|
|
v-if="pageData[0].cid"
|
|
@@ -2372,8 +2374,8 @@ if(setData.code == 200){
|
|
|
useSeoMeta({
|
|
|
title: seoTitle + "_" + seoSuffix,
|
|
|
meta: [
|
|
|
- { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix },
|
|
|
- { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix }
|
|
|
+ { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
|
|
|
+ { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
|
|
|
]
|
|
|
});
|
|
|
}else{
|