Browse Source

修复404

修复404
dangyunlong 3 days ago
parent
commit
529b643768

+ 1 - 1
.nuxt/manifest/latest.json

@@ -1 +1 @@
-{"id":"269c48c8-2437-4563-8f11-26da3b77625b","timestamp":1744707097665}
+{"id":"3f5886b9-b896-4b96-9d37-367c3e311899","timestamp":1744780237438}

+ 0 - 1
.nuxt/manifest/meta/269c48c8-2437-4563-8f11-26da3b77625b.json

@@ -1 +0,0 @@
-{"id":"269c48c8-2437-4563-8f11-26da3b77625b","timestamp":1744707097665,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

+ 0 - 1
.nuxt/manifest/meta/365a76bd-3b21-45e3-bd94-f74f69ad84c8.json

@@ -1 +0,0 @@
-{"id":"365a76bd-3b21-45e3-bd94-f74f69ad84c8","timestamp":1744620405426,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

+ 1 - 0
.nuxt/manifest/meta/3f5886b9-b896-4b96-9d37-367c3e311899.json

@@ -0,0 +1 @@
+{"id":"3f5886b9-b896-4b96-9d37-367c3e311899","timestamp":1744780237438,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

+ 0 - 1
.nuxt/manifest/meta/510a7d9b-7d47-4bc5-ba85-0b47cd6a2c4f.json

@@ -1 +0,0 @@
-{"id":"510a7d9b-7d47-4bc5-ba85-0b47cd6a2c4f","timestamp":1744607682155,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

+ 0 - 1
.nuxt/manifest/meta/7a23327e-95c6-453e-aa58-bf572e70e611.json

@@ -1 +0,0 @@
-{}

+ 0 - 1
.nuxt/manifest/meta/9e95d9f7-5b83-48d3-ab57-e07cd34d64ff.json

@@ -1 +0,0 @@
-{}

+ 1 - 1
.nuxt/nuxt.d.ts

@@ -1,6 +1,6 @@
 // Generated by nuxi
-/// <reference types="@nuxt/devtools" />
 /// <reference types="@nuxt/telemetry" />
+/// <reference types="@nuxt/devtools" />
 /// <reference path="types/builder-env.d.ts" />
 /// <reference types="nuxt" />
 /// <reference path="types/app-defaults.d.ts" />

+ 0 - 9
.nuxt/nuxt.json

@@ -1,9 +0,0 @@
-{
-  "_hash": "dPzEFG2UYD",
-  "project": {
-    "rootDir": "D:/wwwroot/zxt/sannongzixunwang_web"
-  },
-  "versions": {
-    "nuxt": "3.15.2"
-  }
-}

+ 1 - 1
.nuxt/tsconfig.json

@@ -102,7 +102,7 @@
         "./imports"
       ],
       "#app-manifest": [
-        "./manifest/meta/269c48c8-2437-4563-8f11-26da3b77625b.json"
+        "./manifest/meta/3f5886b9-b896-4b96-9d37-367c3e311899.json"
       ],
       "#components": [
         "./components"

+ 3 - 2
components/home/PageMessage.vue

@@ -1,7 +1,7 @@
 <template>
     <div class="message">
         <div class="inner">
-            <div class="bigTitle">
+            <div class="bigTitle" v-if="headlinelist.length > 0">
                 <div class="inner" v-for="(item, index) in headlinelist" :key="index">
                     <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/head/mainTitleicon.png" alt="" class="left">
                     <NuxtLink :href="getLinkPathDetail(item)" :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
@@ -148,7 +148,8 @@ getModelData3()
 
     // 左侧
     .messageLeft {
-
+        width: 720px;
+        height: 440px;
         // 轮播图
         >img {
             width: 790px;

+ 1 - 1
components/home/Slider.vue

@@ -22,7 +22,7 @@
         <!-- 标题下内容列表 -->
         <div class="box">
             <div class="boxcontent">
-                <div class="boxleft" v-if="boxData1">
+                <div class="boxleft" v-if="boxData1.length > 0">
                     <div class="boxBigImg">
                         <NuxtLink :href="getLinkPathDetail(boxData1[0])" :title="boxData1[0].title" :target="boxData1[0].islink == 1 ? '_blank' : '_self'">
                             <img :src="boxData1[0].imgurl" :alt="boxData1[0].title">

+ 1 - 1
pages/index.vue

@@ -124,7 +124,7 @@
                 </div>
             </div>
         </div>
-        <HomeTopTen :imgurl="adImg3" v-if="adImg3"></HomeTopTen>
+        <!-- <HomeTopTen :imgurl="adImg3" v-if="adImg3"></HomeTopTen> -->
         <div class="layoutCopy">
             <div class="layoutCopyLeft">
                 <div class="layoutCopyLeftTop">

+ 10 - 10
plugins/globals.js

@@ -1,17 +1,17 @@
 export default defineNuxtPlugin((nuxtApp) => {
   //Pre环境
-  nuxtApp.provide('webUrl', 'http://apipre1.bjzxtw.org.cn:29501')
-  nuxtApp.provide('CwebUrl', 'http://nwpre.bjzxtw.org.cn')
-  nuxtApp.provide('BwebUrl', 'http://adminpre.bjzxtw.org.cn')
-  nuxtApp.provide('LoginWebUrl', 'http://adminpre.bjzxtw.org.cn/adminapi')
-  nuxtApp.provide('userUrl', 'http://localhost:3000')
+//   nuxtApp.provide('webUrl', 'http://apipre1.bjzxtw.org.cn:29501')
+//   nuxtApp.provide('CwebUrl', 'http://nwpre.bjzxtw.org.cn')
+//   nuxtApp.provide('BwebUrl', 'http://adminpre.bjzxtw.org.cn')
+//   nuxtApp.provide('LoginWebUrl', 'http://adminpre.bjzxtw.org.cn/adminapi')
+//   nuxtApp.provide('userUrl', 'http://localhost:3000')
 
   //正式环境
-//   nuxtApp.provide('webUrl', 'https://flzxw.bjzxtw.org.cn')
-//   nuxtApp.provide('CwebUrl', 'http://nw.bjzxtw.org.cn')
-//   nuxtApp.provide('BwebUrl', 'https://admin.bjzxtw.org.cn')
-//   nuxtApp.provide('LoginWebUrl', 'http://admin.bjzxtw.org.cn/adminapi')
-//   nuxtApp.provide('userUrl', 'http://localhost:3000')
+  nuxtApp.provide('webUrl', 'https://flzxw.bjzxtw.org.cn')
+  nuxtApp.provide('CwebUrl', 'http://nw.bjzxtw.org.cn')
+  nuxtApp.provide('BwebUrl', 'https://admin.bjzxtw.org.cn')
+  nuxtApp.provide('LoginWebUrl', 'http://admin.bjzxtw.org.cn/adminapi')
+  nuxtApp.provide('userUrl', 'http://localhost:3000')
   
   //乡村网
   // nuxtApp.provide('webUrl', 'http://apipre1.bjzxtw.org.cn:29501')

+ 4 - 4
plugins/request.js

@@ -6,11 +6,11 @@ export default defineNuxtPlugin(nuxtApp => {
 
     let Url = {
         //正式环境
-        // webUrl: 'https://flzxw.bjzxtw.org.cn', //接口地址
-        // CwebUrl: 'nw.bjzxtw.org.cn' //页面地址
+        webUrl: 'https://flzxw.bjzxtw.org.cn', //接口地址
+        CwebUrl: 'nw.bjzxtw.org.cn' //页面地址
         //pre环境
-        webUrl: 'http://apipre1.bjzxtw.org.cn:29501', //pre接口地址
-        CwebUrl: 'nwpre.bjzxtw.org.cn' //页面地址
+        //webUrl: 'http://apipre1.bjzxtw.org.cn:29501', //pre接口地址
+        //CwebUrl: 'nwpre.bjzxtw.org.cn' //页面地址
     }
 
     const service = axios.create({