Browse Source

修改bug

修改bug
dangyunlong 1 month ago
parent
commit
b53bed7823

File diff suppressed because it is too large
+ 0 - 979
.nuxt/dev/index.mjs


File diff suppressed because it is too large
+ 0 - 0
.nuxt/dev/index.mjs.map


+ 796 - 6
.nuxt/dist/server/client.manifest.json

@@ -1,18 +1,808 @@
 {
-  "@vite/client": {
+  "_9mv3MCFQ.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "9mv3MCFQ.js",
+    "name": "HotNews2",
+    "imports": [
+      "_JCCKcGnC.js",
+      "node_modules/nuxt/dist/app/entry.js"
+    ],
+    "css": [
+      "HotNews2.DiLSNQHa.css"
+    ]
+  },
+  "HotNews2.DiLSNQHa.css": {
+    "file": "HotNews2.DiLSNQHa.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "_AdYZwjRs.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "AdYZwjRs.js",
+    "name": "index",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_JCCKcGnC.js",
+      "_Cw-m6fsA.js",
+      "_C6T6sXx0.js",
+      "_C366m717.js"
+    ]
+  },
+  "_B033LYky.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "B033LYky.js",
+    "name": "index",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_JCCKcGnC.js",
+      "_C6T6sXx0.js"
+    ]
+  },
+  "_BL4pJVhH.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "BL4pJVhH.js",
+    "name": "index",
+    "imports": [
+      "_JCCKcGnC.js",
+      "node_modules/nuxt/dist/app/entry.js"
+    ]
+  },
+  "_B_2ZCsWx.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "B_2ZCsWx.js",
+    "name": "index",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_JCCKcGnC.js",
+      "_C6T6sXx0.js"
+    ]
+  },
+  "_BjpsNvOt.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "BjpsNvOt.js",
+    "name": "status",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_Cw-m6fsA.js",
+      "_JCCKcGnC.js",
+      "_C6T6sXx0.js",
+      "_B_2ZCsWx.js",
+      "_AdYZwjRs.js"
+    ],
+    "css": [
+      "status.CwCqeKJH.css"
+    ]
+  },
+  "status.CwCqeKJH.css": {
+    "file": "status.CwCqeKJH.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "_C366m717.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "C366m717.js",
+    "name": "index",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_JCCKcGnC.js",
+      "_C6T6sXx0.js"
+    ]
+  },
+  "_C6T6sXx0.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "C6T6sXx0.js",
+    "name": "index",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_JCCKcGnC.js"
+    ]
+  },
+  "_COrjDiGA.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "COrjDiGA.js",
+    "name": "index",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_JCCKcGnC.js",
+      "_BL4pJVhH.js",
+      "_Cw-m6fsA.js"
+    ]
+  },
+  "_Cw-m6fsA.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "Cw-m6fsA.js",
+    "name": "index",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_JCCKcGnC.js",
+      "_C6T6sXx0.js"
+    ]
+  },
+  "_D-BtpMlM.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "D-BtpMlM.js",
+    "name": "index",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_JCCKcGnC.js",
+      "_C6T6sXx0.js"
+    ]
+  },
+  "_D2bSjApV.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "D2bSjApV.js",
+    "name": "TopTen",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js"
+    ],
+    "css": [
+      "TopTen.B06sivl2.css"
+    ]
+  },
+  "TopTen.B06sivl2.css": {
+    "file": "TopTen.B06sivl2.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "_DQwV0-r-.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "DQwV0-r-.js",
+    "name": "index",
+    "imports": [
+      "_JCCKcGnC.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_C6T6sXx0.js",
+      "_Cw-m6fsA.js",
+      "_BL4pJVhH.js"
+    ]
+  },
+  "_D_XNvNyB.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "D_XNvNyB.js",
+    "name": "publicFunction",
+    "imports": [
+      "_JCCKcGnC.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_Cw-m6fsA.js",
+      "_B033LYky.js"
+    ],
+    "css": [
+      "publicFunction.CivWSswx.css"
+    ]
+  },
+  "publicFunction.CivWSswx.css": {
+    "file": "publicFunction.CivWSswx.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "_Db5e2WdG.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "Db5e2WdG.js",
+    "name": "pageNavigation1",
+    "imports": [
+      "_JCCKcGnC.js",
+      "node_modules/nuxt/dist/app/entry.js"
+    ],
+    "css": [
+      "pageNavigation1.oJmdpR6e.css"
+    ]
+  },
+  "pageNavigation1.oJmdpR6e.css": {
+    "file": "pageNavigation1.oJmdpR6e.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "_DtN6oQjh.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "DtN6oQjh.js",
+    "name": "index",
+    "imports": [
+      "_JCCKcGnC.js",
+      "_C6T6sXx0.js",
+      "node_modules/nuxt/dist/app/entry.js"
+    ]
+  },
+  "_HotNews2.DiLSNQHa.css": {
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true,
+    "file": "HotNews2.DiLSNQHa.css",
+    "src": "_HotNews2.DiLSNQHa.css"
+  },
+  "_JCCKcGnC.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "JCCKcGnC.js",
+    "name": "pageHead",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js"
+    ],
+    "css": [
+      "pageHead.BNcgfKMG.css"
+    ]
+  },
+  "pageHead.BNcgfKMG.css": {
+    "file": "pageHead.BNcgfKMG.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "_R1dT7oS0.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "R1dT7oS0.js",
+    "name": "index",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_JCCKcGnC.js"
+    ]
+  },
+  "_T4BMsaBK.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "T4BMsaBK.js",
+    "name": "foot1",
+    "imports": [
+      "_JCCKcGnC.js",
+      "node_modules/nuxt/dist/app/entry.js"
+    ],
+    "css": [
+      "foot1.BpPDlSQy.css"
+    ]
+  },
+  "foot1.BpPDlSQy.css": {
+    "file": "foot1.BpPDlSQy.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "_TopTen.B06sivl2.css": {
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true,
+    "file": "TopTen.B06sivl2.css",
+    "src": "_TopTen.B06sivl2.css"
+  },
+  "_foot1.BpPDlSQy.css": {
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true,
+    "file": "foot1.BpPDlSQy.css",
+    "src": "_foot1.BpPDlSQy.css"
+  },
+  "_pageHead.BNcgfKMG.css": {
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true,
+    "file": "pageHead.BNcgfKMG.css",
+    "src": "_pageHead.BNcgfKMG.css"
+  },
+  "_pageNavigation1.oJmdpR6e.css": {
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true,
+    "file": "pageNavigation1.oJmdpR6e.css",
+    "src": "_pageNavigation1.oJmdpR6e.css"
+  },
+  "_publicFunction.CivWSswx.css": {
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true,
+    "file": "publicFunction.CivWSswx.css",
+    "src": "_publicFunction.CivWSswx.css"
+  },
+  "_status.CwCqeKJH.css": {
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true,
+    "file": "status.CwCqeKJH.css",
+    "src": "_status.CwCqeKJH.css"
+  },
+  "middleware/auth.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "0j9It3v1.js",
+    "name": "auth",
+    "src": "middleware/auth.js",
+    "isDynamicEntry": true
+  },
+  "node_modules/nuxt/dist/app/entry.js": {
+    "resourceType": "script",
+    "module": true,
     "prefetch": true,
+    "preload": true,
+    "file": "D8VU4sXS.js",
+    "name": "entry",
+    "src": "node_modules/nuxt/dist/app/entry.js",
     "isEntry": true,
-    "file": "@vite/client",
+    "dynamicImports": [
+      "middleware/auth.js"
+    ],
+    "css": [
+      "entry.BBvX8a_U.css"
+    ],
+    "assets": [
+      "tubiao1.6lb5zJyu.png",
+      "tubiao2.DR-DvYS6.png",
+      "404.YizNGDMD.png"
+    ],
+    "_globalCSS": true
+  },
+  "entry.BBvX8a_U.css": {
+    "file": "entry.BBvX8a_U.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "tubiao1.6lb5zJyu.png": {
+    "file": "tubiao1.6lb5zJyu.png",
+    "resourceType": "image",
+    "prefetch": true,
+    "mimeType": "image/png"
+  },
+  "tubiao2.DR-DvYS6.png": {
+    "file": "tubiao2.DR-DvYS6.png",
+    "resourceType": "image",
+    "prefetch": true,
+    "mimeType": "image/png"
+  },
+  "404.YizNGDMD.png": {
+    "file": "404.YizNGDMD.png",
+    "resourceType": "image",
+    "prefetch": true,
+    "mimeType": "image/png"
+  },
+  "pages/advertising/adDetail.vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "B6KFbKNa.js",
+    "name": "adDetail",
+    "src": "pages/advertising/adDetail.vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_Db5e2WdG.js",
+      "_BjpsNvOt.js",
+      "_T4BMsaBK.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_Cw-m6fsA.js",
+      "_C6T6sXx0.js",
+      "_B_2ZCsWx.js",
+      "_AdYZwjRs.js",
+      "_C366m717.js"
+    ],
+    "css": []
+  },
+  "adDetail.u8ZEpNcv.css": {
+    "file": "adDetail.u8ZEpNcv.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/advertising/index.vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "DWxjOGVg.js",
+    "name": "index",
+    "src": "pages/advertising/index.vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_Db5e2WdG.js",
+      "_BjpsNvOt.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_DQwV0-r-.js",
+      "_DtN6oQjh.js",
+      "_B033LYky.js",
+      "_T4BMsaBK.js",
+      "_Cw-m6fsA.js",
+      "_C6T6sXx0.js",
+      "_C366m717.js",
+      "_D-BtpMlM.js",
+      "_B_2ZCsWx.js",
+      "_COrjDiGA.js",
+      "_AdYZwjRs.js",
+      "_BL4pJVhH.js"
+    ],
+    "css": []
+  },
+  "index.iI4le9dd.css": {
+    "file": "index.iI4le9dd.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/index.vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "D0w-HT_1.js",
+    "name": "index",
+    "src": "pages/index.vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_D_XNvNyB.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_COrjDiGA.js",
+      "_D2bSjApV.js",
+      "_B033LYky.js",
+      "_D-BtpMlM.js",
+      "_C366m717.js",
+      "_B_2ZCsWx.js",
+      "_Cw-m6fsA.js",
+      "_C6T6sXx0.js",
+      "_BL4pJVhH.js"
+    ],
     "css": [],
+    "assets": [
+      "sndc.C2AWBCR5.png"
+    ]
+  },
+  "index.C-xYMQzb.css": {
+    "file": "index.C-xYMQzb.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "sndc.C2AWBCR5.png": {
+    "file": "sndc.C2AWBCR5.png",
+    "resourceType": "image",
+    "prefetch": true,
+    "mimeType": "image/png"
+  },
+  "pages/login.vue": {
+    "resourceType": "script",
     "module": true,
-    "resourceType": "script"
+    "prefetch": true,
+    "preload": true,
+    "file": "DTbMP4LY.js",
+    "name": "login",
+    "src": "pages/login.vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js"
+    ],
+    "css": []
   },
