index.vue 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591
  1. <template>
  2. <!-- 头部 -->
  3. <templateHead></templateHead>
  4. <!-- 菜单 -->
  5. <templateMenu></templateMenu>
  6. <!-- 内容 -->
  7. <div>
  8. <!--头条-->
  9. <templateHeadline :skinId="skinId" :templateData="testTemplateData"></templateHeadline>
  10. <!--轮播图-->
  11. <templateBanner :skinId="skinId" :templateData="testTemplateData"></templateBanner>
  12. <!--广告组件-->
  13. <templateAd :adTag="'nmw_index_0001'" :skinId="skinId" :adData="adData"></templateAd>
  14. <!--静态外链通栏-->
  15. <templateStaticLink :skinId="skinId" :templateData="testTemplateData2"></templateStaticLink>
  16. <!--图文组合1-->
  17. <templateNewSector1 :skinId="skinId" :templateData="testTemplateData"></templateNewSector1>
  18. <!--图文组合2-->
  19. <templateNewSector2 :skinId="skinId" :templateData="testTemplateData"></templateNewSector2>
  20. <!--图文组合3-->
  21. <templateNewSector3 :skinId="skinId" :templateData="testTemplateData"></templateNewSector3>
  22. <!--图文与广告组合-->
  23. <templateNewAndAd :skinId="skinId" :templateData="testTemplateData" :adData="adData" :adTag="'nmw_index_0003'"></templateNewAndAd>
  24. </div>
  25. <!-- 底部 -->
  26. <templateFoot></templateFoot>
  27. </template>
  28. <script setup>
  29. //0.加载全局模板组件 start---------------------------------------->
  30. //0.1 全局通栏
  31. import templateHead from '@/components/template/sector/head/1200x200/1.vue'
  32. import templateMenu from '@/components/template/sector/menu/1200x130/1.vue'
  33. import templateFoot from '@/components/template/sector/foot/1200x580/1.vue'
  34. //0.2 局部通栏
  35. //0.2.1 广告组件
  36. import templateAd from '@/components/template/sector/body/ad/1200x90/1.vue'
  37. //0.2.2 网站头条
  38. import templateHeadline from '@/components/template/sector/body/index/headLine/1200x140/1.vue'
  39. //0.2.3 轮播图
  40. import templateBanner from '@/components/template/sector/body/index/banner/1200x410/1.vue'
  41. //0.2.4 静态外链通栏
  42. import templateStaticLink from '@/components/template/sector/body/index/link/1200x230/1.vue'
  43. //0.2.5 图文组合1
  44. import templateNewSector1 from '@/components/template/sector/body/index/list/1200x470/1.vue'
  45. //0.2.6 图文组合2
  46. import templateNewSector2 from '@/components/template/sector/body/index/list/1200x470/2.vue'
  47. //0.2.7 图文组合3
  48. import templateNewSector3 from '@/components/template/sector/body/index/list/1200x980/1.vue'
  49. //0.2.8 图文与广告组合
  50. import templateNewAndAd from '@/components/template/sector/body/index/list/1200x480/1.vue'
  51. //0.加载全局模板组件 end---------------------------------------->
  52. //1.获得基本信息单元 start---------------------------------------->
  53. //1.1获得页面依赖
  54. import { ref, onMounted } from 'vue';
  55. import { ElMessage } from 'element-plus';
  56. //1.2获得pinia源
  57. import { useTemplateBaseStore } from '@/stores/templateBase'
  58. const templateBaseStore = useTemplateBaseStore()
  59. //1.3获得该页的皮肤id - 在每个组件中也是同样的获得方法
  60. const skinId = ref("")
  61. //1.4获得站点基本信息
  62. const responseStatus = await requestDataPromise('/web/getWebsiteAllinfo', {
  63. method: 'GET',
  64. query: {
  65. 'link_textnum':24,
  66. 'link_imgnum':18,
  67. 'link_footnum':4
  68. },
  69. });
  70. if (responseStatus.code == 200) {
  71. //0.3.1设置站点基本信息
  72. templateBaseStore.setWebSiteInfo(responseStatus.data)
  73. //0.3.2设置皮肤id
  74. skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
  75. //0.3.3设置seo信息
  76. let seoTitle = templateBaseStore.webSiteInfo.website_head.title;
  77. let seoDescription = templateBaseStore.webSiteInfo.website_head.description;
  78. let seoKeywords = templateBaseStore.webSiteInfo.website_head.keywords;
  79. let seoSuffix = templateBaseStore.webSiteInfo.website_head.suffix;
  80. let seoName = templateBaseStore.webSiteInfo.website_head.website_name;
  81. useSeoMeta({
  82. title: seoTitle + "_" + seoSuffix,
  83. meta: [
  84. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  85. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
  86. ]
  87. });
  88. }
  89. //1.5获得广告池
  90. const adData = ref([]);
  91. const adResponseStatus = await requestDataPromise('/web/getWebsiteAdvertisement', {
  92. method: 'GET',
  93. query: {},
  94. });
  95. if (adResponseStatus.code == 200) {
  96. templateBaseStore.setAdList(adResponseStatus.data)
  97. adData.value = adResponseStatus.data;
  98. }
  99. //1.获得基本信息单元 end---------------------------------------->
  100. //2.页面数据 start---------------------------------------->
  101. //2.0 测试数据 后期移除
  102. const testTemplateData = {
  103. "sectorName": "text",
  104. "componentList": [
  105. {
  106. "component_type": 1,//1=新闻 2=广告
  107. "component_style": 1,//样式
  108. "sort": 1,//组件位置
  109. "data": {
  110. "alias":"一级导航名称",
  111. "category_id": 11,
  112. "pinyin": "nongyeshengchan",
  113. "children_count": 1,//有多少个子集 用于跳转到频道页
  114. "text": [
  115. {
  116. "id": 2863,
  117. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  118. "islink": 0,
  119. "pinyin": "nongminxinnongcun/nongcunxinfangshe"
  120. },
  121. {
  122. "id": 50129,
  123. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  124. "islink": 0,
  125. "pinyin": "sannongzixun"
  126. },
  127. {
  128. "id": 50129,
  129. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  130. "islink": 0,
  131. "pinyin": "sannongzixun"
  132. },
  133. {
  134. "id": 2862,
  135. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  136. "islink": 0,
  137. "pinyin": "sannongzixun/buweidongtai"
  138. },
  139. {
  140. "id": 50126,
  141. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  142. "islink": 0,
  143. "pinyin": "sannongzixun"
  144. },
  145. {
  146. "id": 3976,
  147. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  148. "islink": 0,
  149. "pinyin": "sannongzixun"
  150. },
  151. {
  152. "id": 50189,
  153. "title": "7以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  154. "islink": 0,
  155. "pinyin": "nongminhezuoshe"
  156. },
  157. {
  158. "id": 50190,
  159. "title": "8以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  160. "islink": 0,
  161. "pinyin": "nongminhezuoshe"
  162. }
  163. ],
  164. "img": [
  165. {
  166. "id": 50129,
  167. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  168. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  169. "author": "linyuting123",
  170. "updated_at": "2025-05-30 13:50:54",
  171. "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  172. "islink": 0,
  173. "linkurl": "",
  174. "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  175. "cat_arr_id": "[1,201]",
  176. "catid": 201,
  177. "level": "[1,2,3]",
  178. "pinyin": "sannongzixun"
  179. },
  180. {
  181. "id": 50129,
  182. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  183. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  184. "author": "佚名",
  185. "updated_at": "2025-05-30 13:50:46",
  186. "introduce": "描述",
  187. "islink": 0,
  188. "linkurl": "",
  189. "copyfrom": "本网",
  190. "cat_arr_id": "[2]",
  191. "catid": 2,
  192. "level": "[2,3]",
  193. "pinyin": "sannongzixun"
  194. },
  195. {
  196. "id": 50129,
  197. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  198. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  199. "author": "佚名",
  200. "updated_at": "2025-05-30 13:50:45",
  201. "introduce": "描述",
  202. "islink": 0,
  203. "linkurl": "",
  204. "copyfrom": "本网",
  205. "cat_arr_id": "[1]",
  206. "catid": 1,
  207. "level": "[2]",
  208. "pinyin": "sannongzixun"
  209. },
  210. {
  211. "id": 50129,
  212. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  213. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  214. "author": "佚名",
  215. "updated_at": "2025-05-30 13:50:44",
  216. "introduce": "描述",
  217. "islink": 0,
  218. "linkurl": "",
  219. "copyfrom": "本网",
  220. "cat_arr_id": "[11]",
  221. "catid": 11,
  222. "level": "[2]",
  223. "pinyin": "xinnongcun"
  224. },
  225. {
  226. "id": 50129,
  227. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  228. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  229. "author": "佚名",
  230. "updated_at": "2025-05-30 13:50:43",
  231. "introduce": "描述",
  232. "islink": 0,
  233. "linkurl": "",
  234. "copyfrom": "本网",
  235. "cat_arr_id": "[14,240]",
  236. "catid": 240,
  237. "level": "[2,3]",
  238. "pinyin": "sannongzixun"
  239. },
  240. {
  241. "id": 50129,
  242. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  243. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  244. "author": "佚名",
  245. "updated_at": "2025-04-16 11:04:29",
  246. "introduce": "描述",
  247. "islink": 0,
  248. "linkurl": "",
  249. "copyfrom": "本网",
  250. "cat_arr_id": null,
  251. "catid": 36,
  252. "level": "[2]",
  253. "pinyin": "sannongzixun"
  254. }
  255. ]
  256. }
  257. },
  258. {
  259. "component_type": 1,//1=新闻 2=广告
  260. "component_style": 1,//样式
  261. "sort": 1,//组件位置
  262. "data": {
  263. "alias":"一级导航名称2",
  264. "category_id": 11,
  265. "children_count": 0,//有多少个子集 用于跳转到频道页
  266. "pinyin": "sannongzixun/zhengcefagui",
  267. "text": [
  268. {
  269. "id": 2863,
  270. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  271. "islink": 0,
  272. "pinyin": "nongminxinnongcun/nongcunxinfangshe"
  273. },
  274. {
  275. "id": 50129,
  276. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  277. "islink": 0,
  278. "pinyin": "sannongzixun"
  279. },
  280. {
  281. "id": 50129,
  282. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  283. "islink": 0,
  284. "pinyin": "sannongzixun"
  285. },
  286. {
  287. "id": 2862,
  288. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  289. "islink": 0,
  290. "pinyin": "sannongzixun/buweidongtai"
  291. },
  292. {
  293. "id": 50126,
  294. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  295. "islink": 0,
  296. "pinyin": "sannongzixun"
  297. },
  298. {
  299. "id": 3976,
  300. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  301. "islink": 0,
  302. "pinyin": "sannongzixun"
  303. },
  304. {
  305. "id": 50189,
  306. "title": "7以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  307. "islink": 0,
  308. "pinyin": "nongminhezuoshe"
  309. },
  310. {
  311. "id": 50190,
  312. "title": "8以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  313. "islink": 0,
  314. "pinyin": "nongminhezuoshe"
  315. }
  316. ],
  317. "img": [
  318. {
  319. "id": 50129,
  320. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  321. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  322. "author": "linyuting123",
  323. "updated_at": "2025-05-30 13:50:54",
  324. "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  325. "islink": 0,
  326. "linkurl": "",
  327. "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  328. "cat_arr_id": "[1,201]",
  329. "catid": 201,
  330. "level": "[1,2,3]",
  331. "pinyin": "sannongzixun"
  332. },
  333. {
  334. "id": 50129,
  335. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  336. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  337. "author": "佚名",
  338. "updated_at": "2025-05-30 13:50:46",
  339. "introduce": "描述",
  340. "islink": 0,
  341. "linkurl": "",
  342. "copyfrom": "本网",
  343. "cat_arr_id": "[2]",
  344. "catid": 2,
  345. "level": "[2,3]",
  346. "pinyin": "sannongzixun"
  347. },
  348. {
  349. "id": 50129,
  350. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  351. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  352. "author": "佚名",
  353. "updated_at": "2025-05-30 13:50:45",
  354. "introduce": "描述",
  355. "islink": 0,
  356. "linkurl": "",
  357. "copyfrom": "本网",
  358. "cat_arr_id": "[1]",
  359. "catid": 1,
  360. "level": "[2]",
  361. "pinyin": "sannongzixun"
  362. },
  363. {
  364. "id": 50129,
  365. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  366. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  367. "author": "佚名",
  368. "updated_at": "2025-05-30 13:50:44",
  369. "introduce": "描述",
  370. "islink": 0,
  371. "linkurl": "",
  372. "copyfrom": "本网",
  373. "cat_arr_id": "[11]",
  374. "catid": 11,
  375. "level": "[2]",
  376. "pinyin": "xinnongcun"
  377. },
  378. {
  379. "id": 50129,
  380. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  381. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  382. "author": "佚名",
  383. "updated_at": "2025-05-30 13:50:43",
  384. "introduce": "描述",
  385. "islink": 0,
  386. "linkurl": "",
  387. "copyfrom": "本网",
  388. "cat_arr_id": "[14,240]",
  389. "catid": 240,
  390. "level": "[2,3]",
  391. "pinyin": "sannongzixun"
  392. },
  393. {
  394. "id": 50129,
  395. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  396. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  397. "author": "佚名",
  398. "updated_at": "2025-04-16 11:04:29",
  399. "introduce": "描述",
  400. "islink": 0,
  401. "linkurl": "",
  402. "copyfrom": "本网",
  403. "cat_arr_id": null,
  404. "catid": 36,
  405. "level": "[2]",
  406. "pinyin": "sannongzixun"
  407. }
  408. ]
  409. }
  410. },
  411. {
  412. "component_type": 1,//1=新闻 2=广告
  413. "component_style": 1,//样式
  414. "sort": 3,//组件位置
  415. "data": {
  416. "alias":"一级导航名称3",
  417. "category_id": 11,
  418. "children_count": 0,//有多少个子集 用于跳转到频道页
  419. "pinyin": "sannongzixun/zhengcefagui",
  420. "text": [
  421. {
  422. "id": 2863,
  423. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  424. "islink": 0,
  425. "pinyin": "nongminxinnongcun/nongcunxinfangshe"
  426. },
  427. {
  428. "id": 50129,
  429. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  430. "islink": 0,
  431. "pinyin": "sannongzixun"
  432. },
  433. {
  434. "id": 50129,
  435. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  436. "islink": 0,
  437. "pinyin": "sannongzixun"
  438. },
  439. {
  440. "id": 2862,
  441. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  442. "islink": 0,
  443. "pinyin": "sannongzixun/buweidongtai"
  444. },
  445. {
  446. "id": 50126,
  447. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  448. "islink": 0,
  449. "pinyin": "sannongzixun"
  450. },
  451. {
  452. "id": 3976,
  453. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  454. "islink": 0,
  455. "pinyin": "sannongzixun"
  456. },
  457. {
  458. "id": 50189,
  459. "title": "7以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  460. "islink": 0,
  461. "pinyin": "nongminhezuoshe"
  462. },
  463. {
  464. "id": 50190,
  465. "title": "8以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  466. "islink": 0,
  467. "pinyin": "nongminhezuoshe"
  468. }
  469. ],
  470. "img": [
  471. {
  472. "id": 50129,
  473. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  474. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  475. "author": "linyuting123",
  476. "updated_at": "2025-05-30 13:50:54",
  477. "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  478. "islink": 0,
  479. "linkurl": "",
  480. "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  481. "cat_arr_id": "[1,201]",
  482. "catid": 201,
  483. "level": "[1,2,3]",
  484. "pinyin": "sannongzixun"
  485. },
  486. {
  487. "id": 50129,
  488. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  489. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  490. "author": "佚名",
  491. "updated_at": "2025-05-30 13:50:46",
  492. "introduce": "描述",
  493. "islink": 0,
  494. "linkurl": "",
  495. "copyfrom": "本网",
  496. "cat_arr_id": "[2]",
  497. "catid": 2,
  498. "level": "[2,3]",
  499. "pinyin": "sannongzixun"
  500. },
  501. {
  502. "id": 50129,
  503. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  504. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  505. "author": "佚名",
  506. "updated_at": "2025-05-30 13:50:45",
  507. "introduce": "描述",
  508. "islink": 0,
  509. "linkurl": "",
  510. "copyfrom": "本网",
  511. "cat_arr_id": "[1]",
  512. "catid": 1,
  513. "level": "[2]",
  514. "pinyin": "sannongzixun"
  515. },
  516. {
  517. "id": 50129,
  518. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  519. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  520. "author": "佚名",
  521. "updated_at": "2025-05-30 13:50:44",
  522. "introduce": "描述",
  523. "islink": 0,
  524. "linkurl": "",
  525. "copyfrom": "本网",
  526. "cat_arr_id": "[11]",
  527. "catid": 11,
  528. "level": "[2]",
  529. "pinyin": "xinnongcun"
  530. },
  531. {
  532. "id": 50129,
  533. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  534. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  535. "author": "佚名",
  536. "updated_at": "2025-05-30 13:50:43",
  537. "introduce": "描述",
  538. "islink": 0,
  539. "linkurl": "",
  540. "copyfrom": "本网",
  541. "cat_arr_id": "[14,240]",
  542. "catid": 240,
  543. "level": "[2,3]",
  544. "pinyin": "sannongzixun"
  545. },
  546. {
  547. "id": 50129,
  548. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  549. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  550. "author": "佚名",
  551. "updated_at": "2025-04-16 11:04:29",
  552. "introduce": "描述",
  553. "islink": 0,
  554. "linkurl": "",
  555. "copyfrom": "本网",
  556. "cat_arr_id": null,
  557. "catid": 36,
  558. "level": "[2]",
  559. "pinyin": "sannongzixun"
  560. }
  561. ]
  562. }
  563. },
  564. ],
  565. "ad": {
  566. "ad_tag": "nmw_index_0003"
  567. }
  568. }
  569. //静态链接测试数据
  570. const testTemplateData2 = {
  571. "sectorName": "linkSector",
  572. "componentList": [
  573. {
  574. "component_type": 3,
  575. "component_style": 1,
  576. "sort": 1,
  577. "componentData": {}
  578. }
  579. ],
  580. "sort": 4
  581. }
  582. //2.页面数据 end---------------------------------------->
  583. </script>
  584. <style lang="less" scoped>
  585. @import url('@/assets/css/index.less');
  586. </style>