Jing 3 dienas atpakaļ
vecāks
revīzija
6bc58ab30a

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 979
.nuxt/dev/index.mjs


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
.nuxt/dev/index.mjs.map


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

@@ -32,5 +32,4 @@ export { requestData, requestDataPromise, requestDataWebUrl, requestHome } from
 export { getTime, getTitleLength, getLinkPath, getLinkPathDetail, getRoutePath } from '../composables/publicFunction';
 export { seoSetup } from '../composables/useSeo';
 export { apiUse, asyncFetchData, fGET, fPOST, fPUT, fDELETE, GET, POST, PUT, DELETE } from '../utils/request';
-export { useNuxtDevTools } from '../node_modules/@nuxt/devtools/dist/runtime/use-nuxt-devtools';
 export { definePageMeta } from '../node_modules/nuxt/dist/pages/runtime/composables';

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

@@ -1 +1 @@
-{"id":"dev","timestamp":1745203413542}
+{"id":"a60e4b73-f896-4456-b961-bd493e50812a","timestamp":1745474524187}

+ 1 - 0
.nuxt/manifest/meta/a60e4b73-f896-4456-b961-bd493e50812a.json

@@ -0,0 +1 @@
+{"id":"a60e4b73-f896-4456-b961-bd493e50812a","timestamp":1745474524187,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

+ 0 - 1
.nuxt/manifest/meta/dev.json

@@ -1 +0,0 @@
-{"id":"dev","timestamp":1745203413542,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

+ 0 - 1
.nuxt/manifest/meta/ee8b17c3-cbbc-4ddf-89f7-cdf8273a8846.json

@@ -1 +0,0 @@
-{"id":"ee8b17c3-cbbc-4ddf-89f7-cdf8273a8846","timestamp":1744713445452,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

+ 0 - 17
.nuxt/nitro.json

@@ -1,17 +0,0 @@
-{
-  "date": "2025-04-21T02:43:52.639Z",
-  "preset": "nitro-dev",
-  "framework": {
-    "name": "nuxt",
-    "version": "3.15.2"
-  },
-  "versions": {
-    "nitro": "2.10.4"
-  },
-  "dev": {
-    "pid": 14164,
-    "workerAddress": {
-      "socketPath": "\\\\.\\pipe\\nitro\\worker-14164-1.sock"
-    }
-  }
-}

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

@@ -1,6 +1,6 @@
 // Generated by nuxi
-/// <reference types="@nuxt/telemetry" />
 /// <reference types="@nuxt/devtools" />
+/// <reference types="@nuxt/telemetry" />
 /// <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": "m97R3SIuJD",
-  "project": {
-    "rootDir": "D:/01_AA_ssr_pre/nongminwang"
-  },
-  "versions": {
-    "nuxt": "3.15.2"
-  }
-}

+ 1 - 1
.nuxt/tsconfig.json

@@ -102,7 +102,7 @@
         "./imports"
       ],
       "#app-manifest": [
-        "./manifest/meta/dev"
+        "./manifest/meta/a60e4b73-f896-4456-b961-bd493e50812a.json"
       ],
       "#components": [
         "./components"

+ 0 - 1
.nuxt/types/build.d.ts

@@ -11,7 +11,6 @@ declare module "#build/paths.mjs";
 declare module "#build/root-component.mjs";
 declare module "#build/plugins.server.mjs";
 declare module "#build/test-component-wrapper.mjs";
-declare module "#build/devtools/settings.mjs";
 declare module "#build/routes.mjs";
 declare module "#build/pages.mjs";
 declare module "#build/router.options.mjs";

+ 0 - 2
.nuxt/types/imports.d.ts

@@ -132,7 +132,6 @@ declare global {
   const useModel: typeof import('vue')['useModel']
   const useNuxtApp: typeof import('../../node_modules/nuxt/dist/app/nuxt')['useNuxtApp']
   const useNuxtData: typeof import('../../node_modules/nuxt/dist/app/composables/asyncData')['useNuxtData']
-  const useNuxtDevTools: typeof import('../../node_modules/@nuxt/devtools/dist/runtime/use-nuxt-devtools')['useNuxtDevTools']
   const usePreviewMode: typeof import('../../node_modules/nuxt/dist/app/composables/preview')['usePreviewMode']
   const useRequestEvent: typeof import('../../node_modules/nuxt/dist/app/composables/ssr')['useRequestEvent']
   const useRequestFetch: typeof import('../../node_modules/nuxt/dist/app/composables/ssr')['useRequestFetch']
@@ -330,7 +329,6 @@ declare module 'vue' {
     readonly useModel: UnwrapRef<typeof import('vue')['useModel']>
     readonly useNuxtApp: UnwrapRef<typeof import('../../node_modules/nuxt/dist/app/nuxt')['useNuxtApp']>
     readonly useNuxtData: UnwrapRef<typeof import('../../node_modules/nuxt/dist/app/composables/asyncData')['useNuxtData']>
-    readonly useNuxtDevTools: UnwrapRef<typeof import('../../node_modules/@nuxt/devtools/dist/runtime/use-nuxt-devtools')['useNuxtDevTools']>
     readonly usePreviewMode: UnwrapRef<typeof import('../../node_modules/nuxt/dist/app/composables/preview')['usePreviewMode']>
     readonly useRequestEvent: UnwrapRef<typeof import('../../node_modules/nuxt/dist/app/composables/ssr')['useRequestEvent']>
     readonly useRequestFetch: UnwrapRef<typeof import('../../node_modules/nuxt/dist/app/composables/ssr')['useRequestFetch']>

+ 2 - 7
.nuxt/types/plugins.d.ts

@@ -9,17 +9,12 @@ type NuxtAppInjections =
   InjectionType<typeof import("../../node_modules/nuxt/dist/app/plugins/revive-payload.client.js")> &
   InjectionType<typeof import("../../node_modules/nuxt/dist/head/runtime/plugins/unhead.js")> &
   InjectionType<typeof import("../../node_modules/nuxt/dist/pages/runtime/plugins/router.js")> &
-  InjectionType<typeof import("../../node_modules/nuxt/dist/app/plugins/browser-devtools-timing.client.js")> &
+  InjectionType<typeof import("../../node_modules/nuxt/dist/app/plugins/payload.client.js")> &
   InjectionType<typeof import("../../node_modules/nuxt/dist/app/plugins/navigation-repaint.client.js")> &
   InjectionType<typeof import("../../node_modules/nuxt/dist/app/plugins/check-outdated-build.client.js")> &
   InjectionType<typeof import("../../node_modules/nuxt/dist/app/plugins/revive-payload.server.js")> &
   InjectionType<typeof import("../../node_modules/nuxt/dist/app/plugins/chunk-reload.client.js")> &
   InjectionType<typeof import("../../node_modules/nuxt/dist/pages/runtime/plugins/prefetch.client.js")> &
-  InjectionType<typeof import("../../node_modules/nuxt/dist/pages/runtime/plugins/check-if-page-unused.js")> &
-  InjectionType<typeof import("../../node_modules/@nuxt/devtools/dist/runtime/plugins/devtools.server.js")> &
-  InjectionType<typeof import("../../node_modules/@nuxt/devtools/dist/runtime/plugins/devtools.client.js")> &
-  InjectionType<typeof import("../../node_modules/nuxt/dist/app/plugins/dev-server-logs.js")> &
-  InjectionType<typeof import("../../node_modules/nuxt/dist/app/plugins/check-if-layout-used.js")> &
   InjectionType<typeof import("../../plugins/element-plus.js")> &
   InjectionType<typeof import("../../plugins/request.js")> &
   InjectionType<typeof import("../../plugins/globals.js")> &
@@ -29,7 +24,7 @@ declare module '#app' {
   interface NuxtApp extends NuxtAppInjections { }
 
   interface NuxtAppLiterals {
-    pluginName: 'nuxt:revive-payload:client' | 'nuxt:head' | 'nuxt:router' | 'nuxt:browser-devtools-timing' | 'nuxt:revive-payload:server' | 'nuxt:chunk-reload' | 'nuxt:global-components' | 'nuxt:prefetch' | 'nuxt:checkIfPageUnused' | 'nuxt:checkIfLayoutUsed'
+    pluginName: 'nuxt:revive-payload:client' | 'nuxt:head' | 'nuxt:router' | 'nuxt:payload' | 'nuxt:revive-payload:server' | 'nuxt:chunk-reload' | 'nuxt:global-components' | 'nuxt:prefetch'
   }
 }
 

+ 163 - 161
assets/css/about.less

@@ -1,165 +1,166 @@
 //导航条
 .breadcrumb {
-  width: 1200px;
-  margin: 0 auto;
-  height: 22px;
-  padding-bottom: 40px;
-  margin-top: 40px;
-  margin-bottom: 60px;
-  border-bottom: 1px solid #d9d9d9;
-  font-family: Microsoft YaHei, Microsoft YaHei;
-  font-weight: 400;
-  font-size: 20px;
-  color: #666666;
-  line-height: 23px;
-  text-align: left;
-  font-style: normal;
-  text-transform: none;
-
-  .el-breadcrumb::v-deep {
-      display: inline-block;
-      vertical-align: -4px;
-  }
-
-  /deep/.el-breadcrumb__inner a,
-  /deep/.el-breadcrumb__inner.is-link {
-      color: #666666;
-      font-weight: 400;
-      text-decoration: none;
-      transition: var(--el-transition-color);
-  }
-
-  span {
-      font-family: Microsoft YaHei, Microsoft YaHei;
-      font-weight: 400;
-      font-size: 20px;
-      color: #666666;
-      line-height: 23px;
-      text-align: left;
-      font-style: normal;
-      text-transform: none;
-  }
-
-  span:hover {
-      color: #666666;
-  }
-
-  .location {
-      margin-right: 20px;
-      width: 100px;
-      height: 22px;
-      font-family: Microsoft YaHei, Microsoft YaHei;
-      font-weight: 400;
-      font-size: 20px;
-      color: #666666;
-      line-height: 23px;
-      text-align: left;
-      font-style: normal;
-      text-transform: none;
-  }
+    width: 1200px;
+    margin: 0 auto;
+    height: 22px;
+    padding-bottom: 40px;
+    margin-top: 40px;
+    margin-bottom: 60px;
+    border-bottom: 1px solid #d9d9d9;
+    font-family: Microsoft YaHei, Microsoft YaHei;
+    font-weight: 400;
+    font-size: 20px;
+    color: #666666;
+    line-height: 23px;
+    text-align: left;
+    font-style: normal;
+    text-transform: none;
+
+    .el-breadcrumb::v-deep {
+        display: inline-block;
+        vertical-align: -4px;
+    }
+
+    /deep/.el-breadcrumb__inner a,
+    /deep/.el-breadcrumb__inner.is-link {
+        color: #666666;
+        font-weight: 400;
+        text-decoration: none;
+        transition: var(--el-transition-color);
+    }
+
+    span {
+        font-family: Microsoft YaHei, Microsoft YaHei;
+        font-weight: 400;
+        font-size: 20px;
+        color: #666666;
+        line-height: 23px;
+        text-align: left;
+        font-style: normal;
+        text-transform: none;
+    }
+
+    span:hover {
+        color: #666666;
+    }
+
+    .location {
+        margin-right: 20px;
+        width: 100px;
+        height: 22px;
+        font-family: Microsoft YaHei, Microsoft YaHei;
+        font-weight: 400;
+        font-size: 20px;
+        color: #666666;
+        line-height: 23px;
+        text-align: left;
+        font-style: normal;
+        text-transform: none;
+    }
 }
 
 // 资讯列表
 .newsDetail {
-  width: 100%;
-  // height: 1400px;
-  // margin-bottom: 70px;
-
-  .inner {
-      width: 1200px;
-      font-size: 16px;
-      position: relative;
-
-      .innerDetail {
-          width: 1080px;
-          margin: 0 auto;
-          margin-bottom: 60px;
-
-          .headImg {
-              width: 1086px;
-              height: 10px;
-              background: url("@/public/special/head11.png") no-repeat 100% 100%;
-          }
-
-          .footImg {
-              width: 1086px;
-              height: 7px;
-              background: url("@/public/special/foot01.png") no-repeat 100% 100%;
-          }
-
-          .innerDetail1 {
-              width: 1086px;
-              margin: 0 auto;
-              padding: 30px 50px 40px;
-              box-sizing: border-box;
-              border-left: 1px solid #DBBE9E;
-              background: url("@/public/special/mid01.png") repeat-y 100% 100%;
-          }
-
-         .leftBottom::v-deep {
-              font-size: 16px;
-              line-height: 40px;  
-         }
-      }
-
-
-
-      .innerLeft {
-          width: 279px;
-          position: absolute;
-          top: 3px;
-          left: -155px;
-
-          .rightMenuTitle {
-              width: 279px;
-              height: 69px;
-              font-size: 22px;
-              font-weight: bold;
-              line-height: 58px;
-              text-align: center;
-              color: #fff;
-              background: url("@/public/special/projectMoreTitle.png") no-repeat;
-              margin-bottom: 30px;
-          }
-
-          ul {
-              li {
-                  a {
-                      display: inline-block;
-                      width: 144px;
-                      height: 60px;
-                      line-height: 60px;
-                      text-align: center;
-                      background-color: #F4F4F4;
-                      border-top: 1px #fff solid;
-                      font-family: Microsoft YaHei, Microsoft YaHei;
-                      font-weight: 400;
-                      font-size: 16px;
-                      color: #000000;
-                  }
-              }
-
-              li:nth-child(1) {
-                  width: 144px;
-                  height: 60px;
-                  line-height: 60px;
-                  text-align: center;
-                  background-color: #F4F4F4;
-                  border-top: 1px #fff solid;
-                  font-family: Microsoft YaHei, Microsoft YaHei;
-                  font-weight: 400;
-                  font-size: 16px;
-                  color: #dd7d18;
-              }
-
-          }
-
-          .active {
-              background: #dd7d18;
-              color: #fff;
-          }
-      }
-  }
+    width: 100%;
+    // height: 1400px;
+    // margin-bottom: 70px;
+
+    .inner {
+        width: 1200px;
+        font-size: 16px;
+        position: relative;
+
+        .innerDetail {
+            width: 1080px;
+            margin: 0 auto;
+            margin-bottom: 60px;
+            min-height: 600px;
+
+            .headImg {
+                width: 1086px;
+                height: 10px;
+                background: url("@/public/special/head11.png") no-repeat 100% 100%;
+            }
+
+            .footImg {
+                width: 1086px;
+                height: 7px;
+                background: url("@/public/special/foot01.png") no-repeat 100% 100%;
+            }
+
+            .innerDetail1 {
+                width: 1086px;
+                margin: 0 auto;
+                padding: 30px 50px 40px;
+                box-sizing: border-box;
+                border-left: 1px solid #DBBE9E;
+                background: url("@/public/special/mid01.png") repeat-y 100% 100%;
+            }
+
+            .leftBottom::v-deep {
+                font-size: 16px;
+                line-height: 40px;
+            }
+        }
+
+
+
+        .innerLeft {
+            width: 279px;
+            position: absolute;
+            top: 3px;
+            left: -155px;
+
+            .rightMenuTitle {
+                width: 279px;
+                height: 69px;
+                font-size: 22px;
+                font-weight: bold;
+                line-height: 58px;
+                text-align: center;
+                color: #fff;
+                background: url("@/public/special/projectMoreTitle.png") no-repeat;
+                margin-bottom: 30px;
+            }
+
+            ul {
+                li {
+                    a {
+                        display: inline-block;
+                        width: 144px;
+                        height: 60px;
+                        line-height: 60px;
+                        text-align: center;
+                        background-color: #F4F4F4;
+                        border-top: 1px #fff solid;
+                        font-family: Microsoft YaHei, Microsoft YaHei;
+                        font-weight: 400;
+                        font-size: 16px;
+                        color: #000000;
+                    }
+                }
+
+                li:nth-child(1) {
+                    width: 144px;
+                    height: 60px;
+                    line-height: 60px;
+                    text-align: center;
+                    background-color: #F4F4F4;
+                    border-top: 1px #fff solid;
+                    font-family: Microsoft YaHei, Microsoft YaHei;
+                    font-weight: 400;
+                    font-size: 16px;
+                    color: #dd7d18;
+                }
+
+            }
+
+            .active {
+                background: #dd7d18;
+                color: #fff;
+            }
+        }
+    }
 }
 
 //本网招聘
@@ -192,11 +193,12 @@
 }
 
 .list {
-        height: 570px;
-        margin-bottom: 70px;
-        padding-bottom: 10px;
-        margin-top: 10px;
-        >li {
+    height: 570px;
+    margin-bottom: 70px;
+    padding-bottom: 10px;
+    margin-top: 10px;
+
+    >li {
         width: 790px;
         height: 60px;
         white-space: nowrap;

+ 9 - 8
assets/css/index.less

@@ -1,6 +1,3 @@
-
-
-
 //第一部分
 .part1 {
     width: 100%;
@@ -206,6 +203,7 @@
 
             .part1_right_title {
                 font-size: 22px;
+
                 .part1_right_titlelist {
                     color: #999999;
                     margin-right: 20px;
@@ -391,7 +389,8 @@
                             font-weight: bold;
                         }
                     }
-                    .part2_left_content1_list:last-child{
+
+                    .part2_left_content1_list:last-child {
                         margin-bottom: 0;
                     }
                 }
@@ -459,7 +458,8 @@
                         }
                     }
                 }
-                .adlogo3{
+
+                .adlogo3 {
                     position: absolute;
                     bottom: 0;
                     right: 0;
@@ -674,7 +674,7 @@
                         width: 460px;
 
                         .part3_left_content2_list {
-                            margin-bottom: 20px;
+                            margin-bottom: 18px;
 
                             .nav3_title {
                                 font-size: 18px;
@@ -846,7 +846,7 @@
                         background: #DD7D18;
                         position: absolute;
                         top: 0px;
-                        left: 46px;
+                        left: 38px;
                     }
                 }
 
@@ -988,8 +988,9 @@
                         font-weight: 400;
                     }
                 }
+
                 .part4_photo_contentlist:last-child {
-                    margin-bottom: 0px; 
+                    margin-bottom: 0px;
                 }
             }
 

+ 17 - 27
assets/css/public/footer.less

@@ -30,9 +30,9 @@
     display: block;
     margin: 10px auto 0;
     width: 100%;
-//     display: flex;
-//     justify-content: space-between;
-//     flex-wrap: wrap;
+    //     display: flex;
+    //     justify-content: space-between;
+    //     flex-wrap: wrap;
 }
 
 .foot_img_box>* {
@@ -40,8 +40,8 @@
     width: 170px;
     height: 57px;
     overflow: hidden;
-//     box-sizing: border-box;
-//     border: solid 1px #d7edd4;
+    //     box-sizing: border-box;
+    //     border: solid 1px #d7edd4;
     margin: 0px 36px 20px 0px;
 
 
@@ -52,7 +52,7 @@
     display: block;
     width: 170px;
     height: 57px;
-     
+
 }
 
 .foot_img_box>*:nth-of-type(6n) {
@@ -61,7 +61,7 @@
 
 .foot_frind_box {
     display: block;
-    margin: 20px auto 30px;
+    margin: 20px auto 20px;
     overflow: hidden;
     display: flex;
     width: 100%;
@@ -87,13 +87,14 @@
     height: 22px;
     color: #333;
     font-size: 16px;
-    margin: 0 30px;
+    margin: 0 27px;
+    margin-bottom: 20px;
 }
 
 .call_us_box {
     display: block;
     width: 100%;
-    margin: 40px auto 0;
+    margin: 0 auto;
     overflow: hidden;
     text-align: center;
     font-size: 0px;
@@ -132,7 +133,8 @@
     color: #333;
     font-size: 14px;
     line-height: 25px;
-//      background-color: red; 
+
+    //      background-color: red; 
     p {
         a {
             color: #333;
@@ -145,7 +147,10 @@
     }
 }
 
-.foot_text_box :deep(a){color: #333;}
+.foot_text_box :deep(a) {
+    color: #333;
+}
+
 // .foot_text_box a{}
 
 .top_content {
@@ -214,19 +219,4 @@
     height: 100%;
     width: 100%;
     overflow: hidden;
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+}

+ 10 - 1
assets/css/public/head.less

@@ -68,6 +68,10 @@ header {
 
 .headerNav .left>span {
     margin-right: 20px;
+
+    a {
+        color: #666666;
+    }
 }
 
 .headerNav .right {
@@ -148,6 +152,7 @@ header {
 .headerLogo {
     height: 145px;
     position: relative;
+
     //background: url("../../public/head/topBg.png") no-repeat center;
     .titlead {
         position: absolute;
@@ -156,21 +161,25 @@ header {
         width: 830px;
         height: 110px;
         overflow: hidden;
+
         a {
             display: block;
             width: 830px;
             height: 110px;
             overflow: hidden;
         }
+
         img {
             width: 100%;
-            height:110px;
+            height: 110px;
         }
     }
+
     .inner {
         position: relative;
         height: 145px;
     }
+
     .inner>img {
         width: 297px;
         height: 110px;

+ 27 - 36
components/detail/HotNews.vue

@@ -5,12 +5,8 @@
         </h1>
         <div class="hotList_photo_text">
             <div class="hotList_photo_text1" v-for="(item, index) in hotNewsListdata1" :key="index">
-                <NuxtLink
-                    :href="getLinkPathDetail(item)"
-                    :title="item.title"
-                    :key="item.id"
-                    :target="item.islink == 1 ? '_blank' : '_self'"
-                >
+                <NuxtLink :href="getLinkPathDetail(item)" :title="item.title" :key="item.id"
+                    :target="item.islink == 1 ? '_blank' : '_self'">
                     <img :src="item.imgurl" :alt="item.title">
                     <span class="hotlist_text">{{ item.title }}</span>
                 </NuxtLink>
@@ -19,24 +15,16 @@
         <ul class="message">
             <li class="messageList" v-for="(item, index) in hotNewsListdata2" :key="index">
                 <em></em>
-                <NuxtLink
-                    :href="getLinkPathDetail(item)"
-                    :title="item.title"
-                    :key="item.id"
-                    :target="item.islink == 1 ? '_blank' : '_self'"
-                >
+                <NuxtLink :href="getLinkPathDetail(item)" :title="item.title" :key="item.id"
+                    :target="item.islink == 1 ? '_blank' : '_self'">
                     {{ item.title }}
                 </NuxtLink>
             </li>
         </ul>
         <div class="hotList_photo_text">
-            <div class="hotList_photo_text1"  v-for="(item, index) in hotNewsListdata3" :key="index">
-                <NuxtLink
-                    :href="getLinkPathDetail(item)"
-                    :title="item.title"
-                    :key="item.id"
-                    :target="item.islink == 1 ? '_blank' : '_self'"
-                >
+            <div class="hotList_photo_text1" v-for="(item, index) in hotNewsListdata3" :key="index">
+                <NuxtLink :href="getLinkPathDetail(item)" :title="item.title" :key="item.id"
+                    :target="item.islink == 1 ? '_blank' : '_self'">
                     <img :src="item.imgurl" :alt="item.title">
                     <span class="hotlist_text">{{ item.title }}</span>
                 </NuxtLink>
@@ -45,12 +33,8 @@
         <ul class="message">
             <li class="messageList" v-for="(item, index) in hotNewsListdata4" :key="index">
                 <em></em>
-                <NuxtLink
-                    :href="getLinkPathDetail(item)"
-                    :title="item.title"
-                    :key="item.id"
-                    :target="item.islink == 1 ? '_blank' : '_self'"
-                >
+                <NuxtLink :href="getLinkPathDetail(item)" :title="item.title" :key="item.id"
+                    :target="item.islink == 1 ? '_blank' : '_self'">
                     {{ item.title }}
                 </NuxtLink>
             </li>
@@ -75,23 +59,25 @@ const hotNewsListdata3 = ref([])
 const hotNewsListdata4 = ref([])
 
 async function getPageData() {
-    const mkdata =  await requestDataPromise('/web/getWebsiteArticlett', {
+    const mkdata = await requestDataPromise('/web/getWebsiteArticlett', {
         method: 'GET',
         query: {
-            'pageSize':8,
+            'imgnum': 4,
+            'textnum': 4,
             'level': 4,
             'id': 0,
+            'placeid': 0,
         },
     });
-    if(mkdata.code == 200){
-        hotNewsListdata1.value = mkdata.data.slice(0, 2);
-        hotNewsListdata2.value = mkdata.data.slice(2, 4);
-        hotNewsListdata3.value = mkdata.data.slice(4, 6);
-        hotNewsListdata4.value = mkdata.data.slice(6, 8);
-    }else{
+    if (mkdata.code == 200) {
+        hotNewsListdata1.value = mkdata.data.img.slice(0, 2);
+        hotNewsListdata3.value = mkdata.data.img.slice(2, 4);
+        hotNewsListdata2.value = mkdata.data.text.slice(0, 2);
+        hotNewsListdata4.value = mkdata.data.text.slice(2, 4);
+    } else {
         console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
         console.log("错误位置:获取最新资讯")
-        console.log("后端错误反馈:",mkdata.message)
+        console.log("后端错误反馈:", mkdata.message)
         console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
     }
 }
@@ -102,6 +88,7 @@ getPageData();
 //标题
 .hotList {
     width: 270px;
+    height: 618px;
     border-top: 2px solid #dd7d18;
 
     .title {
@@ -116,6 +103,7 @@ getPageData();
         position: relative;
     }
 }
+
 //今日热点
 // 图文
 .hotList_photo_text {
@@ -147,15 +135,18 @@ getPageData();
             padding-top: 3px;
         }
     }
+
     .hotList_photo_text1:first-child {
         margin-bottom: 20px;
     }
-    .hotList_photo_text1:hover{
-        .hotlist_text{
+
+    .hotList_photo_text1:hover {
+        .hotlist_text {
             color: #dd7d18;
         }
     }
 }
+
 // 文字
 .message {
     width: 270px;

+ 6 - 26
components/detail/HotNews2.vue

@@ -1,22 +1,4 @@
 <template>
-    <!-- <div class="title">
-        <h4>
-            热点精选
-        </h4>
-    </div> -->
-    <!-- 列表 -->
-    <!-- <ul class="rightList">
-        <li v-for="item in hotNewsList">
-            <NuxtLink :to="item.linkurl" v-show="item.islink == 1" :title="item.title">
-                <img class="hotNewsImg" :src="item.imgurl">
-                <p>{{ item.title }}</p>
-            </NuxtLink>
-            <NuxtLink :to="`/${item.pinyin}/${item.id}.html`" v-if="item.islink == 0" :title="item.title">
-                <img class="hotNewsImg" :src="item.imgurl">
-                <p>{{ item.title }}</p>
-            </NuxtLink>
-        </li>
-    </ul> -->
     <div class="hotNews">
         <div class="hotNews_title">
             热点精选
@@ -24,12 +6,8 @@
         <ul class="hotNews_message">
             <li class="hotNews_messageList" v-for="(item, index) in hotNewsList" :key="index">
                 <span class="number">{{ index + 1 }}</span>
-                <NuxtLink
-                    :href="getLinkPathDetail(item)"
-                    :title="item.title"
-                    :key="item.id"
-                    :target="item.islink == 1 ? '_blank' : '_self'"
-                >
+                <NuxtLink :href="getLinkPathDetail(item)" :title="item.title" :key="item.id"
+                    :target="item.islink == 1 ? '_blank' : '_self'">
                     <span class="hotlist_text">{{ item.title }}</span>
                 </NuxtLink>
             </li>
@@ -51,14 +29,15 @@ async function getPageData() {
     const mkdata = await requestDataPromise('/web/getWebsiteArticlett', {
         method: 'GET',
         query: {
-            'pageSize': 8,
+            'imgnum': 0,
+            'textnum': 8,
             'level': 5,
             'placeid': 0,
             'id': 0
         },
     });
     if (mkdata.code == 200) {
-        hotNewsList.value = mkdata.data;
+        hotNewsList.value = mkdata.data.text;
     } else {
         console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
         console.log("错误位置:获取热点精选")
@@ -73,6 +52,7 @@ getPageData();
 <style lang="less" scoped>
 .hotNews {
     width: 270px;
+    height: 597px;
     border-top: 2px solid #dd7d18;
     margin-top: 40px;
 

+ 4 - 3
components/home/BigSwiper.vue

@@ -3,7 +3,7 @@
     <div class="swiper" v-if="imagelist">
         <el-carousel height="400px" v-if="imagelist">
             <el-carousel-item v-for="(item, index) in imagelist" :key="index">
-                <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank">
+                <NuxtLink :href="getLinkPathDetail(item)">
                     <img :src="item.imgurl">
                     <div class="text">
                         <span>{{ item.title }}</span>
@@ -22,14 +22,15 @@ async function getModelData1() {
     const mkdata =  await requestDataPromise('/web/getWebsiteArticlett', {
         method: 'GET',
         query: {
-            'pageSize': 5,
+            'imgnum': 5,
+            'textnum': 0,
             'level': 2,
             'placeid': 0,
             'id':''
         },
     });
     if(mkdata.code == 200){
-        imagelist.value = mkdata.data;
+        imagelist.value = mkdata.data.img;
     }else{
         console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
         console.log("错误位置:获取首页轮播图")

+ 20 - 15
components/home/PageMessage.vue

@@ -2,7 +2,7 @@
     <!-- 新闻头条部分 -->
     <div class="topNewsPart">
         <div class="inner">
-            <div class="toutiao">
+            <div class="toutiao" v-if="headlinelist">
                 <div class="xwtt">
                     <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
                         :target="item.islink == 1 ? '_blank' : '_self'" v-for="(item, index) in headlinelist"
@@ -91,18 +91,21 @@ async function getModelData1() {
     const mkdata = await requestDataPromise('/web/getWebsiteArticlett', {
         method: 'GET',
         query: {
-            'pageSize': 4,
+            'imgnum': 0,
+            'textnum': 4,
             'level': 1,
             'placeid': 0,
             'id': ''
         },
     });
     if (mkdata.code == 200) {
-        for (let i = 0; i < mkdata.data.length; i++) {
-            if (i < 1) {
-                headlinelist.value.push(mkdata.data[i])
-            }else{
-                headlinelist1.value.push(mkdata.data[i])
+        if (mkdata.data.text.length != 0) {
+            for (let i = 0; i < mkdata.data.text.length; i++) {
+                if (i < 1) {
+                    headlinelist.value.push(mkdata.data.text[i])
+                } else {
+                    headlinelist1.value.push(mkdata.data.text[i])
+                }
             }
         }
         //填充大标题
@@ -125,14 +128,15 @@ async function getModelData2() {
     const mkdata = await requestDataPromise('/web/getWebsiteArticlett', {
         method: 'GET',
         query: {
-            'pageSize': 2,
+            'imgnum': 2,
+            'textnum': 0,
             'level': 2,
             'placeid': 6,
-            'id': ''
+            'id': 0
         },
     });
     if (mkdata.code == 200) {
-        moveBannerList.value = mkdata.data;
+        moveBannerList.value = mkdata.data.img;
     } else {
         console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
         console.log("错误位置:获取首页轮播图下面的图文")
@@ -149,20 +153,21 @@ async function getModelData3() {
     const mkdata = await requestDataPromise('/web/getWebsiteArticlett', {
         method: 'GET',
         query: {
-            'pageSize': 8,
+            'imgnum': 0,
+            'textnum': 15,
             'level': 6,
             'placeid': 0,
             'id': ''
         },
     });
     if (mkdata.code == 200) {
-        for (let i = 0; i < mkdata.data.length; i++) {
+        for (let i = 0; i < mkdata.data.text.length; i++) {
             if (i >= 0 && i <= 4) {
-                hotNewsList_data1.value.push(mkdata.data[i])
+                hotNewsList_data1.value.push(mkdata.data.text[i])
             } else if (i >= 5 && i <= 9) {
-                hotNewsList_data2.value.push(mkdata.data[i])
+                hotNewsList_data2.value.push(mkdata.data.text[i])
             } else if (i >= 10 && i <= 14) {
-                hotNewsList_data3.value.push(mkdata.data[i])
+                hotNewsList_data3.value.push(mkdata.data.text[i])
             }
         }
     } else {

+ 21 - 11
components/home/SecondaryHeading.vue

@@ -15,33 +15,33 @@
 //1.设置组件数据 start---------------------------------------->
 //子导航
 const props = defineProps({
-    titleData:Array,
-    pinyinid:Number
+    titleData: Array,
+    pinyinid: Number
 });
 
 //获取当前url路径
 const route = useRoute();
 //获得当前的完整路径
 const fullPath = route.path;
-const segments = fullPath.split('/'); 
-const targetSegment = segments[1]; 
+const segments = fullPath.split('/');
+const targetSegment = segments[1];
 //1.设置组件数据 end---------------------------------------->
 
 //2.设置组件标题 start ---------------------------------------->
 const title = ref("")
 async function getPageData() {
-    const mkdata =  await requestDataPromise('/web/getOneWebsiteCategory', {
+    const mkdata = await requestDataPromise('/web/getOneWebsiteCategory', {
         method: 'GET',
         query: {
             'catid': props.pinyinid,
         },
     });
-    if(mkdata.code == 200){
+    if (mkdata.code == 200) {
         title.value = mkdata.data.alias;
-    }else{
+    } else {
         console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
         console.log("错误位置:获取二级标题")
-        console.log("后端错误反馈:",mkdata.message)
+        console.log("后端错误反馈:", mkdata.message)
         console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
     }
 }
@@ -55,12 +55,14 @@ getPageData();
     margin: 0 auto;
     margin-bottom: 40px;
 }
+
 .index_nav {
     width: 1200px;
     margin: 0 auto;
     margin-top: 20px;
     border-bottom: solid 1px #D9D9D9;
     height: 88px;
+
     .index_nav_a_one {
         float: left;
         color: #333;
@@ -84,6 +86,7 @@ getPageData();
         background: url(https://img.bjzxtw.org.cn/master/www/nmw/img/3.png) no-repeat left top;
         background-size: 100% 100%;
     }
+
     .index_nav_a {
         float: left;
         color: #333;
@@ -95,20 +98,25 @@ getPageData();
         border-bottom: solid 3px #fff;
         box-sizing: border-box;
         position: relative;
+
         a {
-            color:#333333
+            color: #333333
         }
-        &:hover{
+
+        &:hover {
             border-bottom: solid 3px #D2600F;
         }
     }
-    .index_nav_a a:hover{
+
+    .index_nav_a a:hover {
         color: #D2600F;
         // border-bottom: solid 3px #D2600F;
     }
+
     .index_nav_a_only {
         border-bottom: solid 3px #D2600F;
     }
+
     .index_nav_a::after {
         content: '';
         display: block;
@@ -119,9 +127,11 @@ getPageData();
         right: -38px;
         top: 39px;
     }
+
     .index_nav_a:nth-last-of-type(1) {
         overflow: hidden;
     }
+
     a.index_nav_a:nth-of-type(1) {
         overflow: hidden;
         height: 56px;

+ 2 - 2
components/home/foot.vue

@@ -73,8 +73,8 @@ async function getModelDataAll() {
     const mkdata =  await requestDataPromise('/web/getWebsiteFootAll', {
         method: 'GET',
         query: {
-            'link_textnum':8,
-            'link_imgnum':12,
+            'link_textnum':24,
+            'link_imgnum':18,
             'link_footnum':4
         },
     });

+ 2 - 2
components/home/kefu.vue

@@ -12,11 +12,11 @@
       <p>QQ客服</p>
       <div class="kefu_item_content_QQ">
           <div @click="addQQFriend(bottomBase.customer_service_qq)" class="qqadd">
-              <img src="https://img.bjzxtw.org.cn/pre/public/index/tubiao1.png" width="100">
+              <img :src="bottomBase.service_qq_img" width="100">
               <div class="qqfs">{{bottomBase.customer_service_qq}}</div>
           </div>
           <div @click="addQQFriend(bottomBase.communications)" class="qqadd">
-              <img src="https://img.bjzxtw.org.cn/pre/public/index/tubiao2.png" width="100">
+              <img :src="bottomBase.communications_img" width="100">
               <div class="qqfs">{{bottomBase.communications}}</div>
           </div>
           <div class="arrow"></div>

+ 45 - 26
components/home/pageHead.vue

@@ -1,11 +1,12 @@
 <template>
-    <!-- 页面头部 -->
     <header>
-        <!-- 顶部导航 -->
         <nav class="headerNav">
             <div class="inner">
                 <div class="left">
-                    <span>中农兴业网团旗下网站 · 农业百强网站(科教文化类十强)</span> 
+                    <span class="znxy">
+                        <a href="http://znxyw.org.cn/" target="_blank">中农兴业网团</a>
+                    </span>
+                    <span>旗下网站 · 农业百强网站(科教文化类十强)</span>
                 </div>
                 <div class="right">
                     <div class="menu">
@@ -24,7 +25,8 @@
                             <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/head/topicon4.png" alt="注册">注册
                         </button>
                         <button class="reg" @click="userCenter" v-show="showToken">
-                            <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/head/topicon3.png" alt="用户信息">{{ username }}
+                            <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/head/topicon3.png" alt="用户信息">{{
+                                username }}
                         </button>
                         <button class="reg" @click="goSearch">
                             <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/head/searchicon.png" alt="搜索">搜索
@@ -37,32 +39,27 @@
                 </div>
             </div>
         </nav>
-        <!-- 头部logo -->
         <div class="headerLogo">
             <div class="inner">
                 <img :src="logo" :alt="webSiteName" class="left" @click="backHome">
                 <div class="titlead" v-if="adImg">
-                    <a href="http://sannongdy.org.cn/" v-if="adImg.image_url==null" target="_blank" :title="adImg.place_name">
-                        <img :src="adImg.thumb" :alt="adImg.place_name" data-tag="imgurl.ad_tag">
-                    </a>     
-                    <a :href="adImg.image_url" v-else :title="adImg.ad_name">
-                        <img :src="adImg.image_src" :alt="adImg.ad_name" data-tag="imgurl.ad_tag">
+                    <a href="http://sannongdy.org.cn/" v-if="adImg.image_url == null" target="_blank"
+                        :title="adImg.introduce">
+                        <img :src="adImg.thumb" :alt="adImg.introduce" data-tag="imgurl.ad_tag" :id="adImg.ad_tag">
+                    </a>
+                    <a :href="adImg.image_url" v-else :title="adImg.introduce">
+                        <img :src="adImg.image_src" :alt="adImg.introduce" data-tag="imgurl.ad_tag" :id="adImg.ad_tag">
                     </a>
                 </div>
             </div>
         </div>
-        <el-dialog v-model="dialogTableVisible" title="" width="800">
+        <el-dialog v-model="dialogTableVisible" width="800">
             <div class="tips">
                 <p>
-                    <img src="../../public/topic/tips.png" alt="">
-                    提示:注册请联系管理员操作!
-                </p>
-                <p>
-                    联系电话:010-56019387
-                </p>
-                <p>
-                    QQ : 2909421493 、213552413
+                    <img src="@/public/topic/tips.png"> 提示:注册请联系管理员操作!
                 </p>
+                <p>联系电话:010-56019387</p>
+                <p>QQ : 2909421493 、213552413</p>
             </div>
         </el-dialog>
     </header>
@@ -109,8 +106,6 @@ let showToken = useState("showToken", () => '')
 token1.value = getToken()
 
 
-
-
 //检测登录状态
 let tokenStatus = ref('');
 tokenStatus.value = getToken()
@@ -127,11 +122,12 @@ let goLogin = () => {
     //开启线上登录模式 start---------------------------------------->
     isDel.value = 0
     token1.value = getToken()
-
     //王鹏
-    window.open($BwebUrl + "/auth/login.php?backurl=" + $CwebUrl, '_blank');
+    //window.open($BwebUrl + "/auth/login.php?backurl=" + $CwebUrl, '_blank');
     //刘佳伟
     //window.open($LoginWebUrl + "/api/goLogin?backurl=" + $CwebUrl, '_blank');
+    //党云龙
+    window.open($BwebUrl + "/#/login?backurl=" + $CwebUrl, '_blank');
     //开启线上登录模式 end---------------------------------------->
 
     //开启本地登录模式 start---------------------------------------->
@@ -156,6 +152,21 @@ let userCenter = () => {
         return
     }
 }
+
+// 添加点击事件处理函数
+const handleClickOutside = (event) => {
+    // 获取用户信息菜单元素
+    const userInfoMenu = document.querySelector('.userInfo11');
+    // 获取用户按钮元素
+    const userButton = document.querySelector('.reg img[alt="用户信息"]')?.parentElement;
+
+    // 如果点击的不是菜单本身且不是用户按钮,则隐藏菜单
+    if (userInfoMenu &&
+        !userInfoMenu.contains(event.target) &&
+        !userButton?.contains(event.target)) {
+        isShow.value = false;
+    }
+}
 //2.登录逻辑 end ---------------------------------------->
 
 //3.跳转菜单逻辑 start ---------------------------------------->
@@ -173,9 +184,10 @@ let exit = () => {
     token1.value = getToken()
 
     let tokendata = getToken()
-    console.log("用户退出登录======token为:", tokendata)
+
     //王鹏
-    //let url = $BwebUrl + '/auth/logout.php?backurl=' + $CwebUrl + '&admintoken=' + tokendata;
+    // let url = $BwebUrl + '/auth/logout.php?backurl=' + $CwebUrl + '&admintoken=' + tokendata;
+    //   console.log("用户退出登录======token为:", tokendata,url)
     //刘佳伟
     let url = $LoginWebUrl + '/api/logout?backurl=' + $CwebUrl + '&admintoken=' + tokendata;
     window.location.href = url;
@@ -243,7 +255,14 @@ let adImg = ref({})
 //4.获取广告 end ---------------------------------------->
 
 //5.获取登录状态 start ---------------------------------------->
+// 在组件卸载时移除事件监听
+onUnmounted(() => {
+    document.removeEventListener('click', handleClickOutside);
+})
+
 onMounted(async () => {
+    //添加监听关闭个人中心菜单
+    document.addEventListener('click', handleClickOutside);
 
     //从客户端获取登录状态
     //从客户端阶段开始 持续查询登录状态
@@ -323,5 +342,5 @@ onMounted(async () => {
 </script>
 
 <style lang="less" scoped>
-    @import url('@/assets/css/public/head.less');
+@import url('@/assets/css/public/head.less');
 </style>

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels