diy_view.php 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949
  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_medical', // 模板标识
  27. 'cover' => 'addon/diy_medical/shop/view/public/img/cover.png', // 模板封面图
  28. 'preview' => 'addon/diy_medical/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" => "#F8F8F8",
  42. "topNavColor" => "#1F7CFE",
  43. "topNavBg" => true,
  44. "navBarSwitch" => true,
  45. "navStyle" => "1",
  46. "textNavColor" => "#FFFFFF",
  47. "topNavImg" => "",
  48. "moreLink" => [
  49. "name" => ""
  50. ],
  51. "openBottomNav" => true,
  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" => "addon/diy_medical/shop/view/public/img/bg.png",
  65. "imgWidth" => "750",
  66. "imgHeight" => "486",
  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" => 12
  82. ]
  83. ]
  84. ],
  85. "value" => [
  86. [
  87. "searchStyle" => 3,
  88. "searchLink" => [
  89. "name" => ""
  90. ],
  91. "title" => "搜索 药物 症状 功效",
  92. "textAlign" => "left",
  93. "borderType" => 2,
  94. "iconType" => "img",
  95. "icon" => "",
  96. "style" => [
  97. "fontSize" => "60",
  98. "iconBgColor" => [],
  99. "iconBgColorDeg" => 0,
  100. "iconBgImg" => "",
  101. "bgRadius" => 0,
  102. "iconColor" => [
  103. "#000000"
  104. ],
  105. "iconColorDeg" => 0
  106. ],
  107. "imageUrl" => "",
  108. "positionWay" => "fixed",
  109. "id" => "5i5xi1gnfps0",
  110. "addonName" => "",
  111. "componentName" => "Search",
  112. "componentTitle" => "搜索框",
  113. "isDelete" => 0,
  114. "pageBgColor" => "#1F7CFE",
  115. "textColor" => "#303133",
  116. "componentBgColor" => "",
  117. "topAroundRadius" => 0,
  118. "bottomAroundRadius" => 0,
  119. "elementBgColor" => "#FFFFFF",
  120. "topElementAroundRadius" => 0,
  121. "bottomElementAroundRadius" => 0,
  122. "margin" => [
  123. "top" => 6,
  124. "bottom" => 6,
  125. "both" => 12
  126. ]
  127. ],
  128. [
  129. "ornament" => [
  130. "type" => "default",
  131. "color" => "#EDEDED"
  132. ],
  133. "list" => [
  134. [
  135. "title" => "附近门店",
  136. "style" => [
  137. "fontSize" => "60",
  138. "iconBgColor" => [],
  139. "iconBgColorDeg" => 0,
  140. "iconBgImg" => "",
  141. "bgRadius" => 0,
  142. "iconColor" => [
  143. "#000000"
  144. ],
  145. "iconColorDeg" => 0
  146. ],
  147. "link" => [
  148. "name" => ""
  149. ],
  150. "icon" => "",
  151. "iconType" => "img",
  152. "imageUrl" => "",
  153. "id" => "toebkd1onv40",
  154. "bgColorStart" => "#FF6363",
  155. "bgColorEnd" => "#FF6363",
  156. "textColor" => "#FFFFFF"
  157. ],
  158. [
  159. "title" => "蒙脱石散",
  160. "style" => [
  161. "fontSize" => "60",
  162. "iconBgColor" => [],
  163. "iconBgColorDeg" => 0,
  164. "iconBgImg" => "",
  165. "bgRadius" => 0,
  166. "iconColor" => [
  167. "#000000"
  168. ],
  169. "iconColorDeg" => 0
  170. ],
  171. "link" => [
  172. "name" => ""
  173. ],
  174. "icon" => "",
  175. "iconType" => "img",
  176. "imageUrl" => "",
  177. "id" => "15izcw5ogtc00",
  178. "bgColorStart" => "#F9FEE8",
  179. "bgColorEnd" => "#F9FEE8",
  180. "textColor" => "#2EB44B"
  181. ],
  182. [
  183. "title" => "感冒灵颗粒",
  184. "style" => [
  185. "fontSize" => "60",
  186. "iconBgColor" => [],
  187. "iconBgColorDeg" => 0,
  188. "iconBgImg" => "",
  189. "bgRadius" => 0,
  190. "iconColor" => [
  191. "#000000"
  192. ],
  193. "iconColorDeg" => 0
  194. ],
  195. "link" => [
  196. "name" => ""
  197. ],
  198. "icon" => "",
  199. "iconType" => "img",
  200. "imageUrl" => "",
  201. "id" => "1ikprh1sqv6o0",
  202. "bgColorStart" => "#FF7011",
  203. "bgColorEnd" => "#FF7011",
  204. "textColor" => "#FFFFFF"
  205. ],
  206. [
  207. "title" => "奥利司他胶囊",
  208. "style" => [
  209. "fontSize" => "60",
  210. "iconBgColor" => [],
  211. "iconBgColorDeg" => 0,
  212. "iconBgImg" => "",
  213. "bgRadius" => 0,
  214. "iconColor" => [
  215. "#000000"
  216. ],
  217. "iconColorDeg" => 0
  218. ],
  219. "link" => [
  220. "name" => ""
  221. ],
  222. "icon" => "",
  223. "iconType" => "img",
  224. "imageUrl" => "",
  225. "id" => "225lbcxkjwow0",
  226. "bgColorStart" => "#EAFFF7",
  227. "bgColorEnd" => "#EAFFF7",
  228. "textColor" => "#0DB0F0"
  229. ]
  230. ],
  231. "id" => "5cvp4rzn1yg0",
  232. "addonName" => "",
  233. "componentName" => "QuickNav",
  234. "componentTitle" => "快捷导航",
  235. "isDelete" => 0,
  236. "pageBgColor" => "",
  237. "componentBgColor" => "",
  238. "componentAngle" => "round",
  239. "topAroundRadius" => 0,
  240. "bottomAroundRadius" => 0,
  241. "topElementAroundRadius" => 0,
  242. "bottomElementAroundRadius" => 0,
  243. "margin" => [
  244. "top" => 12,
  245. "bottom" => 6,
  246. "both" => 12
  247. ]
  248. ],
  249. [
  250. "list" => [
  251. [
  252. "imageUrl" => "addon/diy_medical/shop/view/public/img/nav_1.png",
  253. "link" => [
  254. "name" => ""
  255. ],
  256. "imgWidth" => "176",
  257. "imgHeight" => "176",
  258. "id" => "1ziu868l9sjk0",
  259. "title" => "感冒发烧",
  260. "style" => [
  261. "fontSize" => "60",
  262. "iconBgColor" => [],
  263. "iconBgColorDeg" => 0,
  264. "iconBgImg" => "",
  265. "bgRadius" => 0,
  266. "iconColor" => [
  267. "#000000"
  268. ],
  269. "iconColorDeg" => 0
  270. ],
  271. "icon" => "",
  272. "iconType" => "img",
  273. "label" => [
  274. "control" => false,
  275. "text" => "热门",
  276. "textColor" => "#FFFFFF",
  277. "bgColorStart" => "#F83287",
  278. "bgColorEnd" => "#FE3423"
  279. ]
  280. ],
  281. [
  282. "title" => "清热解毒",
  283. "style" => [
  284. "fontSize" => "60",
  285. "iconBgColor" => [],
  286. "iconBgColorDeg" => 0,
  287. "iconBgImg" => "",
  288. "bgRadius" => 0,
  289. "iconColor" => [
  290. "#000000"
  291. ],
  292. "iconColorDeg" => 0
  293. ],
  294. "link" => [
  295. "name" => ""
  296. ],
  297. "icon" => "",
  298. "iconType" => "img",
  299. "imageUrl" => "addon/diy_medical/shop/view/public/img/nav_2.png",
  300. "label" => [
  301. "control" => false,
  302. "text" => "热门",
  303. "textColor" => "#FFFFFF",
  304. "bgColorStart" => "#F83287",
  305. "bgColorEnd" => "#FE3423"
  306. ],
  307. "id" => "1hzfbhvf4ghs0",
  308. "imgWidth" => "176",
  309. "imgHeight" => "176"
  310. ],
  311. [
  312. "title" => "慢病用药",
  313. "style" => [
  314. "fontSize" => "60",
  315. "iconBgColor" => [],
  316. "iconBgColorDeg" => 0,
  317. "iconBgImg" => "",
  318. "bgRadius" => 0,
  319. "iconColor" => [
  320. "#000000"
  321. ],
  322. "iconColorDeg" => 0
  323. ],
  324. "link" => [
  325. "name" => ""
  326. ],
  327. "icon" => "",
  328. "iconType" => "img",
  329. "imageUrl" => "addon/diy_medical/shop/view/public/img/nav_3.png",
  330. "label" => [
  331. "control" => false,
  332. "text" => "热门",
  333. "textColor" => "#FFFFFF",
  334. "bgColorStart" => "#F83287",
  335. "bgColorEnd" => "#FE3423"
  336. ],
  337. "id" => "7lkvmmqll680",
  338. "imgWidth" => "176",
  339. "imgHeight" => "176"
  340. ],
  341. [
  342. "title" => "儿童用药",
  343. "style" => [
  344. "fontSize" => "60",
  345. "iconBgColor" => [],
  346. "iconBgColorDeg" => 0,
  347. "iconBgImg" => "",
  348. "bgRadius" => 0,
  349. "iconColor" => [
  350. "#000000"
  351. ],
  352. "iconColorDeg" => 0
  353. ],
  354. "link" => [
  355. "name" => ""
  356. ],
  357. "icon" => "",
  358. "iconType" => "img",
  359. "imageUrl" => "addon/diy_medical/shop/view/public/img/nav_4.png",
  360. "label" => [
  361. "control" => false,
  362. "text" => "热门",
  363. "textColor" => "#FFFFFF",
  364. "bgColorStart" => "#F83287",
  365. "bgColorEnd" => "#FE3423"
  366. ],
  367. "id" => "nretwpl5tj40",
  368. "imgWidth" => "176",
  369. "imgHeight" => "176"
  370. ],
  371. [
  372. "title" => "肠胃用药",
  373. "icon" => "",
  374. "imageUrl" => "addon/diy_medical/shop/view/public/img/nav_5.png",
  375. "iconType" => "img",
  376. "style" => [
  377. "fontSize" => "60",
  378. "iconBgColor" => [],
  379. "iconBgColorDeg" => 0,
  380. "iconBgImg" => "",
  381. "bgRadius" => 0,
  382. "iconColor" => [
  383. "#000000"
  384. ],
  385. "iconColorDeg" => 0
  386. ],
  387. "link" => [
  388. "name" => ""
  389. ],
  390. "label" => [
  391. "control" => false,
  392. "text" => "热门",
  393. "textColor" => "#FFFFFF",
  394. "bgColorStart" => "#F83287",
  395. "bgColorEnd" => "#FE3423"
  396. ],
  397. "id" => "12334vufumog0",
  398. "imgWidth" => "176",
  399. "imgHeight" => "176"
  400. ],
  401. [
  402. "title" => "五官用药",
  403. "icon" => "",
  404. "imageUrl" => "addon/diy_medical/shop/view/public/img/nav_6.png",
  405. "iconType" => "img",
  406. "style" => [
  407. "fontSize" => "60",
  408. "iconBgColor" => [],
  409. "iconBgColorDeg" => 0,
  410. "iconBgImg" => "",
  411. "bgRadius" => 0,
  412. "iconColor" => [
  413. "#000000"
  414. ],
  415. "iconColorDeg" => 0
  416. ],
  417. "link" => [
  418. "name" => ""
  419. ],
  420. "label" => [
  421. "control" => false,
  422. "text" => "热门",
  423. "textColor" => "#FFFFFF",
  424. "bgColorStart" => "#F83287",
  425. "bgColorEnd" => "#FE3423"
  426. ],
  427. "id" => "w2ogswcxnsw0",
  428. "imgWidth" => "176",
  429. "imgHeight" => "176"
  430. ],
  431. [
  432. "title" => "皮肤用药",
  433. "icon" => "",
  434. "imageUrl" => "addon/diy_medical/shop/view/public/img/nav_7.png",
  435. "iconType" => "img",
  436. "style" => [
  437. "fontSize" => "60",
  438. "iconBgColor" => [],
  439. "iconBgColorDeg" => 0,
  440. "iconBgImg" => "",
  441. "bgRadius" => 0,
  442. "iconColor" => [
  443. "#000000"
  444. ],
  445. "iconColorDeg" => 0
  446. ],
  447. "link" => [
  448. "name" => ""
  449. ],
  450. "label" => [
  451. "control" => false,
  452. "text" => "热门",
  453. "textColor" => "#FFFFFF",
  454. "bgColorStart" => "#F83287",
  455. "bgColorEnd" => "#FE3423"
  456. ],
  457. "id" => "60znp6wdci80",
  458. "imgWidth" => "176",
  459. "imgHeight" => "176"
  460. ],
  461. [
  462. "title" => "心脑血管",
  463. "icon" => "",
  464. "imageUrl" => "addon/diy_medical/shop/view/public/img/nav_8.png",
  465. "iconType" => "img",
  466. "style" => [
  467. "fontSize" => "60",
  468. "iconBgColor" => [],
  469. "iconBgColorDeg" => 0,
  470. "iconBgImg" => "",
  471. "bgRadius" => 0,
  472. "iconColor" => [
  473. "#000000"
  474. ],
  475. "iconColorDeg" => 0
  476. ],
  477. "link" => [
  478. "name" => ""
  479. ],
  480. "label" => [
  481. "control" => false,
  482. "text" => "热门",
  483. "textColor" => "#FFFFFF",
  484. "bgColorStart" => "#F83287",
  485. "bgColorEnd" => "#FE3423"
  486. ],
  487. "id" => "1fshjsfs9wf40",
  488. "imgWidth" => "176",
  489. "imgHeight" => "176"
  490. ],
  491. [
  492. "title" => "风湿骨科",
  493. "icon" => "",
  494. "imageUrl" => "addon/diy_medical/shop/view/public/img/nav_9.png",
  495. "iconType" => "img",
  496. "style" => [
  497. "fontSize" => "60",
  498. "iconBgColor" => [],
  499. "iconBgColorDeg" => 0,
  500. "iconBgImg" => "",
  501. "bgRadius" => 0,
  502. "iconColor" => [
  503. "#000000"
  504. ],
  505. "iconColorDeg" => 0
  506. ],
  507. "link" => [
  508. "name" => ""
  509. ],
  510. "label" => [
  511. "control" => false,
  512. "text" => "热门",
  513. "textColor" => "#FFFFFF",
  514. "bgColorStart" => "#F83287",
  515. "bgColorEnd" => "#FE3423"
  516. ],
  517. "id" => "203zga4agt6o0",
  518. "imgWidth" => "176",
  519. "imgHeight" => "176"
  520. ],
  521. [
  522. "title" => "抗菌消炎",
  523. "icon" => "",
  524. "imageUrl" => "addon/diy_medical/shop/view/public/img/nav_10.png",
  525. "iconType" => "img",
  526. "style" => [
  527. "fontSize" => "60",
  528. "iconBgColor" => [],
  529. "iconBgColorDeg" => 0,
  530. "iconBgImg" => "",
  531. "bgRadius" => 0,
  532. "iconColor" => [
  533. "#000000"
  534. ],
  535. "iconColorDeg" => 0
  536. ],
  537. "link" => [
  538. "name" => ""
  539. ],
  540. "label" => [
  541. "control" => false,
  542. "text" => "热门",
  543. "textColor" => "#FFFFFF",
  544. "bgColorStart" => "#F83287",
  545. "bgColorEnd" => "#FE3423"
  546. ],
  547. "id" => "1xtwjpjix7280",
  548. "imgWidth" => "176",
  549. "imgHeight" => "176"
  550. ]
  551. ],
  552. "id" => "3pz6dtsxh5k0",
  553. "addonName" => "",
  554. "componentName" => "GraphicNav",
  555. "componentTitle" => "图文导航",
  556. "isDelete" => 0,
  557. "pageBgColor" => "",
  558. "componentBgColor" => "#FFFFFF",
  559. "componentAngle" => "round",
  560. "topAroundRadius" => 20,
  561. "bottomAroundRadius" => 0,
  562. "topElementAroundRadius" => 0,
  563. "bottomElementAroundRadius" => 0,
  564. "margin" => [
  565. "top" => 6,
  566. "bottom" => 6,
  567. "both" => 0
  568. ],
  569. "ornament" => [
  570. "type" => "default",
  571. "color" => "#EDEDED"
  572. ],
  573. "mode" => "graphic",
  574. "type" => "img",
  575. "showStyle" => "fixed",
  576. "rowCount" => 5,
  577. "pageCount" => 2,
  578. "carousel" => [
  579. "type" => "circle",
  580. "color" => "#FFFFFF"
  581. ],
  582. "imageSize" => 40,
  583. "aroundRadius" => 25,
  584. "font" => [
  585. "size" => 14,
  586. "weight" => "normal",
  587. "color" => "#303133"
  588. ]
  589. ],
  590. [
  591. "list" => [
  592. [
  593. "imageUrl" => "addon/diy_medical/shop/view/public/img/banner.png",
  594. "imgWidth" => "1404",
  595. "imgHeight" => "560",
  596. "link" => [
  597. "name" => ""
  598. ],
  599. "imageMode" => "scaleToFill",
  600. "id" => "7evcgwb7vj80"
  601. ]
  602. ],
  603. "id" => "z5rrn3sudfk",
  604. "addonName" => "",
  605. "componentName" => "ImageAds",
  606. "componentTitle" => "图片广告",
  607. "isDelete" => 0,
  608. "pageBgColor" => "",
  609. "componentBgColor" => "",
  610. "componentAngle" => "round",
  611. "topAroundRadius" => 0,
  612. "bottomAroundRadius" => 0,
  613. "topElementAroundRadius" => 0,
  614. "bottomElementAroundRadius" => 0,
  615. "margin" => [
  616. "top" => 6,
  617. "bottom" => 6,
  618. "both" => 12
  619. ],
  620. "indicatorIsShow" => true,
  621. "indicatorColor" => "#ffffff",
  622. "carouselStyle" => "circle",
  623. "indicatorLocation" => "center"
  624. ],
  625. [
  626. "id" => "31gjnmatouw0",
  627. "addonName" => "",
  628. "componentName" => "RubikCube",
  629. "componentTitle" => "魔方",
  630. "isDelete" => 0,
  631. "pageBgColor" => "",
  632. "componentBgColor" => "",
  633. "componentAngle" => "round",
  634. "topAroundRadius" => 0,
  635. "bottomAroundRadius" => 0,
  636. "elementAngle" => "round",
  637. "topElementAroundRadius" => 0,
  638. "bottomElementAroundRadius" => 0,
  639. "margin" => [
  640. "top" => 6,
  641. "bottom" => 6,
  642. "both" => 12
  643. ],
  644. "mode" => "row1-lt-of2-rt",
  645. "imageGap" => 10,
  646. "list" => [
  647. [
  648. "imageUrl" => 'addon/diy_medical/shop/view/public/img/mf_left.png',
  649. "imgWidth" => "684",
  650. "imgHeight" => "748",
  651. "previewWidth" => 163.5,
  652. "previewHeight" => "188.80px",
  653. "link" => [
  654. "name" => ""
  655. ],
  656. "imageMode" => "scaleToFill"
  657. ],
  658. [
  659. "imageUrl" => 'addon/diy_medical/shop/view/public/img/mf_right1.png',
  660. "imgWidth" => "684",
  661. "imgHeight" => "356",
  662. "previewWidth" => 163.5,
  663. "previewHeight" => "89.40px",
  664. "link" => [
  665. "name" => ""
  666. ],
  667. "imageMode" => "scaleToFill"
  668. ],
  669. [
  670. "imageUrl" => 'addon/diy_medical/shop/view/public/img/mf_right2.png',
  671. "imgWidth" => "684",
  672. "imgHeight" => "356",
  673. "previewWidth" => 163.5,
  674. "previewHeight" => "89.40px",
  675. "link" => [
  676. "name" => ""
  677. ],
  678. "imageMode" => "scaleToFill"
  679. ]
  680. ]
  681. ],
  682. [
  683. "style" => "style-2",
  684. "sources" => "initial",
  685. "ornament" => [
  686. "type" => "default",
  687. "color" => "#EDEDED"
  688. ],
  689. "template" => "horizontal-slide",
  690. "goodsMarginType" => "default",
  691. "goodsMarginNum" => 10,
  692. "count" => 6,
  693. "goodsId" => [],
  694. "nameLineMode" => "single",
  695. "imgAroundRadius" => 5,
  696. "slideMode" => "scroll",
  697. "theme" => "default",
  698. "btnStyle" => [
  699. "text" => "去秒杀",
  700. "textColor" => "#FFFFFF",
  701. "theme" => "default",
  702. "aroundRadius" => 25,
  703. "control" => false,
  704. "support" => false,
  705. "bgColorStart" => "#FF7B1D",
  706. "bgColorEnd" => "#FF1544"
  707. ],
  708. "goodsNameStyle" => [
  709. "color" => "#303133",
  710. "control" => true,
  711. "fontWeight" => false
  712. ],
  713. "saleStyle" => [
  714. "color" => "#999CA7",
  715. "control" => false,
  716. "support" => false
  717. ],
  718. "priceStyle" => [
  719. "mainColor" => "#FFFFFF",
  720. "mainControl" => true,
  721. "lineColor" => "#999CA7",
  722. "lineControl" => true,
  723. "lineSupport" => true
  724. ],
  725. "id" => "4v68pukkbiq0",
  726. "addonName" => "seckill",
  727. "componentName" => "Seckill",
  728. "componentTitle" => "秒杀",
  729. "isDelete" => 0,
  730. "pageBgColor" => "",
  731. "componentBgColor" => "#FFFFFF",
  732. "componentAngle" => "round",
  733. "topAroundRadius" => 10,
  734. "bottomAroundRadius" => 10,
  735. "elementBgColor" => "",
  736. "elementAngle" => "round",
  737. "topElementAroundRadius" => 0,
  738. "bottomElementAroundRadius" => 0,
  739. "margin" => [
  740. "top" => 6,
  741. "bottom" => 6,
  742. "both" => 12
  743. ],
  744. "progressStyle" => [
  745. "control" => false,
  746. "support" => false,
  747. "currColor" => "#FDBE6C",
  748. "bgColor" => "#FCECD7"
  749. ],
  750. "titleStyle" => [
  751. "backgroundImage" => "addon/seckill/component/view/seckill/img/style_title_3_bg.png",
  752. "isShow" => true,
  753. "leftStyle" => "img",
  754. "leftImg" => "addon/seckill/component/view/seckill/img/style_title_3_name.png",
  755. "style" => "style-3",
  756. "styleName" => "风格3",
  757. "leftText" => "",
  758. "fontSize" => 16,
  759. "fontWeight" => true,
  760. "textColor" => "#FFFFFF",
  761. "bgColorStart" => "#FA6400",
  762. "bgColorEnd" => "#FF287A",
  763. "more" => "更多",
  764. "moreColor" => "#FFFFFF",
  765. "moreFontSize" => 12,
  766. "timeBgColor" => "",
  767. "timeImageUrl" => "",
  768. "moreSupport" => true,
  769. "colonColor" => "#FFFFFF",
  770. "numBgColorStart" => "#FFFFFF",
  771. "numBgColorEnd" => "#FFFFFF",
  772. "numTextColor" => "#FD3B54"
  773. ]
  774. ],
  775. [
  776. "style" => "style-2",
  777. "sources" => "initial",
  778. "ornament" => [
  779. "type" => "default",
  780. "color" => "#EDEDED"
  781. ],
  782. "count" => 6,
  783. "goodsId" => [],
  784. "categoryId" => 0,
  785. "categoryName" => "请选择",
  786. "sortWay" => "default",
  787. "nameLineMode" => "single",
  788. "imgAroundRadius" => 10,
  789. "theme" => "default",
  790. "goodsNameStyle" => [
  791. "color" => "#303133",
  792. "control" => true,
  793. "fontWeight" => false,
  794. "support" => true
  795. ],
  796. "saleStyle" => [
  797. "color" => "#999CA7",
  798. "control" => true,
  799. "support" => true
  800. ],
  801. "priceStyle" => [
  802. "mainColor" => "#FF1544",
  803. "mainControl" => true,
  804. "lineColor" => "#999CA7",
  805. "lineControl" => false,
  806. "lineSupport" => false
  807. ],
  808. "id" => "5oaajrk7e4c0",
  809. "addonName" => "",
  810. "componentName" => "GoodsRecommend",
  811. "componentTitle" => "商品推荐",
  812. "isDelete" => 0,
  813. "pageBgColor" => "",
  814. "componentBgColor" => "#1278FE",
  815. "componentAngle" => "round",
  816. "topAroundRadius" => 10,
  817. "bottomAroundRadius" => 10,
  818. "elementBgColor" => "#FFFFFF",
  819. "elementAngle" => "round",
  820. "topElementAroundRadius" => 0,
  821. "bottomElementAroundRadius" => 0,
  822. "margin" => [
  823. "top" => 6,
  824. "bottom" => 6,
  825. "both" => 12
  826. ],
  827. "topStyle" => [
  828. "title" => "今日推荐",
  829. "subTitle" => "大家都在买",
  830. "icon" => [
  831. "value" => "icondiy icon-system-tuijian",
  832. "color" => "#1278FE",
  833. "bgColor" => "#FFFFFF"
  834. ],
  835. "color" => "#FFFFFF",
  836. "subColor" => "#FFFFFF",
  837. "support" => true
  838. ],
  839. "bgUrl" => "app/component/view/goods_recommend/img/bg.png",
  840. "styleName" => "风格2",
  841. "labelStyle" => [
  842. "support" => false,
  843. "bgColor" => "#FF504D",
  844. "title" => "新人专享",
  845. "color" => "#FFFFFF"
  846. ]
  847. ],
  848. [
  849. "style" => "style-2",
  850. "sources" => "initial",
  851. "ornament" => [
  852. "type" => "default",
  853. "color" => "#EDEDED"
  854. ],
  855. "template" => "row1-of2",
  856. "goodsMarginType" => "default",
  857. "goodsMarginNum" => 10,
  858. "count" => 6,
  859. "goodsId" => [],
  860. "categoryId" => 0,
  861. "categoryName" => "请选择",
  862. "sortWay" => "default",
  863. "nameLineMode" => "single",
  864. "imgAroundRadius" => 0,
  865. "slideMode" => "scroll",
  866. "theme" => "default",
  867. "btnStyle" => [
  868. "fontWeight" => false,
  869. "padding" => 0,
  870. "cartEvent" => "cart",
  871. "text" => "购买",
  872. "textColor" => "#FFFFFF",
  873. "theme" => "default",
  874. "aroundRadius" => 25,
  875. "control" => true,
  876. "support" => true,
  877. "bgColor" => "#FF6A00",
  878. "style" => "button",
  879. "iconDiy" => [
  880. "iconType" => "icon",
  881. "icon" => "",
  882. "style" => [
  883. "fontSize" => "60",
  884. "iconBgColor" => [],
  885. "iconBgColorDeg" => 0,
  886. "iconBgImg" => "",
  887. "bgRadius" => 0,
  888. "iconColor" => [
  889. "#000000"
  890. ],
  891. "iconColorDeg" => 0
  892. ]
  893. ]
  894. ],
  895. "tag" => [
  896. "text" => "隐藏",
  897. "value" => "hidden"
  898. ],
  899. "goodsNameStyle" => [
  900. "color" => "#303133",
  901. "control" => true,
  902. "fontWeight" => false
  903. ],
  904. "saleStyle" => [
  905. "color" => "#999CA7",
  906. "control" => true,
  907. "support" => true
  908. ],
  909. "priceStyle" => [
  910. "mainColor" => "#FF6A00",
  911. "mainControl" => true,
  912. "lineColor" => "#999CA7",
  913. "lineControl" => true,
  914. "lineSupport" => true
  915. ],
  916. "id" => "1r8b2e84ro8w",
  917. "addonName" => "",
  918. "componentName" => "GoodsList",
  919. "componentTitle" => "商品列表",
  920. "isDelete" => 0,
  921. "pageBgColor" => "",
  922. "componentBgColor" => "",
  923. "componentAngle" => "round",
  924. "topAroundRadius" => 8,
  925. "bottomAroundRadius" => 8,
  926. "elementBgColor" => "#FFFFFF",
  927. "elementAngle" => "round",
  928. "topElementAroundRadius" => 8,
  929. "bottomElementAroundRadius" => 8,
  930. "margin" => [
  931. "top" => 6,
  932. "bottom" => 0,
  933. "both" => 12
  934. ]
  935. ]
  936. ]
  937. ]
  938. ]
  939. ]
  940. ];