@fonixtree/magic-design 0.1.77 → 0.1.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (523) hide show
  1. package/es/assets/fonts/Trueno-Light.otf +0 -0
  2. package/es/assets/fonts/Trueno-Regular.otf +0 -0
  3. package/es/assets/fonts/TruenoBd.otf +0 -0
  4. package/es/assets/fonts/magic-box-iconfont.css +51 -3
  5. package/es/assets/fonts/magic-box-iconfont.css.bak +51 -3
  6. package/es/assets/fonts/magic-box-iconfont.js +1 -1
  7. package/es/assets/fonts/magic-box-iconfont.js.bak +1 -1
  8. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  9. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  10. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  11. package/es/assets/images/base64/index.js +36 -2
  12. package/es/assets/images/layout-icon/imageTextLeft.svg +6 -0
  13. package/es/assets/images/layout-icon/imageTextRight.svg +6 -0
  14. package/es/assets/images/layout-icon/locationLayout.png +0 -0
  15. package/es/assets/images/layout-icon/walletLayout2.png +0 -0
  16. package/es/assets/images/layout-icon/walletNuriLayout1.png +0 -0
  17. package/es/assets/less/cylon-antd.less +7246 -1686
  18. package/es/assets/less/font.less +22 -0
  19. package/es/assets/less/modal.less +1 -1
  20. package/es/common/AffiliateProductModal/index.js +582 -0
  21. package/es/common/AffiliateProductModal/index.less +146 -0
  22. package/es/common/CardCarousel/index.js +171 -0
  23. package/es/common/CardCarousel/index.less +28 -0
  24. package/es/common/ColorPicker/index.js +4 -1
  25. package/es/common/Field/index.js +20 -3
  26. package/es/common/GroupList/index.less +3 -0
  27. package/es/common/ImageLazy/index.js +172 -0
  28. package/es/common/ImageLazy/index.less +0 -0
  29. package/es/common/ImagePicker/index.js +50 -7
  30. package/es/common/ImagePicker/index.less +1 -0
  31. package/es/common/LinkModal/BundleCampaign/index.js +2 -2
  32. package/es/common/LinkModal/CatgTable/index.js +1 -1
  33. package/es/common/LinkModal/CouponTable/index.js +10 -2
  34. package/es/common/LinkModal/FilteredProductModal/index.js +13 -10
  35. package/es/common/LinkModal/FilteredProductModal/index.less +1 -1
  36. package/es/common/LinkModal/FunctionTable/index.js +2 -1
  37. package/es/common/LinkModal/ProductDetailPage/index.js +3 -3
  38. package/es/common/LinkModal/index.js +15 -3
  39. package/es/common/MyModal/index.js +417 -0
  40. package/es/common/MyModal/index.less +74 -0
  41. package/es/common/ProductModal/index.js +27 -35
  42. package/es/common/ProductSource/index.js +42 -10
  43. package/es/common/UrlPicker/index.js +3 -1
  44. package/es/common/Video/index.js +11 -3
  45. package/es/common/Video/index.less +11 -7
  46. package/es/common/index.js +16 -0
  47. package/es/composite-comp/bol/components/Banner/mobile/index.js +9 -0
  48. package/es/composite-comp/bol/components/Carousel/index.js +27 -3
  49. package/es/composite-comp/bol/components/Carousel/mobile/index.js +11 -20
  50. package/es/composite-comp/bol/components/Carousel/pc/index.js +4 -2
  51. package/es/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
  52. package/es/composite-comp/bol/components/CustomCode/index.js +138 -0
  53. package/es/composite-comp/bol/components/ImageText/pc/index.js +97 -5
  54. package/es/composite-comp/bol/components/ImageText/pc/index.less +32 -0
  55. package/es/composite-comp/bol/components/Location/defaultJSON.js +60 -0
  56. package/es/composite-comp/bol/components/Location/index.js +100 -0
  57. package/es/composite-comp/bol/components/Location/index.less +15 -0
  58. package/es/composite-comp/bol/components/Video/defaultJSON.js +24 -0
  59. package/es/composite-comp/bol/components/Video/index.js +1 -2
  60. package/es/composite-comp/bol/components/Wallet/defaultJSON.js +112 -88
  61. package/es/composite-comp/bol/components/Wallet/index.js +11 -15
  62. package/es/composite-comp/bol/components/Wallet/mobile/index.js +314 -64
  63. package/es/composite-comp/bol/components/Wallet/mobile/index.less +89 -13
  64. package/es/composite-comp/bol/components/WalletNuri/defaultJSON.js +148 -0
  65. package/es/composite-comp/bol/components/WalletNuri/index.js +84 -0
  66. package/es/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
  67. package/es/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
  68. package/es/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
  69. package/es/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
  70. package/es/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
  71. package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
  72. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +1 -6
  73. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
  74. package/es/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
  75. package/es/composite-comp/bol/config-panels/WalletConfig/index.js +11 -2
  76. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  77. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
  78. package/es/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
  79. package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
  80. package/es/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  81. package/es/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  82. package/es/composite-comp/bol/config-panels/WalletNuriConfig/index.js +61 -0
  83. package/es/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +182 -2
  84. package/es/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +114 -2
  85. package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +121 -8
  86. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +53 -2
  87. package/es/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
  88. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +58 -82
  89. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +2 -0
  90. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
  91. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
  92. package/es/composite-comp/common/components/AffiliateProductItem/index.js +177 -0
  93. package/es/composite-comp/common/components/AffiliateProductItem/index.less +129 -0
  94. package/es/composite-comp/common/components/ImageLabel/index.less +9 -3
  95. package/es/composite-comp/common/components/ProductItem/index.js +32 -20
  96. package/es/composite-comp/common/components/ProductItem/index.less +43 -19
  97. package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +13 -0
  98. package/es/composite-comp/common/config-panels/CustomizeConfig/index.less +3 -2
  99. package/es/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
  100. package/es/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
  101. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +660 -0
  102. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +84 -0
  103. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.js +728 -0
  104. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
  105. package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +8 -6
  106. package/es/composite-comp/dito/components/FlashDeal/pc/index.js +8 -6
  107. package/es/composite-comp/dito/components/HeadNavigation/defaultJSON.js +97 -0
  108. package/es/composite-comp/dito/components/HeadNavigation/index.js +84 -0
  109. package/es/composite-comp/dito/components/HeadNavigation/mobile/index.js +112 -0
  110. package/es/composite-comp/dito/components/HeadNavigation/mobile/index.less +34 -0
  111. package/es/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +206 -0
  112. package/es/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +25 -0
  113. package/es/composite-comp/dito/components/MenuNavigation/defaultJSON.js +107 -0
  114. package/es/composite-comp/dito/components/MenuNavigation/index.js +84 -0
  115. package/es/composite-comp/dito/components/MenuNavigation/mobile/index.js +87 -0
  116. package/es/composite-comp/dito/components/MenuNavigation/mobile/index.less +8 -0
  117. package/es/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
  118. package/es/composite-comp/dito/components/Recommend/mobile/index.js +26 -12
  119. package/es/composite-comp/dito/components/Recommend/pc/index.js +14 -12
  120. package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +8 -0
  121. package/es/composite-comp/dito/components/SearchBar/mobile/index.js +67 -7
  122. package/es/composite-comp/dito/components/SearchBar/pc/index.js +2 -2
  123. package/es/composite-comp/dito/components/SignBoard/defaultJSON.js +41 -37
  124. package/es/composite-comp/dito/components/SignBoard/mobile/index.js +46 -37
  125. package/es/composite-comp/dito/components/SignBoard/mobile/index.less +0 -14
  126. package/es/composite-comp/dito/components/SignBoard/pc/index.js +8 -11
  127. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
  128. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  129. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
  130. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
  131. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  132. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
  133. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +203 -0
  134. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +72 -0
  135. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +142 -0
  136. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +123 -0
  137. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +23 -0
  138. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +203 -0
  139. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +72 -0
  140. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +137 -0
  141. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +6 -0
  142. package/es/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +40 -0
  143. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +15 -11
  144. package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +39 -9
  145. package/es/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +9 -47
  146. package/es/composite-comp/dito/config-panels/SignBoardConfig/index.js +9 -2
  147. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
  148. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
  149. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
  150. package/es/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +127 -0
  151. package/es/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +127 -0
  152. package/es/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +68 -1
  153. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +4 -4
  154. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +14 -2
  155. package/es/constants/component-types.js +35 -3
  156. package/es/constants/index.js +36 -2
  157. package/es/constants/layout.js +68 -1
  158. package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +6 -6
  159. package/es/core/Designer/AiImageGenerator/History/index.js +147 -0
  160. package/es/core/Designer/AiImageGenerator/History/index.less +75 -0
  161. package/es/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
  162. package/es/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
  163. package/es/core/Designer/AiImageGenerator/UploadReference/index.js +18 -8
  164. package/es/core/Designer/AiImageGenerator/UploadReference/index.less +6 -0
  165. package/es/core/Designer/AiImageGenerator/index.js +364 -63
  166. package/es/core/Designer/AiImageGenerator/index.less +70 -46
  167. package/es/core/Designer/ChatRobot/components/SearchCondition/index.js +110 -0
  168. package/es/core/Designer/ChatRobot/components/SearchCondition/index.less +33 -0
  169. package/es/core/Designer/ChatRobot/index.js +84 -25
  170. package/es/core/Designer/ChatRobot/index.less +80 -28
  171. package/es/core/Designer/ConfigPanel/index.js +10 -4
  172. package/es/core/Designer/FonixtreeGpt/index.js +32 -171
  173. package/es/core/Designer/History/index.js +2 -2
  174. package/es/core/Designer/LeftTitle/index.js +1 -1
  175. package/es/core/Designer/PageCompList/index.js +8 -5
  176. package/es/core/Designer/QuickMenuBar/index.js +5 -3
  177. package/es/core/Designer/QuickMenuBar/index.less +4 -0
  178. package/es/core/Designer/RenderHtml/index.js +18 -15
  179. package/es/core/Designer/RenderHtml/index.less +1 -1
  180. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
  181. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
  182. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +40 -0
  183. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +40 -0
  184. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +40 -0
  185. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
  186. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
  187. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
  188. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
  189. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
  190. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
  191. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
  192. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +117 -0
  193. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +10 -0
  194. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +77 -0
  195. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +27 -0
  196. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +136 -0
  197. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +27 -0
  198. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
  199. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
  200. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
  201. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
  202. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
  203. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
  204. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
  205. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
  206. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
  207. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
  208. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
  209. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
  210. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +126 -0
  211. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +10 -0
  212. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +40 -0
  213. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +40 -0
  214. package/es/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +40 -0
  215. package/es/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
  216. package/es/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
  217. package/es/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
  218. package/es/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
  219. package/es/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
  220. package/es/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
  221. package/es/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
  222. package/es/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
  223. package/es/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
  224. package/es/core/Designer/ToolBarModal/ToolBtn/index.js +176 -0
  225. package/es/core/Designer/ToolBarModal/ToolBtn/index.less +26 -0
  226. package/es/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
  227. package/es/core/Designer/ToolBarModal/index.js +412 -0
  228. package/es/core/Designer/ToolBarModal/index.less +33 -0
  229. package/es/core/Designer/index.js +45 -11
  230. package/es/core/Renderer/index.js +75 -29
  231. package/es/decorator/compositeDecorator.js +23 -0
  232. package/es/decorator/index.js +38 -1
  233. package/es/decorator/lazyLoadDecorator.js +75 -0
  234. package/es/locale/en/en.json +12 -2
  235. package/es/locale/es/es.json +12 -2
  236. package/es/locale/id/id.json +12 -2
  237. package/es/meta-comp/components/Button/index.js +7 -0
  238. package/es/meta-comp/components/Image/index.js +48 -26
  239. package/es/meta-comp/components/Text/formats/fontFamily.js +58 -0
  240. package/es/meta-comp/components/Text/formats/fontStyle.js +58 -0
  241. package/es/meta-comp/components/Text/formats/fontWeight.js +58 -0
  242. package/es/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
  243. package/es/meta-comp/components/Text/formats/textAlign.js +58 -0
  244. package/es/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
  245. package/es/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
  246. package/es/meta-comp/components/Text/index.js +123 -366
  247. package/es/meta-comp/components/Text/index.less +65 -0
  248. package/es/meta-comp/config-panels/ButtonConfig/index.js +30 -28
  249. package/es/meta-comp/config-panels/ImageConfig/index.js +50 -44
  250. package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
  251. package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
  252. package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
  253. package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
  254. package/es/meta-comp/config-panels/TextConfig/index.js +9 -30
  255. package/es/meta-comp/config-panels/TextConfig/index.less +12 -16
  256. package/es/mobx/Frame.js +22 -1
  257. package/es/utils/androidUtil.js +6 -0
  258. package/es/utils/businessUtil.js +17 -6
  259. package/es/utils/commonUtil.js +87 -9
  260. package/es/utils/coreUtil.js +15 -0
  261. package/es/utils/currencyUtil.js +37 -11
  262. package/lib/assets/fonts/Trueno-Light.otf +0 -0
  263. package/lib/assets/fonts/Trueno-Regular.otf +0 -0
  264. package/lib/assets/fonts/TruenoBd.otf +0 -0
  265. package/lib/assets/fonts/magic-box-iconfont.css +51 -3
  266. package/lib/assets/fonts/magic-box-iconfont.css.bak +51 -3
  267. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  268. package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
  269. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  270. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  271. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  272. package/lib/assets/images/base64/index.js +36 -2
  273. package/lib/assets/images/layout-icon/imageTextLeft.svg +6 -0
  274. package/lib/assets/images/layout-icon/imageTextRight.svg +6 -0
  275. package/lib/assets/images/layout-icon/locationLayout.png +0 -0
  276. package/lib/assets/images/layout-icon/walletLayout2.png +0 -0
  277. package/lib/assets/images/layout-icon/walletNuriLayout1.png +0 -0
  278. package/lib/assets/less/cylon-antd.less +7246 -1686
  279. package/lib/assets/less/font.less +22 -0
  280. package/lib/assets/less/modal.less +1 -1
  281. package/lib/common/AffiliateProductModal/index.js +582 -0
  282. package/lib/common/AffiliateProductModal/index.less +146 -0
  283. package/lib/common/CardCarousel/index.js +171 -0
  284. package/lib/common/CardCarousel/index.less +28 -0
  285. package/lib/common/ColorPicker/index.js +4 -1
  286. package/lib/common/Field/index.js +20 -3
  287. package/lib/common/GroupList/index.less +3 -0
  288. package/lib/common/ImageLazy/index.js +172 -0
  289. package/lib/common/ImageLazy/index.less +0 -0
  290. package/lib/common/ImagePicker/index.js +50 -7
  291. package/lib/common/ImagePicker/index.less +1 -0
  292. package/lib/common/LinkModal/BundleCampaign/index.js +2 -2
  293. package/lib/common/LinkModal/CatgTable/index.js +1 -1
  294. package/lib/common/LinkModal/CouponTable/index.js +10 -2
  295. package/lib/common/LinkModal/FilteredProductModal/index.js +13 -10
  296. package/lib/common/LinkModal/FilteredProductModal/index.less +1 -1
  297. package/lib/common/LinkModal/FunctionTable/index.js +2 -1
  298. package/lib/common/LinkModal/ProductDetailPage/index.js +3 -3
  299. package/lib/common/LinkModal/index.js +15 -3
  300. package/lib/common/MyModal/index.js +417 -0
  301. package/lib/common/MyModal/index.less +74 -0
  302. package/lib/common/ProductModal/index.js +27 -35
  303. package/lib/common/ProductSource/index.js +42 -10
  304. package/lib/common/UrlPicker/index.js +3 -1
  305. package/lib/common/Video/index.js +11 -3
  306. package/lib/common/Video/index.less +11 -7
  307. package/lib/common/index.js +16 -0
  308. package/lib/composite-comp/bol/components/Banner/mobile/index.js +9 -0
  309. package/lib/composite-comp/bol/components/Carousel/index.js +27 -3
  310. package/lib/composite-comp/bol/components/Carousel/mobile/index.js +11 -20
  311. package/lib/composite-comp/bol/components/Carousel/pc/index.js +4 -2
  312. package/lib/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
  313. package/lib/composite-comp/bol/components/CustomCode/index.js +138 -0
  314. package/lib/composite-comp/bol/components/ImageText/pc/index.js +97 -5
  315. package/lib/composite-comp/bol/components/ImageText/pc/index.less +32 -0
  316. package/lib/composite-comp/bol/components/Location/defaultJSON.js +60 -0
  317. package/lib/composite-comp/bol/components/Location/index.js +100 -0
  318. package/lib/composite-comp/bol/components/Location/index.less +15 -0
  319. package/lib/composite-comp/bol/components/Video/defaultJSON.js +24 -0
  320. package/lib/composite-comp/bol/components/Video/index.js +1 -2
  321. package/lib/composite-comp/bol/components/Wallet/defaultJSON.js +112 -88
  322. package/lib/composite-comp/bol/components/Wallet/index.js +11 -15
  323. package/lib/composite-comp/bol/components/Wallet/mobile/index.js +314 -64
  324. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +89 -13
  325. package/lib/composite-comp/bol/components/WalletNuri/defaultJSON.js +148 -0
  326. package/lib/composite-comp/bol/components/WalletNuri/index.js +84 -0
  327. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.js +366 -0
  328. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +22 -0
  329. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
  330. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
  331. package/lib/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
  332. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
  333. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigImageGroup/index.js +1 -6
  334. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.js +201 -0
  335. package/lib/composite-comp/bol/config-panels/WalletConfig/WalletConfigSetting/index.less +9 -0
  336. package/lib/composite-comp/bol/config-panels/WalletConfig/index.js +11 -2
  337. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/defaultImg.png +0 -0
  338. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.js +100 -0
  339. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/GroupList/index.less +72 -0
  340. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.js +123 -0
  341. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/WalletNuriConfigImageGroup/index.less +0 -0
  342. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/imgs/defaultImg.png +0 -0
  343. package/lib/composite-comp/bol/config-panels/WalletNuriConfig/index.js +61 -0
  344. package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +182 -2
  345. package/lib/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +114 -2
  346. package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +121 -8
  347. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +53 -2
  348. package/lib/composite-comp/bol/second-config-panels/WalletNuriSecondConfig/index.js +152 -0
  349. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +58 -82
  350. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.less +2 -0
  351. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
  352. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
  353. package/lib/composite-comp/common/components/AffiliateProductItem/index.js +177 -0
  354. package/lib/composite-comp/common/components/AffiliateProductItem/index.less +129 -0
  355. package/lib/composite-comp/common/components/ImageLabel/index.less +9 -3
  356. package/lib/composite-comp/common/components/ProductItem/index.js +32 -20
  357. package/lib/composite-comp/common/components/ProductItem/index.less +43 -19
  358. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +13 -0
  359. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +3 -2
  360. package/lib/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
  361. package/lib/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
  362. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +660 -0
  363. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +84 -0
  364. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.js +728 -0
  365. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
  366. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +8 -6
  367. package/lib/composite-comp/dito/components/FlashDeal/pc/index.js +8 -6
  368. package/lib/composite-comp/dito/components/HeadNavigation/defaultJSON.js +97 -0
  369. package/lib/composite-comp/dito/components/HeadNavigation/index.js +84 -0
  370. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.js +112 -0
  371. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.less +34 -0
  372. package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.js +206 -0
  373. package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +25 -0
  374. package/lib/composite-comp/dito/components/MenuNavigation/defaultJSON.js +107 -0
  375. package/lib/composite-comp/dito/components/MenuNavigation/index.js +84 -0
  376. package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.js +87 -0
  377. package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.less +8 -0
  378. package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
  379. package/lib/composite-comp/dito/components/Recommend/mobile/index.js +26 -12
  380. package/lib/composite-comp/dito/components/Recommend/pc/index.js +14 -12
  381. package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +8 -0
  382. package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +67 -7
  383. package/lib/composite-comp/dito/components/SearchBar/pc/index.js +2 -2
  384. package/lib/composite-comp/dito/components/SignBoard/defaultJSON.js +41 -37
  385. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +46 -37
  386. package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +0 -14
  387. package/lib/composite-comp/dito/components/SignBoard/pc/index.js +8 -11
  388. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
  389. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  390. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +148 -0
  391. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
  392. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  393. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
  394. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.js +203 -0
  395. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/GroupList/index.less +72 -0
  396. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/HeadNavConfigImageGroup/index.js +142 -0
  397. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +123 -0
  398. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.less +23 -0
  399. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.js +203 -0
  400. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/GroupList/index.less +72 -0
  401. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.js +137 -0
  402. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/MenuNavConfigImageGroup/index.less +6 -0
  403. package/lib/composite-comp/dito/config-panels/MenuNavigationConfig/index.js +40 -0
  404. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +15 -11
  405. package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +39 -9
  406. package/lib/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +9 -47
  407. package/lib/composite-comp/dito/config-panels/SignBoardConfig/index.js +9 -2
  408. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
  409. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
  410. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
  411. package/lib/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +127 -0
  412. package/lib/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +127 -0
  413. package/lib/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +68 -1
  414. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +4 -4
  415. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +14 -2
  416. package/lib/constants/component-types.js +35 -3
  417. package/lib/constants/index.js +36 -2
  418. package/lib/constants/layout.js +68 -1
  419. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +6 -6
  420. package/lib/core/Designer/AiImageGenerator/History/index.js +147 -0
  421. package/lib/core/Designer/AiImageGenerator/History/index.less +75 -0
  422. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
  423. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
  424. package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +18 -8
  425. package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +6 -0
  426. package/lib/core/Designer/AiImageGenerator/index.js +364 -63
  427. package/lib/core/Designer/AiImageGenerator/index.less +70 -46
  428. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.js +110 -0
  429. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.less +33 -0
  430. package/lib/core/Designer/ChatRobot/index.js +84 -25
  431. package/lib/core/Designer/ChatRobot/index.less +80 -28
  432. package/lib/core/Designer/ConfigPanel/index.js +10 -4
  433. package/lib/core/Designer/FonixtreeGpt/index.js +32 -171
  434. package/lib/core/Designer/History/index.js +2 -2
  435. package/lib/core/Designer/LeftTitle/index.js +1 -1
  436. package/lib/core/Designer/PageCompList/index.js +8 -5
  437. package/lib/core/Designer/QuickMenuBar/index.js +5 -3
  438. package/lib/core/Designer/QuickMenuBar/index.less +4 -0
  439. package/lib/core/Designer/RenderHtml/index.js +18 -15
  440. package/lib/core/Designer/RenderHtml/index.less +1 -1
  441. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
  442. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
  443. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +40 -0
  444. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +40 -0
  445. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +40 -0
  446. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
  447. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
  448. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
  449. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
  450. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
  451. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
  452. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
  453. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +117 -0
  454. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +10 -0
  455. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.js +77 -0
  456. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/UnderlineSelectPicker/index.less +27 -0
  457. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +136 -0
  458. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +27 -0
  459. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
  460. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
  461. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
  462. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
  463. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
  464. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
  465. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
  466. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
  467. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
  468. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
  469. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
  470. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
  471. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +126 -0
  472. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +10 -0
  473. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignCenterSVG.js +40 -0
  474. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignLeftSVG.js +40 -0
  475. package/lib/core/Designer/ToolBarModal/ToolBtn/images/AlignRightSVG.js +40 -0
  476. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
  477. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
  478. package/lib/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
  479. package/lib/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
  480. package/lib/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
  481. package/lib/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
  482. package/lib/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
  483. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
  484. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
  485. package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +176 -0
  486. package/lib/core/Designer/ToolBarModal/ToolBtn/index.less +26 -0
  487. package/lib/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
  488. package/lib/core/Designer/ToolBarModal/index.js +412 -0
  489. package/lib/core/Designer/ToolBarModal/index.less +33 -0
  490. package/lib/core/Designer/index.js +45 -11
  491. package/lib/core/Renderer/index.js +75 -29
  492. package/lib/decorator/compositeDecorator.js +23 -0
  493. package/lib/decorator/index.js +38 -1
  494. package/lib/decorator/lazyLoadDecorator.js +75 -0
  495. package/lib/locale/en/en.json +12 -2
  496. package/lib/locale/es/es.json +12 -2
  497. package/lib/locale/id/id.json +12 -2
  498. package/lib/meta-comp/components/Button/index.js +7 -0
  499. package/lib/meta-comp/components/Image/index.js +48 -26
  500. package/lib/meta-comp/components/Text/formats/fontFamily.js +58 -0
  501. package/lib/meta-comp/components/Text/formats/fontStyle.js +58 -0
  502. package/lib/meta-comp/components/Text/formats/fontWeight.js +58 -0
  503. package/lib/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
  504. package/lib/meta-comp/components/Text/formats/textAlign.js +58 -0
  505. package/lib/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
  506. package/lib/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
  507. package/lib/meta-comp/components/Text/index.js +123 -366
  508. package/lib/meta-comp/components/Text/index.less +65 -0
  509. package/lib/meta-comp/config-panels/ButtonConfig/index.js +30 -28
  510. package/lib/meta-comp/config-panels/ImageConfig/index.js +50 -44
  511. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
  512. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
  513. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
  514. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
  515. package/lib/meta-comp/config-panels/TextConfig/index.js +9 -30
  516. package/lib/meta-comp/config-panels/TextConfig/index.less +12 -16
  517. package/lib/mobx/Frame.js +22 -1
  518. package/lib/utils/androidUtil.js +6 -0
  519. package/lib/utils/businessUtil.js +17 -6
  520. package/lib/utils/commonUtil.js +87 -9
  521. package/lib/utils/coreUtil.js +15 -0
  522. package/lib/utils/currencyUtil.js +37 -11
  523. package/package.json +5 -2