-  "D:/MyProject/gogs/sannongzixunwang_web_ssr/sannongzixunwang_web/node_modules/nuxt/dist/app/entry.js": {
+  "login.B38gbU7i.css": {
+    "file": "login.B38gbU7i.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/newsDetail/[id].vue": {
     "resourceType": "script",
     "module": true,
     "prefetch": true,
     "preload": true,
-    "isEntry": true,
-    "file": "D:/MyProject/gogs/sannongzixunwang_web_ssr/sannongzixunwang_web/node_modules/nuxt/dist/app/entry.js"
+    "file": "DzzhnbSZ.js",
+    "name": "_id_",
+    "src": "pages/newsDetail/[id].vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_Db5e2WdG.js",
+      "_D2bSjApV.js",
+      "_9mv3MCFQ.js",
+      "_T4BMsaBK.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_B033LYky.js",
+      "_R1dT7oS0.js",
+      "_D-BtpMlM.js",
+      "_C366m717.js",
+      "_B_2ZCsWx.js",
+      "_C6T6sXx0.js"
+    ],
+    "css": []
+  },
+  "_id_.XKAAjaDH.css": {
+    "file": "_id_.XKAAjaDH.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/newsList/[id].vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "C-14wCla.js",
+    "name": "_id_",
+    "src": "pages/newsList/[id].vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_Db5e2WdG.js",
+      "_D2bSjApV.js",
+      "_9mv3MCFQ.js",
+      "_T4BMsaBK.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_R1dT7oS0.js",
+      "_AdYZwjRs.js",
+      "_Cw-m6fsA.js",
+      "_C6T6sXx0.js",
+      "_C366m717.js"
+    ],
+    "css": []
+  },
+  "_id_.C-s3MraB.css": {
+    "file": "_id_.C-s3MraB.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/primaryNavigation/[id].vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "inwI6mOK.js",
+    "name": "_id_",
+    "src": "pages/primaryNavigation/[id].vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_D_XNvNyB.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_D2bSjApV.js",
+      "_COrjDiGA.js",
+      "_T4BMsaBK.js",
+      "_Cw-m6fsA.js",
+      "_C6T6sXx0.js",
+      "_B033LYky.js",
+      "_BL4pJVhH.js"
+    ],
+    "css": []
+  },
+  "_id_.D6Qd-S25.css": {
+    "file": "_id_.D6Qd-S25.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/search/[id].vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "m33OXJBn.js",
+    "name": "_id_",
+    "src": "pages/search/[id].vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_Db5e2WdG.js",
+      "_D2bSjApV.js",
+      "_T4BMsaBK.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_R1dT7oS0.js",
+      "_AdYZwjRs.js",
+      "_Cw-m6fsA.js",
+      "_C6T6sXx0.js",
+      "_C366m717.js"
+    ],
+    "css": []
+  },
+  "_id_.D_M_9Z05.css": {
+    "file": "_id_.D_M_9Z05.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/speciaArticle/[id].vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "B1M8YuG_.js",
+    "name": "_id_",
+    "src": "pages/speciaArticle/[id].vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_Db5e2WdG.js",
+      "_D2bSjApV.js",
+      "_T4BMsaBK.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_R1dT7oS0.js"
+    ],
+    "css": []
+  },
+  "_id_.CuqHyZMi.css": {
+    "file": "_id_.CuqHyZMi.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/specialList/[id].vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "CVaEVpQV.js",
+    "name": "_id_",
+    "src": "pages/specialList/[id].vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_Db5e2WdG.js",
+      "_D2bSjApV.js",
+      "_T4BMsaBK.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_R1dT7oS0.js"
+    ],
+    "css": []
+  },
+  "_id_.DeP1RQne.css": {
+    "file": "_id_.DeP1RQne.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/topic/[id].vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "Bt5fUgqs.js",
+    "name": "_id_",
+    "src": "pages/topic/[id].vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_Db5e2WdG.js",
+      "_T4BMsaBK.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_DtN6oQjh.js",
+      "_C366m717.js",
+      "_B033LYky.js",
+      "_AdYZwjRs.js",
+      "_C6T6sXx0.js",
+      "_Cw-m6fsA.js"
+    ],
+    "css": []
+  },
+  "_id_.B8xLMiS_.css": {
+    "file": "_id_.B8xLMiS_.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/topic/index.vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "CYwa2V8z.js",
+    "name": "index",
+    "src": "pages/topic/index.vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_Db5e2WdG.js",
+      "_T4BMsaBK.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_DQwV0-r-.js",
+      "_AdYZwjRs.js",
+      "_C6T6sXx0.js",
+      "_Cw-m6fsA.js",
+      "_BL4pJVhH.js",
+      "_C366m717.js"
+    ],
+    "css": []
+  },
+  "index.DmxC_wPZ.css": {
+    "file": "index.DmxC_wPZ.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/user/about.vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "Dv1HEKAH.js",
+    "name": "about",
+    "src": "pages/user/about.vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js"
+    ]
+  },
+  "public/error/404.png": {
+    "resourceType": "image",
+    "prefetch": true,
+    "mimeType": "image/png",
+    "file": "404.YizNGDMD.png",
+    "src": "public/error/404.png"
+  },
+  "public/index/sndc.png": {
+    "resourceType": "image",
+    "prefetch": true,
+    "mimeType": "image/png",
+    "file": "sndc.C2AWBCR5.png",
+    "src": "public/index/sndc.png"
+  },
+  "public/index/tubiao1.png": {
+    "resourceType": "image",
+    "prefetch": true,
+    "mimeType": "image/png",
+    "file": "tubiao1.6lb5zJyu.png",
+    "src": "public/index/tubiao1.png"
+  },
+  "public/index/tubiao2.png": {
+    "resourceType": "image",
+    "prefetch": true,
+    "mimeType": "image/png",
+    "file": "tubiao2.DR-DvYS6.png",
+    "src": "public/index/tubiao2.png"
   }
 }

+ 808 - 1
.nuxt/dist/server/client.manifest.mjs

