index.vue 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585
  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"></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": "sannongzixun",
  113. "text": [
  114. {
  115. "id": 50079,
  116. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙1",
  117. "islink": 0,
  118. "pinyin": "sannongtansuo/jiaodianfangtan"
  119. },
  120. {
  121. "id": 50136,
  122. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙2",
  123. "islink": 0,
  124. "pinyin": "sannongzhichuang"
  125. },
  126. {
  127. "id": 50137,
  128. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙3",
  129. "islink": 0,
  130. "pinyin": "sannongzhichuang"
  131. },
  132. {
  133. "id": 50138,
  134. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙4",
  135. "islink": 0,
  136. "pinyin": "sannongzhichuang"
  137. },
  138. {
  139. "id": 50138,
  140. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙5",
  141. "islink": 0,
  142. "pinyin": "sannongzhichuang"
  143. },
  144. {
  145. "id": 50138,
  146. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  147. "islink": 0,
  148. "pinyin": "sannongzhichuang"
  149. },
  150. {
  151. "id": 50138,
  152. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙7",
  153. "islink": 0,
  154. "pinyin": "sannongzhichuang"
  155. },
  156. {
  157. "id": 50138,
  158. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙8",
  159. "islink": 0,
  160. "pinyin": "sannongzhichuang"
  161. }
  162. ],
  163. "img": [
  164. {
  165. "id": 3843,
  166. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙1",
  167. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  168. "author": "linyuting123",
  169. "updated_at": "2025-05-30 13:50:54",
  170. "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  171. "islink": 0,
  172. "linkurl": "",
  173. "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  174. "cat_arr_id": "[1,201]",
  175. "catid": 201,
  176. "level": "[1,2,3]",
  177. "pinyin": "sannongzixunwangzhengcefagui/faguijiexi"
  178. },
  179. {
  180. "id": 3406,
  181. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙2",
  182. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  183. "author": "佚名",
  184. "updated_at": "2025-05-30 13:50:46",
  185. "introduce": "描述",
  186. "islink": 0,
  187. "linkurl": "",
  188. "copyfrom": "本网",
  189. "cat_arr_id": "[2]",
  190. "catid": 2,
  191. "level": "[2,3]",
  192. "pinyin": "sannongzhichuang"
  193. },
  194. {
  195. "id": 3276,
  196. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙3",
  197. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  198. "author": "佚名",
  199. "updated_at": "2025-05-30 13:50:45",
  200. "introduce": "描述",
  201. "islink": 0,
  202. "linkurl": "",
  203. "copyfrom": "本网",
  204. "cat_arr_id": "[1]",
  205. "catid": 1,
  206. "level": "[2]",
  207. "pinyin": "sannongzixunwangzhengcefagui"
  208. },
  209. {
  210. "id": 3261,
  211. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙4",
  212. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  213. "author": "佚名",
  214. "updated_at": "2025-05-30 13:50:44",
  215. "introduce": "描述",
  216. "islink": 0,
  217. "linkurl": "",
  218. "copyfrom": "本网",
  219. "cat_arr_id": "[11]",
  220. "catid": 11,
  221. "level": "[2]",
  222. "pinyin": "xinnongcun"
  223. },
  224. {
  225. "id": 3186,
  226. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙5",
  227. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  228. "author": "佚名",
  229. "updated_at": "2025-05-30 13:50:43",
  230. "introduce": "描述",
  231. "islink": 0,
  232. "linkurl": "",
  233. "copyfrom": "本网",
  234. "cat_arr_id": "[14,240]",
  235. "catid": 240,
  236. "level": "[2,3]",
  237. "pinyin": "sannongkejiao/nongyekepu"
  238. },
  239. {
  240. "id": 2552,
  241. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  242. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  243. "author": "佚名",
  244. "updated_at": "2025-04-16 11:04:29",
  245. "introduce": "描述",
  246. "islink": 0,
  247. "linkurl": "",
  248. "copyfrom": "本网",
  249. "cat_arr_id": null,
  250. "catid": 36,
  251. "level": "[2]",
  252. "pinyin": "xinnongcun/gaoduanzixun"
  253. }
  254. ]
  255. }
  256. },
  257. {
  258. "component_type": 1,//1=新闻 2=广告
  259. "component_style": 1,//样式
  260. "sort": 1,//组件位置
  261. "data": {
  262. "alias":"一级导航名称2",
  263. "category_id": 11,
  264. "pinyin": "sannongzixun",
  265. "text": [
  266. {
  267. "id": 50079,
  268. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙1",
  269. "islink": 0,
  270. "pinyin": "sannongtansuo/jiaodianfangtan"
  271. },
  272. {
  273. "id": 50136,
  274. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙2",
  275. "islink": 0,
  276. "pinyin": "sannongzhichuang"
  277. },
  278. {
  279. "id": 50137,
  280. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙3",
  281. "islink": 0,
  282. "pinyin": "sannongzhichuang"
  283. },
  284. {
  285. "id": 50138,
  286. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙4",
  287. "islink": 0,
  288. "pinyin": "sannongzhichuang"
  289. },
  290. {
  291. "id": 50138,
  292. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙5",
  293. "islink": 0,
  294. "pinyin": "sannongzhichuang"
  295. },
  296. {
  297. "id": 50138,
  298. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  299. "islink": 0,
  300. "pinyin": "sannongzhichuang"
  301. },
  302. {
  303. "id": 50138,
  304. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙7",
  305. "islink": 0,
  306. "pinyin": "sannongzhichuang"
  307. },
  308. {
  309. "id": 50138,
  310. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙8",
  311. "islink": 0,
  312. "pinyin": "sannongzhichuang"
  313. }
  314. ],
  315. "img": [
  316. {
  317. "id": 3843,
  318. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙1",
  319. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  320. "author": "linyuting123",
  321. "updated_at": "2025-05-30 13:50:54",
  322. "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  323. "islink": 0,
  324. "linkurl": "",
  325. "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  326. "cat_arr_id": "[1,201]",
  327. "catid": 201,
  328. "level": "[1,2,3]",
  329. "pinyin": "sannongzixunwangzhengcefagui/faguijiexi"
  330. },
  331. {
  332. "id": 3406,
  333. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙2",
  334. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  335. "author": "佚名",
  336. "updated_at": "2025-05-30 13:50:46",
  337. "introduce": "描述",
  338. "islink": 0,
  339. "linkurl": "",
  340. "copyfrom": "本网",
  341. "cat_arr_id": "[2]",
  342. "catid": 2,
  343. "level": "[2,3]",
  344. "pinyin": "sannongzhichuang"
  345. },
  346. {
  347. "id": 3276,
  348. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙3",
  349. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  350. "author": "佚名",
  351. "updated_at": "2025-05-30 13:50:45",
  352. "introduce": "描述",
  353. "islink": 0,
  354. "linkurl": "",
  355. "copyfrom": "本网",
  356. "cat_arr_id": "[1]",
  357. "catid": 1,
  358. "level": "[2]",
  359. "pinyin": "sannongzixunwangzhengcefagui"
  360. },
  361. {
  362. "id": 3261,
  363. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙4",
  364. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  365. "author": "佚名",
  366. "updated_at": "2025-05-30 13:50:44",
  367. "introduce": "描述",
  368. "islink": 0,
  369. "linkurl": "",
  370. "copyfrom": "本网",
  371. "cat_arr_id": "[11]",
  372. "catid": 11,
  373. "level": "[2]",
  374. "pinyin": "xinnongcun"
  375. },
  376. {
  377. "id": 3186,
  378. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙5",
  379. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  380. "author": "佚名",
  381. "updated_at": "2025-05-30 13:50:43",
  382. "introduce": "描述",
  383. "islink": 0,
  384. "linkurl": "",
  385. "copyfrom": "本网",
  386. "cat_arr_id": "[14,240]",
  387. "catid": 240,
  388. "level": "[2,3]",
  389. "pinyin": "sannongkejiao/nongyekepu"
  390. },
  391. {
  392. "id": 2552,
  393. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  394. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  395. "author": "佚名",
  396. "updated_at": "2025-04-16 11:04:29",
  397. "introduce": "描述",
  398. "islink": 0,
  399. "linkurl": "",
  400. "copyfrom": "本网",
  401. "cat_arr_id": null,
  402. "catid": 36,
  403. "level": "[2]",
  404. "pinyin": "xinnongcun/gaoduanzixun"
  405. }
  406. ]
  407. }
  408. },
  409. {
  410. "component_type": 1,//1=新闻 2=广告
  411. "component_style": 1,//样式
  412. "sort": 3,//组件位置
  413. "data": {
  414. "alias":"一级导航名称3",
  415. "category_id": 11,
  416. "pinyin": "sannongzixun",
  417. "text": [
  418. {
  419. "id": 50079,
  420. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙1",
  421. "islink": 0,
  422. "pinyin": "sannongtansuo/jiaodianfangtan"
  423. },
  424. {
  425. "id": 50136,
  426. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙2",
  427. "islink": 0,
  428. "pinyin": "sannongzhichuang"
  429. },
  430. {
  431. "id": 50137,
  432. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙3",
  433. "islink": 0,
  434. "pinyin": "sannongzhichuang"
  435. },
  436. {
  437. "id": 50138,
  438. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙4",
  439. "islink": 0,
  440. "pinyin": "sannongzhichuang"
  441. },
  442. {
  443. "id": 50138,
  444. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙5",
  445. "islink": 0,
  446. "pinyin": "sannongzhichuang"
  447. },
  448. {
  449. "id": 50138,
  450. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  451. "islink": 0,
  452. "pinyin": "sannongzhichuang"
  453. },
  454. {
  455. "id": 50138,
  456. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙7",
  457. "islink": 0,
  458. "pinyin": "sannongzhichuang"
  459. },
  460. {
  461. "id": 50138,
  462. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙8",
  463. "islink": 0,
  464. "pinyin": "sannongzhichuang"
  465. }
  466. ],
  467. "img": [
  468. {
  469. "id": 3843,
  470. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙1",
  471. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  472. "author": "linyuting123",
  473. "updated_at": "2025-05-30 13:50:54",
  474. "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  475. "islink": 0,
  476. "linkurl": "",
  477. "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  478. "cat_arr_id": "[1,201]",
  479. "catid": 201,
  480. "level": "[1,2,3]",
  481. "pinyin": "sannongzixunwangzhengcefagui/faguijiexi"
  482. },
  483. {
  484. "id": 3406,
  485. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙2",
  486. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  487. "author": "佚名",
  488. "updated_at": "2025-05-30 13:50:46",
  489. "introduce": "描述",
  490. "islink": 0,
  491. "linkurl": "",
  492. "copyfrom": "本网",
  493. "cat_arr_id": "[2]",
  494. "catid": 2,
  495. "level": "[2,3]",
  496. "pinyin": "sannongzhichuang"
  497. },
  498. {
  499. "id": 3276,
  500. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙3",
  501. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  502. "author": "佚名",
  503. "updated_at": "2025-05-30 13:50:45",
  504. "introduce": "描述",
  505. "islink": 0,
  506. "linkurl": "",
  507. "copyfrom": "本网",
  508. "cat_arr_id": "[1]",
  509. "catid": 1,
  510. "level": "[2]",
  511. "pinyin": "sannongzixunwangzhengcefagui"
  512. },
  513. {
  514. "id": 3261,
  515. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙4",
  516. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  517. "author": "佚名",
  518. "updated_at": "2025-05-30 13:50:44",
  519. "introduce": "描述",
  520. "islink": 0,
  521. "linkurl": "",
  522. "copyfrom": "本网",
  523. "cat_arr_id": "[11]",
  524. "catid": 11,
  525. "level": "[2]",
  526. "pinyin": "xinnongcun"
  527. },
  528. {
  529. "id": 3186,
  530. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙5",
  531. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  532. "author": "佚名",
  533. "updated_at": "2025-05-30 13:50:43",
  534. "introduce": "描述",
  535. "islink": 0,
  536. "linkurl": "",
  537. "copyfrom": "本网",
  538. "cat_arr_id": "[14,240]",
  539. "catid": 240,
  540. "level": "[2,3]",
  541. "pinyin": "sannongkejiao/nongyekepu"
  542. },
  543. {
  544. "id": 2552,
  545. "title": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  546. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  547. "author": "佚名",
  548. "updated_at": "2025-04-16 11:04:29",
  549. "introduce": "描述",
  550. "islink": 0,
  551. "linkurl": "",
  552. "copyfrom": "本网",
  553. "cat_arr_id": null,
  554. "catid": 36,
  555. "level": "[2]",
  556. "pinyin": "xinnongcun/gaoduanzixun"
  557. }
  558. ]
  559. }
  560. }
  561. ],
  562. }
  563. //静态链接测试数据
  564. const testTemplateData2 = {
  565. "sectorName": "linkSector",
  566. "componentList": [
  567. {
  568. "component_type": 3,
  569. "component_style": 1,
  570. "sort": 1,
  571. "componentData": {}
  572. }
  573. ],
  574. "sort": 4
  575. }
  576. //2.页面数据 end---------------------------------------->
  577. </script>
  578. <style lang="less" scoped>
  579. @import url('@/assets/css/index.less');
  580. </style>