diyview.json 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. [{
  2. "type": "SYSTEM",
  3. "type_name": "基础组件",
  4. "list": [{
  5. "id": 2,
  6. "name": "TEXT",
  7. "title": "文本",
  8. "type": "SYSTEM",
  9. "controller": "Text",
  10. "value": "{ title : \"『文本』\", textColor : \"#333333\", \"defaultTextColor\": \"#333333\", \"alignStyle\": \"center\", subTitle : \"副标题\", \"marginTop\": 0, \"padding\": 0, backgroundColor : \"\", \"link\" : {}, \"fontSize\" : 16, \"fontSizeSub\" : 14, \"colorSub\": \"#999\", \"defaultColorSub\": \"#999\", \"style\": 1, \"sub\": 0, \"styleName\": \"模板一\", \"isShowMore\": 0, \"fontWeight\": 600, \"moreText\": \"查看更多\", \"moreLink\" : {}, \"btnColor\": \"#999\", \"defaultBtnColor\": \"#999\" }",
  11. "addon_name": "",
  12. "support_diy_view": "",
  13. "max_count": 0,
  14. "is_delete": 0,
  15. "icon": "/static/images/diy/text.png",
  16. "icon_selected": "/static/images/diy/text_selected.png"
  17. }, {
  18. "id": 3,
  19. "name": "NOTICE",
  20. "title": "公告",
  21. "type": "SYSTEM",
  22. "controller": "Notice",
  23. "value": "{ \"sources\": \"default\",\"backgroundColor\": \"#fff9f4\", \"marginTop\": 0, \"style\": 1, \"isEdit\": 1, \"styleName\": \"风格一\", \"textColor\": \"#ff5344\", \"defaultTextColor\": \"#ff5344\", \"fontSize\": 14,\"leftImg\": \"/static/diycomponent/notice/img/notice.png\",\"list\": [{\"title\": \"公告\",\"link\": {}}], \"noticeIds\": []}",
  24. "addon_name": "",
  25. "support_diy_view": "",
  26. "max_count": 0,
  27. "is_delete": 0,
  28. "icon": "/static/images/diy/notice.png",
  29. "icon_selected": "/static/images/diy/notice_selected.png"
  30. },
  31. {
  32. "id": 4,
  33. "name": "GRAPHIC_NAV",
  34. "title": "图文导航",
  35. "type": "SYSTEM",
  36. "controller": "GraphicNav",
  37. "value": "{ \"textColor\": \"#666666\",\"defaultTextColor\": \"#666666\", \"navRadius\": \"fillet\", \"backgroundColor\": \"\",\"selectedTemplate\": \"imageNavigation\", \"showType\": 4, \"scrollSetting\": \"fixed\", padding : 20, \"marginTop\": 0, \"list\": [{\"imageUrl\": \"\",\"title\": \"\",\"link\": {}, \"imgWidth\": 0, \"imgHeight\": 0},{\"imageUrl\": \"\",\"title\": \"\",\"link\": {}, \"imgWidth\": 0, \"imgHeight\": 0},{\"imageUrl\": \"\",\"title\": \"\",\"link\": {}, \"imgWidth\": 0, \"imgHeight\": 0},{\"imageUrl\": \"\",\"title\": \"\",\"link\": {}, \"imgWidth\": 0, \"imgHeight\": 0}]}",
  38. "addon_name": "",
  39. "support_diy_view": "",
  40. "max_count": 0,
  41. "is_delete": 0,
  42. "icon": "/static/images/diy/graphic_nav.png",
  43. "icon_selected": "/static/images/diy/graphic_nav_selected.png"
  44. },
  45. {
  46. "id": 5,
  47. "name": "SEARCH",
  48. "title": "商品搜索",
  49. "type": "SYSTEM",
  50. "controller": "Search",
  51. "value": "{ title : \"搜索\", \"textColor\": \"#999999\", \"textAlign\" : \"left\", \"backgroundColor\" : \"#ffffff\", \"bgColor\": \"#e8e8e8\", \"defaultTextColor\": \"#999999\", \"borderType\": 2 ,searchType:1,searchImg:\"\",searchStyle:1}",
  52. "addon_name": "",
  53. "support_diy_view": "",
  54. "max_count": 1,
  55. "is_delete": 0,
  56. "icon": "/static/images/diy/search.png",
  57. "icon_selected": "/static/images/diy/search_selected.png"
  58. }, {
  59. "id": 6,
  60. "name": "HORZ_LINE",
  61. "title": "辅助线",
  62. "type": "SYSTEM",
  63. "controller": "HorzLine",
  64. "value": "{ \"color\" : \"#000000\", \"defaultColor\" : \"#000000\", \"margin\" : 0, \"borderStyle\": \"solid\", \"padding\": 0 }",
  65. "addon_name": "",
  66. "support_diy_view": "",
  67. "max_count": 0,
  68. "is_delete": 0,
  69. "icon": "/static/images/diy/horz_line.png",
  70. "icon_selected": "/static/images/diy/horz_line_selected.png"
  71. }, {
  72. "id": 7,
  73. "name": "HORZ_BLANK",
  74. "title": "辅助空白",
  75. "type": "SYSTEM",
  76. "controller": "HorzBlank",
  77. "value": "{ height : 10, backgroundColor : \"\", \"marginLeftRight\": 0 }",
  78. "addon_name": "",
  79. "support_diy_view": "",
  80. "max_count": 0,
  81. "is_delete": 0,
  82. "icon": "/static/images/diy/horz_blank.png",
  83. "icon_selected": "/static/images/diy/horz_blank_selected.png"
  84. }, {
  85. "id": 8,
  86. "name": "RICH_TEXT",
  87. "title": "富文本",
  88. "type": "SYSTEM",
  89. "controller": "RichText",
  90. "value": "{ \"backgroundColor\": \"\",\"padding\": 10,\"html\" : \"\", \"marginTop\": 0}",
  91. "addon_name": "",
  92. "support_diy_view": "",
  93. "max_count": 0,
  94. "is_delete": 0,
  95. "icon": "/static/images/diy/rich_text.png",
  96. "icon_selected": "/static/images/diy/rich_text_selected.png"
  97. }, {
  98. "id": 9,
  99. "name": "GOODS_LIST",
  100. "title": "商品列表",
  101. "type": "SYSTEM",
  102. "controller": "GoodsList",
  103. "value": "{ \"sources\" : \"default\", \"categoryId\" : 0, \"categoryName\": \"请选择\", \"goodsCount\" : \"6\", \"goodsId\": [], \"style\": 1, \"backgroundColor\": \"\", \"marginTop\": 0, \"paddingLeftRight\": 0, \"isShowCart\": 0, \"cartStyle\": 1, \"isShowGoodName\": 1, \"isShowMarketPrice\": 1, \"isShowGoodSaleNum\": 1, \"isShowGoodSubTitle\": 0, \"goodsTag\": \"default\", \"tagImg\": {\"imageUrl\": \"\"} }",
  104. "addon_name": "",
  105. "support_diy_view": "",
  106. "max_count": 0,
  107. "is_delete": 0,
  108. "icon": "/static/images/diy/goods_list.png",
  109. "icon_selected": "/static/images/diy/goods_list_selected.png"
  110. }, {
  111. "id": 10,
  112. "name": "RUBIK_CUBE",
  113. "title": "魔方",
  114. "type": "SYSTEM",
  115. "controller": "RubikCube",
  116. "value": "{ \"selectedTemplate\": \"row1-of2\",\"backgroundColor\": \"\",\"list\": [{ imageUrl : \"\", link : {} },{ imageUrl : \"\", link : {} }], \"selectedRubikCubeArray\" : [] ,\"diyHtml\": \"\",\"customRubikCube\": 4,\"heightArray\": [\"74.25px\",\"59px\",\"48.83px\",\"41.56px\"],\"imageGap\": 0}",
  117. "addon_name": "",
  118. "support_diy_view": "",
  119. "max_count": 0,
  120. "is_delete": 0,
  121. "icon": "/static/images/diy/rubik_cube.png",
  122. "icon_selected": "/static/images/diy/rubik_cube_selected.png"
  123. }, {
  124. "id": 11,
  125. "name": "COMMUNITY_SHOW",
  126. "title": "社区展示",
  127. "type": "SYSTEM",
  128. "controller": "CommunityShow",
  129. "value": "{\"style\":1,\"styleName\":\"风格一\",\"backgroundColor\":\"\",\"textColor\":\"#333333\",\"defaultTextColor\":\"#333333\"}",
  130. "addon_name": "",
  131. "support_diy_view": "",
  132. "max_count": 1,
  133. "is_delete": 0,
  134. "icon": "/static/images/diy/store_show.png",
  135. "icon_selected": "/static/images/diy/store_show_selected.png"
  136. }, {
  137. "id": 12,
  138. "name": "SLIDER",
  139. "title": "幻灯片",
  140. "type": "SYSTEM",
  141. "controller": "Slider",
  142. "value": "{ \"textColor\": \"#ff5344\",\"defaultTextColor\": \"#ff5344\", \"sliderRadius\": \"fillet\", \"backgroundColor\": \"\",\"selectedTemplate\": \"imageNavigation\", padding : 20, \"marginTop\": 0, \"list\": [{\"imageUrl\": \"\",\"title\": \"\",\"link\": {}, \"imgWidth\": 0, \"imgHeight\": 0}]}",
  143. "addon_name": "",
  144. "support_diy_view": "",
  145. "max_count": 1,
  146. "is_delete": 0,
  147. "icon": "/static/images/diy/slider.png",
  148. "icon_selected": "/static/images/diy/slider_selected.png"
  149. }, {
  150. "id": 16,
  151. "name": "FLOAT_BTN",
  152. "title": "浮动按钮",
  153. "type": "SYSTEM",
  154. "controller": "FloatBtn",
  155. "value": "{ \"textColor\": \"#ffffff\", \"backgroundColor\": \"\",baseBtnBottom:0,\"btnBottom\":\"0\",\"bottomPosition\": \"4\", subTitle : \"\", \"list\": [{\"imageUrl\": \"\",\"title\": \"\",\"link\": {}, linktype:\"link\"}]}",
  156. "addon_name": "",
  157. "support_diy_view": "",
  158. "max_count": 1,
  159. "is_delete": 0,
  160. "icon": "/static/images/diy/float_btn.png",
  161. "icon_selected": "/static/images/diy/float_btn_selected.png"
  162. }, {
  163. "id": 17,
  164. "name": "VIDEO",
  165. "title": "视频",
  166. "type": "SYSTEM",
  167. "controller": "Video",
  168. "value": "{ \"textColor\": \"#ff5344\",\"defaultTextColor\": \"#ff5344\", \"sliderRadius\": \"fillet\", \"backgroundColor\": \"\",\"selectedTemplate\": \"imageNavigation\", padding : 20, \"marginTop\": 0, \"list\": [{\"videoUrl\": \"\",\"title\": \"\",\"link\": {}, \"videoWidth\": 0, \"videoHeight\": 0}]}",
  169. "addon_name": "",
  170. "support_diy_view": "",
  171. "max_count": 1,
  172. "is_delete": 0,
  173. "icon": "/static/images/diy/video.png",
  174. "icon_selected": "/static/images/diy/video_selected.png"
  175. }, {
  176. "id": 20,
  177. "name": "MANY_GOODS_LIST",
  178. "title": "多商品",
  179. "type": "SYSTEM",
  180. "controller": "ManyGoodsList",
  181. "value": "{\"title\": \"商品组1\",\"selectColor\": \"#FF4544\",\"nsSelectColor\": \"#303133\",\"list\": [{\"goodsStyle\": 1,\"title\": \"特价\",\"desc\": \"精选好货\",\"link\": {},\"sources\": \"category\", \"categoryId\": 0,\"categoryName\": \"请选择\",\"goodsId\": []}],\"goodsCount\": \"6\",\"style\": 1,\"backgroundColor\": \"\",\"marginTop\": 0}",
  182. "addon_name": "",
  183. "support_diy_view": "",
  184. "max_count": 1,
  185. "is_delete": 0,
  186. "icon": "/static/images/diy/many_goods.png",
  187. "icon_selected": "/static/images/diy/many_goods_selected.png"
  188. }, {
  189. "id": 21,
  190. "name": "SINGLE_IMG",
  191. "title": "单图组",
  192. "type": "SYSTEM",
  193. "controller": "SingleImg",
  194. "value": "{ \"topRadius\": 12,\"bottomRadius\": 12, \"imageGap\": 0, \"backgroundColor\": \"\", paddingLeftRight : 0, \"marginTop\": 0, \"list\": [{\"imageUrl\": \"\",\"title\": \"\",\"link\": {}, \"imgWidth\": 0, \"imgHeight\": 0}]}",
  195. "addon_name": "singleimg",
  196. "support_diy_view": "",
  197. "max_count": 0,
  198. "is_delete": 0,
  199. "icon": "/static/images/diy/single_img.png",
  200. "icon_selected": "/static/images/diy/single_img_selected.png"
  201. }
  202. ]
  203. }, {
  204. "type": "ADDON",
  205. "type_name": "营销插件",
  206. "list": [{
  207. "id": 13,
  208. "name": "COUPON",
  209. "title": "优惠券",
  210. "type": "ADDON",
  211. "controller": "Coupon",
  212. "value": "{ \"sources\": \"default\" ,\"style\": 1, \"couponCount\" : \"6\", \"styleName\": \"风格一\", \"backgroundColor\": \"\", \"marginTop\": 0, \"status\": 1, \"couponIds\": [] }",
  213. "addon_name": "coupon",
  214. "support_diy_view": "",
  215. "max_count": 1,
  216. "is_delete": 0,
  217. "icon": "/static/images/diy/coupon.png",
  218. "icon_selected": "/static/images/diy/coupon_selected.png"
  219. },
  220. {
  221. "id": 14,
  222. "name": "PINTUAN_LIST",
  223. "title": "拼团",
  224. "type": "ADDON",
  225. "controller": "Pintuan",
  226. "value": "{\"sources\": \"default\",\"categoryId\": 0,\"goodsCount\": \"6\",\"goodsId\": [],\"style\": 1,\"changeType\": 1,\"styleName\": \"风格一\",\"backgroundColor\": \"\",\"bgSelect\": \"blue\",\"marginTop\": 0,\"list\": [{\"style\": 1,\"imageUrl\": \"\",\"title\": \"拼团专区\"}, {\"style\": 2,\"imageUrl\": \"/static/diycomponent/pintuan/img/pintuan_style2_title.png\"}, {\"style\": 3,\"imageUrl\": \"/static/diycomponent/pintuan/img/pintuan_style3_title.png\"},{\"style\": 4,\"imageUrl\": \"/static/diycomponent/pintuan/img/pintuan_style4_title.png\",\"title\": \"拼团专区\"}],\"listMore\": {\"imageUrl\": \"\",\"title\": \"好友都在拼\"},\"titleTextColor\": \"#000\",\"defaultTitleTextColor\": \"#000\",\"moreTextColor\": \"#858585\",\"defaultMoreTextColor\": \"#858585\"}",
  227. "addon_name": "pintuan",
  228. "support_diy_view": "",
  229. "max_count": 1,
  230. "is_delete": 0,
  231. "icon": "/static/images/diy/pintuan.png",
  232. "icon_selected": "/static/images/diy/pintuan_selected.png"
  233. },
  234. {
  235. "id": 15,
  236. "name": "SECKILL_LIST",
  237. "title": "秒杀",
  238. "type": "ADDON",
  239. "controller": "Seckill",
  240. "value": "{style: 1, \"backgroundColor\": \"#ea404b\", \"marginTop\": 0, \"goodsCount\" : \"6\", \"styleName\": \"风格一\", \"changeType\": 1, \"bgSelect\": \"red\", \"paddingLeftRight\": 0, \"isShowGoodsName\": 1, \"isShowGoodsDesc\": 0, \"isShowGoodsPrice\": 1, \"isShowGoodsPrimary\": 1, \"isShowGoodsStock\": 0, \"list\": [{style: 1, \"imageUrl\": \"/static/diycomponent/seckill/img/seckill_style1_title.png\", \"title\": \"秒杀专区\"}, {style: 2, \"imageUrl\": \"/static/diycomponent/seckill/img/seckill_style2_title.png\"}, {style: 3, \"imageUrl\": \"/static/diycomponent/seckill/img/seckill_style3_title.png\"}], \"listMore\": {\"imageUrl\": \"\",\"title\": \"更多秒杀\"}, \"titleTextColor\": \"#fff\", \"defaultTitleTextColor\": \"#fff\", \"moreTextColor\": \"#858585\", \"defaultMoreTextColor\": \"#858585\"}",
  241. "addon_name": "seckill",
  242. "support_diy_view": "",
  243. "max_count": 1,
  244. "is_delete": 0,
  245. "icon": "/static/images/diy/seckill.png",
  246. "icon_selected": "/static/images/diy/seckill_selected.png"
  247. },
  248. {
  249. "id": 18,
  250. "name": "NEW_COME",
  251. "title": "新人专享",
  252. "type": "ADDON",
  253. "controller": "Newcome",
  254. "value": "{style: 1, \"backgroundColor\": \"#ea404b\", \"marginTop\": 0, \"goodsCount\" : \"6\", \"styleName\": \"风格一\", \"changeType\": 1, \"bgSelect\": \"red\", \"paddingLeftRight\": 0, \"isShowGoodsName\": 1, \"isShowGoodsDesc\": 0, \"isShowGoodsPrice\": 1, \"isShowGoodsPrimary\": 1, \"isShowGoodsStock\": 0, \"list\": [{style: 1, \"imageUrl\": \"/static/diycomponent/new_come/img/newcome_style1_title.png\", \"title\": \"新人专享\"}, {style: 2, \"imageUrl\": \"/static/diycomponent/new_come/img/newcome_style2_title.png\"}, {style: 3, \"imageUrl\": \"/static/diycomponent/new_come/img/newcome_style3_title.png\"}], \"listMore\": {\"imageUrl\": \"\",\"title\": \"更多\"}, \"titleTextColor\": \"#fff\", \"defaultTitleTextColor\": \"#fff\", \"moreTextColor\": \"#858585\", \"defaultMoreTextColor\": \"#858585\"}",
  255. "addon_name": "newcome",
  256. "support_diy_view": "",
  257. "max_count": 1,
  258. "is_delete": 0,
  259. "icon": "/static/images/diy/new_come.png",
  260. "icon_selected": "/static/images/diy/new_come_selected.png"
  261. },
  262. {
  263. "id": 19,
  264. "name": "SPECIAL_LIST",
  265. "title": "专题",
  266. "type": "ADDON",
  267. "controller": "Special",
  268. "value": "{\"sources\": \"default\",\"specialName\": \"\",\"goodsCount\": \"6\",\"specialId\": [],\"style\": 1,\"changeType\": 1,\"styleName\": \"风格一\",\"backgroundColor\": \"\",\"bgSelect\": \"blue\",\"marginTop\": 0,\"list\": [{\"style\": 1,\"imageUrl\": \"/static/images/diy/crack_figure.png\",\"title\": \"专题频道\"}, {\"style\": 2,\"imageUrl\": \"/static/diycomponent/special/img/special_style2_title.png\"}, {\"style\": 3,\"imageUrl\": \"/static/diycomponent/special/img/special_style3_title.png\"},{\"style\": 4,\"imageUrl\": \"/static/diycomponent/special/img/special_style4_title.png\",\"title\": \"专题频道\"}],\"listMore\": {\"imageUrl\": \"\",\"title\": \"专题频道\"},\"titleTextColor\": \"#000\",\"defaultTitleTextColor\": \"#000\",\"moreTextColor\": \"#858585\",\"defaultMoreTextColor\": \"#858585\"}",
  269. "addon_name": "special",
  270. "support_diy_view": "",
  271. "max_count": 0,
  272. "is_delete": 0,
  273. "icon": "/static/images/diy/special.png",
  274. "icon_selected": "/static/images/diy/special_selected.png"
  275. }
  276. ]
  277. }]