@@ -1 +1,808 @@
-export { default } from "file:///D:/MyProject/gogs/sannongzixunwang_web_ssr/sannongzixunwang_web/node_modules/@nuxt/vite-builder/dist/runtime/client.manifest.mjs"
+export default {
+  "_9mv3MCFQ.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "9mv3MCFQ.js",
+    "name": "HotNews2",
+    "imports": [
+      "_JCCKcGnC.js",
+      "node_modules/nuxt/dist/app/entry.js"
+    ],
+    "css": [
+      "HotNews2.DiLSNQHa.css"
+    ]
+  },
+  "HotNews2.DiLSNQHa.css": {
+    "file": "HotNews2.DiLSNQHa.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "_AdYZwjRs.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "AdYZwjRs.js",
+    "name": "index",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_JCCKcGnC.js",
+      "_Cw-m6fsA.js",
+      "_C6T6sXx0.js",
+      "_C366m717.js"
+    ]
+  },
+  "_B033LYky.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "B033LYky.js",
+    "name": "index",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_JCCKcGnC.js",
+      "_C6T6sXx0.js"
+    ]
+  },
+  "_BL4pJVhH.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "BL4pJVhH.js",
+    "name": "index",
+    "imports": [
+      "_JCCKcGnC.js",
+      "node_modules/nuxt/dist/app/entry.js"
+    ]
+  },
+  "_B_2ZCsWx.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "B_2ZCsWx.js",
+    "name": "index",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_JCCKcGnC.js",
+      "_C6T6sXx0.js"
+    ]
+  },
+  "_BjpsNvOt.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "BjpsNvOt.js",
+    "name": "status",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_Cw-m6fsA.js",
+      "_JCCKcGnC.js",
+      "_C6T6sXx0.js",
+      "_B_2ZCsWx.js",
+      "_AdYZwjRs.js"
+    ],
+    "css": [
+      "status.CwCqeKJH.css"
+    ]
+  },
+  "status.CwCqeKJH.css": {
+    "file": "status.CwCqeKJH.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "_C366m717.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "C366m717.js",
+    "name": "index",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_JCCKcGnC.js",
+      "_C6T6sXx0.js"
+    ]
+  },
+  "_C6T6sXx0.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "C6T6sXx0.js",
+    "name": "index",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_JCCKcGnC.js"
+    ]
+  },
+  "_COrjDiGA.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "COrjDiGA.js",
+    "name": "index",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_JCCKcGnC.js",
+      "_BL4pJVhH.js",
+      "_Cw-m6fsA.js"
+    ]
+  },
+  "_Cw-m6fsA.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "Cw-m6fsA.js",
+    "name": "index",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_JCCKcGnC.js",
+      "_C6T6sXx0.js"
+    ]
+  },
+  "_D-BtpMlM.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "D-BtpMlM.js",
+    "name": "index",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_JCCKcGnC.js",
+      "_C6T6sXx0.js"
+    ]
+  },
+  "_D2bSjApV.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "D2bSjApV.js",
+    "name": "TopTen",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js"
+    ],
+    "css": [
+      "TopTen.B06sivl2.css"
+    ]
+  },
+  "TopTen.B06sivl2.css": {
+    "file": "TopTen.B06sivl2.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "_DQwV0-r-.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "DQwV0-r-.js",
+    "name": "index",
+    "imports": [
+      "_JCCKcGnC.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_C6T6sXx0.js",
+      "_Cw-m6fsA.js",
+      "_BL4pJVhH.js"
+    ]
+  },
+  "_D_XNvNyB.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "D_XNvNyB.js",
+    "name": "publicFunction",
+    "imports": [
+      "_JCCKcGnC.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_Cw-m6fsA.js",
+      "_B033LYky.js"
+    ],
+    "css": [
+      "publicFunction.CivWSswx.css"
+    ]
+  },
+  "publicFunction.CivWSswx.css": {
+    "file": "publicFunction.CivWSswx.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "_Db5e2WdG.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "Db5e2WdG.js",
+    "name": "pageNavigation1",
+    "imports": [
+      "_JCCKcGnC.js",
+      "node_modules/nuxt/dist/app/entry.js"
+    ],
+    "css": [
+      "pageNavigation1.oJmdpR6e.css"
+    ]
+  },
+  "pageNavigation1.oJmdpR6e.css": {
+    "file": "pageNavigation1.oJmdpR6e.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "_DtN6oQjh.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "DtN6oQjh.js",
+    "name": "index",
+    "imports": [
+      "_JCCKcGnC.js",
+      "_C6T6sXx0.js",
+      "node_modules/nuxt/dist/app/entry.js"
+    ]
+  },
+  "_HotNews2.DiLSNQHa.css": {
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true,
+    "file": "HotNews2.DiLSNQHa.css",
+    "src": "_HotNews2.DiLSNQHa.css"
+  },
+  "_JCCKcGnC.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "JCCKcGnC.js",
+    "name": "pageHead",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js"
+    ],
+    "css": [
+      "pageHead.BNcgfKMG.css"
+    ]
+  },
+  "pageHead.BNcgfKMG.css": {
+    "file": "pageHead.BNcgfKMG.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "_R1dT7oS0.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "R1dT7oS0.js",
+    "name": "index",
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js",
+      "_JCCKcGnC.js"
+    ]
+  },
+  "_T4BMsaBK.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "T4BMsaBK.js",
+    "name": "foot1",
+    "imports": [
+      "_JCCKcGnC.js",
+      "node_modules/nuxt/dist/app/entry.js"
+    ],
+    "css": [
+      "foot1.BpPDlSQy.css"
+    ]
+  },
+  "foot1.BpPDlSQy.css": {
+    "file": "foot1.BpPDlSQy.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "_TopTen.B06sivl2.css": {
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true,
+    "file": "TopTen.B06sivl2.css",
+    "src": "_TopTen.B06sivl2.css"
+  },
+  "_foot1.BpPDlSQy.css": {
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true,
+    "file": "foot1.BpPDlSQy.css",
+    "src": "_foot1.BpPDlSQy.css"
+  },
+  "_pageHead.BNcgfKMG.css": {
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true,
+    "file": "pageHead.BNcgfKMG.css",
+    "src": "_pageHead.BNcgfKMG.css"
+  },
+  "_pageNavigation1.oJmdpR6e.css": {
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true,
+    "file": "pageNavigation1.oJmdpR6e.css",
+    "src": "_pageNavigation1.oJmdpR6e.css"
+  },
+  "_publicFunction.CivWSswx.css": {
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true,
+    "file": "publicFunction.CivWSswx.css",
+    "src": "_publicFunction.CivWSswx.css"
+  },
+  "_status.CwCqeKJH.css": {
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true,
+    "file": "status.CwCqeKJH.css",
+    "src": "_status.CwCqeKJH.css"
+  },
+  "middleware/auth.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "0j9It3v1.js",
+    "name": "auth",
+    "src": "middleware/auth.js",
+    "isDynamicEntry": true
+  },
+  "node_modules/nuxt/dist/app/entry.js": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "D8VU4sXS.js",
+    "name": "entry",
+    "src": "node_modules/nuxt/dist/app/entry.js",
+    "isEntry": true,
+    "dynamicImports": [
+      "middleware/auth.js"
+    ],
+    "css": [
+      "entry.BBvX8a_U.css"
+    ],
+    "assets": [
+      "tubiao1.6lb5zJyu.png",
+      "tubiao2.DR-DvYS6.png",
+      "404.YizNGDMD.png"
+    ],
+    "_globalCSS": true
+  },
+  "entry.BBvX8a_U.css": {
+    "file": "entry.BBvX8a_U.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "tubiao1.6lb5zJyu.png": {
+    "file": "tubiao1.6lb5zJyu.png",
+    "resourceType": "image",
+    "prefetch": true,
+    "mimeType": "image/png"
+  },
+  "tubiao2.DR-DvYS6.png": {
+    "file": "tubiao2.DR-DvYS6.png",
+    "resourceType": "image",
+    "prefetch": true,
+    "mimeType": "image/png"
+  },
+  "404.YizNGDMD.png": {
+    "file": "404.YizNGDMD.png",
+    "resourceType": "image",
+    "prefetch": true,
+    "mimeType": "image/png"
+  },
+  "pages/advertising/adDetail.vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "B6KFbKNa.js",
+    "name": "adDetail",
+    "src": "pages/advertising/adDetail.vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_Db5e2WdG.js",
+      "_BjpsNvOt.js",
+      "_T4BMsaBK.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_Cw-m6fsA.js",
+      "_C6T6sXx0.js",
+      "_B_2ZCsWx.js",
+      "_AdYZwjRs.js",
+      "_C366m717.js"
+    ],
+    "css": []
+  },
+  "adDetail.u8ZEpNcv.css": {
+    "file": "adDetail.u8ZEpNcv.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/advertising/index.vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "DWxjOGVg.js",
+    "name": "index",
+    "src": "pages/advertising/index.vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_Db5e2WdG.js",
+      "_BjpsNvOt.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_DQwV0-r-.js",
+      "_DtN6oQjh.js",
+      "_B033LYky.js",
+      "_T4BMsaBK.js",
+      "_Cw-m6fsA.js",
+      "_C6T6sXx0.js",
+      "_C366m717.js",
+      "_D-BtpMlM.js",
+      "_B_2ZCsWx.js",
+      "_COrjDiGA.js",
+      "_AdYZwjRs.js",
+      "_BL4pJVhH.js"
+    ],
+    "css": []
+  },
+  "index.iI4le9dd.css": {
+    "file": "index.iI4le9dd.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/index.vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "D0w-HT_1.js",
+    "name": "index",
+    "src": "pages/index.vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_D_XNvNyB.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_COrjDiGA.js",
+      "_D2bSjApV.js",
+      "_B033LYky.js",
+      "_D-BtpMlM.js",
+      "_C366m717.js",
+      "_B_2ZCsWx.js",
+      "_Cw-m6fsA.js",
+      "_C6T6sXx0.js",
+      "_BL4pJVhH.js"
+    ],
+    "css": [],
+    "assets": [
+      "sndc.C2AWBCR5.png"
+    ]
+  },
+  "index.C-xYMQzb.css": {
+    "file": "index.C-xYMQzb.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "sndc.C2AWBCR5.png": {
+    "file": "sndc.C2AWBCR5.png",
+    "resourceType": "image",
+    "prefetch": true,
+    "mimeType": "image/png"
+  },
+  "pages/login.vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "DTbMP4LY.js",
+    "name": "login",
+    "src": "pages/login.vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js"
+    ],
+    "css": []
+  },
+  "login.B38gbU7i.css": {
+    "file": "login.B38gbU7i.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/newsDetail/[id].vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "DzzhnbSZ.js",
+    "name": "_id_",
+    "src": "pages/newsDetail/[id].vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_Db5e2WdG.js",
+      "_D2bSjApV.js",
+      "_9mv3MCFQ.js",
+      "_T4BMsaBK.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_B033LYky.js",
+      "_R1dT7oS0.js",
+      "_D-BtpMlM.js",
+      "_C366m717.js",
+      "_B_2ZCsWx.js",
+      "_C6T6sXx0.js"
+    ],
+    "css": []
+  },
+  "_id_.XKAAjaDH.css": {
+    "file": "_id_.XKAAjaDH.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/newsList/[id].vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "C-14wCla.js",
+    "name": "_id_",
+    "src": "pages/newsList/[id].vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_Db5e2WdG.js",
+      "_D2bSjApV.js",
+      "_9mv3MCFQ.js",
+      "_T4BMsaBK.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_R1dT7oS0.js",
+      "_AdYZwjRs.js",
+      "_Cw-m6fsA.js",
+      "_C6T6sXx0.js",
+      "_C366m717.js"
+    ],
+    "css": []
+  },
+  "_id_.C-s3MraB.css": {
+    "file": "_id_.C-s3MraB.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/primaryNavigation/[id].vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "inwI6mOK.js",
+    "name": "_id_",
+    "src": "pages/primaryNavigation/[id].vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_D_XNvNyB.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_D2bSjApV.js",
+      "_COrjDiGA.js",
+      "_T4BMsaBK.js",
+      "_Cw-m6fsA.js",
+      "_C6T6sXx0.js",
+      "_B033LYky.js",
+      "_BL4pJVhH.js"
+    ],
+    "css": []
+  },
+  "_id_.D6Qd-S25.css": {
+    "file": "_id_.D6Qd-S25.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/search/[id].vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "m33OXJBn.js",
+    "name": "_id_",
+    "src": "pages/search/[id].vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_Db5e2WdG.js",
+      "_D2bSjApV.js",
+      "_T4BMsaBK.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_R1dT7oS0.js",
+      "_AdYZwjRs.js",
+      "_Cw-m6fsA.js",
+      "_C6T6sXx0.js",
+      "_C366m717.js"
+    ],
+    "css": []
+  },
+  "_id_.D_M_9Z05.css": {
+    "file": "_id_.D_M_9Z05.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/speciaArticle/[id].vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "B1M8YuG_.js",
+    "name": "_id_",
+    "src": "pages/speciaArticle/[id].vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_Db5e2WdG.js",
+      "_D2bSjApV.js",
+      "_T4BMsaBK.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_R1dT7oS0.js"
+    ],
+    "css": []
+  },
+  "_id_.CuqHyZMi.css": {
+    "file": "_id_.CuqHyZMi.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/specialList/[id].vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "CVaEVpQV.js",
+    "name": "_id_",
+    "src": "pages/specialList/[id].vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_Db5e2WdG.js",
+      "_D2bSjApV.js",
+      "_T4BMsaBK.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_R1dT7oS0.js"
+    ],
+    "css": []
+  },
+  "_id_.DeP1RQne.css": {
+    "file": "_id_.DeP1RQne.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/topic/[id].vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "Bt5fUgqs.js",
+    "name": "_id_",
+    "src": "pages/topic/[id].vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_Db5e2WdG.js",
+      "_T4BMsaBK.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_DtN6oQjh.js",
+      "_C366m717.js",
+      "_B033LYky.js",
+      "_AdYZwjRs.js",
+      "_C6T6sXx0.js",
+      "_Cw-m6fsA.js"
+    ],
+    "css": []
+  },
+  "_id_.B8xLMiS_.css": {
+    "file": "_id_.B8xLMiS_.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/topic/index.vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "CYwa2V8z.js",
+    "name": "index",
+    "src": "pages/topic/index.vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "_JCCKcGnC.js",
+      "_Db5e2WdG.js",
+      "_T4BMsaBK.js",
+      "node_modules/nuxt/dist/app/entry.js",
+      "_DQwV0-r-.js",
+      "_AdYZwjRs.js",
+      "_C6T6sXx0.js",
+      "_Cw-m6fsA.js",
+      "_BL4pJVhH.js",
+      "_C366m717.js"
+    ],
+    "css": []
+  },
+  "index.DmxC_wPZ.css": {
+    "file": "index.DmxC_wPZ.css",
+    "resourceType": "style",
+    "prefetch": true,
+    "preload": true
+  },
+  "pages/user/about.vue": {
+    "resourceType": "script",
+    "module": true,
+    "prefetch": true,
+    "preload": true,
+    "file": "Dv1HEKAH.js",
+    "name": "about",
+    "src": "pages/user/about.vue",
+    "isDynamicEntry": true,
+    "imports": [
+      "node_modules/nuxt/dist/app/entry.js"
+    ]
+  },
+  "public/error/404.png": {
+    "resourceType": "image",
+    "prefetch": true,
+    "mimeType": "image/png",
+    "file": "404.YizNGDMD.png",
+    "src": "public/error/404.png"
+  },
+  "public/index/sndc.png": {
+    "resourceType": "image",
+    "prefetch": true,
+    "mimeType": "image/png",
+    "file": "sndc.C2AWBCR5.png",
+    "src": "public/index/sndc.png"
+  },
+  "public/index/tubiao1.png": {
+    "resourceType": "image",
+    "prefetch": true,
+    "mimeType": "image/png",
+    "file": "tubiao1.6lb5zJyu.png",
+    "src": "public/index/tubiao1.png"
+  },
+  "public/index/tubiao2.png": {
+    "resourceType": "image",
+    "prefetch": true,
+    "mimeType": "image/png",
+    "file": "tubiao2.DR-DvYS6.png",
+    "src": "public/index/tubiao2.png"
+  }
+}

File diff suppressed because it is too large
+ 1256 - 1
.nuxt/dist/server/server.mjs


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

@@ -33,5 +33,4 @@ export { getTime, getTitleLength } from '../composables/publicFunction';
 export { seoSetup } from '../composables/useSeo';
 export { default as proxy } from '../utils/proxy';
 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":1742261135194}
+{"id":"62612851-3c33-4e00-81f9-650b36086538","timestamp":1742436289904}

+ 1 - 0
.nuxt/manifest/meta/62612851-3c33-4e00-81f9-650b36086538.json

