index.vue 26 KB

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