@@ -11,7 +11,7 @@ require("./index.less");
11
11
 
12
12
  var _classnames = _interopRequireDefault(require("classnames"));
13
13
 
14
- var _lodash = require("lodash");
14
+ var _debounce = _interopRequireDefault(require("lodash/debounce"));
15
15
 
16
16
  var _AlignSelector = require("../../../../../common/AlignSelector");
17
17
 
@@ -111,12 +111,24 @@ function (_super) {
111
111
  _this.getCardStyle = function (source, i) {
112
112
  var data = _this.props.data;
113
113
  var cardStyle = {
114
- width: _this.calcWidth(data.customize.pcRowNum),
115
- marginRight: (1 + i) % data.customize.pcRowNum !== 0 ? '2%' : 0,
116
114
  alignItems: _AlignSelector.alignItemMap[data.customize.align],
117
115
  textAlign: data.customize.align
118
116
  };
117
+
118
+ if (data.customize.layout.pcLayout === 'leftImage' || data.customize.layout.pcLayout === 'rightImage') {
119
+ if ((data === null || data === void 0 ? void 0 : data.groupSource.length) > 1 && i != (data === null || data === void 0 ? void 0 : data.groupSource.length) - 1) {
120
+ cardStyle.marginBottom = 48;
121
+ }
122
+
123
+ cardStyle.alignItems = 'center';
124
+ } else {
125
+ cardStyle.marginRight = (1 + i) % data.customize.pcRowNum !== 0 ? '2%' : 0;
126
+ cardStyle.width = _this.calcWidth(data.customize.pcRowNum);
127
+ cardStyle.alignItems = _AlignSelector.alignItemMap[data.customize.align];
128
+ }
129
+
119
130
  var wrapStyle = (0, _businessUtil.computeStyle)(source, window.magicDesign.device);
131
+ console.log('cc wrapStyle', source, wrapStyle);
120
132
  var hoverIndex = _this.state.hoverIndex;
121
133
  var hoverStyle = {};
122
134
 
@@ -127,6 +139,86 @@ function (_super) {
127
139
  return __assign(__assign(__assign({}, cardStyle), wrapStyle), hoverStyle);
128
140
  };
129
141
 
142
+ _this.getContentStyle = function () {
143
+ var data = _this.props.data;
144
+ return {
145
+ alignItems: _AlignSelector.alignItemMap[data.customize.align]
146
+ };
147
+ };
148
+
149
+ _this.getAnotherLayout = function () {
150
+ var data = _this.props.data;
151
+ var hoverIndex = _this.state.hoverIndex;
152
+ var GAData = (0, _commonUtil.getGAData)(data);
153
+ console.log('ff--image text', data);
154
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, (data === null || data === void 0 ? void 0 : data.groupSource.length) > 0 && /*#__PURE__*/_react["default"].createElement("div", {
155
+ className: "group-wrap"
156
+ }, data.groupSource.map(function (source, i) {
157
+ return /*#__PURE__*/_react["default"].createElement("div", {
158
+ key: source.id,
159
+ className: "one-card",
160
+ onMouseEnter: function onMouseEnter() {
161
+ if (source.hover.open) {
162
+ _this.setState({
163
+ hoverIndex: i
164
+ });
165
+ }
166
+ },
167
+ onMouseLeave: function onMouseLeave() {
168
+ _this.setState({
169
+ hoverIndex: -1
170
+ });
171
+ },
172
+ style: _this.getCardStyle(source, i)
173
+ }, (source.image.open && hoverIndex != i || hoverIndex == i && source.hover.image.open) && /*#__PURE__*/_react["default"].createElement("div", {
174
+ className: "card-image-wrap"
175
+ }, /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
176
+ className: "card-image",
177
+ data: hoverIndex == i ? source.hover.image : source.image,
178
+ GAData: __assign(__assign({}, GAData), {
179
+ groupId: source.id,
180
+ groupName: (0, _ConfigPanel.getSecondConfigName)(data, source.id)
181
+ }),
182
+ maxWidth: 654,
183
+ minWidth: 300,
184
+ scale: 0.5
185
+ })), /*#__PURE__*/_react["default"].createElement("div", {
186
+ className: "content-wrap",
187
+ style: _this.getContentStyle()
188
+ }, (source.title.open && hoverIndex != i || hoverIndex == i && source.hover.title.open) && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
189
+ className: "card-title",
190
+ data: hoverIndex == i ? source.hover.title : source.title,
191
+ GAData: __assign(__assign({}, GAData), {
192
+ groupId: source.id,
193
+ groupName: (0, _ConfigPanel.getSecondConfigName)(data, source.id)
194
+ })
195
+ }), (source.text.open && hoverIndex != i || hoverIndex == i && source.hover.text.open) && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
196
+ className: "card-text",
197
+ data: hoverIndex == i ? source.hover.text : source.text,
198
+ GAData: __assign(__assign({}, GAData), {
199
+ groupId: source.id,
200
+ groupName: (0, _ConfigPanel.getSecondConfigName)(data, source.id)
201
+ })
202
+ }), /*#__PURE__*/_react["default"].createElement("div", {
203
+ className: "card-btn-wrap"
204
+ }, (source.button.open && hoverIndex != i || source.hover.button.open && hoverIndex == i) && /*#__PURE__*/_react["default"].createElement(_components.MetaButton, {
205
+ className: "card-first-btn",
206
+ data: hoverIndex == i ? source.hover.button : source.button,
207
+ GAData: __assign(__assign({}, GAData), {
208
+ groupId: source.id,
209
+ groupName: (0, _ConfigPanel.getSecondConfigName)(data, source.id)
210
+ })
211
+ }), (source.secondButton.open && hoverIndex != i || source.hover.secondButton.open && hoverIndex == i) && /*#__PURE__*/_react["default"].createElement(_components.MetaButton, {
212
+ className: "card-second-btn",
213
+ data: hoverIndex == i ? source.hover.secondButton : source.secondButton,
214
+ GAData: __assign(__assign({}, GAData), {
215
+ groupId: source.id,
216
+ groupName: (0, _ConfigPanel.getSecondConfigName)(data, source.id)
217
+ })
218
+ }))));
219
+ })));
220
+ };
221
+
130
222
  return _this;