@@ -0,0 +1 @@
+{"id":"62612851-3c33-4e00-81f9-650b36086538","timestamp":1742436289904,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

+ 0 - 1
.nuxt/manifest/meta/72a765d5-a818-43b5-ae24-90c408c81deb.json

@@ -1 +0,0 @@
-{"id":"72a765d5-a818-43b5-ae24-90c408c81deb","timestamp":1742261017963,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

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

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

+ 0 - 17
.nuxt/nitro.json

@@ -1,17 +0,0 @@
-{
-  "date": "2025-03-18T01:25:38.185Z",
-  "preset": "nitro-dev",
-  "framework": {
-    "name": "nuxt",
-    "version": "3.15.2"
-  },
-  "versions": {
-    "nitro": "2.10.4"
-  },
-  "dev": {
-    "pid": 20112,
-    "workerAddress": {
-      "socketPath": "\\\\.\\pipe\\nitro\\worker-20112-1.sock"
-    }
-  }
-}

+ 0 - 9
.nuxt/nuxt.json

@@ -1,9 +0,0 @@
-{
-  "_hash": "1rNbmyQyEO",
-  "project": {
-    "rootDir": "D:/MyProject/gogs/sannongzixunwang_web_ssr/sannongzixunwang_web"
-  },
-  "versions": {
-    "nuxt": "3.15.2"
-  }
-}

+ 1 - 1
.nuxt/tsconfig.json

@@ -102,7 +102,7 @@
         "./imports"
       ],
       "#app-manifest": [
-        "./manifest/meta/dev.json"
+        "./manifest/meta/62612851-3c33-4e00-81f9-650b36086538.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

@@ -130,7 +130,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']
@@ -326,7 +325,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'
   }
 }
 

+ 179 - 1
assets/css/detail.less

@@ -193,4 +193,182 @@
 .leftBottom::v-deep h6 {
     font-size: 20px;
     font-weight: 500;
-}
+}
+
+//投票
+.index_3_box_vote{
+    .voteTitle {
+        font-size: 20px;
+        height: 40px;
+        line-height: 40px;
+        color: #333333;
+        padding-left: 20px;
+        width: 100%;
+        border-bottom: 1px solid #E7E7E7;
+        border-top: 1px solid #139602;
+        box-sizing: border-box;
+    }
+    width:100%;
+    box-sizing:border-box;
+    border:solid 1px #FBFBFB;
+    background: #FBFBFB;
+    .inquire {
+        height: 394px;
+        margin-top: 20px;
+        border-radius: 6px 6px 6px 6px;
+        padding: 4px 40px 4px 6px;
+        box-sizing: border-box;
+        p {
+            font-weight: bold;
+            height: 69px;
+            font-family: PingFang SC, PingFang SC;
+            font-size:20px;
+            color: #333333;
+            line-height: 21px;
+            text-align: left;
+            font-style: normal;
+            text-transform: none;
+            padding: 12px 20px 0 32px;
+        }
+        .radioBox {
+            height: 250px;
+            padding-left: 30px;
+            overflow-y: auto;
+            box-sizing: border-box;
+        }
+        .radio {
+            /deep/.el-radio {
+                --el-radio-input-border-color-hover: #27881a;
+            }
+            /deep/.el-radio-group {
+                align-items: center;
+                display: inline-flex;
+                flex-wrap: wrap;
+                font-size: 0;
+                //padding-left: 35px;
+            }
+            /deep/.el-radio.el-radio--large {
+                width: 100%;
+                height: 29px;
+                margin-bottom: 15px;
+            }
+            /deep/.el-radio.el-radio--large .el-radio__label {
+                font-family: PingFang SC, PingFang SC;
+                font-weight: 400;
+                font-size: 16px;
+                color: #333333;
+                white-space: nowrap;
+                overflow: hidden;
+                text-overflow: ellipsis;
+                width: 300px;
+            }
+            /deep/.el-radio.el-radio--large .el-radio__inner {
+                height: 16px;
+                width: 16px;
+            }
+            /deep/.el-radio__input.is-checked+.el-radio__label {
+                color: #27881a;
+            }
+            /deep/.el-radio__input.is-checked .el-radio__inner {
+                background: #33b023;
+                border-color: #27881a;
+            }
+        }
+
+        .checkInputBox {
+            /deep/.el-checkbox {
+                --el-radio-input-border-color-hover: #27881a;
+            }
+            /deep/.el-checkbox-group {
+                align-items: center;
+                display: inline-flex;
+                flex-wrap: wrap;
+                font-size: 0;
+                //padding-left: 35px;
+            }
+            /deep/.el-checkbox.el-checkbox--large {
+                width: 330px;
+                height: 29px;
+                margin-bottom: 15px;
+            }
+            /deep/.el-checkbox.el-checkbox--large .el-checkbox__label {
+                font-family: PingFang SC, PingFang SC;
+                font-weight: 400;
+                font-size: 16px;
+                color: #333333;
+                white-space: nowrap;
+                overflow: hidden;
+                text-overflow: ellipsis;
+                width: 300px;
+            }
+            /deep/.el-checkbox.el-checkbox--large .el-checkbox__inner {
+                height: 16px;
+                width: 16px;
+            }
+            /deep/.el-checkbox__input.is-checked+.el-checkbox__label {
+                color: #27881a;
+            }
+            /deep/.el-checkbox__input.is-checked .el-checkbox__inner {
+                background: #33b023;
+                border-color: #27881a;
+            }
+        }
+
+        .btn {
+            padding-left: 30px;
+            button {
+                width: 78px;
+                height: 37px;
+                line-height: 37px;
+                border-radius: 6px;
+                border: none;
+                font-family: PingFang SC, PingFang SC;
+                font-weight: 400;
+                font-size: 16px;
+                color: #999999;
+            }
+            .voting {
+                background-color: #49A769;
+                color: #fff;
+                margin-right: 44px;
+                cursor: pointer;
+            }
+            .look {
+                cursor: pointer;
+            }
+        }
+    }
+    .inquireData {
+        .inquireDataItem {
+            width: 100%;
+            height: 38px;
+            display: flex;
+            align-items: center;
+            justify-content: space-between;
+            background: #F3F3F3;
+            border: 1px solid #D2D2D2;
+            margin-bottom: 10px;
+            border-radius: 6px;
+            padding: 0 15px;
+            box-sizing: border-box;
+            color: #999999;
+            .inquireDataItemTitle {
+                width: 290px;
+                height: 38px;
+                font-size: 16px;
+                line-height: 38px;
+                white-space: nowrap;
+                overflow: hidden;
+                text-overflow: ellipsis;
+            }
+            .inquireDataItemNum {
+                font-size: 16px;
+            }
+        }
+        .active {
+            color:#49A769;
+            background: #dff7e8;
+            border: 1px solid #49A769;
+        }
+    }
+}	

+ 89 - 4
assets/css/index.less

@@ -2284,6 +2284,13 @@
             text-transform: none;
             padding: 12px 20px 0 32px;
         }
+        .radioBox {
+            width: 440px;
+            height: 230px;
+            padding-left: 30px;
+            overflow-y: auto;
+            box-sizing: border-box;
+        }
         .radio {
             /deep/.el-radio {
                 --el-radio-input-border-color-hover: #27881a;
@@ -2293,10 +2300,10 @@
                 display: inline-flex;
                 flex-wrap: wrap;
                 font-size: 0;
-                padding-left: 35px;
+                //padding-left: 35px;
             }
             /deep/.el-radio.el-radio--large {
-                width: 380px;
+                width: 330px;
                 height: 29px;
                 margin-bottom: 15px;
             }
@@ -2305,6 +2312,10 @@
                 font-weight: 400;
                 font-size: 16px;
                 color: #333333;
+                white-space: nowrap;
+                overflow: hidden;
+                text-overflow: ellipsis;
+                width: 300px;
             }
             /deep/.el-radio.el-radio--large .el-radio__inner {
                 height: 16px;
@@ -2318,10 +2329,51 @@
                 border-color: #27881a;
             }
         }
+
+        .checkInputBox {
+            /deep/.el-checkbox {
+                --el-radio-input-border-color-hover: #27881a;
+            }
+            /deep/.el-checkbox-group {
+                align-items: center;
+                display: inline-flex;
+                flex-wrap: wrap;
+                font-size: 0;
+                //padding-left: 35px;
+            }
+            /deep/.el-checkbox.el-checkbox--large {
+                width: 330px;
+                height: 29px;
+                margin-bottom: 15px;
+            }
+            /deep/.el-checkbox.el-checkbox--large .el-checkbox__label {
+                font-family: PingFang SC, PingFang SC;
+                font-weight: 400;
+                font-size: 16px;
+                color: #333333;
+                white-space: nowrap;
+                overflow: hidden;
+                text-overflow: ellipsis;
+                width: 300px;
+            }
+            /deep/.el-checkbox.el-checkbox--large .el-checkbox__inner {
+                height: 16px;
+                width: 16px;
+            }
+            /deep/.el-checkbox__input.is-checked+.el-checkbox__label {
+                color: #27881a;
+            }
+            /deep/.el-checkbox__input.is-checked .el-checkbox__inner {
+                background: #33b023;
+                border-color: #27881a;
+            }
+        }
+
         .btn {
-            width: 188px;
+            width: 70px;
             height: 32px;
-            margin: 20px auto;
+            margin: 0 auto;
+            padding-top: 15px;
             button {
                 width: 70px;
                 height: 32px;
@@ -2344,6 +2396,39 @@
             }
         }
     }
+    .inquireData {
+        .inquireDataItem {
+            width: 380px;
+            height: 38px;
+            display: flex;
+            align-items: center;
+            justify-content: space-between;
+            background: #F3F3F3;
+            border: 1px solid #D2D2D2;
+            margin-bottom: 10px;
+            border-radius: 6px;
+            padding: 0 15px;
+            box-sizing: border-box;
+            color: #999999;
+            .inquireDataItemTitle {
+                width: 290px;
+                height: 38px;
+                font-size: 16px;
+                line-height: 38px;
+                white-space: nowrap;
+                overflow: hidden;
+                text-overflow: ellipsis;
+            }
+            .inquireDataItemNum {
+                font-size: 16px;
+            }
+        }
+        .active {
+            color:#49A769;
+            background: #dff7e8;
+            border: 1px solid #49A769;
+        }
+    }
 }		
 .index_1_li  {
     height: 50px;

+ 3 - 3
components/home/SecondaryHeading.vue

@@ -5,7 +5,7 @@
                 {{ title }}
                 <em class="iconfont icon-xingzhuang-zhijiaosanjiaoxing-copy"></em>
             </h2>
-            <p class="introduction">
+            <div class="introduction">
                 <strong>频道介绍</strong>
                 <div v-for="(item,index) in titleData">
                     <span v-if="index<=7">
@@ -13,7 +13,7 @@
                     </span>
                     <b v-else></b>
                 </div>
-            </p>
+            </div>
         </div>
     </div>
 </template>
@@ -93,7 +93,7 @@ getPageData();
         }
     }
 
