UseTemplate.php 87 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999
  1. <?php
  2. /**
  3. * Niushop商城系统 - 团队十年电商经验汇集巨献!
  4. * =========================================================
  5. * Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
  6. * ----------------------------------------------
  7. * 官方网址=> https=>//www.niushop.com
  8. * =========================================================
  9. */
  10. namespace addon\diy_default1\event;
  11. use app\model\web\DiyView as DiyViewModel;
  12. /**
  13. * 使用自定义模板
  14. */
  15. class UseTemplate
  16. {
  17. /**
  18. * 模板数据
  19. * @param $params
  20. * @return array
  21. */
  22. public function handle($params)
  23. {
  24. if ($params[ 'name' ] == 'official_default_round') {
  25. $diy_view = new DiyViewModel();
  26. // 添加模板页面
  27. $res = $diy_view->addTemplatePage([
  28. 'site_id' => $params[ 'site_id' ],
  29. 'name' => $params[ 'name' ],
  30. 'page' => [ $this->index_page, $this->goods_category_page, $this->member_index_page ], // 自定义页面集合
  31. ]);
  32. return $res;
  33. }
  34. }
  35. // 【首页】自定义页面数据
  36. private $index_page = [
  37. 'title' => '官方模板一',
  38. 'name' => "DIY_VIEW_INDEX",
  39. 'type' => "shop",
  40. 'value' => [
  41. "global" => [
  42. "title" => "官方模板一",
  43. "pageBgColor" => "#F6F9FF",
  44. "topNavColor" => "#FFFFFF",
  45. "topNavBg" => false,
  46. "navBarSwitch" => true,
  47. "textNavColor" => "#333333",
  48. "topNavImg" => "",
  49. "moreLink" => [
  50. "name" => ""
  51. ],
  52. "openBottomNav" => true,
  53. "navStyle" => 1,
  54. "textImgPosLink" => "center",
  55. "mpCollect" => false,
  56. "popWindow" => [
  57. "imageUrl" => "",
  58. "count" => -1,
  59. "show" => 0,
  60. "link" => [
  61. "name" => ""
  62. ],
  63. "imgWidth" => "",
  64. "imgHeight" => ""
  65. ],
  66. "bgUrl" => __ROOT__ . '/addon/diy_default1/shop/view/public/img/bg.png',
  67. "imgWidth" => "2250",
  68. "imgHeight" => "1110",
  69. "template" => [
  70. "pageBgColor" => "",
  71. "textColor" => "#303133",
  72. "componentBgColor" => "",
  73. "componentAngle" => "round",
  74. "topAroundRadius" => 0,
  75. "bottomAroundRadius" => 0,
  76. "elementBgColor" => "",
  77. "elementAngle" => "round",
  78. "topElementAroundRadius" => 0,
  79. "bottomElementAroundRadius" => 0,
  80. "margin" => [
  81. "top" => 0,
  82. "bottom" => 0,
  83. "both" => 12
  84. ]
  85. ],
  86. ],
  87. "value" => [
  88. [
  89. "id" => "5wtw72w1wj80",
  90. "componentName" => "Search",
  91. "componentTitle" => "搜索框",
  92. "isDelete" => 0,
  93. "topAroundRadius" => 0,
  94. "bottomAroundRadius" => 0,
  95. "topElementAroundRadius" => 0,
  96. "bottomElementAroundRadius" => 0,
  97. "margin" => [
  98. "top" => 10,
  99. "bottom" => 10,
  100. "both" => 12
  101. ],
  102. "title" => "请输入搜索关键词",
  103. "textAlign" => "left",
  104. "borderType" => 2,
  105. "searchImg" => "",
  106. "searchStyle" => 1,
  107. "pageBgColor" => "#FFFFFF",
  108. "textColor" => "#303133",
  109. "componentBgColor" => "",
  110. "elementBgColor" => "#F6F9FF",
  111. "iconType" => "img",
  112. "icon" => "",
  113. "style" => [
  114. "fontSize" => "60",
  115. "iconBgColor" => [],
  116. "iconBgColorDeg" => 0,
  117. "iconBgImg" => "",
  118. "bgRadius" => 0,
  119. "iconColor" => [
  120. "#000000"
  121. ],
  122. "iconColorDeg" => 0
  123. ],
  124. "imageUrl" => ""
  125. ],
  126. [
  127. "id" => "2o7za2qmi900",
  128. "list" => [
  129. [
  130. "link" => [
  131. "name" => ""
  132. ],
  133. "imageUrl" => __ROOT__ . '/addon/diy_default1/shop/view/public/img/banner.png',
  134. "imgWidth" => "750",
  135. "imgHeight" => "320",
  136. "id" => "1iy3xvq2ngf40"
  137. ],
  138. [
  139. "link" => [
  140. "name" => ""
  141. ],
  142. "imageUrl" => __ROOT__ . '/addon/diy_default1/shop/view/public/img/banner2.png',
  143. "imgWidth" => "750",
  144. "imgHeight" => "320",
  145. "id" => "zcrfm65uiu8"
  146. ]
  147. ],
  148. "indicatorColor" => "#ffffff",
  149. "carouselStyle" => "circle",
  150. "indicatorLocation" => "center",
  151. "componentName" => "ImageAds",
  152. "componentTitle" => "图片广告",
  153. "isDelete" => 0,
  154. "pageBgColor" => "",
  155. "componentBgColor" => "",
  156. "componentAngle" => "round",
  157. "topAroundRadius" => 10,
  158. "bottomAroundRadius" => 10,
  159. "topElementAroundRadius" => 0,
  160. "bottomElementAroundRadius" => 0,
  161. "margin" => [
  162. "top" => 0,
  163. "bottom" => 12,
  164. "both" => 12
  165. ]
  166. ],
  167. [
  168. "id" => "113ohzka4n40",
  169. "mode" => "graphic",
  170. "type" => "img",
  171. "showStyle" => "fixed",
  172. "ornament" => [
  173. "type" => "default",
  174. "color" => "#EDEDED"
  175. ],
  176. "rowCount" => 5,
  177. "pageCount" => 2,
  178. "carousel" => [
  179. "type" => "circle",
  180. "color" => "#FFFFFF"
  181. ],
  182. "imageSize" => 40,
  183. "aroundRadius" => 25,
  184. "font" => [
  185. "size" => 14,
  186. "weight" => 'normal',
  187. "color" => "#303133"
  188. ],
  189. "list" => [
  190. [
  191. "title" => "团购",
  192. "icon" => "icondiy icon-system-groupbuy-nav",
  193. "imageUrl" => "",
  194. "iconType" => "icon",
  195. "style" => [
  196. "fontSize" => 50,
  197. "iconBgColor" => [
  198. "#FF9F3E",
  199. "#FF4116"
  200. ],
  201. "iconBgColorDeg" => 90,
  202. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_06.png",
  203. "bgRadius" => 50,
  204. "iconColor" => [
  205. "#FFFFFF"
  206. ],
  207. "iconColorDeg" => 0
  208. ],
  209. "link" => [
  210. "name" => "GROUPBUY_PREFECTURE",
  211. "title" => "团购专区",
  212. "wap_url" => "/pages_promotion/groupbuy/list",
  213. "parent" => "MARKETING_LINK"
  214. ],
  215. "label" => [
  216. "control" => false,
  217. "text" => "热门",
  218. "textColor" => "#FFFFFF",
  219. "bgColorStart" => "#F83287",
  220. "bgColorEnd" => "#FE3423"
  221. ],
  222. "id" => "ycafod7gfgg0"
  223. ],
  224. [
  225. "title" => "拼团",
  226. "icon" => "icondiy icon-system-pintuan-nav",
  227. "imageUrl" => "",
  228. "iconType" => "icon",
  229. "style" => [
  230. "fontSize" => 50,
  231. "iconBgColor" => [
  232. "#58BCFF",
  233. "#1379FF"
  234. ],
  235. "iconBgColorDeg" => 90,
  236. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_06.png",
  237. "bgRadius" => 50,
  238. "iconColor" => [
  239. "#FFFFFF"
  240. ],
  241. "iconColorDeg" => 0
  242. ],
  243. "link" => [
  244. "name" => "PINTUAN_PREFECTURE",
  245. "title" => "拼团专区",
  246. "wap_url" => "/pages_promotion/pintuan/list",
  247. "parent" => "MARKETING_LINK"
  248. ],
  249. "label" => [
  250. "control" => false,
  251. "text" => "热门",
  252. "textColor" => "#FFFFFF",
  253. "bgColorStart" => "#F83287",
  254. "bgColorEnd" => "#FE3423"
  255. ],
  256. "id" => "wnlf5ak6u8g0"
  257. ],
  258. [
  259. "title" => "秒杀",
  260. "icon" => "icondiy icon-system-seckill-time",
  261. "imageUrl" => "",
  262. "iconType" => "icon",
  263. "style" => [
  264. "fontSize" => 50,
  265. "iconBgColor" => [
  266. "#FFCC26",
  267. "#FF9F29"
  268. ],
  269. "iconBgColorDeg" => 90,
  270. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_06.png",
  271. "bgRadius" => 50,
  272. "iconColor" => [
  273. "#FFFFFF"
  274. ],
  275. "iconColorDeg" => 0
  276. ],
  277. "link" => [
  278. "name" => "SECKILL_PREFECTURE",
  279. "title" => "秒杀专区",
  280. "wap_url" => "/pages_promotion/seckill/list",
  281. "parent" => "MARKETING_LINK"
  282. ],
  283. "label" => [
  284. "control" => true,
  285. "text" => "热门",
  286. "textColor" => "#FFFFFF",
  287. "bgColorStart" => "#F83288",
  288. "bgColorEnd" => "#FE3523"
  289. ],
  290. "id" => "lpg2grtvmxo0"
  291. ],
  292. [
  293. "title" => " 积分",
  294. "icon" => "icondiy icon-system-point-nav",
  295. "imageUrl" => "",
  296. "iconType" => "icon",
  297. "style" => [
  298. "fontSize" => 50,
  299. "iconBgColor" => [
  300. "#02CC96",
  301. "#43EEC9"
  302. ],
  303. "iconBgColorDeg" => 90,
  304. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_06.png",
  305. "bgRadius" => 50,
  306. "iconColor" => [
  307. "#FFFFFF"
  308. ],
  309. "iconColorDeg" => 0
  310. ],
  311. "link" => [
  312. "name" => "INTEGRAL_STORE",
  313. "title" => "积分商城",
  314. "wap_url" => "/pages_promotion/point/list",
  315. "parent" => "MARKETING_LINK"
  316. ],
  317. "label" => [
  318. "control" => false,
  319. "text" => "热门",
  320. "textColor" => "#FFFFFF",
  321. "bgColorStart" => "#F83287",
  322. "bgColorEnd" => "#FE3423"
  323. ],
  324. "id" => "1jfs721gome8"
  325. ],
  326. [
  327. "title" => "专题活动",
  328. "icon" => "icondiy icon-system-topic-nav",
  329. "imageUrl" => "",
  330. "iconType" => "icon",
  331. "style" => [
  332. "fontSize" => 50,
  333. "iconBgColor" => [
  334. "#BE79FF",
  335. "#7B00FF"
  336. ],
  337. "iconBgColorDeg" => 0,
  338. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_06.png",
  339. "bgRadius" => 50,
  340. "iconColor" => [
  341. "#FFFFFF"
  342. ],
  343. "iconColorDeg" => 0
  344. ],
  345. "link" => [
  346. "name" => "THEMATIC_ACTIVITIES_LIST",
  347. "title" => "专题活动列表",
  348. "wap_url" => "/pages_promotion/topics/list",
  349. "parent" => "MARKETING_LINK"
  350. ],
  351. "label" => [
  352. "control" => false,
  353. "text" => "热门",
  354. "textColor" => "#FFFFFF",
  355. "bgColorStart" => "#F83287",
  356. "bgColorEnd" => "#FE3423"
  357. ],
  358. "id" => "1grejh3c8fwg0"
  359. ],
  360. [
  361. "title" => "砍价",
  362. "icon" => "icondiy icon-system-bargain-nav",
  363. "imageUrl" => "",
  364. "iconType" => "icon",
  365. "style" => [
  366. "fontSize" => 50,
  367. "iconBgColor" => [
  368. "#5BBDFF",
  369. "#2E87FD"
  370. ],
  371. "iconBgColorDeg" => 90,
  372. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_06.png",
  373. "bgRadius" => 50,
  374. "iconColor" => [
  375. "#FFFFFF"
  376. ],
  377. "iconColorDeg" => 0
  378. ],
  379. "link" => [
  380. "name" => "BARGAIN_PREFECTURE",
  381. "title" => "砍价专区",
  382. "wap_url" => "/pages_promotion/bargain/list",
  383. "parent" => "MARKETING_LINK"
  384. ],
  385. "label" => [
  386. "control" => false,
  387. "text" => "热门",
  388. "textColor" => "#FFFFFF",
  389. "bgColorStart" => "#F83287",
  390. "bgColorEnd" => "#FE3423"
  391. ],
  392. "id" => "ycpsnfbaf800"
  393. ],
  394. [
  395. "title" => "领券",
  396. "icon" => "icondiy icon-system-get-coupon",
  397. "imageUrl" => "",
  398. "iconType" => "icon",
  399. "style" => [
  400. "fontSize" => 50,
  401. "iconBgColor" => [
  402. "#BE79FF",
  403. "#7B00FF"
  404. ],
  405. "iconBgColorDeg" => 90,
  406. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_06.png",
  407. "bgRadius" => 50,
  408. "iconColor" => [
  409. "#FFFFFF"
  410. ],
  411. "iconColorDeg" => 0
  412. ],
  413. "link" => [
  414. "name" => "COUPON_PREFECTURE",
  415. "title" => "优惠券专区",
  416. "wap_url" => "/pages_tool/goods/coupon",
  417. "parent" => "MARKETING_LINK"
  418. ],
  419. "label" => [
  420. "control" => false,
  421. "text" => "热门",
  422. "textColor" => "#FFFFFF",
  423. "bgColorStart" => "#F83287",
  424. "bgColorEnd" => "#FE3423"
  425. ],
  426. "id" => "17dcs7xstz400"
  427. ],
  428. [
  429. "title" => "文章",
  430. "icon" => "icondiy icon-system-article-nav",
  431. "imageUrl" => "",
  432. "iconType" => "icon",
  433. "style" => [
  434. "fontSize" => 50,
  435. "iconBgColor" => [
  436. "#FF8052",
  437. "#FF4830"
  438. ],
  439. "iconBgColorDeg" => 0,
  440. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_06.png",
  441. "bgRadius" => 50,
  442. "iconColor" => [
  443. "#FFFFFF"
  444. ],
  445. "iconColorDeg" => 0
  446. ],
  447. "link" => [
  448. "name" => "SHOPPING_ARTICLE",
  449. "title" => "文章",
  450. "wap_url" => "/pages_tool/article/list",
  451. "parent" => "MALL_LINK"
  452. ],
  453. "label" => [
  454. "control" => false,
  455. "text" => "热门",
  456. "textColor" => "#FFFFFF",
  457. "bgColorStart" => "#F83287",
  458. "bgColorEnd" => "#FE3423"
  459. ],
  460. "id" => "hg8450mb0hc0"
  461. ],
  462. [
  463. "title" => "公告",
  464. "icon" => "icondiy icon-system-notice-nav",
  465. "imageUrl" => "",
  466. "iconType" => "icon",
  467. "style" => [
  468. "fontSize" => 50,
  469. "iconBgColor" => [
  470. "#FFCC26",
  471. "#FF9F29"
  472. ],
  473. "iconBgColorDeg" => 90,
  474. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_06.png",
  475. "bgRadius" => 50,
  476. "iconColor" => [
  477. "#FFFFFF"
  478. ],
  479. "iconColorDeg" => 0
  480. ],
  481. "link" => [
  482. "name" => "SHOPPING_NOTICE",
  483. "title" => "公告",
  484. "wap_url" => "/pages_tool/notice/list",
  485. "parent" => "MALL_LINK"
  486. ],
  487. "label" => [
  488. "control" => false,
  489. "text" => "热门",
  490. "textColor" => "#FFFFFF",
  491. "bgColorStart" => "#F83287",
  492. "bgColorEnd" => "#FE3423"
  493. ],
  494. "id" => "1cg964qu9f9c0"
  495. ],
  496. [
  497. "title" => "帮助",
  498. "icon" => "icondiy icon-system-help",
  499. "imageUrl" => "",
  500. "iconType" => "icon",
  501. "style" => [
  502. "fontSize" => 50,
  503. "iconBgColor" => [
  504. "#02CC96",
  505. "#43EEC9"
  506. ],
  507. "iconBgColorDeg" => 90,
  508. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_06.png",
  509. "bgRadius" => 50,
  510. "iconColor" => [
  511. "#FFFFFF"
  512. ],
  513. "iconColorDeg" => 0
  514. ],
  515. "link" => [
  516. "name" => "SHOPPING_HELP",
  517. "title" => "帮助",
  518. "wap_url" => "/pages_tool/help/list",
  519. "parent" => "MALL_LINK"
  520. ],
  521. "label" => [
  522. "control" => false,
  523. "text" => "热门",
  524. "textColor" => "#FFFFFF",
  525. "bgColorStart" => "#F83287",
  526. "bgColorEnd" => "#FE3423"
  527. ],
  528. "id" => "1v4budp7jav40"
  529. ]
  530. ],
  531. "componentName" => "GraphicNav",
  532. "componentTitle" => "图文导航",
  533. "isDelete" => 0,
  534. "pageBgColor" => "",
  535. "componentBgColor" => "#FFFFFF",
  536. "componentAngle" => "round",
  537. "topAroundRadius" => 10,
  538. "bottomAroundRadius" => 10,
  539. "topElementAroundRadius" => 0,
  540. "bottomElementAroundRadius" => 0,
  541. "margin" => [
  542. "top" => 0,
  543. "bottom" => 12,
  544. "both" => 12
  545. ]
  546. ],
  547. [
  548. "id" => "3tegcfvyijk0",
  549. "list" => [
  550. [
  551. "link" => [
  552. "name" => ""
  553. ],
  554. "imageUrl" => __ROOT__ . '/addon/diy_default1/shop/view/public/img/mf_left.png',
  555. "imgWidth" => "338",
  556. "imgHeight" => "450",
  557. "previewWidth" => 187.5,
  558. "previewHeight" => "249.63px"
  559. ],
  560. [
  561. "imageUrl" => __ROOT__ . '/addon/diy_default1/shop/view/public/img/mf_right1.png',
  562. "link" => [
  563. "name" => ""
  564. ],
  565. "imgWidth" => "354",
  566. "imgHeight" => "220",
  567. "previewWidth" => 187.5,
  568. "previewHeight" => "124.82px",
  569. ],
  570. [
  571. "imageUrl" => __ROOT__ . '/addon/diy_default1/shop/view/public/img/mf_right2.png',
  572. "imgWidth" => "354",
  573. "imgHeight" => "220",
  574. "previewWidth" => 187.5,
  575. "previewHeight" => "124.82px",
  576. "link" => [
  577. "name" => ""
  578. ]
  579. ]
  580. ],
  581. "mode" => "row1-lt-of2-rt",
  582. "imageGap" => 10,
  583. "componentName" => "RubikCube",
  584. "componentTitle" => "魔方",
  585. "isDelete" => 0,
  586. "pageBgColor" => "",
  587. "componentBgColor" => "",
  588. "componentAngle" => "round",
  589. "topAroundRadius" => 10,
  590. "bottomAroundRadius" => 10,
  591. "elementAngle" => "round",
  592. "topElementAroundRadius" => 0,
  593. "bottomElementAroundRadius" => 0,
  594. "margin" => [
  595. "top" => 0,
  596. "bottom" => 12,
  597. "both" => 12
  598. ]
  599. ],
  600. [
  601. "id" => "3acr0xjm1c80",
  602. "style" => "style-16",
  603. "subTitle" => [
  604. "fontSize" => 14,
  605. "text" => "超级优惠",
  606. "isElementShow" => true,
  607. "color" => "#FFFFFF",
  608. "bgColor" => "#FF9F29",
  609. "icon" => "icondiy icon-system-coupon",
  610. "fontWeight" => 'bold'
  611. ],
  612. "link" => [
  613. "name" => "COUPON_PREFECTURE",
  614. "title" => "优惠券专区",
  615. "wap_url" => "/pages_tool/goods/coupon",
  616. "parent" => "MARKETING_LINK"
  617. ],
  618. "fontSize" => 16,
  619. "styleName" => "风格16",
  620. "fontWeight" => 'bold',
  621. "more" => [
  622. "text" => "",
  623. "link" => [
  624. "name" => "COUPON_PREFECTURE",
  625. "title" => "优惠券专区",
  626. "wap_url" => "/pages_tool/goods/coupon",
  627. "parent" => "MARKETING_LINK"
  628. ],
  629. "isShow" => true,
  630. "isElementShow" => true,
  631. "color" => "#999999"
  632. ],
  633. "text" => "优惠专区",
  634. "componentName" => "Text",
  635. "componentTitle" => "标题",
  636. "isDelete" => 0,
  637. "pageBgColor" => "",
  638. "textColor" => "#303133",
  639. "componentBgColor" => "#FFFFFF",
  640. "componentAngle" => "round",
  641. "topAroundRadius" => 10,
  642. "bottomAroundRadius" => 0,
  643. "topElementAroundRadius" => 0,
  644. "bottomElementAroundRadius" => 0,
  645. "margin" => [
  646. "top" => 0,
  647. "bottom" => 0,
  648. "both" => 12
  649. ]
  650. ],
  651. [
  652. "id" => "2parw5r2qq00",
  653. "style" => "6",
  654. "sources" => "initial",
  655. "styleName" => "风格六",
  656. "couponIds" => [],
  657. "count" => 6,
  658. "previewList" => [],
  659. "nameColor" => "#303133",
  660. "moneyColor" => "#FF0000",
  661. "limitColor" => "#303133",
  662. "btnStyle" => [
  663. "textColor" => "#FFFFFF",
  664. "bgColor" => "#303133",
  665. "text" => "领取",
  666. "aroundRadius" => 20,
  667. "isBgColor" => true,
  668. "isAroundRadius" => true
  669. ],
  670. "bgColor" => "",
  671. "isName" => true,
  672. "couponBgColor" => "#FFFFFF",
  673. "couponBgUrl" => "",
  674. "couponType" => "color",
  675. "ifNeedBg" => true,
  676. "componentName" => "Coupon",
  677. "componentTitle" => "优惠券",
  678. "isDelete" => 0,
  679. "pageBgColor" => "",
  680. "topAroundRadius" => 0,
  681. "bottomAroundRadius" => 0,
  682. "elementBgColor" => "",
  683. "topElementAroundRadius" => 0,
  684. "bottomElementAroundRadius" => 0,
  685. "margin" => [
  686. "top" => 0,
  687. "bottom" => 0,
  688. "both" => 12
  689. ]
  690. ],
  691. [
  692. "id" => "68p4o1plca80",
  693. "height" => 10,
  694. "componentName" => "HorzBlank",
  695. "componentTitle" => "辅助空白",
  696. "isDelete" => 0,
  697. "pageBgColor" => "",
  698. "componentBgColor" => "#FFFFFF",
  699. "componentAngle" => "round",
  700. "topAroundRadius" => 0,
  701. "bottomAroundRadius" => 0,
  702. "topElementAroundRadius" => 0,
  703. "bottomElementAroundRadius" => 0,
  704. "margin" => [
  705. "top" => 0,
  706. "bottom" => 10,
  707. "both" => 12
  708. ]
  709. ],
  710. [
  711. "id" => "3moj09pl5c20",
  712. "style" => "style-1",
  713. "sources" => "initial",
  714. "count" => 6,
  715. "goodsId" => [],
  716. "ornament" => [
  717. "type" => "default",
  718. "color" => "#EDEDED"
  719. ],
  720. "nameLineMode" => "single",
  721. "template" => "row1-of1",
  722. "goodsMarginType" => "default",
  723. "goodsMarginNum" => 10,
  724. "btnStyle" => [
  725. "text" => "去秒杀",
  726. "textColor" => "#FFFFFF",
  727. "theme" => "default",
  728. "aroundRadius" => 25,
  729. "control" => true,
  730. "support" => true,
  731. "bgColorStart" => "#FF7B1D",
  732. "bgColorEnd" => "#FF1544"
  733. ],
  734. "imgAroundRadius" => 10,
  735. "saleStyle" => [
  736. "color" => "#999CA7",
  737. "control" => true,
  738. "support" => true
  739. ],
  740. "progressStyle" => [
  741. "control" => true,
  742. "support" => true,
  743. "currColor" => "#FDBE6C",
  744. "bgColor" => "#FCECD7"
  745. ],
  746. "titleStyle" => [
  747. "backgroundImage" => "addon/seckill/component/view/seckill/img/style_title_3_bg.png",
  748. "isShow" => true,
  749. "leftStyle" => "img",
  750. "leftImg" => "addon/seckill/component/view/seckill/img/style_title_3_name.png",
  751. "style" => "style-3",
  752. "styleName" => "风格3",
  753. "leftText" => "限时秒杀",
  754. "fontSize" => 16,
  755. "fontWeight" => true,
  756. "textColor" => "#FFFFFF",
  757. "bgColorStart" => "#FA6400",
  758. "bgColorEnd" => "#FF287A",
  759. "more" => "更多",
  760. "moreColor" => "#FFFFFF",
  761. "moreFontSize" => 12,
  762. "timeTextColor" => "#FD3B54",
  763. "timeBgColor" => "#FFFFFF",
  764. "timeImageUrl" => ""
  765. ],
  766. "slideMode" => "scroll",
  767. "theme" => "default",
  768. "priceStyle" => [
  769. "mainColor" => "#FF1745",
  770. "mainControl" => true,
  771. "lineColor" => "#999CA7",
  772. "lineControl" => true,
  773. "lineSupport" => true
  774. ],
  775. "goodsNameStyle" => [
  776. "color" => "#303133",
  777. "control" => true,
  778. "fontWeight" => false
  779. ],
  780. "componentName" => "Seckill",
  781. "componentTitle" => "秒杀",
  782. "isDelete" => 0,
  783. "pageBgColor" => "",
  784. "componentBgColor" => "",
  785. "componentAngle" => "round",
  786. "topAroundRadius" => 10,
  787. "bottomAroundRadius" => 10,
  788. "elementBgColor" => "#FFFFFF",
  789. "elementAngle" => "round",
  790. "topElementAroundRadius" => 0,
  791. "bottomElementAroundRadius" => 0,
  792. "margin" => [
  793. "top" => 0,
  794. "bottom" => 12,
  795. "both" => 12
  796. ]
  797. ],
  798. [
  799. "id" => "z9bdab3tm34",
  800. "style" => "style-1",
  801. "sources" => "initial",
  802. "count" => 6,
  803. "goodsId" => [],
  804. "ornament" => [
  805. "type" => "default",
  806. "color" => "#EDEDED"
  807. ],
  808. "nameLineMode" => "single",
  809. "template" => "horizontal-slide",
  810. "goodsMarginType" => "default",
  811. "goodsMarginNum" => 10,
  812. "btnStyle" => [
  813. "text" => "去拼团",
  814. "textColor" => "#FFFFFF",
  815. "theme" => "default",
  816. "aroundRadius" => 25,
  817. "control" => false,
  818. "support" => false,
  819. "bgColorStart" => "#FF1544",
  820. "bgColorEnd" => "#FF1544"
  821. ],
  822. "imgAroundRadius" => 10,
  823. "saleStyle" => [
  824. "color" => "#FF1544",
  825. "control" => false,
  826. "support" => false
  827. ],
  828. "groupStyle" => [
  829. "color" => "#FFFFFF",
  830. "control" => true,
  831. "support" => true,
  832. "bgColorStart" => "#FA2379",
  833. "bgColorEnd" => "#FF4F61"
  834. ],
  835. "priceStyle" => [
  836. "mainColor" => "#FF1544",
  837. "mainControl" => true,
  838. "lineColor" => "#999CA7",
  839. "lineControl" => true,
  840. "lineSupport" => true
  841. ],
  842. "slideMode" => "scroll",
  843. "theme" => "default",
  844. "goodsNameStyle" => [
  845. "color" => "#303133",
  846. "control" => true,
  847. "fontWeight" => false
  848. ],
  849. "titleStyle" => [
  850. "bgColorStart" => "#6236FF",
  851. "bgColorEnd" => "#0091FF",
  852. "isShow" => true,
  853. "leftStyle" => "img",
  854. "leftImg" => "addon/pintuan/component/view/pintuan/img/horizontal_slide_name.png",
  855. "style" => "style-1",
  856. "styleName" => "风格1",
  857. "leftText" => "超值拼团",
  858. "fontSize" => 16,
  859. "fontWeight" => true,
  860. "textColor" => "#FFFFFF",
  861. "more" => "查看更多",
  862. "moreColor" => "#FFFFFF",
  863. "moreFontSize" => 12,
  864. "backgroundImage" => "addon/pintuan/component/view/pintuan/img/horizontal_slide_bg.png"
  865. ],
  866. "componentName" => "Pintuan",
  867. "componentTitle" => "拼团",
  868. "isDelete" => 0,
  869. "pageBgColor" => "",
  870. "componentBgColor" => "#FFFFFF",
  871. "componentAngle" => "round",
  872. "topAroundRadius" => 0,
  873. "bottomAroundRadius" => 10,
  874. "elementBgColor" => "",
  875. "elementAngle" => "round",
  876. "topElementAroundRadius" => 0,
  877. "bottomElementAroundRadius" => 0,
  878. "margin" => [
  879. "top" => 0,
  880. "bottom" => 12,
  881. "both" => 12
  882. ]
  883. ],
  884. [
  885. "id" => "xwdnfttfj7k",
  886. "style" => "style-1",
  887. "sources" => "initial",
  888. "count" => 6,
  889. "goodsId" => [],
  890. "ornament" => [
  891. "type" => "default",
  892. "color" => "#EDEDED"
  893. ],
  894. "nameLineMode" => "single",
  895. "template" => "horizontal-slide",
  896. "goodsMarginType" => "default",
  897. "goodsMarginNum" => 10,
  898. "btnStyle" => [
  899. "text" => "立即抢购",
  900. "textColor" => "#FFFFFF",
  901. "theme" => "default",
  902. "aroundRadius" => 25,
  903. "control" => false,
  904. "support" => false,
  905. "bgColorStart" => "#FF7B1D",
  906. "bgColorEnd" => "#FF1544"
  907. ],
  908. "imgAroundRadius" => 5,
  909. "saleStyle" => [
  910. "color" => "#FFFFFF",
  911. "control" => true,
  912. "support" => true
  913. ],
  914. "slideMode" => "scroll",
  915. "theme" => "default",
  916. "goodsNameStyle" => [
  917. "color" => "#303133",
  918. "control" => true,
  919. "fontWeight" => false
  920. ],
  921. "priceStyle" => [
  922. "mainColor" => "#FF1745",
  923. "mainControl" => true,
  924. "lineColor" => "#999CA7",
  925. "lineControl" => true,
  926. "lineSupport" => true
  927. ],
  928. "titleStyle" => [
  929. "bgColorStart" => "#FF209D",
  930. "bgColorEnd" => "#B620E0",
  931. "isShow" => true,
  932. "leftStyle" => "img",
  933. "leftImg" => "",
  934. "style" => "style-1",
  935. "styleName" => "风格1",
  936. "leftText" => "疯狂砍价",
  937. "fontSize" => 16,
  938. "fontWeight" => true,
  939. "textColor" => "#FFFFFF",
  940. "more" => "更多",
  941. "moreColor" => "#FFFFFF",
  942. "moreFontSize" => 12,
  943. "backgroundImage" => ""
  944. ],
  945. "componentName" => "Bargain",
  946. "componentTitle" => "砍价",
  947. "isDelete" => 0,
  948. "pageBgColor" => "",
  949. "componentBgColor" => "#FFFFFF",
  950. "componentAngle" => "round",
  951. "topAroundRadius" => 0,
  952. "bottomAroundRadius" => 10,
  953. "elementBgColor" => "",
  954. "elementAngle" => "round",
  955. "topElementAroundRadius" => 0,
  956. "bottomElementAroundRadius" => 0,
  957. "margin" => [
  958. "top" => 0,
  959. "bottom" => 12,
  960. "both" => 12
  961. ]
  962. ],
  963. [
  964. "id" => "29fhippqsrgg",
  965. "list" => [
  966. [
  967. "link" => [
  968. "name" => ""
  969. ],
  970. "imageUrl" => __ROOT__ . '/addon/diy_default1/shop/view/public/img/gg.png',
  971. "imgWidth" => "702",
  972. "imgHeight" => "252",
  973. "id" => "1z94aaav9klc0"
  974. ]
  975. ],
  976. "indicatorColor" => "#ffffff",
  977. "carouselStyle" => "circle",
  978. "indicatorLocation" => "center",
  979. "componentName" => "ImageAds",
  980. "componentTitle" => "图片广告",
  981. "isDelete" => 0,
  982. "pageBgColor" => "",
  983. "componentBgColor" => "",
  984. "componentAngle" => "round",
  985. "topAroundRadius" => 10,
  986. "bottomAroundRadius" => 10,
  987. "topElementAroundRadius" => 0,
  988. "bottomElementAroundRadius" => 0,
  989. "margin" => [
  990. "top" => 0,
  991. "bottom" => 12,
  992. "both" => 12
  993. ]
  994. ],
  995. [
  996. "id" => "i4xirbfy0m8",
  997. "style" => "style-3",
  998. "sources" => "initial",
  999. "count" => 6,
  1000. "goodsId" => [],
  1001. "ornament" => [
  1002. "type" => "default",
  1003. "color" => "#EDEDED"
  1004. ],
  1005. "nameLineMode" => "multiple",
  1006. "template" => "row1-of2",
  1007. "goodsMarginType" => "default",
  1008. "goodsMarginNum" => 6,
  1009. "btnStyle" => [
  1010. "text" => "购买",
  1011. "textColor" => "#FFFFFF",
  1012. "theme" => "default",
  1013. "aroundRadius" => 25,
  1014. "control" => false,
  1015. "support" => false,
  1016. "bgColor" => "#FF6A00",
  1017. "style" => "button",
  1018. "iconDiy" => [
  1019. "iconType" => "icon",
  1020. "icon" => "",
  1021. "style" => [
  1022. "fontSize" => "60",
  1023. "iconBgColor" => [],
  1024. "iconBgColorDeg" => 0,
  1025. "iconBgImg" => "",
  1026. "bgRadius" => 0,
  1027. "iconColor" => [
  1028. "#000000"
  1029. ],
  1030. "iconColorDeg" => 0
  1031. ]
  1032. ]
  1033. ],
  1034. "categoryId" => 0,
  1035. "categoryName" => "请选择",
  1036. "sortWay" => "default",
  1037. "tag" => [
  1038. "text" => "隐藏",
  1039. "value" => "hidden"
  1040. ],
  1041. "cartEvent" => "detail",
  1042. "imgAroundRadius" => 0,
  1043. "slideMode" => "scroll",
  1044. "goodsNameStyle" => [
  1045. "color" => "#303133",
  1046. "control" => true,
  1047. "fontWeight" => false
  1048. ],
  1049. "saleStyle" => [
  1050. "color" => "#999CA7",
  1051. "control" => true,
  1052. "support" => true
  1053. ],
  1054. "theme" => "default",
  1055. "priceStyle" => [
  1056. "mainColor" => "#FF6A00",
  1057. "mainControl" => true,
  1058. "lineColor" => "#999CA7",
  1059. "lineControl" => false,
  1060. "lineSupport" => false
  1061. ],
  1062. "componentName" => "GoodsList",
  1063. "componentTitle" => "商品列表",
  1064. "isDelete" => 0,
  1065. "pageBgColor" => "",
  1066. "componentBgColor" => "",
  1067. "componentAngle" => "round",
  1068. "topAroundRadius" => 0,
  1069. "bottomAroundRadius" => 0,
  1070. "elementBgColor" => "#FFFFFF",
  1071. "elementAngle" => "round",
  1072. "topElementAroundRadius" => 10,
  1073. "bottomElementAroundRadius" => 0,
  1074. "margin" => [
  1075. "top" => 0,
  1076. "bottom" => 10,
  1077. "both" => 12
  1078. ]
  1079. ]
  1080. ]
  1081. ]
  1082. ];
  1083. // 获取首页数据
  1084. public function getIndexPage()
  1085. {
  1086. return $this->index_page;
  1087. }
  1088. // 【商品分类】自定义页面数据
  1089. private $goods_category_page = [
  1090. 'title' => '商品分类',
  1091. 'name' => "DIY_VIEW_GOODS_CATEGORY",
  1092. 'type' => "shop",
  1093. 'value' =>
  1094. [
  1095. "global" => [
  1096. "title" => "商品分类",
  1097. "pageBgColor" => "#FFFFFF",
  1098. "topNavColor" => "#FFFFFF",
  1099. "topNavBg" => false,
  1100. "navBarSwitch" => true,
  1101. "textNavColor" => "#333333",
  1102. "topNavImg" => "",
  1103. "moreLink" => [
  1104. "name" => ""
  1105. ],
  1106. "openBottomNav" => true,
  1107. "navStyle" => 1,
  1108. "textImgPosLink" => "left",
  1109. "mpCollect" => false,
  1110. "popWindow" => [
  1111. "imageUrl" => "",
  1112. "count" => -1,
  1113. "show" => 0,
  1114. "link" => [
  1115. "name" => ""
  1116. ],
  1117. "imgWidth" => "",
  1118. "imgHeight" => ""
  1119. ],
  1120. "bgUrl" => "",
  1121. "imgWidth" => "",
  1122. "imgHeight" => "",
  1123. "template" => [
  1124. "pageBgColor" => "",
  1125. "textColor" => "#303133",
  1126. "componentBgColor" => "",
  1127. "componentAngle" => "round",
  1128. "topAroundRadius" => 0,
  1129. "bottomAroundRadius" => 0,
  1130. "elementBgColor" => "",
  1131. "elementAngle" => "round",
  1132. "topElementAroundRadius" => 0,
  1133. "bottomElementAroundRadius" => 0,
  1134. "margin" => [
  1135. "top" => 0,
  1136. "bottom" => 0,
  1137. "both" => 0
  1138. ]
  1139. ]
  1140. ],
  1141. "value" => [
  1142. [
  1143. "level" => "2",
  1144. "template" => "2",
  1145. "quickBuy" => 1,
  1146. "search" => 1,
  1147. "componentName" => "GoodsCategory",
  1148. "componentTitle" => "商品分类",
  1149. "isDelete" => 1,
  1150. "topAroundRadius" => 0,
  1151. "bottomAroundRadius" => 0,
  1152. "topElementAroundRadius" => 0,
  1153. "bottomElementAroundRadius" => 0,
  1154. "margin" => [],
  1155. "goodsLevel" => 1,
  1156. "loadType" => "part"
  1157. ]
  1158. ]
  1159. ]
  1160. ];
  1161. // 【会员中心】自定义页面数据
  1162. private $member_index_page = [
  1163. 'title' => '会员中心',
  1164. 'name' => "DIY_VIEW_MEMBER_INDEX",
  1165. 'type' => "shop",
  1166. 'value' => [
  1167. "global" => [
  1168. "title" => "会员中心",
  1169. "pageBgColor" => "#F8F8F8",
  1170. "topNavColor" => "#FFFFFF",
  1171. "topNavBg" => true,
  1172. "navBarSwitch" => false,
  1173. "textNavColor" => "#333333",
  1174. "topNavImg" => "",
  1175. "moreLink" => [
  1176. "name" => ""
  1177. ],
  1178. "openBottomNav" => true,
  1179. "navStyle" => 1,
  1180. "textImgPosLink" => "center",
  1181. "mpCollect" => false,
  1182. "popWindow" => [
  1183. "imageUrl" => "",
  1184. "count" => -1,
  1185. "show" => 0,
  1186. "link" => [
  1187. "name" => ""
  1188. ],
  1189. "imgWidth" => "",
  1190. "imgHeight" => ""
  1191. ],
  1192. "bgUrl" => "",
  1193. "imgWidth" => "",
  1194. "imgHeight" => "",
  1195. "template" => [
  1196. "pageBgColor" => "",
  1197. "textColor" => "#303133",
  1198. "componentBgColor" => "",
  1199. "componentAngle" => "round",
  1200. "topAroundRadius" => 0,
  1201. "bottomAroundRadius" => 0,
  1202. "elementBgColor" => "",
  1203. "elementAngle" => "round",
  1204. "topElementAroundRadius" => 0,
  1205. "bottomElementAroundRadius" => 0,
  1206. "margin" => [
  1207. "top" => 0,
  1208. "bottom" => 0,
  1209. "both" => 0
  1210. ]
  1211. ]
  1212. ],
  1213. "value" => [
  1214. [
  1215. "style" => 2,
  1216. "theme" => "default",
  1217. "bgColorStart" => "#FF7230",
  1218. "bgColorEnd" => "#FF1544",
  1219. "gradientAngle" => "129",
  1220. "infoMargin" => 15,
  1221. "id" => "1tkaoxbhavj4",
  1222. "componentName" => "MemberInfo",
  1223. "componentTitle" => "会员信息",
  1224. "isDelete" => 0,
  1225. "pageBgColor" => "",
  1226. "textColor" => "#303133",
  1227. "componentBgColor" => "",
  1228. "componentAngle" => "round",
  1229. "topAroundRadius" => 0,
  1230. "bottomAroundRadius" => 0,
  1231. "elementBgColor" => "",
  1232. "elementAngle" => "round",
  1233. "topElementAroundRadius" => 0,
  1234. "bottomElementAroundRadius" => 0,
  1235. "margin" => [
  1236. "top" => 0,
  1237. "bottom" => 0,
  1238. "both" => 0
  1239. ]
  1240. ],
  1241. [
  1242. "style" => "style-12",
  1243. "styleName" => "风格12",
  1244. "text" => "我的订单",
  1245. "link" => [
  1246. "name" => ""
  1247. ],
  1248. "fontSize" => 17,
  1249. "fontWeight" => 'bold',
  1250. "subTitle" => [
  1251. "fontSize" => 14,
  1252. "text" => "",
  1253. "isElementShow" => true,
  1254. "color" => "#999999",
  1255. "bgColor" => "#303133"
  1256. ],
  1257. "more" => [
  1258. "text" => "全部订单",
  1259. "link" => [
  1260. "name" => "ALL_ORDER",
  1261. "title" => "全部订单",
  1262. "wap_url" => "/pages/order/list",
  1263. "parent" => "MALL_LINK"
  1264. ],
  1265. "isShow" => true,
  1266. "isElementShow" => true,
  1267. "color" => "#999999"
  1268. ],
  1269. "id" => "2txcvx3d5u6",
  1270. "componentName" => "Text",
  1271. "componentTitle" => "标题",
  1272. "isDelete" => 0,
  1273. "pageBgColor" => "",
  1274. "textColor" => "#303133",
  1275. "componentBgColor" => "#FFFFFF",
  1276. "componentAngle" => "round",
  1277. "topAroundRadius" => 9,
  1278. "bottomAroundRadius" => 0,
  1279. "topElementAroundRadius" => 0,
  1280. "bottomElementAroundRadius" => 0,
  1281. "margin" => [
  1282. "top" => 15,
  1283. "bottom" => 0,
  1284. "both" => 15
  1285. ]
  1286. ],
  1287. [
  1288. "color" => "#EEEEEE",
  1289. "borderStyle" => "solid",
  1290. "id" => "3hsh2st470e0",
  1291. "componentName" => "HorzLine",
  1292. "componentTitle" => "辅助线",
  1293. "isDelete" => 0,
  1294. "pageBgColor" => "",
  1295. "topAroundRadius" => 0,
  1296. "bottomAroundRadius" => 0,
  1297. "topElementAroundRadius" => 0,
  1298. "bottomElementAroundRadius" => 0,
  1299. "margin" => [
  1300. "top" => 0,
  1301. "bottom" => 0,
  1302. "both" => 20
  1303. ]
  1304. ],
  1305. [
  1306. "icon" => [
  1307. "waitPay" => [
  1308. "title" => "待付款",
  1309. "icon" => "icondiy icon-system-daifukuan2",
  1310. "style" => [
  1311. "bgRadius" => 0,
  1312. "fontSize" => 65,
  1313. "iconBgColor" => [],
  1314. "iconBgColorDeg" => 0,
  1315. "iconBgImg" => "",
  1316. "iconColor" => [
  1317. "#ffa3a3",
  1318. "#FF4646"
  1319. ],
  1320. "iconColorDeg" => 0
  1321. ]
  1322. ],
  1323. "waitSend" => [
  1324. "title" => "待发货",
  1325. "icon" => "icondiy icon-system-daifahuo2",
  1326. "style" => [
  1327. "bgRadius" => 0,
  1328. "fontSize" => 65,
  1329. "iconBgColor" => [],
  1330. "iconBgColorDeg" => 0,
  1331. "iconBgImg" => "",
  1332. "iconColor" => [
  1333. "#ffa3a3",
  1334. "#FF4646"
  1335. ],
  1336. "iconColorDeg" => 0
  1337. ]
  1338. ],
  1339. "waitConfirm" => [
  1340. "title" => "待收货",
  1341. "icon" => "icondiy icon-system-daishouhuo2",
  1342. "style" => [
  1343. "bgRadius" => 0,
  1344. "fontSize" => 65,
  1345. "iconBgColor" => [],
  1346. "iconBgColorDeg" => 0,
  1347. "iconBgImg" => "",
  1348. "iconColor" => [
  1349. "#ffa3a3",
  1350. "#FF4646"
  1351. ],
  1352. "iconColorDeg" => 0
  1353. ]
  1354. ],
  1355. "waitRate" => [
  1356. "title" => "待评价",
  1357. "icon" => "icondiy icon-system-daipingjie2",
  1358. "style" => [
  1359. "bgRadius" => 0,
  1360. "fontSize" => 65,
  1361. "iconBgColor" => [],
  1362. "iconBgColorDeg" => 0,
  1363. "iconBgImg" => "",
  1364. "iconColor" => [
  1365. "#ffa3a3",
  1366. "#FF4646"
  1367. ],
  1368. "iconColorDeg" => 0
  1369. ]
  1370. ],
  1371. "refunding" => [
  1372. "title" => "售后",
  1373. "icon" => "icondiy icon-system-shuhou2",
  1374. "style" => [
  1375. "bgRadius" => 0,
  1376. "fontSize" => 65,
  1377. "iconBgColor" => [],
  1378. "iconBgColorDeg" => 0,
  1379. "iconBgImg" => "",
  1380. "iconColor" => [
  1381. "#ffa3a3",
  1382. "#FF4646"
  1383. ],
  1384. "iconColorDeg" => 0
  1385. ]
  1386. ]
  1387. ],
  1388. "style" => 1,
  1389. "id" => "51h05xpcanw0",
  1390. "componentName" => "MemberMyOrder",
  1391. "componentTitle" => "我的订单",
  1392. "isDelete" => 0,
  1393. "pageBgColor" => "",
  1394. "textColor" => "#303133",
  1395. "componentBgColor" => "#FFFFFF",
  1396. "componentAngle" => "round",
  1397. "topAroundRadius" => 0,
  1398. "bottomAroundRadius" => 9,
  1399. "elementBgColor" => "",
  1400. "elementAngle" => "round",
  1401. "topElementAroundRadius" => 0,
  1402. "bottomElementAroundRadius" => 0,
  1403. "margin" => [
  1404. "top" => 0,
  1405. "bottom" => 0,
  1406. "both" => 15
  1407. ]
  1408. ],
  1409. [
  1410. "style" => "style-12",
  1411. "styleName" => "风格12",
  1412. "text" => "常用工具",
  1413. "link" => [
  1414. "name" => ""
  1415. ],
  1416. "fontSize" => 17,
  1417. "fontWeight" => 'bold',
  1418. "subTitle" => [
  1419. "fontSize" => 14,
  1420. "text" => "",
  1421. "isElementShow" => true,
  1422. "color" => "#999999",
  1423. "bgColor" => "#303133"
  1424. ],
  1425. "more" => [
  1426. "text" => "",
  1427. "link" => [
  1428. "name" => ""
  1429. ],
  1430. "isShow" => 0,
  1431. "isElementShow" => true,
  1432. "color" => "#999999"
  1433. ],
  1434. "id" => "405rb6vv3rq0",
  1435. "componentName" => "Text",
  1436. "componentTitle" => "标题",
  1437. "isDelete" => 0,
  1438. "pageBgColor" => "",
  1439. "textColor" => "#303133",
  1440. "componentBgColor" => "#FFFFFF",
  1441. "componentAngle" => "round",
  1442. "topAroundRadius" => 9,
  1443. "bottomAroundRadius" => 0,
  1444. "topElementAroundRadius" => 0,
  1445. "bottomElementAroundRadius" => 0,
  1446. "margin" => [
  1447. "top" => 15,
  1448. "bottom" => 0,
  1449. "both" => 15
  1450. ]
  1451. ],
  1452. [
  1453. "mode" => "graphic",
  1454. "type" => "img",
  1455. "showStyle" => "fixed",
  1456. "ornament" => [
  1457. "type" => "default",
  1458. "color" => "#EDEDED"
  1459. ],
  1460. "rowCount" => 4,
  1461. "pageCount" => 2,
  1462. "carousel" => [
  1463. "type" => "circle",
  1464. "color" => "#FFFFFF"
  1465. ],
  1466. "imageSize" => 30,
  1467. "aroundRadius" => 0,
  1468. "font" => [
  1469. "size" => 13,
  1470. "weight" => 'normal',
  1471. "color" => "#303133"
  1472. ],
  1473. "list" => [
  1474. [
  1475. "title" => "个人资料",
  1476. "imageUrl" => "public/uniapp/member/index/menu/default_person.png",
  1477. "iconType" => "img",
  1478. "style" => [
  1479. "fontSize" => "60",
  1480. "iconBgColor" => [],
  1481. "iconBgColorDeg" => 0,
  1482. "iconBgImg" => "",
  1483. "bgRadius" => 0,
  1484. "iconColor" => [
  1485. "#000000"
  1486. ],
  1487. "iconColorDeg" => 0
  1488. ],
  1489. "link" => [
  1490. "name" => "MEMBER_INFO",
  1491. "title" => "个人资料",
  1492. "wap_url" => "/pages_tool/member/info",
  1493. "parent" => "MALL_LINK"
  1494. ],
  1495. "label" => [
  1496. "control" => false,
  1497. "text" => "热门",
  1498. "textColor" => "#FFFFFF",
  1499. "bgColorStart" => "#F83287",
  1500. "bgColorEnd" => "#FE3423"
  1501. ],
  1502. "icon" => "",
  1503. "id" => "10rhv0x6phhc0"
  1504. ],
  1505. [
  1506. "title" => "收货地址",
  1507. "imageUrl" => "public/uniapp/member/index/menu/default_address.png",
  1508. "iconType" => "img",
  1509. "style" => [
  1510. "fontSize" => "60",
  1511. "iconBgColor" => [],
  1512. "iconBgColorDeg" => 0,
  1513. "iconBgImg" => "",
  1514. "bgRadius" => 0,
  1515. "iconColor" => [
  1516. "#000000"
  1517. ],
  1518. "iconColorDeg" => 0
  1519. ],
  1520. "link" => [
  1521. "name" => "SHIPPING_ADDRESS",
  1522. "title" => "收货地址",
  1523. "wap_url" => "/pages_tool/member/address",
  1524. "parent" => "MALL_LINK"
  1525. ],
  1526. "label" => [
  1527. "control" => false,
  1528. "text" => "热门",
  1529. "textColor" => "#FFFFFF",
  1530. "bgColorStart" => "#F83287",
  1531. "bgColorEnd" => "#FE3423"
  1532. ],
  1533. "icon" => "",
  1534. "id" => "1n8gycn6xqe80"
  1535. ],
  1536. [
  1537. "title" => "我的关注",
  1538. "imageUrl" => "public/uniapp/member/index/menu/default_like.png",
  1539. "iconType" => "img",
  1540. "style" => [
  1541. "fontSize" => "60",
  1542. "iconBgColor" => [],
  1543. "iconBgColorDeg" => 0,
  1544. "iconBgImg" => "",
  1545. "bgRadius" => 0,
  1546. "iconColor" => [
  1547. "#000000"
  1548. ],
  1549. "iconColorDeg" => 0
  1550. ],
  1551. "link" => [
  1552. "name" => "ATTENTION",
  1553. "title" => "我的关注",
  1554. "wap_url" => "/pages_tool/member/collection",
  1555. "parent" => "MALL_LINK"
  1556. ],
  1557. "label" => [
  1558. "control" => false,
  1559. "text" => "热门",
  1560. "textColor" => "#FFFFFF",
  1561. "bgColorStart" => "#F83287",
  1562. "bgColorEnd" => "#FE3423"
  1563. ],
  1564. "icon" => "",
  1565. "id" => "cnamoch6cvk0"
  1566. ],
  1567. [
  1568. "title" => "我的足迹",
  1569. "imageUrl" => "public/uniapp/member/index/menu/default_toot.png",
  1570. "iconType" => "img",
  1571. "style" => [
  1572. "fontSize" => "60",
  1573. "iconBgColor" => [],
  1574. "iconBgColorDeg" => 0,
  1575. "iconBgImg" => "",
  1576. "bgRadius" => 0,
  1577. "iconColor" => [
  1578. "#000000"
  1579. ],
  1580. "iconColorDeg" => 0
  1581. ],
  1582. "link" => [
  1583. "name" => "FOOTPRINT",
  1584. "title" => "我的足迹",
  1585. "wap_url" => "/pages_tool/member/footprint",
  1586. "parent" => "MALL_LINK"
  1587. ],
  1588. "label" => [
  1589. "control" => false,
  1590. "text" => "热门",
  1591. "textColor" => "#FFFFFF",
  1592. "bgColorStart" => "#F83287",
  1593. "bgColorEnd" => "#FE3423"
  1594. ],
  1595. "icon" => "",
  1596. "id" => "drf3hi3slo00"
  1597. ],
  1598. [
  1599. "title" => "账户列表",
  1600. "imageUrl" => "public/uniapp/member/index/menu/default_cash.png",
  1601. "iconType" => "img",
  1602. "style" => "",
  1603. "link" => [
  1604. "name" => "ACCOUNT",
  1605. "title" => "账户列表",
  1606. "wap_url" => "/pages_tool/member/account",
  1607. "parent" => "MALL_LINK"
  1608. ],
  1609. "label" => [
  1610. "control" => false,
  1611. "text" => "热门",
  1612. "textColor" => "#FFFFFF",
  1613. "bgColorStart" => "#F83287",
  1614. "bgColorEnd" => "#FE3423"
  1615. ],
  1616. "iconfont" => [
  1617. "value" => "",
  1618. "color" => ""
  1619. ],
  1620. "id" => "1l4axfhbayqo0"
  1621. ],
  1622. [
  1623. "title" => "优惠券",
  1624. "imageUrl" => "public/uniapp/member/index/menu/default_discount.png",
  1625. "iconType" => "img",
  1626. "style" => "",
  1627. "link" => [
  1628. "name" => "COUPON",
  1629. "title" => "优惠券",
  1630. "wap_url" => "/pages_tool/member/coupon",
  1631. "parent" => "MALL_LINK"
  1632. ],
  1633. "label" => [
  1634. "control" => false,
  1635. "text" => "热门",
  1636. "textColor" => "#FFFFFF",
  1637. "bgColorStart" => "#F83287",
  1638. "bgColorEnd" => "#FE3423"
  1639. ],
  1640. "iconfont" => [
  1641. "value" => "",
  1642. "color" => ""
  1643. ],
  1644. "id" => "1tnu0vihrnq80"
  1645. ],
  1646. [
  1647. "title" => "签到",
  1648. "imageUrl" => "public/uniapp/member/index/menu/default_sign.png",
  1649. "iconType" => "img",
  1650. "style" => "",
  1651. "link" => [
  1652. "name" => "SIGN_IN",
  1653. "title" => "签到",
  1654. "wap_url" => "/pages_tool/member/signin",
  1655. "parent" => "MARKETING_LINK"
  1656. ],
  1657. "label" => [
  1658. "control" => false,
  1659. "text" => "热门",
  1660. "textColor" => "#FFFFFF",
  1661. "bgColorStart" => "#F83287",
  1662. "bgColorEnd" => "#FE3423"
  1663. ],
  1664. "iconfont" => [
  1665. "value" => "",
  1666. "color" => ""
  1667. ],
  1668. "id" => "hodjcxowf8g0"
  1669. ],
  1670. [
  1671. "title" => "我的拼单",
  1672. "imageUrl" => "public/uniapp/member/index/menu/default_store.png",
  1673. "iconType" => "img",
  1674. "style" => "",
  1675. "link" => [
  1676. "name" => "MY_PINTUAN",
  1677. "title" => "我的拼团",
  1678. "wap_url" => "/pages_promotion/pintuan/my_spell",
  1679. "parent" => "MARKETING_LINK"
  1680. ],
  1681. "label" => [
  1682. "control" => false,
  1683. "text" => "热门",
  1684. "textColor" => "#FFFFFF",
  1685. "bgColorStart" => "#F83287",
  1686. "bgColorEnd" => "#FE3423"
  1687. ],
  1688. "iconfont" => [
  1689. "value" => "",
  1690. "color" => ""
  1691. ],
  1692. "id" => "uoarcfsleio0"
  1693. ],
  1694. [
  1695. "title" => "积分兑换",
  1696. "imageUrl" => "public/uniapp/member/index/menu/default_point_recond.png",
  1697. "iconType" => "img",
  1698. "style" => "",
  1699. "link" => [
  1700. "name" => "INTEGRAL_CONVERSION",
  1701. "title" => "积分兑换",
  1702. "wap_url" => "/pages_promotion/point/order_list",
  1703. "parent" => "MARKETING_LINK"
  1704. ],
  1705. "label" => [
  1706. "control" => false,
  1707. "text" => "热门",
  1708. "textColor" => "#FFFFFF",
  1709. "bgColorStart" => "#F83287",
  1710. "bgColorEnd" => "#FE3423"
  1711. ],
  1712. "iconfont" => [
  1713. "value" => "",
  1714. "color" => ""
  1715. ],
  1716. "id" => "rnyw8xo5rdc0"
  1717. ],
  1718. [
  1719. "title" => "核销台",
  1720. "imageUrl" => "public/uniapp/member/index/menu/default_verification.png",
  1721. "iconType" => "img",
  1722. "style" => "",
  1723. "link" => [
  1724. "name" => "VERIFICATION_PLATFORM",
  1725. "title" => "核销台",
  1726. "wap_url" => "/pages_tool/verification/index",
  1727. "parent" => "MARKETING_LINK"
  1728. ],
  1729. "label" => [
  1730. "control" => false,
  1731. "text" => "热门",
  1732. "textColor" => "#FFFFFF",
  1733. "bgColorStart" => "#F83287",
  1734. "bgColorEnd" => "#FE3423"
  1735. ],
  1736. "iconfont" => [
  1737. "value" => "",
  1738. "color" => ""
  1739. ],
  1740. "id" => "1covfhv2fxy80"
  1741. ],
  1742. [
  1743. "title" => "分销中心",
  1744. "imageUrl" => "public/uniapp/member/index/menu/default_fenxiao.png",
  1745. "iconType" => "img",
  1746. "style" => "",
  1747. "link" => [
  1748. "name" => "DISTRIBUTION_CENTRE",
  1749. "title" => "分销中心",
  1750. "wap_url" => "/pages_promotion/fenxiao/index",
  1751. "parent" => "MARKETING_LINK"
  1752. ],
  1753. "label" => [
  1754. "control" => false,
  1755. "text" => "热门",
  1756. "textColor" => "#FFFFFF",
  1757. "bgColorStart" => "#F83287",
  1758. "bgColorEnd" => "#FE3423"
  1759. ],
  1760. "iconfont" => [
  1761. "value" => "",
  1762. "color" => ""
  1763. ],
  1764. "id" => "yevac1grnlc0"
  1765. ],
  1766. [
  1767. "title" => "我的砍价",
  1768. "imageUrl" => "public/uniapp/member/index/menu/default_bargain.png",
  1769. "iconType" => "img",
  1770. "style" => "",
  1771. "link" => [
  1772. "name" => "MY_BARGAIN",
  1773. "title" => "我的砍价",
  1774. "wap_url" => "/pages_promotion/bargain/my_bargain",
  1775. "parent" => "MARKETING_LINK"
  1776. ],
  1777. "label" => [
  1778. "control" => false,
  1779. "text" => "热门",
  1780. "textColor" => "#FFFFFF",
  1781. "bgColorStart" => "#F83287",
  1782. "bgColorEnd" => "#FE3423"
  1783. ],
  1784. "iconfont" => [
  1785. "value" => "",
  1786. "color" => ""
  1787. ],
  1788. "id" => "13uz22sbag000"
  1789. ],
  1790. [
  1791. "title" => "邀请有礼",
  1792. "imageUrl" => "public/uniapp/member/index/menu/default_memberrecommend.png",
  1793. "iconType" => "img",
  1794. "style" => "",
  1795. "link" => [
  1796. "name" => "MEMBER_RECOMMEND",
  1797. "title" => "邀请有礼",
  1798. "wap_url" => "/pages_tool/member/invite_friends",
  1799. "parent" => "MARKETING_LINK"
  1800. ],
  1801. "label" => [
  1802. "control" => false,
  1803. "text" => "热门",
  1804. "textColor" => "#FFFFFF",
  1805. "bgColorStart" => "#F83287",
  1806. "bgColorEnd" => "#FE3423"
  1807. ],
  1808. "iconfont" => [
  1809. "value" => "",
  1810. "color" => ""
  1811. ],
  1812. "id" => "1h34nmfisge80"
  1813. ],
  1814. [
  1815. "title" => "我的预售",
  1816. "imageUrl" => "public/uniapp/member/index/menu/my_presale.png",
  1817. "iconType" => "img",
  1818. "style" => "",
  1819. "link" => [
  1820. "name" => "PRESALE",
  1821. "title" => "我的预售",
  1822. "wap_url" => "/pages_promotion/presale/order_list",
  1823. "parent" => "MARKETING_LINK"
  1824. ],
  1825. "label" => [
  1826. "control" => false,
  1827. "text" => "热门",
  1828. "textColor" => "#FFFFFF",
  1829. "bgColorStart" => "#F83287",
  1830. "bgColorEnd" => "#FE3423"
  1831. ],
  1832. "iconfont" => [
  1833. "value" => "",
  1834. "color" => ""
  1835. ],
  1836. "id" => "1a3cqyziwqdc0"
  1837. ],
  1838. [
  1839. "title" => "我的礼品卡",
  1840. "imageUrl" => "public/uniapp/member/index/menu/my_giftcard.png",
  1841. "iconType" => "img",
  1842. "style" => "",
  1843. "link" => [
  1844. "name" => "GIFTCARD",
  1845. "title" => "我的礼品卡",
  1846. "wap_url" => "/pages_promotion/giftcard/member",
  1847. "parent" => "MARKETING_LINK"
  1848. ],
  1849. "label" => [
  1850. "control" => false,
  1851. "text" => "热门",
  1852. "textColor" => "#FFFFFF",
  1853. "bgColorStart" => "#F83287",
  1854. "bgColorEnd" => "#FE3423"
  1855. ],
  1856. "iconfont" => [
  1857. "value" => "",
  1858. "color" => ""
  1859. ],
  1860. "id" => "1es42rgg2mhs0"
  1861. ],
  1862. [
  1863. "title" => "好友瓜分券",
  1864. "imageUrl" => "public/uniapp/member/index/menu/my_divideticket.png",
  1865. "iconType" => "img",
  1866. "style" => "",
  1867. "link" => [
  1868. "name" => "DIVIDETICKET",
  1869. "title" => "我的好友瓜分券",
  1870. "wap_url" => "/pages_promotion/divideticket/my_guafen",
  1871. "parent" => "MARKETING_LINK"
  1872. ],
  1873. "label" => [
  1874. "control" => false,
  1875. "text" => "热门",
  1876. "textColor" => "#FFFFFF",
  1877. "bgColorStart" => "#F83287",
  1878. "bgColorEnd" => "#FE3423"
  1879. ],
  1880. "iconfont" => [
  1881. "value" => "",
  1882. "color" => ""
  1883. ],
  1884. "id" => "14rxg7u5yu2k0"
  1885. ],
  1886. [
  1887. "title" => "拼团返利",
  1888. "imageUrl" => "public/uniapp/member/index/menu/my_pinfan.png",
  1889. "iconType" => "img",
  1890. "style" => "",
  1891. "link" => [
  1892. "name" => "PINFAN",
  1893. "title" => "我的拼团返利",
  1894. "wap_url" => "/pages_promotion/pinfan/my_rebate",
  1895. "parent" => "MARKETING_LINK"
  1896. ],
  1897. "label" => [
  1898. "control" => false,
  1899. "text" => "热门",
  1900. "textColor" => "#FFFFFF",
  1901. "bgColorStart" => "#F83287",
  1902. "bgColorEnd" => "#FE3423"
  1903. ],
  1904. "iconfont" => [
  1905. "value" => "",
  1906. "color" => ""
  1907. ],
  1908. "id" => "20eeayo377xc0"
  1909. ],
  1910. [
  1911. "title" => "裂变红包",
  1912. "imageUrl" => "public/uniapp/member/index/menu/my_hongbao.png",
  1913. "iconType" => "img",
  1914. "style" => "",
  1915. "link" => [
  1916. "name" => "HONGBAO",
  1917. "title" => "我的裂变红包",
  1918. "wap_url" => "/pages_tool/hongbao/my_hongbao",
  1919. "parent" => "MARKETING_LINK"
  1920. ],
  1921. "label" => [
  1922. "control" => false,
  1923. "text" => "热门",
  1924. "textColor" => "#FFFFFF",
  1925. "bgColorStart" => "#F83287",
  1926. "bgColorEnd" => "#FE3423"
  1927. ],
  1928. "iconfont" => [
  1929. "value" => "",
  1930. "color" => ""
  1931. ],
  1932. "id" => "nbthjkdt5c00"
  1933. ],
  1934. [
  1935. "title" => "盲盒",
  1936. "imageUrl" => "public/uniapp/member/index/menu/my_box.png",
  1937. "iconType" => "img",
  1938. "style" => "",
  1939. "link" => [
  1940. "name" => "BLINDBOX",
  1941. "title" => "我的盲盒",
  1942. "wap_url" => "/pages_promotion/blindbox/my_box",
  1943. "parent" => "MARKETING_LINK"
  1944. ],
  1945. "label" => [
  1946. "control" => false,
  1947. "text" => "热门",
  1948. "textColor" => "#FFFFFF",
  1949. "bgColorStart" => "#F83287",
  1950. "bgColorEnd" => "#FE3423"
  1951. ],
  1952. "iconfont" => [
  1953. "value" => "",
  1954. "color" => ""
  1955. ],
  1956. "id" => "1i61b1fdeasg0"
  1957. ]
  1958. ],
  1959. "id" => "5ywbzsnigpw0",
  1960. "componentName" => "GraphicNav",
  1961. "componentTitle" => "图文导航",
  1962. "isDelete" => 0,
  1963. "pageBgColor" => "",
  1964. "componentBgColor" => "#FFFFFF",
  1965. "componentAngle" => "round",
  1966. "topAroundRadius" => 0,
  1967. "bottomAroundRadius" => 9,
  1968. "topElementAroundRadius" => 0,
  1969. "bottomElementAroundRadius" => 0,
  1970. "margin" => [
  1971. "top" => 0,
  1972. "bottom" => 0,
  1973. "both" => 15
  1974. ]
  1975. ]
  1976. ]
  1977. ]
  1978. ];
  1979. /**
  1980. * 获取自定义会员中心数据
  1981. * @return array
  1982. */
  1983. public function getMemberIndexPage()
  1984. {
  1985. return $this->member_index_page;
  1986. }
  1987. }