Explorar el Código

紧急修正:同步商圈,修改bug

紧急修正:同步商圈,修改bug
dangyunlong hace 18 horas
padre
commit
679c20c8e3

+ 10 - 1
components/template/sector/menu/1200x130/1.vue

@@ -3,6 +3,15 @@
     <div :class="'menuStyle' + skinId">
         <div class="menuBoxBg">
             <div class="menuBox" ref="menuBox">
+                <div>
+                    <NuxtLink 
+                        href="/" 
+                        title="首页"
+                        target="_self"
+                    >
+                        首页
+                    </NuxtLink>
+                </div>
                 <div v-for="(item, index) in navigation" :key="index">
                     <NuxtLink 
                         :href="getLinkPath(item)" 
@@ -34,7 +43,7 @@ async function getNavigation() {
         method: 'GET',
         query: {
             'pid': 0,
-            'num': 24,
+            'num': 23,
             'placeid': 1
         },
     });

+ 10 - 5
pages/[dir]/[dir]/[id].vue

@@ -63,11 +63,16 @@ const responseStatus:any = await requestDataPromise('/web/getWebsiteAllinfo', {
     },
 });
 if (responseStatus.code == 200) {
-    //1.6.1设置站点基本信息
-    templateBaseStore.setWebSiteInfo(responseStatus.data)
-    websiteId.value = responseStatus.data.website_head.id;
-    //1.6.2设置皮肤id
-    skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
+    if(responseStatus.data.website_foot.foot_info.status == 1){
+        //网站模板已停用,直接转入404页面
+        navigateTo('/error?findPage=index')
+    }else{
+        //1.6.1设置站点基本信息
+        templateBaseStore.setWebSiteInfo(responseStatus.data)
+        websiteId.value = responseStatus.data.website_head.id;
+        //1.6.2设置皮肤id
+        skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
+    }
 }
 //1.获得基本信息单元 end---------------------------------------->
 

+ 10 - 5
pages/[dir]/[dir]/list-[id].vue

@@ -89,11 +89,16 @@ const responseStatus = await requestDataPromise('/web/getWebsiteAllinfo', {
     },
 });
 if (responseStatus.code == 200) {
-    //1.6.1设置站点基本信息
-    templateBaseStore.setWebSiteInfo(responseStatus.data)
-    websiteId.value = responseStatus.data.website_head.id;
-    //1.6.2设置皮肤id
-    skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
+    if(responseStatus.data.website_foot.foot_info.status == 1){
+        //网站模板已停用,直接转入404页面
+        navigateTo('/error?findPage=index')
+    }else{
+        //1.6.1设置站点基本信息
+        templateBaseStore.setWebSiteInfo(responseStatus.data)
+        websiteId.value = responseStatus.data.website_head.id;
+        //1.6.2设置皮肤id
+        skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
+    }
 }
 //1.8.seo
 const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {

+ 10 - 5
pages/[dir]/[id].vue

@@ -63,11 +63,16 @@ const responseStatus:any = await requestDataPromise('/web/getWebsiteAllinfo', {
     },
 });
 if (responseStatus.code == 200) {
-    //1.6.1设置站点基本信息
-    templateBaseStore.setWebSiteInfo(responseStatus.data)
-    websiteId.value = responseStatus.data.website_head.id;
-    //1.6.2设置皮肤id
-    skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
+    if(responseStatus.data.website_foot.foot_info.status == 1){
+        //网站模板已停用,直接转入404页面
+        navigateTo('/error?findPage=index')
+    }else{
+        //1.6.1设置站点基本信息
+        templateBaseStore.setWebSiteInfo(responseStatus.data)
+        websiteId.value = responseStatus.data.website_head.id;
+        //1.6.2设置皮肤id
+        skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
+    }
 }
 //1.获得基本信息单元 end---------------------------------------->
 

+ 10 - 5
pages/[dir]/index.html.vue