-    p.introduction {
+    div.introduction {
         display: inline-block;
         width: 1003px;
         height: 56px;

+ 7 - 7
components/home/pageHead.vue

@@ -265,7 +265,7 @@ async function getAdData(){
     const adData = await requestDataPromise('/web/getWebsiteAdvertisement',{method:'GET',query:{'ad_tag':'INDEDX'}});
     if(adData.code == 200){
         for(let item of adData.data){
-            if(item.ad_tag == 'SNZXWT_INDEDX_0001'){
+            if(item.ad_tag == 'INDEDX_0001'){
                 adImg.value = item;
             }
         }
@@ -435,14 +435,14 @@ header {
     .titlead {
         position: absolute;
         bottom: 33px;
-        right: 26px;
-        width: 600px;
+        right: 0;
+        width: 830px;
         height: 120px;
         overflow: hidden;
         a {
             display: block;
-            width: 600px;
-            height: 120px;
+            width: 830px;
+            height: 110px;
             overflow: hidden;
         }
         img {
@@ -455,8 +455,8 @@ header {
     }
     .inner>img {
         // width: 342px;
-        height: 120px;
-        margin-top: 33px;
+        //height: 120px;
+        margin-top: 47px;
         cursor: pointer;
     }
 

+ 2 - 1
nuxt.config.js

@@ -25,7 +25,8 @@ export default defineNuxtConfig({
     'element-plus/theme-chalk/display.css'
   ],
   build: {
-    publicPath: '/'
+    publicPath: '/',
+    transpile: ['#app-manifest'],
   },
   nitro: {
     devServer: {

+ 377 - 33
pages/index.vue

@@ -342,6 +342,7 @@
             </div>
         </div>
 
+        
         <!-- 板块标题 -->
         <!-- <div class="titleBox" id="hdzx">
             <img src="../public/index/theme2.png" alt="互动资讯">
@@ -553,6 +554,8 @@
                 </div>
             </div>
         </div>
+
+        <!--删除线 ------------------------------------------------------------------------------------->
         <section class="index_3 clearfix">
              <div class="index_3_box_left">
                  <div class="index_2_head_box clearfix">
@@ -621,29 +624,82 @@
                         </NuxtLink>
                     </div>
                 </div>
-
             </div>
             <div class="index_1_box_right">
                 <img src="../public/index/sndc.png" alt="三农调查">
                 <div class="index_3_box_vote">
-                    <div class="inquire">
-                        <p>郑州17名警察因出警慢被关禁闭,你怎么看?</p>
-                        <div class="radio">
-                            <el-radio-group v-model="radio1" text-color=#33B023 :disabled="isDisabled">
-                                <el-radio value="1" size="large">支持,警察不关心百姓应惩罚</el-radio>
-                                <el-radio value="2" size="large">反对,这件事就关禁闭不合理</el-radio>
-                                <el-radio value="3" size="large">建议其他部门效仿此做法</el-radio>
-                                <el-radio value="4" size="large">其他</el-radio>
-                            </el-radio-group>
+                    <div class="inquire" v-if="voteList.length>0">
+                        <p v-if="voteList.length>0">{{voteList[0].survey_name}}</p>
+                        <div class="radioBox">
+                            <!--投票选项-->
+                            <div v-if="!isDisabled">
+                                <div class="radio" v-if="isRadio">
+                                    <el-radio-group v-model="radio1" @change="handleRadioChange">
+                                        <el-radio v-for="item in voteList" :key="item.id" :value="item.id" size="large">
+                                            <span v-if="item.is_other == 0">{{item.choice_name}}</span>
+                                            <span v-else>其他</span>
+                                        </el-radio>
+                                    </el-radio-group>
+                                    <el-input
+                                        v-if="showUserChoice"
+                                        v-model="userChoice"
+                                        :rows="2"
+                                        type="textarea"
+                                        resize="none"
+                                        placeholder="请输入.."
+                                    />
+                                </div>
+                                <div class="checkInputBox" v-else>
+                                    <el-checkbox-group v-model="check1" @change="handleCheckboxChange">
+                                        <span v-for="item in voteList" :key="item.id">
+                                            <span v-if="item.is_other == 0">
+                                                <el-checkbox size="large" :label="item.choice_name" :value="item.id"/>
+                                            </span>
+                                            <span v-else>
+                                                <el-checkbox size="large" label="其他" :value="item.id"/>
+                                            </span>
+                                        </span>
+                                    </el-checkbox-group>
+                                    <el-input
+                                        v-if="showUserChoice"
+                                        v-model="userChoice"
+                                        :rows="2"
+                                        type="textarea"
+                                        resize="none"
+                                        placeholder="请输入.."
+                                    />
+                                </div>
+                            </div>
+                            <!--投票结果-->
+                            <div class="inquireData" v-else>
+                                <div v-for="item in websiteSurveyData.data" :key="item.id">
+                                    <div class="inquireDataItem active" v-if="item.status == 1">
+                                        <div class="inquireDataItemTitle">
+                                            <span v-if="item.choice_name == ''">其他</span>
+                                            <span v-else>{{item.choice_name}}</span>
+                                        </div>
+                                        <div class="inquireDataItemNum">{{item.results}}票</div>
+                                    </div>
+                                    <div class="inquireDataItem" v-else>
+                                        <div class="inquireDataItemTitle">
+                                            <span v-if="item.choice_name == ''">其他</span>
+                                            <span v-else>{{item.choice_name}}</span>
+                                        </div>
+                                        <div class="inquireDataItemNum">{{item.results}}票</div>
+                                    </div>
+                                </div>
+                            </div>
                         </div>
                         <div class="btn">
-                            <button class="voting" @click="handleVote" :disabled="isDisabled">投票</button>
-                            <button class="look">查看</button>
+                            <button class="voting" @click="addWebsiteSurvey" :disabled="isDisabled" v-if="!isDisabled">投票</button>
+                            <button class="info" disabled v-else>投票</button>
                         </div>
                     </div>
                 </div>
             </div>
         </section>
+        <!-- 删除线 ------------------------------------------------------------------------------------->
+
 
         <div class="titleBox" v-if="adImg5">
             <a href="http://nzgxw.org.cn/" v-if="adImg5.image_url==null" target="_blank">
@@ -653,7 +709,6 @@
                 <img :src="adImg5.image_src">
             </a>
         </div>
-
         <div class="lastPart3">
             <div class="inner">
                 <div class="lastPartTitle" v-if="pageData.length>=14">
@@ -1156,6 +1211,11 @@
 			</div>
         </section>
 
+
+
+
+        
+
         <section class="index_1 clearfix">
             <div class="index_1_box">
                 <div class="index_1_head_box clearfix" v-if="pageData.length>=18">
@@ -1319,7 +1379,7 @@
 <script setup>
 //1.加载页面必备组件 start---------------------------------------->
 import { ref, onMounted } from 'vue';
-import { ElRadio, ElRadioGroup, ElMessage } from 'element-plus';
+import { ElRadio, ElRadioGroup,ElCheckbox,ElCheckboxGroup,ElMessage,ElInput } from 'element-plus';
 import { useSeoMeta } from '#imports';
 
 //格式化跳转路径 - 标题
@@ -1346,16 +1406,300 @@ const hoverStatus = ref(1)
 const qhPic = function (num) {
     hoverStatus.value = num;
 }
-//2.2 投票
-const radio1 = ref('1');
-let index = ref(0)
-let isDisabled = ref(false)
+//2.交互方法 end---------------------------------------->
+
+
+//3.投票 start---------------------------------------->
+//3.1 投票选择的值
+const radio1 = ref(''); //单选
+const check1 = ref([]); //多选
+const isDisabled = ref(false);//是否禁用提交按钮
+const isRadio = ref(true);//是否渲染单选
+
+const userSurId = ref('');//投票属于哪一篇文章
+const userChoice = ref('');//用于判断用户选择了其他选项以后,输入的值
+const userIsChoice = ref('');//用于判断其他选项目前是什么值
+const showUserChoice = ref(false);//是否显示其他输入框
+const websiteSurveyData = ref([]);//投票结果
+
+//3.2获得投票列表
+let voteList = ref([]);
+async function getVoteList(){
+    const voteData = await requestHome('/web/getWebsiteSurvey',{method:'GET',query:{'art_id':4150}});
+    //这里有问题,后台传入的数据已经发生了变化,按照传入的进行修改
+    if(voteData.code == 200){
+        voteList.value = voteData.data;
+        console.log(voteList.value)
+        //判断显示单选还是多选
+        //survey_type 0是单选 1是多选
+        if(voteData.data[0].survey_type == 0){
+            isRadio.value = true;
+        }else{
+            isRadio.value = false;
+        }
+        //把最后一个的值拿出来 用于判断用户是否选择了其他
+        userIsChoice.value = voteData.data[voteData.data.length - 1].id;
+        //用户投票属于哪一篇文章
+        userSurId.value = voteData.data[0].sur_id;
 
-function handleVote(){
-    isDisabled.value = true
-    ElMessage.success('投票成功')
+    }else{
+        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
+        console.log("错误位置:首页投票")
+        console.log("后端错误反馈:",voteData.message)
+        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->") 
+    }
+}
+getVoteList();
+
+//3.2当用户选择了选项,判断是否展示其他输入框
+const handleRadioChange = (value) => {
+    if(value == userIsChoice.value){
+        showUserChoice.value = true;
+    }else{
+        showUserChoice.value = false;
+    }
+}
+
+const handleCheckboxChange = (value) => {
+    if (value.includes(userIsChoice.value)) {
+        showUserChoice.value = true;
+    } else {
+        showUserChoice.value = false;
+    }
+}
+
+//3.2发起投票
+async function addWebsiteSurvey(){
+    //判断当前是单选还是多选
+    console.log(isRadio.value)
+    if(isRadio.value){
+        console.log("用户单选!")
+        if(radio1.value!=''){
+            //先判断一下是否使用了其他选项
+            if(showUserChoice.value){
+                if(userChoice.value!=''){
+                    //文章id
+                    // console.log(userSurId.value)
+                    // 用户输入的值
+                    // console.log(userChoice.value)
+                    //如果使用了其他,其他的选项需要增加进去
+                    const ChoiceData = await requestHome('/web/addWebsiteSurveyOption',{
+                        method:'GET',
+                        query:{
+                            'sur_id':userSurId.value,//投票的新闻id
+                            'choice_name':userChoice.value,//投票的选项id
+                        }
+                    });
+                    if(ChoiceData.code == 200){
+                        //提交完其他选项以后,再正式发起投票
+                        const mkData = await requestHome('/web/addWebsiteSurveyVote',{
+                            method:'GET',
+                            query:{
+                                'sur_id':userSurId.value,
+                                'choice_id':ChoiceData.data
+                            }
+                        });
+                        if(mkData.code == 200){
+                            ElMessage.success('投票成功!')
+                            //把投票结果显示到页面上 禁用投票按钮
+                            isDisabled.value = true;
+                            websiteSurveyData.value = mkData.data;
+                            //遍历一下,把用户选中的那个设置status为1
+                            let data = mkData.data;
+                            //遍历一下,把用户选中的那个设置status为1
+                            for(let item of data.data){
+                                for(let i of data.choice){
+                                    if(item.id == i){
+                                        console.log(item.id)
+                                        item.status = 1;
+                                    }
+                                }
+                            }
+                            websiteSurveyData.value = data;
+                        }else{
+                            ElMessage.error(mkData.message)
+                        }
+                    }else{
+                        ElMessage.error('其他投票失败!')
+                    }
+                }else{
+                    ElMessage.error('请输入选项内容!')
+                }
+            }else{
+                //如果没选择其他,直接提交选择的内容
+                const mkData = await requestHome('/web/addWebsiteSurveyVote',{
+                    method:'GET',
+                    query:{
+                        'sur_id':userSurId.value,
+                        'choice_id':radio1.value
+                    }
+                });
+                if(mkData.code == 200){
+                    ElMessage.success('投票成功!')
+                    //把投票结果显示到页面上 禁用投票按钮
+                    isDisabled.value = true;
+                    let data = mkData.data;
+                    //遍历一下,把用户选中的那个设置status为1
+                    for(let item of data.data){
+                        for(let i of data.choice){
+                            if(item.id == i){
+                                item.status = 1;
+                            }
+                        }
+                    }
+                    websiteSurveyData.value = data;
+                }else{
+                    ElMessage.error('投票失败!')
+                }
+            }
+        }else{
+            ElMessage.error('请选择一个选项')
+        }
+    }else{
+        console.log("多选!")
+        //多选
+        if(check1.value!=[]){
+             //先判断一下是否使用了其他选项
+            if(showUserChoice.value){
+                if(userChoice.value!=''){
+                    //判断用户是否只选择了一个其他
+                    if(check1.value.length == 1){
+                        const ChoiceData = await requestHome('/web/addWebsiteSurveyOption',{
+                            method:'GET',
+                            query:{
+                                'sur_id':userSurId.value,//投票的新闻id
+                                'choice_name':userChoice.value,//用户输入的其他选项文字
+                            }
+                        });
+                        if(ChoiceData.code == 200){
+                            //提交完其他选项以后,再正式发起投票
+                            const mkData = await requestHome('/web/addWebsiteSurveyVote',{
+                                method:'GET',
+                                query:{
+                                    'sur_id':userSurId.value,
+                                    'choice_id':ChoiceData.data
+                                }
+                            });
+                            if(mkData.code == 200){
+                                ElMessage.success('投票成功!')
+                                //把投票结果显示到页面上 禁用投票按钮
+                                isDisabled.value = true;
+                                websiteSurveyData.value = mkData.data;
+                                //遍历一下,把用户选中的那个设置status为1
+                                let data = mkData.data;
+                                //遍历一下,把用户选中的那个设置status为1
+                                for(let item of data.data){
+                                    for(let i of data.choice){
+                                        if(item.id == i){
+                                            console.log(item.id)
+                                            item.status = 1;
+                                        }
+                                    }
+                                }
+                                websiteSurveyData.value = data;
+                            }else{
+                                ElMessage.error(mkData.message)
+                            }
+                        }else{
+                            ElMessage.error('其他投票失败!')
+                        }
+
+                    }else{
+                        //用户选择了除了其他以外,还包括别的选项
+                        const ChoiceData = await requestHome('/web/addWebsiteSurveyOption',{
+                            method:'GET',
+                            query:{
+                                'sur_id':userSurId.value,//投票的新闻id
+                                'choice_name':userChoice.value,//用户输入的其他选项文字
+                            }
+                        });
+                        if(ChoiceData.code == 200){
+                            let data = check1.value;
+                            //找到多选的数组,把其他默认值给替换掉
+                            for (let i = 0; i < data.length; i++) {
+                                if (data[i] == userIsChoice.value) {
+                                    data[i] = ChoiceData.data;
+                                }
+                            }
+                            let jsonArray = JSON.stringify(data);
+                            //提交完其他选项以后,再正式发起投票
+                            const mkData = await requestHome('/web/addWebsiteSurveyVote',{
+                                method:'GET',
+                                query:{
+                                    'sur_id':userSurId.value,
+                                    'choice_id':jsonArray
+                                }
+                            });
+                            
+                            if(mkData.code == 200){
+                                ElMessage.success('投票成功!')
+                                //把投票结果显示到页面上 禁用投票按钮
+                                isDisabled.value = true;
+                                websiteSurveyData.value = mkData.data;
+                                //遍历一下,把用户选中的那个设置status为1
+                                let data = mkData.data;
+                                //遍历一下,把用户选中的那个设置status为1
+                                for(let item of data.data){
+                                    for(let i of data.choice){
+                                        if(item.id == i){
+                                            //console.log(item.id)
+                                            item.status = 1;
+                                        }
+                                    }
+                                }
+                                websiteSurveyData.value = data;
+                            }else{
+                                ElMessage.error(mkData.message)
+                            }
+                        }else{
+                            ElMessage.error('其他投票失败!')
+                        }
+
+                    }
+                }else{
+                    ElMessage.error('请输入选项内容!')
+                }
+            }else{
+                let jsonArray = JSON.stringify(check1.value);
+                //如果没选择其他,直接提交选择的内容
+                const mkData = await requestHome('/web/addWebsiteSurveyVote',{
+                    method:'GET',
+                    query:{
+                        'sur_id':userSurId.value,
+                        'choice_id':jsonArray
+                    }
+                });
+                if(mkData.code == 200){
+                    ElMessage.success('投票成功!')
+                    //把投票结果显示到页面上 禁用投票按钮
+                    isDisabled.value = true;
+                    websiteSurveyData.value = mkData.data;
+                    //遍历一下,把用户选中的那个设置status为1
+                    let data = mkData.data;
+                    //遍历一下,把用户选中的那个设置status为1
+                    for(let item of data.data){
+                        for(let i of data.choice){
+                            if(item.id == i){
+                                console.log(item.id)
+                                item.status = 1;
+                            }
+                        }
+                    }
+                    websiteSurveyData.value = data;
+                }else{
+                    ElMessage.error('投票失败!')
+                }
+            }
+        }else{
+            ElMessage.error('请选择一个选项')
+        }
+    }
 }
-//2.4 获得所有广告
+//3.投票 end---------------------------------------->
+
+
+//4.广告 start---------------------------------------->
+//获得所有广告
 let adImg2 = ref({})
 let adImg3 = ref({})
 let adImg4 = ref({})
@@ -1365,16 +1709,16 @@ async function getAdData(){
     const adData = await requestHome('/web/getWebsiteAdvertisement',{method:'GET',query:{'ad_tag':'INDEDX'}});
     if(adData.code == 200){
         for(let item of adData.data){
-            if(item.ad_tag == 'SNZXWT_INDEDX_0002'){
+            if(item.ad_tag == 'INDEDX_0002'){
                 adImg2.value = item;
             }
-            if(item.ad_tag == 'SNZXWT_INDEDX_0003'){
+            if(item.ad_tag == 'INDEDX_0003'){
                 adImg3.value = item;
             }
-            if(item.ad_tag == 'SNZXWT_INDEDX_0004'){
+            if(item.ad_tag == 'INDEDX_0004'){
                 adImg4.value = item;
             }
-            if(item.ad_tag == 'SNZXWT_INDEDX_0005'){
+            if(item.ad_tag == 'INDEDX_0005'){
                 adImg5.value = item;
             }
         }
@@ -1386,14 +1730,14 @@ async function getAdData(){
     }
 }
 getAdData();
-//2.交互方法 end---------------------------------------->
+//4.交互方法 end---------------------------------------->
 
-//3.页面基本信息 start---------------------------------------->
-//3.1 导航信息
+//5.页面基本信息 start---------------------------------------->
+//5.1 导航信息
 const pageData = ref([
     // { cid: "", title: "", data: [] ,children_count:""},
 ]);
-//3.2 模块数据
+//5.2 模块数据
 //注意前置变量 在nuxt3的ssr模式中,并不存在变量提升。
 //模块1
 const boxData1 = ref([])
@@ -2026,9 +2370,9 @@ async function getPageData20_data2() {
     });
     boxData20data2.value = mkdata.data;
 }
-//3.页面基本信息 end---------------------------------------->
+//5.页面基本信息 end---------------------------------------->
 
-//4.设置seo数据 start---------------------------------------->
+//6.设置seo数据 start---------------------------------------->
 //获取seo数据
 const setData =  await requestHome('/web/getWebsiteFootInfo', {
     method: 'GET',
@@ -2055,7 +2399,7 @@ if(setData.code == 200){
     console.log("后端错误反馈:",setData.message)
     console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
 }
-//4.设置seo数据 start---------------------------------------->
+//6.设置seo数据 start---------------------------------------->
 </script>
 
 <style lang="less" scoped>

+ 376 - 5
pages/newsDetail/[id].vue

@@ -4,7 +4,7 @@
     <!-- 导航栏 -->
     <HomePageNavigation1></HomePageNavigation1>
     <!-- 列表页广告一 -->
-    <HomeTopTen :imgurl="adList[0]" v-if="adList[0]"></HomeTopTen>
+    <HomeTopTen :imgurl="adImg1" v-if="adImg1"></HomeTopTen>
     <!-- 面包屑导航 -->
     <div class="breadcrumb">
         <div class="inner">
@@ -41,6 +41,80 @@
                     <p>原文链接:{{ newsDetail.fromurl }}</p>
                     <p>[免责声明]本文来源于网络转载,仅供学习交流使用,不构成商业目的。 版权归原作者所有,如涉及作品内容,版权和其他问题,请在30日与本网联系,我们将第一时间处理。</p>
                 </div>
+                <div v-if="articleChoice">
+                    <!-- 投票 start ---------------------------------------->
+                    <div class="index_3_box_vote">
+                        <div class="voteTitle">投票区</div>
+                        <div class="inquire" v-if="voteList.length>0">
+                            <p v-if="voteList.length>0">{{voteList[0].survey_name}}</p>
+                            <div class="radioBox">
+                                <!--投票选项-->
+                                <!--投票选项-->
+                            <div v-if="!isDisabled">
+                                <div class="radio" v-if="isRadio">
+                                    <el-radio-group v-model="radio1" @change="handleRadioChange">
+                                        <el-radio v-for="item in voteList" :key="item.id" :value="item.id" size="large">
+                                            <span v-if="item.is_other == 0">{{item.choice_name}}</span>
+                                            <span v-else>其他</span>
+                                        </el-radio>
+                                    </el-radio-group>
+                                    <el-input
+                                        v-if="showUserChoice"
+                                        v-model="userChoice"
+                                        :rows="2"
+                                        type="textarea"
+                                        resize="none"
+                                        placeholder="请输入.."
+                                    />
+                                </div>
+                                <div class="checkInputBox" v-else>
+                                    <el-checkbox-group v-model="check1" @change="handleCheckboxChange">
+                                        <span v-for="item in voteList" :key="item.id">
+                                            <span v-if="item.is_other == 0">
+                                                <el-checkbox size="large" :label="item.choice_name" :value="item.id"/>
+                                            </span>
+                                            <span v-else>
+                                                <el-checkbox size="large" label="其他" :value="item.id"/>
+                                            </span>
+                                        </span>
+                                    </el-checkbox-group>
+                                    <el-input
+                                        v-if="showUserChoice"
+                                        v-model="userChoice"
+                                        :rows="2"
+                                        type="textarea"
+                                        resize="none"
+                                        placeholder="请输入.."
+                                    />
+                                </div>
+                            </div>
+                            <!--投票结果-->
+                            <div class="inquireData" v-else>
+                                <div v-for="item in websiteSurveyData.data" :key="item.id">
+                                    <div class="inquireDataItem active" v-if="item.status == 1">
+                                        <div class="inquireDataItemTitle">
+                                            <span v-if="item.choice_name == ''">其他</span>
+                                            <span v-else>{{item.choice_name}}</span>
+                                        </div>
+                                        <div class="inquireDataItemNum">{{item.results}}票</div>
+                                    </div>
+                                    <div class="inquireDataItem" v-else>
+                                        <div class="inquireDataItemTitle">
+                                            <span v-if="item.choice_name == ''">其他</span>
+                                            <span v-else>{{item.choice_name}}</span>
+                                        </div>
+                                        <div class="inquireDataItemNum">{{item.results}}票</div>
+                                    </div>
+                                </div>
+                            </div>
+                            </div>
+                            <div class="btn">
+                                <button class="voting" @click="addWebsiteSurvey" :disabled="isDisabled">投票</button>
+                            </div>
+                        </div>
+                    </div>
+                    <!-- 投票 end ---------------------------------------->
+                </div>
             </div>
             <div class="innerRight">
                 <!-- 热点资讯1 -->
@@ -61,7 +135,7 @@
 <script setup>
 //1.页面依赖 start ---------------------------------------->
 import { onMounted } from 'vue'
-import { ElBreadcrumb, ElBreadcrumbItem } from 'element-plus'
+import { ElBreadcrumb, ElBreadcrumbItem,ElRadio, ElRadioGroup,ElCheckbox,ElCheckboxGroup,ElMessage,ElInput } from 'element-plus'
 import { ArrowRight } from '@element-plus/icons-vue'
 
 const nuxtApp = useNuxtApp();
@@ -81,6 +155,8 @@ const time = ref("");
 //2.3 路径
 const routLevelTitle = ref("");
 const routLevelId = ref("");
+//是否展示投票
+const articleChoice = ref(false);
 //2.4获取详情
 async function getPageData() {
     const mkdata =  await requestDataPromise('/web/selectWebsiteArticleInfo', {
@@ -90,6 +166,10 @@ async function getPageData() {
         },
     });
     if(mkdata.code==200){
+        //判断是否显示投票
+        if(mkdata.data.is_survey==1){
+            articleChoice.value = true;
+        }
         //获取内容
         newsDetail.value = mkdata.data;
         //获取路径
@@ -114,11 +194,15 @@ getPageData();
 
 //2.5 获得广告
 //广告列表
-let adList = ref([]);
+let adImg1 = ref([]);
 async function getAdData(){
     const adData = await requestDataPromise('/web/getWebsiteAdvertisement',{method:'GET',query:{'ad_tag':'DETAIL'}});
     if(adData.code==200){
-        adList.value = adData.data;
+        for(let item of adData.data){
+            if(item.ad_tag == 'DETAIL_0001'){
+                adImg1.value = item;
+            }
+        }
     }else{
         console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
         console.log("错误位置:获取详情页广告列表")
@@ -157,7 +241,294 @@ if(setData.code==200){
     console.log("后端错误反馈:",setData.message)
     console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
 }
-//4.设置seo信息 end---------------------------------------->
+//3.设置seo信息 end---------------------------------------->
+
+//4.投票 start---------------------------------------->
+const radio1 = ref(''); //单选
+const check1 = ref([]); //多选
+const isDisabled = ref(false);//是否禁用提交按钮
+const isRadio = ref(true);//是否渲染单选
+
+const userSurId = ref('');//投票属于哪一篇文章
+const userChoice = ref('');//用于判断用户选择了其他选项以后,输入的值
+const userIsChoice = ref('');//用于判断其他选项目前是什么值
+const showUserChoice = ref(false);//是否显示其他输入框
+const websiteSurveyData = ref([]);//投票结果
+
+//3.2获得投票列表
+let voteList = ref([]);
+async function getVoteList(){
+    const voteData = await requestHome('/web/getWebsiteSurvey',{method:'GET',query:{'art_id':4150}});
+    if(voteData.code == 200){
+        voteList.value = voteData.data;
+        console.log(voteList.value)
+        //判断显示单选还是多选
+        //survey_type 0是单选 1是多选
+        if(voteData.data[0].survey_type == 0){
+            isRadio.value = true;
+            console.log("1111")
+        }else{
+            isRadio.value = false;
+        }
+        //把最后一个的值拿出来 用于判断用户是否选择了其他
+        userIsChoice.value = voteData.data[voteData.data.length - 1].id;
+        //用户投票属于哪一篇文章
+        userSurId.value = voteData.data[0].sur_id;
+
+    }else{
+        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
+        console.log("错误位置:首页投票")
+        console.log("后端错误反馈:",voteData.message)
+        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->") 
+    }
+}
+getVoteList();
+
+//3.2当用户选择了选项,判断是否展示其他输入框
+const handleRadioChange = (value) => {
+    if(value == userIsChoice.value){
+        showUserChoice.value = true;
+    }else{
+        showUserChoice.value = false;
+    }
+}
+
+const handleCheckboxChange = (value) => {
+    if (value.includes(userIsChoice.value)) {
+        showUserChoice.value = true;
+    } else {
+        showUserChoice.value = false;
+    }
+}
+
+//3.2发起投票
+async function addWebsiteSurvey(){
+    //判断当前是单选还是多选
+    console.log(isRadio.value)
+    if(isRadio.value){
+        console.log("用户单选!")
+        if(radio1.value!=''){
+            //先判断一下是否使用了其他选项
+            if(showUserChoice.value){
+                if(userChoice.value!=''){
+                    //文章id
+                    // console.log(userSurId.value)
+                    // 用户输入的值
+                    // console.log(userChoice.value)
+                    //如果使用了其他,其他的选项需要增加进去
+                    const ChoiceData = await requestHome('/web/addWebsiteSurveyOption',{
+                        method:'GET',
+                        query:{
+                            'sur_id':userSurId.value,//投票的新闻id
+                            'choice_name':userChoice.value,//投票的选项id
+                        }
+                    });
+                    if(ChoiceData.code == 200){
+                        //提交完其他选项以后,再正式发起投票
+                        const mkData = await requestHome('/web/addWebsiteSurveyVote',{
+                            method:'GET',
+                            query:{
+                                'sur_id':userSurId.value,
+                                'choice_id':ChoiceData.data
+                            }
+                        });
+                        if(mkData.code == 200){
+                            ElMessage.success('投票成功!')
+                            //把投票结果显示到页面上 禁用投票按钮
+                            isDisabled.value = true;
+                            websiteSurveyData.value = mkData.data;
+                            //遍历一下,把用户选中的那个设置status为1
+                            let data = mkData.data;
+                            //遍历一下,把用户选中的那个设置status为1
+                            for(let item of data.data){
+                                for(let i of data.choice){
+                                    if(item.id == i){
+                                        console.log(item.id)
+                                        item.status = 1;
+                                    }
+                                }
+                            }
+                            websiteSurveyData.value = data;
+                        }else{
+                            ElMessage.error(mkData.message)
+                        }
+                    }else{
+                        ElMessage.error('其他投票失败!')
+                    }
+                }else{
+                    ElMessage.error('请输入选项内容!')
+                }
+            }else{
+                //如果没选择其他,直接提交选择的内容
+                const mkData = await requestHome('/web/addWebsiteSurveyVote',{
+                    method:'GET',
+                    query:{
+                        'sur_id':userSurId.value,
+                        'choice_id':radio1.value
+                    }
+                });
+                if(mkData.code == 200){
+                    ElMessage.success('投票成功!')
+                    //把投票结果显示到页面上 禁用投票按钮
+                    isDisabled.value = true;
+                    let data = mkData.data;
+                    //遍历一下,把用户选中的那个设置status为1
+                    for(let item of data.data){
+                        for(let i of data.choice){
+                            if(item.id == i){
+                                item.status = 1;
+                            }
+                        }
+                    }
+                    websiteSurveyData.value = data;
+                }else{
+                    ElMessage.error('投票失败!')
+                }
+            }
+        }else{
+            ElMessage.error('请选择一个选项')
+        }
+    }else{
+        console.log("多选!")
+        //多选
+        if(check1.value!=[]){
+             //先判断一下是否使用了其他选项
+            if(showUserChoice.value){
+                if(userChoice.value!=''){
+                    //判断用户是否只选择了一个其他
+                    if(check1.value.length == 1){
+                        const ChoiceData = await requestHome('/web/addWebsiteSurveyOption',{
+                            method:'GET',
+                            query:{
+                                'sur_id':userSurId.value,//投票的新闻id
+                                'choice_name':userChoice.value,//用户输入的其他选项文字
+                            }
+                        });
+                        if(ChoiceData.code == 200){
+                            //提交完其他选项以后,再正式发起投票
+                            const mkData = await requestHome('/web/addWebsiteSurveyVote',{
+                                method:'GET',
+                                query:{
+                                    'sur_id':userSurId.value,
+                                    'choice_id':ChoiceData.data
+                                }
+                            });
+                            if(mkData.code == 200){
+                                ElMessage.success('投票成功!')
+                                //把投票结果显示到页面上 禁用投票按钮
+                                isDisabled.value = true;
+                                websiteSurveyData.value = mkData.data;
+                                //遍历一下,把用户选中的那个设置status为1
+                                let data = mkData.data;
+                                //遍历一下,把用户选中的那个设置status为1
+                                for(let item of data.data){
+                                    for(let i of data.choice){
+                                        if(item.id == i){
+                                            console.log(item.id)
+                                            item.status = 1;
+                                        }
+                                    }
+                                }
+                                websiteSurveyData.value = data;
+                            }else{
+                                ElMessage.error(mkData.message)
+                            }
+                        }else{
+                            ElMessage.error('其他投票失败!')
+                        }
+
+                    }else{
+                        //用户选择了除了其他以外,还包括别的选项
+                        const ChoiceData = await requestHome('/web/addWebsiteSurveyOption',{
+                            method:'GET',
+                            query:{
+                                'sur_id':userSurId.value,//投票的新闻id
+                                'choice_name':userChoice.value,//用户输入的其他选项文字
+                            }
+                        });
+                        if(ChoiceData.code == 200){
+                            let data = check1.value;
+                            //找到多选的数组,把其他默认值给替换掉
+                            for (let i = 0; i < data.length; i++) {
+                                if (data[i] == userIsChoice.value) {
+                                    data[i] = ChoiceData.data;
+                                }
+                            }
+                            let jsonArray = JSON.stringify(data);
+                            //提交完其他选项以后,再正式发起投票
+                            const mkData = await requestHome('/web/addWebsiteSurveyVote',{
+                                method:'GET',
+                                query:{
+                                    'sur_id':userSurId.value,
+                                    'choice_id':jsonArray
+                                }
+                            });
+                            
+                            if(mkData.code == 200){
+                                ElMessage.success('投票成功!')
+                                //把投票结果显示到页面上 禁用投票按钮
+                                isDisabled.value = true;
+                                websiteSurveyData.value = mkData.data;
+                                //遍历一下,把用户选中的那个设置status为1
+                                let data = mkData.data;
+                                //遍历一下,把用户选中的那个设置status为1
+                                for(let item of data.data){
+                                    for(let i of data.choice){
+                                        if(item.id == i){
+                                            //console.log(item.id)
+                                            item.status = 1;
+                                        }
+                                    }
+                                }
+                                websiteSurveyData.value = data;
+                            }else{
+                                ElMessage.error(mkData.message)
+                            }
+                        }else{
+                            ElMessage.error('其他投票失败!')
+                        }
+
+                    }
+                }else{
+                    ElMessage.error('请输入选项内容!')
+                }
+            }else{
+                let jsonArray = JSON.stringify(check1.value);
+                //如果没选择其他,直接提交选择的内容
+                const mkData = await requestHome('/web/addWebsiteSurveyVote',{
+                    method:'GET',
+                    query:{
+                        'sur_id':userSurId.value,
+                        'choice_id':jsonArray
+                    }
+                });
+                if(mkData.code == 200){
+                    ElMessage.success('投票成功!')
+                    //把投票结果显示到页面上 禁用投票按钮
+                    isDisabled.value = true;
+                    websiteSurveyData.value = mkData.data;
+                    //遍历一下,把用户选中的那个设置status为1
+                    let data = mkData.data;
+                    //遍历一下,把用户选中的那个设置status为1
+                    for(let item of data.data){
+                        for(let i of data.choice){
+                            if(item.id == i){
+                                console.log(item.id)
+                                item.status = 1;
+                            }
+                        }
+                    }
+                    websiteSurveyData.value = data;
+                }else{
+                    ElMessage.error('投票失败!')
+                }
+            }
+        }else{
+            ElMessage.error('请选择一个选项')
+        }
+    }
+}
+//4.投票 end---------------------------------------->
 </script>
 
 <style lang="less" scoped>

+ 12 - 4
pages/newsList/[id].vue

@@ -7,7 +7,7 @@
         <HomePageNavigation1></HomePageNavigation1>
 
         <!-- 列表页广告一 -->
-        <HomeTopTen :imgurl="adList[0]" v-if="adList[0]"></HomeTopTen>
+        <HomeTopTen :imgurl="adImg1" v-if="adImg1"></HomeTopTen>
 
         <!-- 面包屑导航 -->
         <div class="breadcrumb">
@@ -45,7 +45,7 @@
         </div>
 
         <!-- 列表页广告二 -->
-        <HomeTopTen :imgurl="adList[1]" v-if="adList[1]"></HomeTopTen>
+        <HomeTopTen :imgurl="adImg2" v-if="adImg2"></HomeTopTen>
 
         <!-- 页面底部 -->
         <HomeFoot1></HomeFoot1>
@@ -77,11 +77,19 @@ id.value = route.query.id;
 
 //2.1 获得所有广告
 //广告列表
-let adList = ref([]);
+let adImg1 = ref({});
+let adImg2 = ref({});
 async function getAdData(){
     const adData = await requestDataPromise('/web/getWebsiteAdvertisement',{method:'GET',query:{'ad_tag':'LIST'}});
     if(adData.code==200){
-        adList.value = adData.data;
+        for(let item of adData.data){
+            if(item.ad_tag == 'LIST_0001'){
+                adImg1.value = item;
+            }
+            if(item.ad_tag == 'LIST_0002'){
+                adImg2.value = item;
+            }
+        }
     }else{
         console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
         console.log("错误位置:获取广告列表")

+ 22 - 6
pages/primaryNavigation/[id].vue

@@ -107,7 +107,7 @@
         </div>
 
         <!-- 三农资讯logo -->
-        <HomeTopTen :imgurl="adList[0]" v-if="adList[0]"></HomeTopTen>
+        <HomeTopTen :imgurl="adImg1" v-if="adImg1"></HomeTopTen>
 
         <!-- 第二层 -->
         <div class="farmingPartTwo" v-if="pageData.length>=3">
@@ -223,7 +223,7 @@
         </div>
 
         <!-- 三农资讯logo -->
-        <HomeTopTen :imgurl="adList[1]" v-if="adList[1]"></HomeTopTen>
+        <HomeTopTen :imgurl="adImg2" v-if="adImg2"></HomeTopTen>
 
         <!-- 第三层 -->
         <div class="zixuntuijian" v-if="pageData.length>=6">
@@ -384,7 +384,7 @@
             </div>
         </div>
 
-        <HomeTopTen :imgurl="adList[2]" v-if="adList[2]"></HomeTopTen>
+        <HomeTopTen :imgurl="adImg3" v-if="adImg3"></HomeTopTen>
 
         <div class="farming" v-if="pageData.length>=10">
             <div class="inner">
@@ -501,7 +501,7 @@
         </div>
 
         <!-- 十强称号logo -->
-        <HomeTopTen :imgurl="adList[3]" v-if="adList[3]"></HomeTopTen>
+        <HomeTopTen :imgurl="adImg4" v-if="adImg4"></HomeTopTen>
 
         <!-- 第五层 -->
         <div class="scienceEducation" v-if="pageData.length>=13">
@@ -684,11 +684,27 @@ let qhtabs = function (number) {
 }
 
 //2.3 展示广告
-const adList = ref([]);
+let adImg1 = ref({})
+let adImg2 = ref({})
+let adImg3 = ref({})
+let adImg4 = ref({})
 async function getAdData(){
     const mkdata = await requestDataPromise('/web/getWebsiteAdvertisement',{method:'GET',query:{'ad_tag':'CATEGORY'}});
     if(mkdata.code == 200){
-        adList.value = mkdata.data;
+        for(let item of mkdata.data){
+            if(item.ad_tag == 'CATEGORY_0001'){
+                adImg1.value = item;
+            }
+            if(item.ad_tag == 'CATEGORY_0002'){
+                adImg2.value = item;
+            }
+            if(item.ad_tag == 'CATEGORY_0003'){
+                adImg3.value = item;
+            }
+            if(item.ad_tag == 'CATEGORY_0004'){
+                adImg4.value = item;
+            }
+        }
     }else{
         console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
         console.log("错误位置:分类页广告")

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

@@ -5,7 +5,7 @@
         <!-- 导航栏 -->
         <HomePageNavigation1></HomePageNavigation1>
         <!-- 列表页广告一 -->
-        <HomeTopTen :imgurl="adList[0]" v-if="adList[0]"></HomeTopTen>
+        <HomeTopTen :imgurl="adImg1" v-if="adImg1"></HomeTopTen>
         <!-- 搜索框 -->
         <div class="search">
             <div class="inner">
@@ -51,7 +51,7 @@
             </div>
         </div>
         <!-- 列表页广告二 -->
-        <HomeTopTen :imgurl="adList[1]" v-if="adList[1]"></HomeTopTen>
+        <HomeTopTen :imgurl="adImg2" v-if="adImg2"></HomeTopTen>
         <!-- 页面底部 -->
         <HomeFoot1></HomeFoot1>
     </div>
@@ -77,7 +77,8 @@ let pageSize = useState("pageSize", () => 20)
 
 //2.页面数据 start ---------------------------------------->
 //2.1 广告
-const adList = ref([]);
+let adImg1 = ref([]);
+let adImg2 = ref([]);
 async function getAdData(){
     const mkdata = await requestDataPromise('/web/getWebsiteAdvertisement',{
         method:'GET',
@@ -85,7 +86,21 @@ async function getAdData(){
             'ad_tag':'SEARCH'
         }
     });
-    adList.value = mkdata.data;
+    if(adData.code==200){
+        for(let item of adData.data){
+            if(item.ad_tag == 'SEARCH_0001'){
+                adImg1.value = item;
+            }
+            if(item.ad_tag == 'SEARCH_0002'){
+                adImg2.value = item;
+            }
+        }
+    }else{
+        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
+        console.log("错误位置:获取搜索页广告列表")
+        console.log("后端错误反馈:",adData.message)
+        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
+    }
 }
 getAdData();
 

+ 19 - 3
pages/speciaArticle/[id].vue

@@ -4,7 +4,7 @@
     <!-- 导航栏 -->
     <HomePageNavigation1></HomePageNavigation1>
     <!-- 列表页广告一 -->
-    <HomeTopTen :imgurl="adList[0]" v-if="adList[0]"></HomeTopTen>
+    <HomeTopTen :imgurl="adImg1" v-if="adImg1"></HomeTopTen>
     <!-- 面包屑导航 -->
     <div class="breadcrumb">
         <div class="inner">
@@ -55,7 +55,7 @@
         </div>
     </div>
     <!-- 广告二 -->
-    <HomeTopTen :imgurl="adList[1]" v-if="adList[1]"></HomeTopTen>
+    <HomeTopTen :imgurl="adImg2" v-if="adImg2"></HomeTopTen>
     <!-- 页面底部 -->
     <HomeFoot1></HomeFoot1>
 </template>
@@ -76,10 +76,26 @@ const routeHref = route.href;
 
 //2.页面数据 start ---------------------------------------->
 //广告列表
-let adList = ref([]);
+let adImg1 = ref([]);
+let adImg2 = ref([]);
 async function getAdData(){
     const adData = await requestDataPromise('/web/getWebsiteAdvertisement',{method:'GET',query:{'ad_tag':'PAGE'}});
     adList.value = adData.data;
+    if(adData.code==200){
+        for(let item of adData.data){
+            if(item.ad_tag == 'PAGE_0001'){
+                adImg1.value = item;
+            }
+            if(item.ad_tag == 'PAGE_0002'){
+                adImg2.value = item;
+            }
+        }
+    }else{
+        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
+        console.log("错误位置:获取详情页广告列表")
+        console.log("后端错误反馈:",adData.message)
+        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
+    }
 }
 getAdData();
 

+ 19 - 4
pages/specialList/[id].vue

@@ -5,7 +5,7 @@
         <!-- 导航栏 -->
         <HomePageNavigation1></HomePageNavigation1>
         <!-- 列表页广告一 -->
-        <HomeTopTen :imgurl="adList[0]" v-if="adList[0]"></HomeTopTen>
+        <HomeTopTen :imgurl="adImg1" v-if="adImg1"></HomeTopTen>
         <!-- 面包屑导航 -->
         <div class="breadcrumb">
             <div class="inner">
@@ -59,7 +59,7 @@
             </div>
         </div>
         <!-- 列表页广告二 -->
-        <HomeTopTen :imgurl="adList[1]" v-if="adList[1]"></HomeTopTen>
+        <HomeTopTen :imgurl="adImg2" v-if="adImg2"></HomeTopTen>
         <!-- 页面底部 -->
         <HomeFoot1></HomeFoot1>
     </div>
@@ -76,10 +76,25 @@ const routeHref = route.href;
 //1.页面依赖 end ---------------------------------------->
 
 //2.页面数据 start ---------------------------------------->
-let adList = ref([]);
+let adImg1 = ref([]);
+let adImg2 = ref([]);
 async function getAdData(){
     const adData = await requestDataPromise('/web/getWebsiteAdvertisement',{method:'GET',query:{'ad_tag':'PAGE'}});
-    adList.value = adData.data;
+    if(adData.code==200){
+        for(let item of adData.data){
+            if(item.ad_tag == 'PAGE_0001'){
+                adImg1.value = item;
+            }
+            if(item.ad_tag == 'PAGE_0002'){
+                adImg2.value = item;
+            }
+        }
+    }else{
+        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
+        console.log("错误位置:获取详情页广告列表")
+        console.log("后端错误反馈:",adData.message)
+        console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
+    }
 }
 getAdData();
 

+ 8 - 8
plugins/globals.js

@@ -1,9 +1,9 @@
 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('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('userUrl', 'http://localhost:3000')
 
   //正式环境
   // nuxtApp.provide('webUrl', 'https://flzxw.bjzxtw.org.cn')
@@ -24,8 +24,8 @@ export default defineNuxtPlugin((nuxtApp) => {
   // nuxtApp.provide('userUrl', 'http://localhost:3000')
 
   //Dev环境
-  // nuxtApp.provide('webUrl', 'http://apidev.bjzxtw.org.cn')
-  // nuxtApp.provide('CwebUrl', 'http://nwdev.bjzxtw.org.cn')
-  // nuxtApp.provide('BwebUrl', 'http://admindev.bjzxtw.org.cn')
-  // nuxtApp.provide('userUrl', 'http://localhost:3000')
+  nuxtApp.provide('webUrl', 'http://apidev.bjzxtw.org.cn')
+  nuxtApp.provide('CwebUrl', 'http://nwdev.bjzxtw.org.cn')
+  nuxtApp.provide('BwebUrl', 'http://admindev.bjzxtw.org.cn')
+  nuxtApp.provide('userUrl', 'http://localhost:3000')
 })

BIN
public/ad/new1.png


BIN
public/ad/new2.png


Some files were not shown because too many files changed in this diff