diy_view.php 52 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106
  1. <?php
  2. /**
  3. * Niushop商城系统 - 团队十年电商经验汇集巨献!
  4. * =========================================================
  5. * Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
  6. * ----------------------------------------------
  7. * 官方网址: https://www.niushop.com
  8. * =========================================================
  9. */
  10. return [
  11. // 自定义模板页面类型,格式:[ 'title' => '页面类型名称', 'name' => '页面标识', 'path' => '页面路径', 'value' => '页面数据,json格式' ]
  12. 'template' => [],
  13. // 后台自定义组件——装修
  14. 'util' => [],
  15. // 自定义页面路径
  16. 'link' => [],
  17. // 自定义图标库
  18. 'icon_library' => [],
  19. // uni-app 组件,格式:[ 'name' => '组件名称/文件夹名称', 'path' => '文件路径/目录路径' ],多个逗号隔开,自定义组件名称前缀必须是diy-,也可以引用第三方组件
  20. 'component' => [],
  21. // uni-app 页面,多个逗号隔开
  22. 'pages' => [],
  23. // 模板信息,格式:'title' => '模板名称', 'name' => '模板标识', 'cover' => '模板封面图', 'preview' => '模板预览图', 'desc' => '模板描述'
  24. 'info' => [
  25. 'title' => '官方模板二', // 模板名称
  26. 'name' => 'official_default_plane', // 模板标识
  27. 'cover' => 'addon/diy_default2/shop/view/public/img/cover.png', // 模板封面图
  28. 'preview' => 'addon/diy_default2/shop/view/public/img/preview.png', // 模板预览图
  29. 'desc' => '商城简约而不失时尚,适合大部分商城运营。', // 模板描述
  30. ],
  31. // 主题风格配色,格式可以自由定义扩展,【在uni-app中通过:this.themeStyle... 获取定义的颜色字段,例如:this.themeStyle.main_color】
  32. 'theme' => [],
  33. // 自定义页面数据,格式:[ 'title' => '页面名称', 'name' => "页面标识", 'value' => [页面数据,json格式] ]
  34. 'data' => [
  35. [
  36. 'title' => '官方模板二',
  37. 'name' => "DIY_VIEW_INDEX",
  38. 'value' => [
  39. "global" => [
  40. "title" => "官方模板二",
  41. "pageBgColor" => "#F3F3F3",
  42. "topNavColor" => "#FFFFFF",
  43. "topNavBg" => false,
  44. "navBarSwitch" => true,
  45. "textNavColor" => "#333333",
  46. "topNavImg" => "",
  47. "moreLink" => [
  48. "name" => ""
  49. ],
  50. "openBottomNav" => true,
  51. "navStyle" => 1,
  52. "textImgPosLink" => "center",
  53. "mpCollect" => false,
  54. "popWindow" => [
  55. "imageUrl" => "",
  56. "count" => -1,
  57. "show" => 0,
  58. "link" => [
  59. "name" => ""
  60. ],
  61. "imgWidth" => "",
  62. "imgHeight" => ""
  63. ],
  64. "bgUrl" => "",
  65. "imgWidth" => "",
  66. "imgHeight" => "",
  67. "template" => [
  68. "pageBgColor" => "",
  69. "textColor" => "#303133",
  70. "componentBgColor" => "",
  71. "componentAngle" => "round",
  72. "topAroundRadius" => 0,
  73. "bottomAroundRadius" => 0,
  74. "elementBgColor" => "",
  75. "elementAngle" => "round",
  76. "topElementAroundRadius" => 0,
  77. "bottomElementAroundRadius" => 0,
  78. "margin" => [
  79. "top" => 0,
  80. "bottom" => 0,
  81. "both" => 0
  82. ]
  83. ]
  84. ],
  85. "value" => [
  86. [
  87. "id" => "5wtw72w1wj80",
  88. 'addonName' => '',
  89. "componentName" => "Search",
  90. "componentTitle" => "搜索框",
  91. "isDelete" => 0,
  92. "topAroundRadius" => 0,
  93. "bottomAroundRadius" => 0,
  94. "topElementAroundRadius" => 0,
  95. "bottomElementAroundRadius" => 0,
  96. "margin" => [
  97. "top" => 10,
  98. "bottom" => 10,
  99. "both" => 12
  100. ],
  101. "title" => "请输入搜索关键词",
  102. "textAlign" => "left",
  103. "borderType" => 2,
  104. "searchImg" => "",
  105. "searchStyle" => 1,
  106. "searchLink" => [
  107. "name" => ""
  108. ],
  109. "pageBgColor" => "#FFFFFF",
  110. "textColor" => "#303133",
  111. "componentBgColor" => "",
  112. "elementBgColor" => "#F6F9FF",
  113. "iconType" => "img",
  114. "icon" => "",
  115. "style" => [
  116. "fontSize" => "60",
  117. "iconBgColor" => [],
  118. "iconBgColorDeg" => 0,
  119. "iconBgImg" => "",
  120. "bgRadius" => 0,
  121. "iconColor" => [
  122. "#000000"
  123. ],
  124. "iconColorDeg" => 0
  125. ],
  126. "imageUrl" => "",
  127. "positionWay" => "static"
  128. ],
  129. [
  130. "id" => "2o7za2qmi900",
  131. "list" => [
  132. [
  133. "link" => [
  134. "name" => ""
  135. ],
  136. "imageUrl" => 'addon/diy_default2/shop/view/public/img/banner.png',
  137. "imgWidth" => "750",
  138. "imgHeight" => "320",
  139. "id" => "17vtbffhsvsw0"
  140. ]
  141. ],
  142. "indicatorIsShow" => true,
  143. "indicatorColor" => "#ffffff",
  144. "carouselStyle" => "circle",
  145. "indicatorLocation" => "center",
  146. 'addonName' => '',
  147. "componentName" => "ImageAds",
  148. "componentTitle" => "图片广告",
  149. "isDelete" => 0,
  150. "pageBgColor" => "",
  151. "componentBgColor" => "",
  152. "componentAngle" => "round",
  153. "topAroundRadius" => 0,
  154. "bottomAroundRadius" => 0,
  155. "topElementAroundRadius" => 0,
  156. "bottomElementAroundRadius" => 0,
  157. "margin" => [
  158. "top" => 0,
  159. "bottom" => 0,
  160. "both" => 0
  161. ]
  162. ],
  163. [
  164. "id" => "113ohzka4n40",
  165. "mode" => "graphic",
  166. "type" => "img",
  167. "showStyle" => "fixed",
  168. "ornament" => [
  169. "type" => "default",
  170. "color" => "#EDEDED"
  171. ],
  172. "rowCount" => 5,
  173. "pageCount" => 2,
  174. "carousel" => [
  175. "type" => "circle",
  176. "color" => "#FFFFFF"
  177. ],
  178. "imageSize" => 40,
  179. "aroundRadius" => 25,
  180. "font" => [
  181. "size" => 14,
  182. "weight" => 500,
  183. "color" => "#303133"
  184. ],
  185. "list" => [
  186. [
  187. "title" => "团购",
  188. "icon" => "icondiy icon-system-groupbuy-nav",
  189. "imageUrl" => "",
  190. "iconType" => "icon",
  191. "style" => [
  192. "fontSize" => 50,
  193. "iconBgColor" => [
  194. "#FF5715",
  195. "#FF4116"
  196. ],
  197. "iconBgColorDeg" => 90,
  198. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_04.png",
  199. "bgRadius" => 19,
  200. "iconColor" => [
  201. "#FFFFFF"
  202. ],
  203. "iconColorDeg" => 0
  204. ],
  205. "link" => [
  206. "name" => "GROUPBUY_PREFECTURE",
  207. "title" => "团购专区",
  208. "wap_url" => "/pages_promotion/groupbuy/list",
  209. "parent" => "MARKETING_LINK"
  210. ],
  211. "label" => [
  212. "control" => false,
  213. "text" => "热门",
  214. "textColor" => "#FFFFFF",
  215. "bgColorStart" => "#F83287",
  216. "bgColorEnd" => "#FE3423"
  217. ],
  218. "id" => "1e67vek25rhc0"
  219. ],
  220. [
  221. "title" => "拼团",
  222. "icon" => "icondiy icon-system-pintuan-nav",
  223. "imageUrl" => "",
  224. "iconType" => "icon",
  225. "style" => [
  226. "fontSize" => 50,
  227. "iconBgColor" => [
  228. "#58BCFF",
  229. "#1379FF"
  230. ],
  231. "iconBgColorDeg" => 90,
  232. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_04.png",
  233. "bgRadius" => 19,
  234. "iconColor" => [
  235. "#FFFFFF"
  236. ],
  237. "iconColorDeg" => 0
  238. ],
  239. "link" => [
  240. "name" => "PINTUAN_PREFECTURE",
  241. "title" => "拼团专区",
  242. "wap_url" => "/pages_promotion/pintuan/list",
  243. "parent" => "MARKETING_LINK"
  244. ],
  245. "label" => [
  246. "control" => false,
  247. "text" => "热门",
  248. "textColor" => "#FFFFFF",
  249. "bgColorStart" => "#F83287",
  250. "bgColorEnd" => "#FE3423"
  251. ],
  252. "id" => "b1kn8ktvs440"
  253. ],
  254. [
  255. "title" => "秒杀",
  256. "icon" => "icondiy icon-system-seckill-time",
  257. "imageUrl" => "",
  258. "iconType" => "icon",
  259. "style" => [
  260. "fontSize" => 50,
  261. "iconBgColor" => [
  262. "#FF9100"
  263. ],
  264. "iconBgColorDeg" => 0,
  265. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_04.png",
  266. "bgRadius" => 19,
  267. "iconColor" => [
  268. "#FFFFFF"
  269. ],
  270. "iconColorDeg" => 0
  271. ],
  272. "link" => [
  273. "name" => "SECKILL_PREFECTURE",
  274. "title" => "秒杀专区",
  275. "wap_url" => "/pages_promotion/seckill/list",
  276. "parent" => "MARKETING_LINK"
  277. ],
  278. "label" => [
  279. "control" => true,
  280. "text" => "热门",
  281. "textColor" => "#FFFFFF",
  282. "bgColorStart" => "#F83288",
  283. "bgColorEnd" => "#FE3523"
  284. ],
  285. "id" => "1cgq3tjxkc800"
  286. ],
  287. [
  288. "title" => " 积分",
  289. "icon" => "icondiy icon-system-point-nav",
  290. "imageUrl" => "",
  291. "iconType" => "icon",
  292. "style" => [
  293. "fontSize" => 50,
  294. "iconBgColor" => [
  295. "#02CC96",
  296. "#43EEC9"
  297. ],
  298. "iconBgColorDeg" => 90,
  299. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_04.png",
  300. "bgRadius" => 19,
  301. "iconColor" => [
  302. "#FFFFFF"
  303. ],
  304. "iconColorDeg" => 0
  305. ],
  306. "link" => [
  307. "name" => "INTEGRAL_STORE",
  308. "title" => "积分商城",
  309. "wap_url" => "/pages_promotion/point/list",
  310. "parent" => "MARKETING_LINK"
  311. ],
  312. "label" => [
  313. "control" => false,
  314. "text" => "热门",
  315. "textColor" => "#FFFFFF",
  316. "bgColorStart" => "#F83287",
  317. "bgColorEnd" => "#FE3423"
  318. ],
  319. "id" => "1v6a5arxdyqo0"
  320. ],
  321. [
  322. "title" => "专题活动",
  323. "icon" => "icondiy icon-system-topic-nav",
  324. "imageUrl" => "",
  325. "iconType" => "icon",
  326. "style" => [
  327. "fontSize" => 50,
  328. "iconBgColor" => [
  329. "#BE79FF",
  330. "#7B00FF"
  331. ],
  332. "iconBgColorDeg" => 90,
  333. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_04.png",
  334. "bgRadius" => 19,
  335. "iconColor" => [
  336. "#FFFFFF"
  337. ],
  338. "iconColorDeg" => 0
  339. ],
  340. "link" => [
  341. "name" => "THEMATIC_ACTIVITIES_LIST",
  342. "title" => "专题活动列表",
  343. "wap_url" => "/pages_promotion/topics/list",
  344. "parent" => "MARKETING_LINK"
  345. ],
  346. "label" => [
  347. "control" => false,
  348. "text" => "热门",
  349. "textColor" => "#FFFFFF",
  350. "bgColorStart" => "#F83287",
  351. "bgColorEnd" => "#FE3423"
  352. ],
  353. "id" => "x7bqn51r8hs0"
  354. ],
  355. [
  356. "title" => "砍价",
  357. "icon" => "icondiy icon-system-bargain-nav",
  358. "imageUrl" => "",
  359. "iconType" => "icon",
  360. "style" => [
  361. "fontSize" => 50,
  362. "iconBgColor" => [
  363. "#5BBDFF",
  364. "#2E87FD"
  365. ],
  366. "iconBgColorDeg" => 90,
  367. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_04.png",
  368. "bgRadius" => 19,
  369. "iconColor" => [
  370. "#FFFFFF"
  371. ],
  372. "iconColorDeg" => 0
  373. ],
  374. "link" => [
  375. "name" => "BARGAIN_PREFECTURE",
  376. "title" => "砍价专区",
  377. "wap_url" => "/pages_promotion/bargain/list",
  378. "parent" => "MARKETING_LINK"
  379. ],
  380. "label" => [
  381. "control" => false,
  382. "text" => "热门",
  383. "textColor" => "#FFFFFF",
  384. "bgColorStart" => "#F83287",
  385. "bgColorEnd" => "#FE3423"
  386. ],
  387. "id" => "140zkvoseuw00"
  388. ],
  389. [
  390. "title" => "领券",
  391. "icon" => "icondiy icon-system-get-coupon",
  392. "imageUrl" => "",
  393. "iconType" => "icon",
  394. "style" => [
  395. "fontSize" => 50,
  396. "iconBgColor" => [
  397. "#BE79FF",
  398. "#7B00FF"
  399. ],
  400. "iconBgColorDeg" => 90,
  401. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_04.png",
  402. "bgRadius" => 19,
  403. "iconColor" => [
  404. "#FFFFFF"
  405. ],
  406. "iconColorDeg" => 0
  407. ],
  408. "link" => [
  409. "name" => "COUPON_PREFECTURE",
  410. "title" => "优惠券专区",
  411. "wap_url" => "/pages_tool/goods/coupon",
  412. "parent" => "MARKETING_LINK"
  413. ],
  414. "label" => [
  415. "control" => false,
  416. "text" => "热门",
  417. "textColor" => "#FFFFFF",
  418. "bgColorStart" => "#F83287",
  419. "bgColorEnd" => "#FE3423"
  420. ],
  421. "id" => "5sjwa1q2t5k0"
  422. ],
  423. [
  424. "title" => "文章",
  425. "icon" => "icondiy icon-system-article-nav",
  426. "imageUrl" => "",
  427. "iconType" => "icon",
  428. "style" => [
  429. "fontSize" => 50,
  430. "iconBgColor" => [
  431. "#FF8052",
  432. "#FF4830"
  433. ],
  434. "iconBgColorDeg" => 90,
  435. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_04.png",
  436. "bgRadius" => 19,
  437. "iconColor" => [
  438. "#FFFFFF"
  439. ],
  440. "iconColorDeg" => 0
  441. ],
  442. "link" => [
  443. "name" => "SHOPPING_ARTICLE",
  444. "title" => "文章",
  445. "wap_url" => "/pages_tool/article/list",
  446. "parent" => "MALL_LINK"
  447. ],
  448. "label" => [
  449. "control" => false,
  450. "text" => "热门",
  451. "textColor" => "#FFFFFF",
  452. "bgColorStart" => "#F83287",
  453. "bgColorEnd" => "#FE3423"
  454. ],
  455. "id" => "4aforgjwmdw0"
  456. ],
  457. [
  458. "title" => "公告",
  459. "icon" => "icondiy icon-system-notice-nav",
  460. "imageUrl" => "",
  461. "iconType" => "icon",
  462. "style" => [
  463. "fontSize" => 50,
  464. "iconBgColor" => [
  465. "#FFCC26",
  466. "#FF9F29"
  467. ],
  468. "iconBgColorDeg" => 90,
  469. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_04.png",
  470. "bgRadius" => 19,
  471. "iconColor" => [
  472. "#FFFFFF"
  473. ],
  474. "iconColorDeg" => 0
  475. ],
  476. "link" => [
  477. "name" => "SHOPPING_NOTICE",
  478. "title" => "公告",
  479. "wap_url" => "/pages_tool/notice/list",
  480. "parent" => "MALL_LINK"
  481. ],
  482. "label" => [
  483. "control" => false,
  484. "text" => "热门",
  485. "textColor" => "#FFFFFF",
  486. "bgColorStart" => "#F83287",
  487. "bgColorEnd" => "#FE3423"
  488. ],
  489. "id" => "myo9oz46yj40"
  490. ],
  491. [
  492. "title" => "帮助",
  493. "icon" => "icondiy icon-system-help",
  494. "imageUrl" => "",
  495. "iconType" => "icon",
  496. "style" => [
  497. "fontSize" => 50,
  498. "iconBgColor" => [
  499. "#02CC96",
  500. "#43EEC9"
  501. ],
  502. "iconBgColorDeg" => 90,
  503. "iconBgImg" => "public/static/ext/diyview/img/icon_bg/bg_04.png",
  504. "bgRadius" => 19,
  505. "iconColor" => [
  506. "#FFFFFF"
  507. ],
  508. "iconColorDeg" => 0
  509. ],
  510. "link" => [
  511. "name" => "SHOPPING_HELP",
  512. "title" => "帮助",
  513. "wap_url" => "/pages_tool/help/list",
  514. "parent" => "MALL_LINK"
  515. ],
  516. "label" => [
  517. "control" => false,
  518. "text" => "热门",
  519. "textColor" => "#FFFFFF",
  520. "bgColorStart" => "#F83287",
  521. "bgColorEnd" => "#FE3423"
  522. ],
  523. "id" => "h4nt4orc9i80"
  524. ]
  525. ],
  526. 'addonName' => '',
  527. "componentName" => "GraphicNav",
  528. "componentTitle" => "图文导航",
  529. "isDelete" => 0,
  530. "pageBgColor" => "#FFFFFF",
  531. "componentBgColor" => "",
  532. "componentAngle" => "round",
  533. "topAroundRadius" => 0,
  534. "bottomAroundRadius" => 0,
  535. "topElementAroundRadius" => 0,
  536. "bottomElementAroundRadius" => 0,
  537. "margin" => [
  538. "top" => 0,
  539. "bottom" => 0,
  540. "both" => 12
  541. ]
  542. ],
  543. [
  544. "id" => "3tegcfvyijk0",
  545. "style" => "5",
  546. "sources" => "initial",
  547. "styleName" => "风格五",
  548. "couponIds" => [],
  549. "count" => 6,
  550. "previewList" => [],
  551. "nameColor" => "#303133",
  552. "moneyColor" => "#FF0000",
  553. "limitColor" => "#999999",
  554. "btnStyle" => [
  555. "textColor" => "#FFFFFF",
  556. "bgColor" => "#303133",
  557. "text" => "立即领取",
  558. "aroundRadius" => 5,
  559. "isBgColor" => true,
  560. "isAroundRadius" => true
  561. ],
  562. "bgColor" => "",
  563. "isName" => true,
  564. "couponBgColor" => "",
  565. "couponBgUrl" => "",
  566. "couponType" => "img",
  567. "ifNeedBg" => true,
  568. 'addonName' => 'coupon',
  569. "componentName" => "Coupon",
  570. "componentTitle" => "优惠券",
  571. "isDelete" => 0,
  572. "pageBgColor" => "",
  573. "topAroundRadius" => 0,
  574. "bottomAroundRadius" => 0,
  575. "elementBgColor" => "",
  576. "topElementAroundRadius" => 0,
  577. "bottomElementAroundRadius" => 0,
  578. "margin" => [
  579. "top" => 10,
  580. "bottom" => 10,
  581. "both" => 12
  582. ]
  583. ],
  584. [
  585. "id" => "3acr0xjm1c80",
  586. 'addonName' => '',
  587. "componentName" => "RubikCube",
  588. "componentTitle" => "魔方",
  589. "isDelete" => 0,
  590. "pageBgColor" => "",
  591. "componentBgColor" => "",
  592. "componentAngle" => "round",
  593. "topAroundRadius" => 10,
  594. "bottomAroundRadius" => 10,
  595. "topElementAroundRadius" => 0,
  596. "bottomElementAroundRadius" => 0,
  597. "margin" => [
  598. "top" => 0,
  599. "bottom" => 10,
  600. "both" => 12
  601. ],
  602. "list" => [
  603. [
  604. "imageUrl" => 'addon/diy_default2/shop/view/public/img/mf_left.png',
  605. "imgWidth" => "338",
  606. "imgHeight" => "450",
  607. "previewWidth" => 187.5,
  608. "previewHeight" => "249.63px",
  609. "link" => [
  610. "name" => ""
  611. ]
  612. ],
  613. [
  614. "imageUrl" => 'addon/diy_default2/shop/view/public/img/mf_right1.png',
  615. "imgWidth" => "354",
  616. "imgHeight" => "220",
  617. "previewWidth" => 187.5,
  618. "previewHeight" => "124.82px",
  619. "link" => [
  620. "name" => ""
  621. ]
  622. ],
  623. [
  624. "imageUrl" => 'addon/diy_default2/shop/view/public/img/mf_right2.png',
  625. "imgWidth" => "354",
  626. "imgHeight" => "22",
  627. "previewWidth" => 187.5,
  628. "previewHeight" => "124.82px",
  629. "link" => [
  630. "name" => ""
  631. ]
  632. ]
  633. ],
  634. "mode" => "row1-lt-of2-rt",
  635. "imageGap" => 10,
  636. "elementAngle" => "round"
  637. ],
  638. [
  639. "id" => "68p4o1plca80",
  640. "style" => "style-1",
  641. "sources" => "initial",
  642. "styleName" => "风格1",
  643. "count" => 6,
  644. 'addonName' => '',
  645. "componentName" => "GoodsRecommend",
  646. "componentTitle" => "商品推荐",
  647. "isDelete" => 0,
  648. "topAroundRadius" => 0,
  649. "bottomAroundRadius" => 0,
  650. "topElementAroundRadius" => 10,
  651. "bottomElementAroundRadius" => 10,
  652. "margin" => [
  653. "top" => 0,
  654. "bottom" => 10,
  655. "both" => 12
  656. ],
  657. "nameLineMode" => "single",
  658. "sortWay" => "default",
  659. "ornament" => [
  660. "type" => "default",
  661. "color" => "#EDEDED"
  662. ],
  663. "imgAroundRadius" => 0,
  664. "goodsNameStyle" => [
  665. "color" => "#303133",
  666. "control" => true,
  667. "fontWeight" => false,
  668. "support" => true
  669. ],
  670. "saleStyle" => [
  671. "color" => "#999CA7",
  672. "control" => true,
  673. "support" => true
  674. ],
  675. "theme" => "default",
  676. "priceStyle" => [
  677. "mainColor" => "#FF1544",
  678. "mainControl" => true,
  679. "lineColor" => "#999CA7",
  680. "lineControl" => false,
  681. "lineSupport" => false
  682. ],
  683. "goodsId" => [],
  684. "categoryId" => 0,
  685. "categoryName" => "请选择",
  686. "topStyle" => [
  687. "title" => "今日推荐",
  688. "subTitle" => "大家都在买",
  689. "icon" => [
  690. "value" => "icondiy icon-system-tuijian",
  691. "color" => "#FF3D3D",
  692. "bgColor" => ""
  693. ],
  694. "color" => "#303133",
  695. "subColor" => "#999CA7",
  696. "support" => true
  697. ],
  698. "bgUrl" => "",
  699. "pageBgColor" => "",
  700. "componentBgColor" => "",
  701. "componentAngle" => "round",
  702. "elementBgColor" => "#FFFFFF",
  703. "elementAngle" => "round",
  704. "labelStyle" => [
  705. "support" => false,
  706. "bgColor" => "#FF504D",
  707. "title" => "新人专享",
  708. "color" => "#FFFFFF"
  709. ]
  710. ],
  711. [
  712. "id" => "3moj09pl5c20",
  713. "style" => "style-1",
  714. "sources" => "initial",
  715. "count" => 6,
  716. "goodsId" => [],
  717. "ornament" => [
  718. "type" => "default",
  719. "color" => "#EDEDED"
  720. ],
  721. "nameLineMode" => "single",
  722. "template" => "row1-of1",
  723. "goodsMarginType" => "default",
  724. "goodsMarginNum" => 10,
  725. "btnStyle" => [
  726. "text" => "去秒杀",
  727. "textColor" => "#FFFFFF",
  728. "theme" => "default",
  729. "aroundRadius" => 25,
  730. "control" => true,
  731. "support" => true,
  732. "bgColorStart" => "#FF7B1D",
  733. "bgColorEnd" => "#FF1544"
  734. ],
  735. "imgAroundRadius" => 10,
  736. "saleStyle" => [
  737. "color" => "#999CA7",
  738. "control" => true,
  739. "support" => true
  740. ],
  741. "progressStyle" => [
  742. "control" => true,
  743. "support" => true,
  744. "currColor" => "#FDBE6C",
  745. "bgColor" => "#FCECD7"
  746. ],
  747. "titleStyle" => [
  748. "backgroundImage" => "addon/seckill/component/view/seckill/img/style_title_3_bg.png",
  749. "isShow" => true,
  750. "leftStyle" => "img",
  751. "leftImg" => "addon/seckill/component/view/seckill/img/style_title_3_name.png",
  752. "style" => "style-3",
  753. "styleName" => "风格3",
  754. "leftText" => "限时秒杀",
  755. "fontSize" => 16,
  756. "fontWeight" => true,
  757. "textColor" => "#FFFFFF",
  758. "bgColorStart" => "#FA6400",
  759. "bgColorEnd" => "#FF287A",
  760. "more" => "更多",
  761. "moreColor" => "#FFFFFF",
  762. "moreFontSize" => 12,
  763. "moreSupport" => true,
  764. "timeBgColor" => "",
  765. "timeImageUrl" => "",
  766. "colonColor" => "#FFFFFF",
  767. "numBgColorStart" => "#FFFFFF",
  768. "numBgColorEnd" => "#FFFFFF",
  769. "numTextColor" => "#FD3B54"
  770. ],
  771. "slideMode" => "scroll",
  772. "theme" => "default",
  773. "priceStyle" => [
  774. "mainColor" => "#FF1745",
  775. "mainControl" => true,
  776. "lineColor" => "#999CA7",
  777. "lineControl" => true,
  778. "lineSupport" => true
  779. ],
  780. "goodsNameStyle" => [
  781. "color" => "#303133",
  782. "control" => true,
  783. "fontWeight" => false
  784. ],
  785. 'addonName' => 'seckill',
  786. "componentName" => "Seckill",
  787. "componentTitle" => "秒杀",
  788. "isDelete" => 0,
  789. "pageBgColor" => "",
  790. "componentBgColor" => "",
  791. "componentAngle" => "round",
  792. "topAroundRadius" => 0,
  793. "bottomAroundRadius" => 0,
  794. "elementBgColor" => "#FFFFFF",
  795. "elementAngle" => "round",
  796. "topElementAroundRadius" => 0,
  797. "bottomElementAroundRadius" => 0,
  798. "margin" => [
  799. "top" => 0,
  800. "bottom" => 10,
  801. "both" => 12
  802. ]
  803. ],
  804. [
  805. "id" => "z9bdab3tm34",
  806. "style" => "style-1",
  807. "sources" => "initial",
  808. "count" => 6,
  809. "goodsId" => [],
  810. "ornament" => [
  811. "type" => "default",
  812. "color" => "#EDEDED"
  813. ],
  814. "nameLineMode" => "single",
  815. "template" => "horizontal-slide",
  816. "goodsMarginType" => "default",
  817. "goodsMarginNum" => 10,
  818. "btnStyle" => [
  819. "text" => "去拼团",
  820. "textColor" => "#FFFFFF",
  821. "theme" => "default",
  822. "aroundRadius" => 25,
  823. "control" => false,
  824. "support" => false,
  825. "bgColorStart" => "#FF1544",
  826. "bgColorEnd" => "#FF1544"
  827. ],
  828. "imgAroundRadius" => 10,
  829. "saleStyle" => [
  830. "color" => "#FF1544",
  831. "control" => false,
  832. "support" => false
  833. ],
  834. "groupStyle" => [
  835. "color" => "#FFFFFF",
  836. "control" => true,
  837. "support" => true,
  838. "bgColorStart" => "#FA2379",
  839. "bgColorEnd" => "#FF4F61"
  840. ],
  841. "priceStyle" => [
  842. "mainColor" => "#FF1544",
  843. "mainControl" => true,
  844. "lineColor" => "#999CA7",
  845. "lineControl" => true,
  846. "lineSupport" => true
  847. ],
  848. "slideMode" => "scroll",
  849. "theme" => "default",
  850. "goodsNameStyle" => [
  851. "color" => "#303133",
  852. "control" => true,
  853. "fontWeight" => false
  854. ],
  855. "titleStyle" => [
  856. "bgColorStart" => "#6236FF",
  857. "bgColorEnd" => "#0091FF",
  858. "isShow" => true,
  859. "leftStyle" => "img",
  860. "leftImg" => "addon/pintuan/component/view/pintuan/img/horizontal_slide_name.png",
  861. "style" => "style-1",
  862. "styleName" => "风格1",
  863. "leftText" => "超值拼团",
  864. "fontSize" => 16,
  865. "fontWeight" => true,
  866. "textColor" => "#FFFFFF",
  867. "more" => "查看更多",
  868. "moreColor" => "#FFFFFF",
  869. "moreFontSize" => 12,
  870. "backgroundImage" => "addon/pintuan/component/view/pintuan/img/horizontal_slide_bg.png"
  871. ],
  872. 'addonName' => 'pintuan',
  873. "componentName" => "Pintuan",
  874. "componentTitle" => "拼团",
  875. "isDelete" => 0,
  876. "pageBgColor" => "",
  877. "componentBgColor" => "#FFFFFF",
  878. "componentAngle" => "round",
  879. "topAroundRadius" => 0,
  880. "bottomAroundRadius" => 10,
  881. "elementBgColor" => "",
  882. "elementAngle" => "round",
  883. "topElementAroundRadius" => 0,
  884. "bottomElementAroundRadius" => 0,
  885. "margin" => [
  886. "top" => 0,
  887. "bottom" => 10,
  888. "both" => 12
  889. ]
  890. ],
  891. [
  892. "id" => "xwdnfttfj7k",
  893. "style" => "style-1",
  894. "sources" => "initial",
  895. "count" => 6,
  896. "goodsId" => [],
  897. "ornament" => [
  898. "type" => "default",
  899. "color" => "#EDEDED"
  900. ],
  901. "nameLineMode" => "single",
  902. "template" => "horizontal-slide",
  903. "goodsMarginType" => "default",
  904. "goodsMarginNum" => 10,
  905. "btnStyle" => [
  906. "text" => "立即抢购",
  907. "textColor" => "#FFFFFF",
  908. "theme" => "default",
  909. "aroundRadius" => 25,
  910. "control" => false,
  911. "support" => false,
  912. "bgColorStart" => "#FF7B1D",
  913. "bgColorEnd" => "#FF1544"
  914. ],
  915. "imgAroundRadius" => 5,
  916. "saleStyle" => [
  917. "color" => "#FFFFFF",
  918. "control" => true,
  919. "support" => true
  920. ],
  921. "slideMode" => "scroll",
  922. "theme" => "default",
  923. "goodsNameStyle" => [
  924. "color" => "#303133",
  925. "control" => true,
  926. "fontWeight" => false
  927. ],
  928. "priceStyle" => [
  929. "mainColor" => "#FF1745",
  930. "mainControl" => true,
  931. "lineColor" => "#999CA7",
  932. "lineControl" => true,
  933. "lineSupport" => true
  934. ],
  935. "titleStyle" => [
  936. "bgColorStart" => "#FF209D",
  937. "bgColorEnd" => "#B620E0",
  938. "isShow" => true,
  939. "leftStyle" => "img",
  940. "leftImg" => "",
  941. "style" => "style-1",
  942. "styleName" => "风格1",
  943. "leftText" => "疯狂砍价",
  944. "fontSize" => 16,
  945. "fontWeight" => true,
  946. "textColor" => "#FFFFFF",
  947. "more" => "更多",
  948. "moreColor" => "#FFFFFF",
  949. "moreFontSize" => 12,
  950. "backgroundImage" => ""
  951. ],
  952. 'addonName' => 'bargain',
  953. "componentName" => "Bargain",
  954. "componentTitle" => "砍价",
  955. "isDelete" => 0,
  956. "pageBgColor" => "",
  957. "componentBgColor" => "#FFFFFF",
  958. "componentAngle" => "round",
  959. "topAroundRadius" => 0,
  960. "bottomAroundRadius" => 10,
  961. "elementBgColor" => "",
  962. "elementAngle" => "round",
  963. "topElementAroundRadius" => 0,
  964. "bottomElementAroundRadius" => 0,
  965. "margin" => [
  966. "top" => 0,
  967. "bottom" => 10,
  968. "both" => 12
  969. ]
  970. ],
  971. [
  972. "id" => "5zj6d48bxks0",
  973. 'addonName' => '',
  974. "componentName" => "ImageAds",
  975. "componentTitle" => "图片广告",
  976. "isDelete" => 0,
  977. "pageBgColor" => "",
  978. "componentBgColor" => "",
  979. "componentAngle" => "round",
  980. "topAroundRadius" => 5,
  981. "bottomAroundRadius" => 5,
  982. "topElementAroundRadius" => 0,
  983. "bottomElementAroundRadius" => 0,
  984. "margin" => [
  985. "top" => 0,
  986. "bottom" => 10,
  987. "both" => 12
  988. ],
  989. "list" => [
  990. [
  991. "link" => [
  992. "name" => ""
  993. ],
  994. "imageUrl" => 'addon/diy_default2/shop/view/public/img/gg.png',
  995. "imgWidth" => "702",
  996. "imgHeight" => "252",
  997. "id" => "ccnb530uc5k0"
  998. ]
  999. ],
  1000. "indicatorIsShow" => true,
  1001. "indicatorColor" => "#ffffff",
  1002. "carouselStyle" => "circle",
  1003. "indicatorLocation" => "center"
  1004. ],
  1005. [
  1006. "id" => "xwdnfttfj6k",
  1007. "style" => "style-3",
  1008. "sources" => "initial",
  1009. "count" => 6,
  1010. "goodsId" => [],
  1011. "ornament" => [
  1012. "type" => "default",
  1013. "color" => "#EDEDED"
  1014. ],
  1015. "nameLineMode" => "multiple",
  1016. "template" => "row1-of2",
  1017. "goodsMarginType" => "default",
  1018. "goodsMarginNum" => 6,
  1019. "btnStyle" => [
  1020. "fontWeight" => false,
  1021. "padding" => 0,
  1022. "cartEvent" => "detail",
  1023. "text" => "购买",
  1024. "textColor" => "#FFFFFF",
  1025. "theme" => "default",
  1026. "aroundRadius" => 25,
  1027. "control" => false,
  1028. "support" => false,
  1029. "bgColor" => "#FF6A00",
  1030. "style" => "button",
  1031. "iconDiy" => [
  1032. "iconType" => "icon",
  1033. "icon" => "",
  1034. "style" => [
  1035. "fontSize" => "60",
  1036. "iconBgColor" => [],
  1037. "iconBgColorDeg" => 0,
  1038. "iconBgImg" => "",
  1039. "bgRadius" => 0,
  1040. "iconColor" => [
  1041. "#000000"
  1042. ],
  1043. "iconColorDeg" => 0
  1044. ]
  1045. ]
  1046. ],
  1047. "imgAroundRadius" => 0,
  1048. "saleStyle" => [
  1049. "color" => "#999CA7",
  1050. "control" => true,
  1051. "support" => true
  1052. ],
  1053. "slideMode" => "slide",
  1054. "theme" => "default",
  1055. "goodsNameStyle" => [
  1056. "color" => "#303133",
  1057. "control" => true,
  1058. "fontWeight" => false
  1059. ],
  1060. "priceStyle" => [
  1061. "mainColor" => "#FF6A00",
  1062. "mainControl" => true,
  1063. "lineColor" => "#999CA7",
  1064. "lineControl" => false,
  1065. "lineSupport" => false
  1066. ],
  1067. 'addonName' => '',
  1068. "componentName" => "GoodsList",
  1069. "componentTitle" => "商品列表",
  1070. "isDelete" => 0,
  1071. "pageBgColor" => "",
  1072. "componentBgColor" => "",
  1073. "componentAngle" => "round",
  1074. "topAroundRadius" => 10,
  1075. "bottomAroundRadius" => 10,
  1076. "elementBgColor" => "#FFFFFF",
  1077. "elementAngle" => "round",
  1078. "topElementAroundRadius" => 10,
  1079. "bottomElementAroundRadius" => 10,
  1080. "margin" => [
  1081. "top" => 0,
  1082. "bottom" => 0,
  1083. "both" => 12
  1084. ],
  1085. "categoryId" => 0,
  1086. "categoryName" => "请选择",
  1087. "sortWay" => "default",
  1088. "tag" => [
  1089. "text" => "隐藏",
  1090. "value" => "hidden"
  1091. ]
  1092. ]
  1093. ]
  1094. ]
  1095. ]
  1096. ]
  1097. ];