131
223
  }
132
224
 
@@ -135,7 +227,7 @@ function (_super) {
135
227
  this.layout = data.customize.layout.pcLayout;
136
228
  this.pcRowNum = data.customize.pcRowNum;
137
229
  this.listenCardWidth();
138
- window.addEventListener('resize', (0, _lodash.debounce)(this.listenCardWidth));
230
+ window.addEventListener('resize', (0, _debounce["default"])(this.listenCardWidth));
139
231
  };
140
232
 
141
233
  ImageTextPc.prototype.componentWillUnmount = function () {
@@ -163,7 +255,7 @@ function (_super) {
163
255
  return /*#__PURE__*/_react["default"].createElement("div", {
164
256
  className: (0, _classnames["default"])('image-text-pc', data.customize.layout.pcLayout),
165
257
  style: wrapStyle
166
- }, (data === null || data === void 0 ? void 0 : data.groupSource.length) > 0 && /*#__PURE__*/_react["default"].createElement("div", {
258
+ }, data.customize.layout.pcLayout === 'leftImage' || data.customize.layout.pcLayout === 'rightImage' ? this.getAnotherLayout() : (data === null || data === void 0 ? void 0 : data.groupSource.length) > 0 && /*#__PURE__*/_react["default"].createElement("div", {
167
259
  className: "group-wrap"
168
260
  }, data.groupSource.map(function (source, i) {
169
261
  return /*#__PURE__*/_react["default"].createElement("div", {
@@ -116,3 +116,35 @@
116
116
  }
117
117
  }
118
118
  }
119
+
120
+
121
+ .leftImage .group-wrap .one-card {
122
+ flex-direction: row;
123
+ .card-image-wrap .card-image {
124
+ margin: 0 32px 0 0;
125
+ }
126
+ }
127
+ .rightImage .group-wrap .one-card {
128
+ flex-direction: row-reverse;
129
+ .card-image-wrap .card-image {
130
+ margin: 0 0 0 32px;
131
+ }
132
+ }
133
+
134
+ .leftImage, .rightImage {
135
+ padding: 48px 108px;
136
+ .group-wrap {
137
+ flex-direction: column;
138
+ .one-card {
139
+ // flex-direction: row;
140
+ .card-image-wrap {
141
+ width: fit-content;
142
+ }
143
+ .content-wrap {
144
+ flex: 1;
145
+ display: flex;
146
+ flex-direction: column;
147
+ }
148
+ }
149
+ }
150
+ }
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getDefaultJSON = void 0;
7
+
8
+ var _uuid = require("uuid");
9
+
10
+ var getDefaultJSON = function getDefaultJSON() {
11
+ var groupId = (0, _uuid.v4)();
12
+ return {
13
+ id: groupId,
14
+ type: 'LOCATION',
15
+ logo: {
16
+ parentId: groupId,
17
+ id: (0, _uuid.v4)(),
18
+ open: true,
19
+ color: '#fff'
20
+ },
21
+ address: {
22
+ parentId: groupId,
23
+ id: (0, _uuid.v4)(),
24
+ open: true
25
+ },
26
+ icon: {
27
+ parentId: groupId,
28
+ id: (0, _uuid.v4)(),
29
+ open: true,
30
+ color: '#fff'
31
+ },
32
+ spacing: {
33
+ pc: {
34
+ paddingTop: 10,
35
+ paddingBottom: 10,
36
+ marginBottom: 0
37
+ },
38
+ mobile: {
39
+ paddingTop: 12,
40
+ paddingBottom: 12,
41
+ paddingLeft: 12,
42
+ marginBottom: 0
43
+ }
44
+ },
45
+ customize: {
46
+ layout: {
47
+ pcLayout: 'top',
48
+ h5Layout: 'top'
49
+ }
50
+ },
51
+ background: {
52
+ opacity: 100,
53
+ color: '#597EF7',
54
+ image: '',
55
+ bgType: 'color'
56
+ }
57
+ };
58
+ };
59
+
60
+ exports.getDefaultJSON = getDefaultJSON;
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _react = _interopRequireWildcard(require("react"));
9
+
10
+ var _defaultJSON = require("./defaultJSON");
11
+
12
+ var _common = require("../../../../common");
13
+
14
+ var _compositeDecorator = _interopRequireDefault(require("../../../../decorator/compositeDecorator"));
15
+
16
+ require("./index.less");
17
+
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
+
20
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
21
+
22
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
23
+
24
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
25
+
26
+ var __extends = void 0 && (void 0).__extends || function () {
27
+ var _extendStatics = function extendStatics(d, b) {
28
+ _extendStatics = Object.setPrototypeOf || {
29
+ __proto__: []
30
+ } instanceof Array && function (d, b) {
31
+ d.__proto__ = b;
32
+ } || function (d, b) {
33
+ for (var p in b) {
34
+ if (b.hasOwnProperty(p)) d[p] = b[p];
35
+ }
36
+ };
37
+
38
+ return _extendStatics(d, b);
39
+ };
40
+
41
+ return function (d, b) {
42
+ _extendStatics(d, b);
43
+
44
+ function __() {
45
+ this.constructor = d;
46
+ }
47
+
48
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
49
+ };
50
+ }();
51
+
52
+ var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
53
+ var c = arguments.length,
54
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
55
+ d;
56
+ if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {
57
+ if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
58
+ }
59
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
60
+ };
61
+
62
+ var CustomCode =
63
+ /** @class */
64
+ function (_super) {
65
+ __extends(CustomCode, _super);
66
+
67
+ function CustomCode() {
68
+ return _super !== null && _super.apply(this, arguments) || this;
69
+ }
70
+
71
+ CustomCode.prototype.componentDidMount = function () {};
72
+
73
+ CustomCode.prototype.render = function () {
74
+ var nodeData = this.props.nodeData;
75
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, window.magicDesign.device === 'pc' ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null) : /*#__PURE__*/_react["default"].createElement("div", {
76
+ className: "location-mobile"
77
+ }, nodeData.logo.open && /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
78
+ className: "logo",
79
+ color: nodeData.logo.color,
80
+ size: 20,
81
+ type: "icon-MapPin"
82
+ }), nodeData.address.open && /*#__PURE__*/_react["default"].createElement("div", {
83
+ className: "address"
84
+ }, "Display Location Address"), nodeData.icon.open && /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
85
+ className: "logo",
86
+ color: nodeData.icon.color,
87
+ size: 16,
88
+ type: "icon-outlined-right"
89
+ })));
90
+ };
91
+
92
+ CustomCode.defaultProps = {};
93
+ CustomCode.type = 'LOCATION';
94
+ CustomCode.getDefaultJSON = _defaultJSON.getDefaultJSON;
95
+ CustomCode = __decorate([_compositeDecorator["default"]], CustomCode);
96
+ return CustomCode;
97
+ }(_react.Component);
98
+
99
+ var _default = CustomCode;
100
+ exports["default"] = _default;
@@ -0,0 +1,15 @@
1
+ .location-mobile {
2
+ display: flex;
3
+ align-items: center;
4
+ .logo {
5
+ margin-right: 6px;
6
+ }
7
+ .address {
8
+ font-family: Open Sans;
9
+ font-size: 14px;
10
+ font-weight: 400;
11
+ line-height: 18px;
12
+ color: #fff;
13
+ }
14
+
15
+ }
@@ -101,6 +101,18 @@ var videoGroupSourceJSON = function videoGroupSourceJSON(parentId) {
101
101
  iconUrl: '',
102
102
  layout: 'right'
103
103
  },
