index.vue 27 KB

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