@@ -87,11 +87,16 @@ const responseStatus = await requestDataPromise('/web/getWebsiteAllinfo', {
     },
 });
 if (responseStatus.code == 200) {
-    //1.6.1设置站点基本信息
-    templateBaseStore.setWebSiteInfo(responseStatus.data)
-    websiteId.value = responseStatus.data.website_head.id;//获得网站id
-    //1.6.2设置皮肤id
-    skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
+    if(responseStatus.data.website_foot.foot_info.status == 1){
+        //网站模板已停用,直接转入404页面
+        navigateTo('/error?findPage=index')
+    }else{
+        //1.6.1设置站点基本信息
+        templateBaseStore.setWebSiteInfo(responseStatus.data)
+        websiteId.value = responseStatus.data.website_head.id;//获得网站id
+        //1.6.2设置皮肤id
+        skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
+    }
 }
 //1.7.seo
 const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {

+ 10 - 5
pages/[dir]/list-[id].vue

@@ -63,11 +63,16 @@ const responseStatus:any = await requestDataPromise('/web/getWebsiteAllinfo', {
     },
 });
 if (responseStatus.code == 200) {
-    //1.6.1设置站点基本信息
-    templateBaseStore.setWebSiteInfo(responseStatus.data)
-    websiteId.value = responseStatus.data.website_head.id;//获得网站id
-    //1.6.2设置皮肤id
-    skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
+    if(responseStatus.data.website_foot.foot_info.status == 1){
+        //网站模板已停用,直接转入404页面
+        navigateTo('/error?findPage=index')
+    }else{
+        //1.6.1设置站点基本信息
+        templateBaseStore.setWebSiteInfo(responseStatus.data)
+        websiteId.value = responseStatus.data.website_head.id;//获得网站id
+        //1.6.2设置皮肤id
+        skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
+    }
 }
 //1.6.seo
 const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {

+ 24 - 19
pages/about/[dir]/[dir]/[id].vue

@@ -51,25 +51,30 @@ const responseStatus = await requestDataPromise('/web/getWebsiteAllinfo', {
     },
 });
 if (responseStatus.code == 200) {
-    //0.3.1设置站点基本信息
-    templateBaseStore.setWebSiteInfo(responseStatus.data)
-    websiteId.value = responseStatus.data.website_head.id;//获得网站id
-    //0.3.2设置皮肤id
-    skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
-    console.log("当前的网站id:"+responseStatus.data.website_head.id)
-    //0.3.3设置seo信息
-    let seoTitle = templateBaseStore.webSiteInfo.website_head.title;
-    let seoDescription = templateBaseStore.webSiteInfo.website_head.description;
-    let seoKeywords = templateBaseStore.webSiteInfo.website_head.keywords;
-    let seoSuffix = templateBaseStore.webSiteInfo.website_head.suffix;
-    let seoName = templateBaseStore.webSiteInfo.website_head.website_name;
-    useHead({
-        title: seoTitle + "_" + seoSuffix,
-        meta: [
-            { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
-            { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
-        ]
-    });
+    if(responseStatus.data.website_foot.foot_info.status == 1){
+        //网站模板已停用,直接转入404页面
+        navigateTo('/error?findPage=index')
+    }else{
+        //0.3.1设置站点基本信息
+        templateBaseStore.setWebSiteInfo(responseStatus.data)
+        websiteId.value = responseStatus.data.website_head.id;//获得网站id
+        //0.3.2设置皮肤id
+        skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
+        console.log("当前的网站id:"+responseStatus.data.website_head.id)
+        //0.3.3设置seo信息
+        let seoTitle = templateBaseStore.webSiteInfo.website_head.title;
+        let seoDescription = templateBaseStore.webSiteInfo.website_head.description;
+        let seoKeywords = templateBaseStore.webSiteInfo.website_head.keywords;
+        let seoSuffix = templateBaseStore.webSiteInfo.website_head.suffix;
+        let seoName = templateBaseStore.webSiteInfo.website_head.website_name;
+        useHead({
+            title: seoTitle + "_" + seoSuffix,
+            meta: [
+                { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
+                { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
+            ]
+        });
+    }
 }
 //1.获得基本信息单元 end---------------------------------------->
 

+ 24 - 19
pages/about/[dir]/index.html.vue

@@ -50,25 +50,30 @@ const responseStatus = await requestDataPromise('/web/getWebsiteAllinfo', {
     },
 });
 if (responseStatus.code == 200) {
-    //0.3.1设置站点基本信息
-    templateBaseStore.setWebSiteInfo(responseStatus.data)
-    websiteId.value = responseStatus.data.website_head.id;//获得网站id
-    //0.3.2设置皮肤id
-    skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
-    console.log("当前的网站id:"+responseStatus.data.website_head.id)
-    //0.3.3设置seo信息
-    let seoTitle = templateBaseStore.webSiteInfo.website_head.title;
-    let seoDescription = templateBaseStore.webSiteInfo.website_head.description;
-    let seoKeywords = templateBaseStore.webSiteInfo.website_head.keywords;
-    let seoSuffix = templateBaseStore.webSiteInfo.website_head.suffix;
-    let seoName = templateBaseStore.webSiteInfo.website_head.website_name;
-    useHead({
-        title: seoTitle + "_" + seoSuffix,
-        meta: [
-            { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
-            { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
-        ]
-    });
+    if(responseStatus.data.website_foot.foot_info.status == 1){
+        //网站模板已停用,直接转入404页面
+        navigateTo('/error?findPage=index')
+    }else{
+        //0.3.1设置站点基本信息
+        templateBaseStore.setWebSiteInfo(responseStatus.data)
+        websiteId.value = responseStatus.data.website_head.id;//获得网站id
+        //0.3.2设置皮肤id
+        skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
+        console.log("当前的网站id:"+responseStatus.data.website_head.id)
+        //0.3.3设置seo信息
+        let seoTitle = templateBaseStore.webSiteInfo.website_head.title;
+        let seoDescription = templateBaseStore.webSiteInfo.website_head.description;
+        let seoKeywords = templateBaseStore.webSiteInfo.website_head.keywords;
+        let seoSuffix = templateBaseStore.webSiteInfo.website_head.suffix;
+        let seoName = templateBaseStore.webSiteInfo.website_head.website_name;
+        useHead({
+            title: seoTitle + "_" + seoSuffix,
+            meta: [
+                { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
+                { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
+            ]
+        });
+    }
 }
 //1.获得基本信息单元 end---------------------------------------->
 

+ 24 - 19
pages/about/[dir]/list-[id].vue

@@ -51,25 +51,30 @@ const responseStatus = await requestDataPromise('/web/getWebsiteAllinfo', {
     },
 });
 if (responseStatus.code == 200) {
-    //0.3.1设置站点基本信息
-    templateBaseStore.setWebSiteInfo(responseStatus.data)
-    websiteId.value = responseStatus.data.website_head.id;//获得网站id
-    //0.3.2设置皮肤id
-    skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
-    console.log("当前的网站id:"+responseStatus.data.website_head.id)
-    //0.3.3设置seo信息
-    let seoTitle = templateBaseStore.webSiteInfo.website_head.title;
-    let seoDescription = templateBaseStore.webSiteInfo.website_head.description;
-    let seoKeywords = templateBaseStore.webSiteInfo.website_head.keywords;
-    let seoSuffix = templateBaseStore.webSiteInfo.website_head.suffix;
-    let seoName = templateBaseStore.webSiteInfo.website_head.website_name;
-    useHead({
-        title: seoTitle + "_" + seoSuffix,
-        meta: [
-            { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
-            { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
-        ]
-    });
+    if(responseStatus.data.website_foot.foot_info.status == 1){
+        //网站模板已停用,直接转入404页面
+        navigateTo('/error?findPage=index')
+    }else{
+        //0.3.1设置站点基本信息
+        templateBaseStore.setWebSiteInfo(responseStatus.data)
+        websiteId.value = responseStatus.data.website_head.id;//获得网站id
+        //0.3.2设置皮肤id
+        skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
+        console.log("当前的网站id:"+responseStatus.data.website_head.id)
+        //0.3.3设置seo信息
+        let seoTitle = templateBaseStore.webSiteInfo.website_head.title;
+        let seoDescription = templateBaseStore.webSiteInfo.website_head.description;
+        let seoKeywords = templateBaseStore.webSiteInfo.website_head.keywords;
+        let seoSuffix = templateBaseStore.webSiteInfo.website_head.suffix;
+        let seoName = templateBaseStore.webSiteInfo.website_head.website_name;
+        useHead({
+            title: seoTitle + "_" + seoSuffix,
+            meta: [
+                { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
+                { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
+            ]
+        });
+    }
 }
 //1.获得基本信息单元 end---------------------------------------->
 

+ 31 - 12
pages/advertising/adDetail.vue

@@ -198,6 +198,7 @@ import { useTemplateBaseStore } from '@/stores/templateBase'
 const templateBaseStore = useTemplateBaseStore()
 //3.获得该页的皮肤id
 const skinId = ref("")
+const websiteId = ref("")
 //4.获得站点基本信息
 const responseStatus = await requestDataPromise('/web/getWebsiteAllinfo', {
     method: 'GET',
@@ -208,18 +209,24 @@ const responseStatus = await requestDataPromise('/web/getWebsiteAllinfo', {
     },
 });
 if (responseStatus.code == 200) {
-    //4.1设置站点基本信息
-    templateBaseStore.setWebSiteInfo(responseStatus.data)
-    //4.2设置皮肤id
-    skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
-    //4.3设置seo
-    useSeoMeta({
-        title: "广告服务" + "_" + "三农资讯网_全国政务信息一体化应用平台",
-        meta: [
-            { name: 'description', content: "三农资讯网以服务于党和国家各级职能部门三农政务资讯发布及政务公开信息公示为基点,为全国县级以上各级党政机关及其职能部门配置各自公开独立网络发布平台。主要频道有:三农政务资讯,农科资讯,农资购销,农产购销,农贸资讯,三农致富信息,农村文化生活,三农政策法规,三农之窗,三农调查,三农服务,三农知识,农民工,打假维权等。三农资讯网打造最具影响力的三农信息发布平台,并成为最具权威的三农资讯网。_三农资讯网-测试专用_全国政务信息一体化应用平台" , tagPriority: 10 },
-            { name: 'keywords', content: "三农资讯,农业,三农,三农在线,农业新闻,三农资讯网_三农资讯网-测试专用_全国政务信息一体化应用平台" , tagPriority: 10 }
-        ]
-    });
+    if(responseStatus.data.website_foot.foot_info.status == 1){
+        //网站模板已停用,直接转入404页面
+        navigateTo('/error?findPage=index')
+    }else{
+        //4.1设置站点基本信息
+        templateBaseStore.setWebSiteInfo(responseStatus.data)
+        websiteId.value = responseStatus.data.website_head.id;
+        //4.2设置皮肤id
+        skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
+        //4.3设置seo
+        useSeoMeta({
+            title: "广告服务" + "_" + "三农资讯网_全国政务信息一体化应用平台",
+            meta: [
+                { name: 'description', content: "三农资讯网以服务于党和国家各级职能部门三农政务资讯发布及政务公开信息公示为基点,为全国县级以上各级党政机关及其职能部门配置各自公开独立网络发布平台。主要频道有:三农政务资讯,农科资讯,农资购销,农产购销,农贸资讯,三农致富信息,农村文化生活,三农政策法规,三农之窗,三农调查,三农服务,三农知识,农民工,打假维权等。三农资讯网打造最具影响力的三农信息发布平台,并成为最具权威的三农资讯网。_三农资讯网-测试专用_全国政务信息一体化应用平台" , tagPriority: 10 },
+                { name: 'keywords', content: "三农资讯,农业,三农,三农在线,农业新闻,三农资讯网_三农资讯网-测试专用_全国政务信息一体化应用平台" , tagPriority: 10 }
+            ]
+        });
+    }
 }
 //5.获得广告池
 const adData = ref([]);
@@ -231,6 +238,18 @@ if (adResponseStatus.code == 200) {
     templateBaseStore.setAdList(adResponseStatus.data)
     adData.value = adResponseStatus.data;
 }
+//3.是否使用了搜索页
+const response = await requestDataPromise('/client/indexData', {
+    method: 'POST',
+    body: {
+        'website_id':websiteId.value,
+        'getpage':'article'
+    },
+});
+if(response.code == 200){
+    //是否启用搜索功能
+    templateBaseStore.setIsSearch(response.data.isSearch)
+}
 //自助建站 end---------------------------------------->
 </script>
 

+ 32 - 13
pages/advertising/index.vue

@@ -807,6 +807,7 @@ import { useTemplateBaseStore } from '@/stores/templateBase'
 const templateBaseStore = useTemplateBaseStore()
 //3.获得该页的皮肤id
 const skinId = ref("")
+const websiteId = ref("")
 //4.获得站点基本信息
 const responseStatus = await requestDataPromise('/web/getWebsiteAllinfo', {
     method: 'GET',
@@ -817,20 +818,26 @@ const responseStatus = await requestDataPromise('/web/getWebsiteAllinfo', {
     },
 });
 if (responseStatus.code == 200) {
-    //4.1设置站点基本信息
-    templateBaseStore.setWebSiteInfo(responseStatus.data)
-    //4.2设置皮肤id
-    skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
-    //4.3设置seo
-    useSeoMeta({
-        title: "广告服务" + "_" + "三农资讯网_全国政务信息一体化应用平台",
-        meta: [
-            { name: 'description', content: "三农资讯网以服务于党和国家各级职能部门三农政务资讯发布及政务公开信息公示为基点,为全国县级以上各级党政机关及其职能部门配置各自公开独立网络发布平台。主要频道有:三农政务资讯,农科资讯,农资购销,农产购销,农贸资讯,三农致富信息,农村文化生活,三农政策法规,三农之窗,三农调查,三农服务,三农知识,农民工,打假维权等。三农资讯网打造最具影响力的三农信息发布平台,并成为最具权威的三农资讯网。_三农资讯网-测试专用_全国政务信息一体化应用平台" , tagPriority: 10 },
-            { name: 'keywords', content: "三农资讯,农业,三农,三农在线,农业新闻,三农资讯网_三农资讯网-测试专用_全国政务信息一体化应用平台" , tagPriority: 10 }
-        ]
-    });
+    if(responseStatus.data.website_foot.foot_info.status == 1){
+        //网站模板已停用,直接转入404页面
+        navigateTo('/error?findPage=index')
+    }else{
+        //4.1设置站点基本信息
+        templateBaseStore.setWebSiteInfo(responseStatus.data)
+        websiteId.value = responseStatus.data.website_head.id;
+        //4.2设置皮肤id
+        skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
+        //4.3设置seo
+        useSeoMeta({
+            title: "广告服务" + "_" + "三农资讯网_全国政务信息一体化应用平台",
+            meta: [
+                { name: 'description', content: "三农资讯网以服务于党和国家各级职能部门三农政务资讯发布及政务公开信息公示为基点,为全国县级以上各级党政机关及其职能部门配置各自公开独立网络发布平台。主要频道有:三农政务资讯,农科资讯,农资购销,农产购销,农贸资讯,三农致富信息,农村文化生活,三农政策法规,三农之窗,三农调查,三农服务,三农知识,农民工,打假维权等。三农资讯网打造最具影响力的三农信息发布平台,并成为最具权威的三农资讯网。_三农资讯网-测试专用_全国政务信息一体化应用平台" , tagPriority: 10 },
+                { name: 'keywords', content: "三农资讯,农业,三农,三农在线,农业新闻,三农资讯网_三农资讯网-测试专用_全国政务信息一体化应用平台" , tagPriority: 10 }
+            ]
+        });
+    }
 }
-//5.获得广告池
+//2.获得广告池
 const adData = ref([]);
 const adResponseStatus = await requestDataPromise('/web/getWebsiteAdvertisement', {
     method: 'GET',
@@ -840,6 +847,18 @@ if (adResponseStatus.code == 200) {
     templateBaseStore.setAdList(adResponseStatus.data)
     adData.value = adResponseStatus.data;
 }
+//3.是否使用了搜索页
+const response = await requestDataPromise('/client/indexData', {
+    method: 'POST',
+    body: {
+        'website_id':websiteId.value,
+        'getpage':'article'
+    },
+});
+if(response.code == 200){
+    //是否启用搜索功能
+    templateBaseStore.setIsSearch(response.data.isSearch)
+}
 //自助建站 end---------------------------------------->
 </script>
 

+ 24 - 19
pages/index.vue

@@ -88,25 +88,30 @@ try {
         },
     });
     if (responseStatus.code == 200) {
-        //0.3.1设置站点基本信息
-        templateBaseStore.setWebSiteInfo(responseStatus.data as IWebSiteBase)
-        websiteId.value = responseStatus.data.website_head.id;//获得网站id
-        //0.3.2设置皮肤id
-        skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
-        console.log("当前的网站id:"+responseStatus.data.website_head.id)
-        //0.3.3设置seo信息
-        let seoTitle = templateBaseStore.webSiteInfo.website_head.title;
-        let seoDescription = templateBaseStore.webSiteInfo.website_head.description;
-        let seoKeywords = templateBaseStore.webSiteInfo.website_head.keywords;
-        let seoSuffix = templateBaseStore.webSiteInfo.website_head.suffix;
-        let seoName = templateBaseStore.webSiteInfo.website_head.website_name;
-        useHead({
-            title: seoTitle + "_" + seoSuffix,
-            meta: [
-                { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
-                { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
-            ]
-        });
+        if(responseStatus.data.website_foot.foot_info.status == 1){
+            //网站模板已停用,直接转入404页面
+            navigateTo('/error?findPage=index')
+        }else{
+            //0.3.1设置站点基本信息
+            templateBaseStore.setWebSiteInfo(responseStatus.data as IWebSiteBase)
+            websiteId.value = responseStatus.data.website_head.id;//获得网站id
+            //0.3.2设置皮肤id
+            skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
+            console.log("当前的网站id:"+responseStatus.data.website_head.id)
+            //0.3.3设置seo信息
+            let seoTitle = templateBaseStore.webSiteInfo.website_head.title;
+            let seoDescription = templateBaseStore.webSiteInfo.website_head.description;
+            let seoKeywords = templateBaseStore.webSiteInfo.website_head.keywords;
+            let seoSuffix = templateBaseStore.webSiteInfo.website_head.suffix;
+            let seoName = templateBaseStore.webSiteInfo.website_head.website_name;
+            useHead({
+                title: seoTitle + "_" + seoSuffix,
+                meta: [
+                    { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
+                    { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
+                ]
+            });
+        }
     }else if(responseStatus.code == 0){
         navigateTo('/error?findPage=index')
     }

+ 24 - 19
pages/search/[id].vue

@@ -50,25 +50,30 @@ const responseStatus:any = await requestDataPromise('/web/getWebsiteAllinfo', {
     },
 });
 if (responseStatus.code == 200) {
-    //0.3.1设置站点基本信息
-    templateBaseStore.setWebSiteInfo(responseStatus.data)
-    websiteId.value = responseStatus.data.website_head.id;//获得网站id
-    //0.3.2设置皮肤id
-    skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
-    console.log("当前的网站id:"+responseStatus.data.website_head.id)
-    //0.3.3设置seo信息
-    let seoTitle = templateBaseStore.webSiteInfo.website_head.title;
-    let seoDescription = templateBaseStore.webSiteInfo.website_head.description;
-    let seoKeywords = templateBaseStore.webSiteInfo.website_head.keywords;
-    let seoSuffix = templateBaseStore.webSiteInfo.website_head.suffix;
-    let seoName = templateBaseStore.webSiteInfo.website_head.website_name;
-    useHead({
-        title: seoTitle + "_" + seoSuffix,
-        meta: [
-            { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
-            { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
-        ]
-    });
+    if(responseStatus.data.website_foot.foot_info.status == 1){
+        //网站模板已停用,直接转入404页面
+        navigateTo('/error?findPage=index')
+    }else{
+        //0.3.1设置站点基本信息
+        templateBaseStore.setWebSiteInfo(responseStatus.data)
+        websiteId.value = responseStatus.data.website_head.id;//获得网站id
+        //0.3.2设置皮肤id
+        skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
+        console.log("当前的网站id:"+responseStatus.data.website_head.id)
+        //0.3.3设置seo信息
+        let seoTitle = templateBaseStore.webSiteInfo.website_head.title;
+        let seoDescription = templateBaseStore.webSiteInfo.website_head.description;
+        let seoKeywords = templateBaseStore.webSiteInfo.website_head.keywords;
+        let seoSuffix = templateBaseStore.webSiteInfo.website_head.suffix;
+        let seoName = templateBaseStore.webSiteInfo.website_head.website_name;
+        useHead({
+            title: seoTitle + "_" + seoSuffix,
+            meta: [
+                { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
+                { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
+            ]
+        });
+    }
 }
 //1.获得基本信息单元 end---------------------------------------->
 

+ 72 - 70
pages/topic/[id].vue

@@ -7,7 +7,6 @@
         <templateHead></templateHead>
         <!-- 菜单 -->
         <templateMenu></templateMenu>
-
         <!-- 商圈详情 -->
         <div class="topicInfoBox">
             <div class="inner">
@@ -18,9 +17,10 @@
                         <div class="userInfo left">
                             <el-badge value="楼主" class="item" type="warning">
                                 <img v-if='dataInfo.avatar' :src="dataInfo.avatar" alt="">
-                                <img v-else src='http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Rectangle.png' alt="">
+                                <img v-else src='http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Rectangle.png'
+                                    alt="">
                             </el-badge>
-                            <span>{{ dataInfo.author }}</span>
+                            <span>{{ dataInfo.nickname }}</span>
                         </div>
                         <div class="headContent left">
                             <h2>{{ dataInfo.title }}</h2>
@@ -34,7 +34,7 @@
                     <div class="right">
                         <div class="one">
                             <span v-for="item in typeList" :key="index">
-                                <span v-if="dataInfo.type == item.value" class="one">{{item.label}}</span> 
+                                <span v-if="dataInfo.type == item.value" class="one">{{ item.label }}</span>
                             </span>
                         </div>
                         <p>{{ dataInfo.updated_at }}</p>
@@ -58,10 +58,10 @@
 
                     <div class="commentList" v-for="item in replyList" v-show="page_total != 0">
                         <div class="left">
-                            <img v-if='item.avatar' :src="item.avatar" alt="" >
+                            <img v-if='item.avatar' :src="item.avatar" alt="">
                             <img v-else src='http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Rectangle.png' alt="">
                             <span class="name">{{ item.nickname }} : </span>
-                            
+
                         </div>
                         <div class="center">
                             <span class="context">{{ item.content }}</span>
@@ -94,7 +94,7 @@
             </div>
         </div>
         <!-- 页面底部 -->
-        <!-- <HomeFoot></HomeFoot> -->
+        <!-- <HomeFoot1></HomeFoot1> -->
         <templateFoot></templateFoot>
     </div>
 </template>
@@ -125,7 +125,7 @@ const seoData = ref({
 });
 
 // 在 onMounted 钩子中获取数据
-onMounted(()=>{
+onMounted(() => {
     seoData.value.title = '商圈';
     seoData.value.description = '默认描述';
     seoData.value.keywords = '默认关键词';
@@ -239,7 +239,8 @@ const joinGroup = () => {
                     type: 'success',
                 })
                 setTimeout(() => {
-                    window.open($BwebUrl + '/#/hall?userurl=' + $webUrl, '_blank');
+                    // window.open($BwebUrl + '/#/hall?userurl=' + $webUrl, '_blank');
+                    window.open($BwebUrl + '/#/businessDistrict?userurl=' + $webUrl, '_blank');
                     //window.open('http://admindev.bjzxtw.org.cn/#/hall', '_blank');
                 }, 1000)
             } else if (res.code == 200) {
@@ -248,7 +249,8 @@ const joinGroup = () => {
                     type: 'success',
                 })
                 setTimeout(() => {
-                    window.open($BwebUrl + '/#/hall?userurl=' + $webUrl, '_blank');
+                    // window.open($BwebUrl + '/#/hall?userurl=' + $webUrl, '_blank');
+                    window.open($BwebUrl + '/#/businessDistrict?userurl=' + $webUrl, '_blank');
                     //window.open('http://admindev.bjzxtw.org.cn/#/hall', '_blank');
                 }, 1000)
             }
@@ -285,7 +287,6 @@ const addReply = () => {
 }
 
 //3.获取商圈详情 end ---------------------------------------->
-
 //自助建站 start---------------------------------------->
 //1.获得自助建站头部底部
 import templateHead from '@/components/template/sector/head/1200x200/1.vue'
@@ -296,6 +297,7 @@ import { useTemplateBaseStore } from '@/stores/templateBase'
 const templateBaseStore = useTemplateBaseStore()
 //3.获得该页的皮肤id
 const skinId = ref("")
+const websiteId = ref("")
 //4.获得站点基本信息
 const responseStatus = await requestDataPromise('/web/getWebsiteAllinfo', {
     method: 'GET',
@@ -306,18 +308,24 @@ const responseStatus = await requestDataPromise('/web/getWebsiteAllinfo', {
     },
 });
 if (responseStatus.code == 200) {
-    //4.1设置站点基本信息
-    templateBaseStore.setWebSiteInfo(responseStatus.data)
-    //4.2设置皮肤id
-    skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
-    //4.3设置seo
-    useSeoMeta({
-        title: "商圈" + "_" + "三农资讯网_全国政务信息一体化应用平台",
-        meta: [
-            { name: 'description', content: "三农资讯网以服务于党和国家各级职能部门三农政务资讯发布及政务公开信息公示为基点,为全国县级以上各级党政机关及其职能部门配置各自公开独立网络发布平台。主要频道有:三农政务资讯,农科资讯,农资购销,农产购销,农贸资讯,三农致富信息,农村文化生活,三农政策法规,三农之窗,三农调查,三农服务,三农知识,农民工,打假维权等。三农资讯网打造最具影响力的三农信息发布平台,并成为最具权威的三农资讯网。_三农资讯网-测试专用_全国政务信息一体化应用平台" , tagPriority: 10 },
-            { name: 'keywords', content: "三农资讯,农业,三农,三农在线,农业新闻,三农资讯网_三农资讯网-测试专用_全国政务信息一体化应用平台" , tagPriority: 10 }
-        ]
-    });
+    if(responseStatus.data.website_foot.foot_info.status == 1){
+        //网站模板已停用,直接转入404页面
+        navigateTo('/error?findPage=index')
+    }else{
+        //4.1设置站点基本信息
+        templateBaseStore.setWebSiteInfo(responseStatus.data)
+        websiteId.value = responseStatus.data.website_head.id;
+        //4.2设置皮肤id
+        skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
+        //4.3设置seo
+        useSeoMeta({
+            title: "商圈" + "_" + "三农资讯网_全国政务信息一体化应用平台",
+            meta: [
+                { name: 'description', content: "三农资讯网以服务于党和国家各级职能部门三农政务资讯发布及政务公开信息公示为基点,为全国县级以上各级党政机关及其职能部门配置各自公开独立网络发布平台。主要频道有:三农政务资讯,农科资讯,农资购销,农产购销,农贸资讯,三农致富信息,农村文化生活,三农政策法规,三农之窗,三农调查,三农服务,三农知识,农民工,打假维权等。三农资讯网打造最具影响力的三农信息发布平台,并成为最具权威的三农资讯网。_三农资讯网-测试专用_全国政务信息一体化应用平台" , tagPriority: 10 },
+                { name: 'keywords', content: "三农资讯,农业,三农,三农在线,农业新闻,三农资讯网_三农资讯网-测试专用_全国政务信息一体化应用平台" , tagPriority: 10 }
+            ]
+        });
+    }
 }
 //5.获得广告池
 const adData = ref([]);
@@ -329,6 +337,18 @@ if (adResponseStatus.code == 200) {
     templateBaseStore.setAdList(adResponseStatus.data)
     adData.value = adResponseStatus.data;
 }
+//6.是否使用了搜索页
+const response = await requestDataPromise('/client/indexData', {
+    method: 'POST',
+    body: {
+        'website_id':websiteId.value,
+        'getpage':'article'
+    },
+});
+if(response.code == 200){
+    //是否启用搜索功能
+    templateBaseStore.setIsSearch(response.data.isSearch)
+}
 //自助建站 end---------------------------------------->
 </script>
 
@@ -341,8 +361,8 @@ if (adResponseStatus.code == 200) {
 
         //信息头部
         .infoHead {
-            height: 175px;
-            padding: 30px 0 60px 40px;
+            height: 200px;
+            padding: 65px 0 60px 40px;
             border-bottom: 1px solid rgba(0, 0, 0, 0.10);
             box-sizing: border-box;
 
@@ -463,22 +483,28 @@ if (adResponseStatus.code == 200) {
 
         // 有详情信息
         .infoContent {
-            width:1196px;
+            width: 1196px;
             overflow: hidden;
-            padding: 40px 46px;
+            padding: 30px 46px;
             font-family: Microsoft YaHei, Microsoft YaHei;
             font-size: 20px;
             line-height: 40px;
             box-sizing: border-box;
-            div{
-                word-wrap: break-word;       /* 强制长单词或 URL 换行 */
-                overflow-wrap: break-word;   /* 现代推荐用法,等同于 word-wrap */
-                white-space: pre-wrap;       /* 保留空白字符并允许自动换行 */
-                word-break: break-all;       /* 强制在任意字符处换行 */
+
+            div {
+                word-wrap: break-word;
+                /* 强制长单词或 URL 换行 */
+                overflow-wrap: break-word;
+                /* 现代推荐用法,等同于 word-wrap */
+                white-space: pre-wrap;
+                /* 保留空白字符并允许自动换行 */
+                word-break: break-all;
+                /* 强制在任意字符处换行 */
             }
         }
-        .leftBottom::v-deep p{
-            width:1200px;
+
+        .leftBottom::v-deep p {
+            width: 1200px;
             white-space: pre-wrap;
         }
 
@@ -521,7 +547,6 @@ if (adResponseStatus.code == 200) {
             }
 
             .commentList {
-                // height: 112px;
                 border: 1px solid #E1E1E1;
                 background-color: #fafafa;
                 margin-top: 20px;
@@ -532,34 +557,32 @@ if (adResponseStatus.code == 200) {
                 justify-content: space-between;
 
                 .left {
-                    width:400px;
-                    margin-right: 40px;
-                    // overflow: hidden;
+                    width: 400px;
+                    margin-right: 30px;
                     display: flex;
                     justify-content: space-between;
+
                     img {
-                        // float: left;
                         width: 52px;
                         height: 52px;
                         border-radius: 50%;
                         vertical-align: middle;
                         margin-right: 15px;
                     }
-                    span{
-                        // float: left;
+
+                    span {
                         height: 52px;
                         line-height: 22px;
-                        padding-top: 14px;
+                        padding-top: 10px;
                     }
 
                     .name {
-                        width: 100px;
+                        width: 120px;
                         font-family: Microsoft YaHei, Microsoft YaHei;
                         font-weight: 400;
                         font-size: 16px;
                         color: #333333;
-                        margin-right: 30px;
-                        width: 100px;
+                        margin-right: 15px;
                         white-space: nowrap;
                         overflow: hidden;
                         text-overflow: ellipsis;
@@ -567,7 +590,7 @@ if (adResponseStatus.code == 200) {
 
                     }
 
-                    
+
                 }
 
                 .center {
@@ -584,12 +607,10 @@ if (adResponseStatus.code == 200) {
                         font-weight: bold;
                         font-size: 16px;
                         color: #333333;
-                        padding-top: 14px;
                     }
                 }
 
                 .right {
-                    padding-top: 12px;
                     .time {
                         display: block;
                         width: 200px;
@@ -609,25 +630,7 @@ if (adResponseStatus.code == 200) {
                 }
             }
 
-            // .comment_empty {
-            //     height: 200px;
-            //     line-height: 200px;
-            //     text-align: center;
-
-            //     img {
-            //         width: 78px;
-            //         height: 78px;
-            //         vertical-align: -25px;
-            //         margin-right: 20px;
-            //     }
-
-            //     span {
-            //         font-family: Microsoft YaHei, Microsoft YaHei;
-            //         font-weight: bold;
-            //         font-size: 26px;
-            //         color: #CCCCCC;
-            //     }
-            // }
+
         }
     }
 }
@@ -635,13 +638,12 @@ if (adResponseStatus.code == 200) {
 //评论回复
 .message {
     width: 1200px;
-    margin: 0 auto;
+    margin: 0 auto 20px;
     padding: 0px 25px;
     box-sizing: border-box;
     height: 145px;
     line-height: 145px;
     background-color: #ecf5ee;
-    margin-bottom: 30px;
 
     .inner {
         .messageInput {
@@ -678,7 +680,7 @@ if (adResponseStatus.code == 200) {
     display: flex;
     justify-content: center;
     margin-top: 60px;
-    margin-bottom: 60px;
+    margin-bottom: 90px;
 
     // 鼠标移入后字体颜色
     :deep(.el-pagination:hover) {

+ 49 - 28
pages/topic/index.vue

@@ -7,7 +7,6 @@
         <templateHead></templateHead>
         <!-- 菜单 -->
         <templateMenu></templateMenu>
-
         <div class="topicBox">
             <div class="inner">
                 <el-tabs v-model="activeName" class="demo-tabs" @tab-change="getTopicsList">
@@ -18,7 +17,7 @@
                                 <div class="listHead">
                                     <div class="left">
                                         <span v-for="i in typeList" :key="index">
-                                            <span v-if="item.type == i.value" class="one">{{i.label}}</span> 
+                                            <span v-if="item.type == i.value" class="one">{{ i.label }}</span>
                                         </span>
                                     </div>
                                     <div class="right">{{ item.created_at }}</div>
@@ -28,9 +27,12 @@
                                         <h2>{{ item.title }}</h2>
                                         <p>
                                             <img v-if='item.avatar' :src="item.avatar" alt="">
-                                            <img v-else src='http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Rectangle.png' alt="">
-                                            <span> {{ item.author }}</span>
-                                            <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Chat.png" alt="">
+                                            <img v-else
+                                                src='http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Rectangle.png'
+                                                alt="">
+                                            <span> {{ item.nickname }}</span>
+                                            <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Chat.png"
+                                                alt="">
                                             <span> {{ item.num ? item.num : 0 }}</span>
                                         </p>
                                     </div>
@@ -48,12 +50,12 @@
                     </el-tab-pane>
                     <el-tab-pane :label="item.label" :name="item.value" v-for="item in typeList">
                         <!-- 列表 -->
-                        <NuxtLink :to="`/topic/${item.id}`" target="_blank" v-for="item in listData">
+                        <NuxtLink :to="`/topic/${item.id}`" v-for="item in listData">
                             <div class="topicList">
                                 <div class="listHead">
                                     <div class="left">
                                         <span v-for="i in typeList" :key="index">
-                                            <span v-if="item.type == i.value" class="one">{{i.label}}</span> 
+                                            <span v-if="item.type == i.value" class="one">{{ i.label }}</span>
                                         </span>
                                     </div>
                                     <div class="right">{{ item.created_at }}</div>
@@ -64,8 +66,9 @@
                                         <p>
                                             <img :src="item.avatar" alt="">
                                             <!-- <img v-else src='../../static/topic/Rectangle.png' alt=""> -->
-                                            <span> {{ item.author }}</span>
-                                            <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Chat.png" alt="">
+                                            <span> {{ item.nickname }}</span>
+                                            <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/Chat.png"
+                                                alt="">
                                             <span> {{ item.num ? item.num : 0 }}</span>
                                         </p>
                                     </div>
@@ -84,14 +87,14 @@
                 </el-tabs>
 
                 <!-- 分页 -->
-                <div class="paginationBox"  v-show="currentPage">
+                <div class="paginationBox" v-show="currentPage">
                     <el-pagination background layout="prev, pager, next" :total="currentPage" prev-text="上一页"
                         next-text="下一页" @change="pageChage" />
                 </div>
             </div>
         </div>
         <!-- 页面底部 -->
-        <!-- <HomeFoot></HomeFoot> -->
+        <!-- <HomeFoot1></HomeFoot1> -->
         <templateFoot></templateFoot>
     </div>
 </template>
@@ -120,7 +123,7 @@ const seoData = ref({
 });
 
 // 在 onMounted 钩子中获取数据
-onMounted(()=>{
+onMounted(() => {
     seoData.value.title = '商圈';
     seoData.value.description = '默认描述';
     seoData.value.keywords = '默认关键词';
@@ -220,6 +223,7 @@ import { useTemplateBaseStore } from '@/stores/templateBase'
 const templateBaseStore = useTemplateBaseStore()
 //3.获得该页的皮肤id
 const skinId = ref("")
+const websiteId = ref("")
 //4.获得站点基本信息
 const responseStatus = await requestDataPromise('/web/getWebsiteAllinfo', {
     method: 'GET',
@@ -230,18 +234,24 @@ const responseStatus = await requestDataPromise('/web/getWebsiteAllinfo', {
     },
 });
 if (responseStatus.code == 200) {
-    //4.1设置站点基本信息
-    templateBaseStore.setWebSiteInfo(responseStatus.data)
-    //4.2设置皮肤id
-    skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
-    //4.3设置seo
-    useSeoMeta({
-        title: "商圈" + "_" + "三农资讯网_全国政务信息一体化应用平台",
-        meta: [
-            { name: 'description', content: "三农资讯网以服务于党和国家各级职能部门三农政务资讯发布及政务公开信息公示为基点,为全国县级以上各级党政机关及其职能部门配置各自公开独立网络发布平台。主要频道有:三农政务资讯,农科资讯,农资购销,农产购销,农贸资讯,三农致富信息,农村文化生活,三农政策法规,三农之窗,三农调查,三农服务,三农知识,农民工,打假维权等。三农资讯网打造最具影响力的三农信息发布平台,并成为最具权威的三农资讯网。_三农资讯网-测试专用_全国政务信息一体化应用平台" , tagPriority: 10 },
-            { name: 'keywords', content: "三农资讯,农业,三农,三农在线,农业新闻,三农资讯网_三农资讯网-测试专用_全国政务信息一体化应用平台" , tagPriority: 10 }
-        ]
-    });
+    if(responseStatus.data.website_foot.foot_info.status == 1){
+        //网站模板已停用,直接转入404页面
+        navigateTo('/error?findPage=index')
+    }else{
+        //4.1设置站点基本信息
+        templateBaseStore.setWebSiteInfo(responseStatus.data)
+        websiteId.value = responseStatus.data.website_head.id;
+        //4.2设置皮肤id
+        skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
+        //4.3设置seo
+        useSeoMeta({
+            title: "商圈" + "_" + "三农资讯网_全国政务信息一体化应用平台",
+            meta: [
+                { name: 'description', content: "三农资讯网以服务于党和国家各级职能部门三农政务资讯发布及政务公开信息公示为基点,为全国县级以上各级党政机关及其职能部门配置各自公开独立网络发布平台。主要频道有:三农政务资讯,农科资讯,农资购销,农产购销,农贸资讯,三农致富信息,农村文化生活,三农政策法规,三农之窗,三农调查,三农服务,三农知识,农民工,打假维权等。三农资讯网打造最具影响力的三农信息发布平台,并成为最具权威的三农资讯网。_三农资讯网-测试专用_全国政务信息一体化应用平台" , tagPriority: 10 },
+                { name: 'keywords', content: "三农资讯,农业,三农,三农在线,农业新闻,三农资讯网_三农资讯网-测试专用_全国政务信息一体化应用平台" , tagPriority: 10 }
+            ]
+        });
+    }
 }
 //5.获得广告池
 const adData = ref([]);
@@ -253,6 +263,18 @@ if (adResponseStatus.code == 200) {
     templateBaseStore.setAdList(adResponseStatus.data)
     adData.value = adResponseStatus.data;
 }
+//6.是否使用了搜索页
+const response = await requestDataPromise('/client/indexData', {
+    method: 'POST',
+    body: {
+        'website_id':websiteId.value,
+        'getpage':'article'
+    },
+});
+if(response.code == 200){
+    //是否启用搜索功能
+    templateBaseStore.setIsSearch(response.data.isSearch)
+}
 //自助建站 end---------------------------------------->
 </script>
 
@@ -279,7 +301,7 @@ if (adResponseStatus.code == 200) {
         :deep(.el-tabs__item) {
             padding: 0 100px 0 20px;
             font-size: 16px;
-            //height: 60px;
+            height: 60px;
         }
 
         :deep(.el-tabs__item.is-active),
@@ -293,8 +315,7 @@ if (adResponseStatus.code == 200) {
         }
 
         :deep(.el-tabs__nav) {
-           // height: 60px;
-           height: 54px;
+            height: 60px;
         }
 
         .adEmpty {
@@ -427,7 +448,7 @@ if (adResponseStatus.code == 200) {
     display: flex;
     justify-content: center;
     margin-top: 60px;
-    margin-bottom: 60px;
+    margin-bottom: 90px;
 
     // 鼠标移入后字体颜色
     :deep(.el-pagination:hover) {