104
+ spacing: {
105
+ pc: {
106
+ paddingTop: 0,
107
+ paddingBottom: 0,
108
+ marginBottom: 0
109
+ },
110
+ mobile: {
111
+ paddingTop: 0,
112
+ paddingBottom: 0,
113
+ marginBottom: 0
114
+ }
115
+ },
104
116
  text: 'Button Tag'
105
117
  },
106
118
  secondButtonTag: {
@@ -126,6 +138,18 @@ var videoGroupSourceJSON = function videoGroupSourceJSON(parentId) {
126
138
  borderColor: '',
127
139
  borderRadius: 4
128
140
  },
141
+ spacing: {
142
+ pc: {
143
+ paddingTop: 0,
144
+ paddingBottom: 0,
145
+ marginBottom: 0
146
+ },
147
+ mobile: {
148
+ paddingTop: 0,
149
+ paddingBottom: 0,
150
+ marginBottom: 0
151
+ }
152
+ },
129
153
  buttonIcon: {
130
154
  iconUrl: '',
131
155
  layout: 'right'
@@ -91,8 +91,7 @@ function (_super) {
91
91
 
92
92
 
93
93
  Video.prototype.render = function () {
94
- var nodeData = this.props.nodeData; // console.log('---Video', nodeData);
95
-
94
+ var nodeData = this.props.nodeData;
96
95
  return /*#__PURE__*/_react["default"].createElement("div", null, window.magicDesign.device === 'pc' ? /*#__PURE__*/_react["default"].createElement(_pc["default"], {
97
96
  data: nodeData
98
97
  }) : /*#__PURE__*/_react["default"].createElement(_mobile["default"], {
@@ -12,39 +12,40 @@ var imagesGroupSourceJSON = function imagesGroupSourceJSON(parentId) {
12
12
  return {
13
13
  id: groupId,
14
14
  parentId: parentId,
15
- image: {
15
+ title: {
16
16
  parentId: groupId,
17
17
  id: (0, _uuid.v4)(),
18
18
  open: true,
19
- type: 'IMAGE',
19
+ type: 'TEXT',
20
+ specialContent: [],
21
+ text: 'Cashback',
20
22
  content: {
21
- h5Name: 'Group Name',
22
- pcName: 'Group Name',
23
- h5ImgSrc: '',
24
- pcImgSrc: '',
25
- clickUrl: ''
23
+ sizeType: 'Customize font styles',
24
+ fontFamily: 'Open Sans',
25
+ fontWeight: 700,
26
+ fontSize: 18,
27
+ color: '#fff',
28
+ textAlign: 'center'
26
29
  },
27
- hover: {
30
+ underline: {
28
31
  open: false,
29
- backgroundType: 'enlarge',
30
- magnification: 1.5,
31
- pcImgHoverUrl: '',
32
- h5ImgHoverUrl: ''
33
- }
32
+ textDecorationColor: '',
33
+ textDecorationStyle: 'solid'
34
+ },
35
+ vertical: {}
34
36
  },
35
- title: {
37
+ amount: {
36
38
  parentId: groupId,
37
39
  id: (0, _uuid.v4)(),
38
40
  open: true,
39
41
  type: 'TEXT',
40
42
  specialContent: [],
41
- text: 'Cashback',
43
+ text: 'RM1000',
42
44
  content: {
43
45
  sizeType: 'Customize font styles',
44
46
  fontFamily: 'Open Sans',
45
- fontWeight: 400,
46
- fontSize: 14,
47
- pcFontSize: 20,
47
+ fontWeight: 700,
48
+ fontSize: 38,
48
49
  color: '#fff',
49
50
  textAlign: 'center'
50
51
  },
@@ -55,19 +56,19 @@ var imagesGroupSourceJSON = function imagesGroupSourceJSON(parentId) {
55
56
  },
56
57
  vertical: {}
57
58
  },
58
- amount: {
59
+ sourceType: 'Cashback',
60
+ text: {
59
61
  parentId: groupId,
60
62
  id: (0, _uuid.v4)(),
61
63
  open: true,
62
64
  type: 'TEXT',
63
65
  specialContent: [],
64
- text: 'RM1000',
66
+ text: 'Make money and shop on Cendol!',
65
67
  content: {
66
68
  sizeType: 'Customize font styles',
67
69
  fontFamily: 'Open Sans',
68
- fontWeight: 700,
69
- fontSize: 18,
70
- pcFontSize: 42,
70
+ fontWeight: 400,
71
+ fontSize: 14,
71
72
  color: '#fff',
72
73
  textAlign: 'center'
73
74
  },
@@ -78,75 +79,75 @@ var imagesGroupSourceJSON = function imagesGroupSourceJSON(parentId) {
78
79
  },
79
80
  vertical: {}
80
81
  },
81
- sourceType: 'Cashback',
82
- hover: {
83
- open: false,
84
- image: {
85
- parentId: groupId,
86
- id: (0, _uuid.v4)(),
87
- open: true,
88
- type: 'IMAGE',
89
- content: {
90
- h5Name: 'Group Name',
91
- pcName: 'Group Name',
92
- h5ImgSrc: '',
93
- pcImgSrc: '',
94
- clickUrl: ''
95
- },
96
- hover: {
97
- open: false,
98
- backgroundType: 'enlarge',
99
- magnification: 1.5,
100
- pcImgHoverUrl: '',
101
- h5ImgHoverUrl: ''
102
- }
82
+ button: {
83
+ parentId: groupId,
84
+ id: (0, _uuid.v4)(),
85
+ open: true,
86
+ type: 'BUTTON',
87
+ text: 'Button',
88
+ content: {
89
+ url: '',
90
+ backgroundColor: '#fff'
103
91
  },
104
- title: {
105
- parentId: groupId,
106
- id: (0, _uuid.v4)(),
107
- open: true,
108
- type: 'TEXT',
109
- specialContent: [],
110
- text: 'Cashback',
111
- content: {
112
- sizeType: 'Customize font styles',
113
- fontFamily: 'Open Sans',
114
- fontWeight: 400,
115
- fontSize: 14,
116
- pcFontSize: 20,
117
- color: '#fff',
118
- textAlign: 'center'
119
- },
120
- underline: {
121
- open: false,
122
- textDecorationColor: '',
123
- textDecorationStyle: 'solid'
124
- },
125
- vertical: {}
92
+ buttonText: {
93
+ sizeType: 'Customize font styles',
94
+ fontFamily: 'Open Sans',
95
+ fontWeight: 700,
96
+ fontSize: 13,
97
+ fontStyle: 'normal',
98
+ color: '#F52D85'
126
99
  },
127
- amount: {
128
- parentId: groupId,
129
- id: (0, _uuid.v4)(),
100
+ buttonBorder: {
130
101
  open: true,
131
- type: 'TEXT',
132
- specialContent: [],
133
- text: 'RM1000',
134
- content: {
135
- sizeType: 'Customize font styles',
136
- fontFamily: 'Open Sans',
137
- fontWeight: 700,
138
- fontSize: 18,
139
- pcFontSize: 42,
140
- color: '#fff',
141
- textAlign: 'center'
142
- },
143
- underline: {
144
- open: false,
145
- textDecorationColor: '',
146
- textDecorationStyle: 'solid'
102
+ borderColor: '',
103
+ borderRadius: 4
104
+ },
105
+ buttonIcon: {
106
+ iconUrl: '',
107
+ layout: 'right'
108
+ },
109
+ spacing: {
110
+ pc: {
111
+ paddingTop: 6,
112
+ paddingBottom: 6,
113
+ paddingLeft: 16,
114
+ paddingRight: 16
147
115
  },
148
- vertical: {}
116
+ mobile: {
117
+ paddingTop: 6,
118
+ paddingBottom: 6,
119
+ paddingLeft: 16,
120
+ paddingRight: 16
121
+ }
149
122
  }
123
+ },
124
+ peek: {
125
+ parentId: groupId,
126
+ id: (0, _uuid.v4)(),
127
+ open: true,
128
+ type: 'TEXT',
129
+ specialContent: [],
130
+ text: '',
131
+ content: {
132
+ sizeType: 'Customize font styles',
133
+ fontFamily: 'Open Sans',
134
+ fontWeight: 400,
135
+ fontSize: 12,
136
+ color: '#fff',
137
+ textAlign: 'center'
138
+ },
139
+ underline: {
140
+ open: false,
141
+ textDecorationColor: '',
142
+ textDecorationStyle: 'solid'
143
+ },
144
+ vertical: {}
145
+ },
146
+ background: {
147
+ opacity: 100,
148
+ color: '#F52D85',
149
+ image: '',
150
+ bgType: 'color'
150
151
  }
151
152
  };
152
153
  };
@@ -185,7 +186,30 @@ var getDefaultJSON = function getDefaultJSON() {
185
186
  }
186
187
  }
187
188
  },
188
- groupSource: [imagesGroupSourceJSON(groupId), imagesGroupSourceJSON(groupId)],
189
+ groupSource: [imagesGroupSourceJSON(groupId)],
190
+ setting: {
191
+ // 自动轮播
192
+ autoplay: {
193
+ open: true,
194
+ interval: 3
195
+ },
196
+ // 切换按钮
197
+ navigation: {
198
+ open: true,
199
+ size: 16,
200
+ hoverSize: 16,
201
+ color: '#eee',
202
+ hoverColor: '#fff'
203
+ },
204
+ // 面板指示点
205
+ dots: {
206
+ open: true,
207
+ color: '#eee',
208
+ hoverColor: '#fff',
209
+ size: 8,
210
+ hoverSize: 8
211
+ }
212
+ },
189
213
  spacing: {
190
214
  pc: {
191
215
  paddingTop: 48,