@fonixtree/magic-design 0.1.77 → 1.0.2-0.1

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 (345) hide show
  1. package/es/assets/fonts/.DS_Store +0 -0
  2. package/es/assets/fonts/magic-box-iconfont.css +23 -3
  3. package/es/assets/fonts/magic-box-iconfont.css.bak +23 -3
  4. package/es/assets/fonts/magic-box-iconfont.js +1 -1
  5. package/es/assets/fonts/magic-box-iconfont.js.bak +1 -1
  6. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  7. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  8. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  9. package/es/assets/images/layout-icon/imageTextLeft.svg +6 -0
  10. package/es/assets/images/layout-icon/imageTextRight.svg +6 -0
  11. package/es/assets/images/layout-icon/locationLayout.png +0 -0
  12. package/es/assets/less/modal.less +1 -1
  13. package/es/common/ColorPicker/index.js +4 -1
  14. package/es/common/Field/index.js +20 -3
  15. package/es/common/ImageLazy/index.js +172 -0
  16. package/es/common/ImageLazy/index.less +0 -0
  17. package/es/common/ImagePicker/index.js +50 -5
  18. package/es/common/ImagePicker/index.less +1 -0
  19. package/es/common/LinkModal/BundleCampaign/index.js +2 -2
  20. package/es/common/LinkModal/CatgTable/index.js +1 -1
  21. package/es/common/LinkModal/CouponTable/index.js +10 -2
  22. package/es/common/LinkModal/FilteredProductModal/index.js +12 -9
  23. package/es/common/LinkModal/FilteredProductModal/index.less +1 -1
  24. package/es/common/LinkModal/ProductDetailPage/index.js +3 -3
  25. package/es/common/LinkModal/index.js +1 -1
  26. package/es/common/ProductModal/index.js +25 -32
  27. package/es/common/Video/index.js +11 -3
  28. package/es/common/Video/index.less +11 -7
  29. package/es/composite-comp/bol/components/Banner/mobile/index.js +6 -0
  30. package/es/composite-comp/bol/components/Banner/mobile/index.less +78 -52
  31. package/es/composite-comp/bol/components/Carousel/index.js +27 -3
  32. package/es/composite-comp/bol/components/Carousel/mobile/index.js +11 -20
  33. package/es/composite-comp/bol/components/Carousel/mobile/index.less +100 -81
  34. package/es/composite-comp/bol/components/Carousel/pc/index.js +4 -2
  35. package/es/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
  36. package/es/composite-comp/bol/components/CustomCode/index.js +138 -0
  37. package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +22 -15
  38. package/es/composite-comp/bol/components/ImageText/mobile/index.less +292 -233
  39. package/es/composite-comp/bol/components/ImageText/pc/index.js +97 -5
  40. package/es/composite-comp/bol/components/ImageText/pc/index.less +32 -0
  41. package/es/composite-comp/bol/components/Location/defaultJSON.js +60 -0
  42. package/es/composite-comp/bol/components/Location/index.js +100 -0
  43. package/es/composite-comp/bol/components/Location/index.less +15 -0
  44. package/es/composite-comp/bol/components/Video/defaultJSON.js +24 -0
  45. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +27 -21
  46. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +45 -36
  47. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +54 -43
  48. package/es/composite-comp/bol/components/Video/mobile/index.less +3 -2
  49. package/es/composite-comp/bol/components/Wallet/mobile/index.less +40 -27
  50. package/es/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
  51. package/es/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
  52. package/es/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
  53. package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
  54. package/es/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +182 -2
  55. package/es/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +114 -2
  56. package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +121 -8
  57. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +53 -2
  58. package/es/composite-comp/common/components/ProductItem/index.js +4 -2
  59. package/es/composite-comp/common/components/ProductItem/index.less +9 -0
  60. package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +97 -83
  61. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +35 -18
  62. package/es/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
  63. package/es/composite-comp/dito/components/Recommend/mobile/index.js +16 -3
  64. package/es/composite-comp/dito/components/Recommend/mobile/index.less +86 -73
  65. package/es/composite-comp/dito/components/Recommend/pc/index.js +8 -7
  66. package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +8 -0
  67. package/es/composite-comp/dito/components/SearchBar/mobile/index.js +67 -7
  68. package/es/composite-comp/dito/components/SearchBar/mobile/index.less +52 -45
  69. package/es/composite-comp/dito/components/SearchBar/pc/index.js +2 -2
  70. package/es/composite-comp/dito/components/SignBoard/defaultJSON.js +41 -37
  71. package/es/composite-comp/dito/components/SignBoard/mobile/index.js +47 -38
  72. package/es/composite-comp/dito/components/SignBoard/mobile/index.less +66 -76
  73. package/es/composite-comp/dito/components/SignBoard/pc/index.js +8 -11
  74. package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +39 -9
  75. package/es/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +9 -47
  76. package/es/composite-comp/dito/config-panels/SignBoardConfig/index.js +9 -2
  77. package/es/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +68 -1
  78. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +4 -4
  79. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +14 -2
  80. package/es/constants/component-types.js +10 -2
  81. package/es/constants/index.js +10 -1
  82. package/es/constants/layout.js +21 -1
  83. package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +6 -6
  84. package/es/core/Designer/AiImageGenerator/History/index.js +147 -0
  85. package/es/core/Designer/AiImageGenerator/History/index.less +75 -0
  86. package/es/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
  87. package/es/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
  88. package/es/core/Designer/AiImageGenerator/UploadReference/index.js +18 -8
  89. package/es/core/Designer/AiImageGenerator/UploadReference/index.less +6 -0
  90. package/es/core/Designer/AiImageGenerator/index.js +364 -63
  91. package/es/core/Designer/AiImageGenerator/index.less +70 -46
  92. package/es/core/Designer/ChatRobot/index.js +51 -14
  93. package/es/core/Designer/ChatRobot/index.less +11 -0
  94. package/es/core/Designer/ConfigPanel/index.js +2 -1
  95. package/es/core/Designer/FonixtreeGpt/index.js +32 -171
  96. package/es/core/Designer/History/index.js +2 -2
  97. package/es/core/Designer/LeftTitle/index.js +1 -1
  98. package/es/core/Designer/PageCompList/index.js +5 -3
  99. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
  100. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
  101. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +27 -0
  102. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +27 -0
  103. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +27 -0
  104. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
  105. package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
  106. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
  107. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
  108. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
  109. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
  110. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
  111. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +96 -0
  112. package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +26 -0
  113. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +105 -0
  114. package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +26 -0
  115. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
  116. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
  117. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
  118. package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
  119. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
  120. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
  121. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
  122. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
  123. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
  124. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
  125. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
  126. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
  127. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +105 -0
  128. package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +26 -0
  129. package/es/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
  130. package/es/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
  131. package/es/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
  132. package/es/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
  133. package/es/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
  134. package/es/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
  135. package/es/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
  136. package/es/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
  137. package/es/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
  138. package/es/core/Designer/ToolBarModal/ToolBtn/index.js +151 -0
  139. package/es/core/Designer/ToolBarModal/ToolBtn/index.less +25 -0
  140. package/es/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
  141. package/es/core/Designer/ToolBarModal/index.js +366 -0
  142. package/es/core/Designer/ToolBarModal/index.less +32 -0
  143. package/es/core/Designer/index.js +30 -10
  144. package/es/decorator/index.js +38 -1
  145. package/es/decorator/lazyLoadDecorator.js +75 -0
  146. package/es/locale/en/en.json +6 -1
  147. package/es/locale/es/es.json +6 -1
  148. package/es/locale/id/id.json +6 -1
  149. package/es/meta-comp/components/Button/index.js +7 -0
  150. package/es/meta-comp/components/Image/index.js +19 -3
  151. package/es/meta-comp/components/Text/formats/fontFamily.js +58 -0
  152. package/es/meta-comp/components/Text/formats/fontStyle.js +58 -0
  153. package/es/meta-comp/components/Text/formats/fontWeight.js +58 -0
  154. package/es/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
  155. package/es/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
  156. package/es/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
  157. package/es/meta-comp/components/Text/index.js +110 -372
  158. package/es/meta-comp/components/Text/index.less +57 -0
  159. package/es/meta-comp/config-panels/ButtonConfig/index.js +30 -28
  160. package/es/meta-comp/config-panels/ImageConfig/index.js +3 -1
  161. package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
  162. package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
  163. package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
  164. package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
  165. package/es/meta-comp/config-panels/TextConfig/index.js +9 -30
  166. package/es/meta-comp/config-panels/TextConfig/index.less +12 -16
  167. package/es/mobx/Frame.js +7 -1
  168. package/es/utils/androidUtil.js +6 -0
  169. package/es/utils/businessUtil.js +3 -3
  170. package/es/utils/commonUtil.js +40 -10
  171. package/es/utils/coreUtil.js +15 -0
  172. package/es/utils/currencyUtil.js +29 -10
  173. package/lib/assets/fonts/.DS_Store +0 -0
  174. package/lib/assets/fonts/magic-box-iconfont.css +23 -3
  175. package/lib/assets/fonts/magic-box-iconfont.css.bak +23 -3
  176. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  177. package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
  178. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  179. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  180. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  181. package/lib/assets/images/layout-icon/imageTextLeft.svg +6 -0
  182. package/lib/assets/images/layout-icon/imageTextRight.svg +6 -0
  183. package/lib/assets/images/layout-icon/locationLayout.png +0 -0
  184. package/lib/assets/less/modal.less +1 -1
  185. package/lib/common/ColorPicker/index.js +4 -1
  186. package/lib/common/Field/index.js +20 -3
  187. package/lib/common/ImageLazy/index.js +172 -0
  188. package/lib/common/ImageLazy/index.less +0 -0
  189. package/lib/common/ImagePicker/index.js +50 -5
  190. package/lib/common/ImagePicker/index.less +1 -0
  191. package/lib/common/LinkModal/BundleCampaign/index.js +2 -2
  192. package/lib/common/LinkModal/CatgTable/index.js +1 -1
  193. package/lib/common/LinkModal/CouponTable/index.js +10 -2
  194. package/lib/common/LinkModal/FilteredProductModal/index.js +12 -9
  195. package/lib/common/LinkModal/FilteredProductModal/index.less +1 -1
  196. package/lib/common/LinkModal/ProductDetailPage/index.js +3 -3
  197. package/lib/common/LinkModal/index.js +1 -1
  198. package/lib/common/ProductModal/index.js +25 -32
  199. package/lib/common/Video/index.js +11 -3
  200. package/lib/common/Video/index.less +11 -7
  201. package/lib/composite-comp/bol/components/Banner/mobile/index.js +6 -0
  202. package/lib/composite-comp/bol/components/Banner/mobile/index.less +78 -52
  203. package/lib/composite-comp/bol/components/Carousel/index.js +27 -3
  204. package/lib/composite-comp/bol/components/Carousel/mobile/index.js +11 -20
  205. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +100 -81
  206. package/lib/composite-comp/bol/components/Carousel/pc/index.js +4 -2
  207. package/lib/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
  208. package/lib/composite-comp/bol/components/CustomCode/index.js +138 -0
  209. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +22 -15
  210. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +292 -233
  211. package/lib/composite-comp/bol/components/ImageText/pc/index.js +97 -5
  212. package/lib/composite-comp/bol/components/ImageText/pc/index.less +32 -0
  213. package/lib/composite-comp/bol/components/Location/defaultJSON.js +60 -0
  214. package/lib/composite-comp/bol/components/Location/index.js +100 -0
  215. package/lib/composite-comp/bol/components/Location/index.less +15 -0
  216. package/lib/composite-comp/bol/components/Video/defaultJSON.js +24 -0
  217. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +27 -21
  218. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +45 -36
  219. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +54 -43
  220. package/lib/composite-comp/bol/components/Video/mobile/index.less +3 -2
  221. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +40 -27
  222. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
  223. package/lib/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
  224. package/lib/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
  225. package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
  226. package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +182 -2
  227. package/lib/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +114 -2
  228. package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +121 -8
  229. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +53 -2
  230. package/lib/composite-comp/common/components/ProductItem/index.js +4 -2
  231. package/lib/composite-comp/common/components/ProductItem/index.less +9 -0
  232. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +97 -83
  233. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +35 -18
  234. package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
  235. package/lib/composite-comp/dito/components/Recommend/mobile/index.js +16 -3
  236. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +86 -73
  237. package/lib/composite-comp/dito/components/Recommend/pc/index.js +8 -7
  238. package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +8 -0
  239. package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +67 -7
  240. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +52 -45
  241. package/lib/composite-comp/dito/components/SearchBar/pc/index.js +2 -2
  242. package/lib/composite-comp/dito/components/SignBoard/defaultJSON.js +41 -37
  243. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +47 -38
  244. package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +66 -76
  245. package/lib/composite-comp/dito/components/SignBoard/pc/index.js +8 -11
  246. package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +39 -9
  247. package/lib/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +9 -47
  248. package/lib/composite-comp/dito/config-panels/SignBoardConfig/index.js +9 -2
  249. package/lib/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +68 -1
  250. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +4 -4
  251. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +14 -2
  252. package/lib/constants/component-types.js +10 -2
  253. package/lib/constants/index.js +10 -1
  254. package/lib/constants/layout.js +21 -1
  255. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +6 -6
  256. package/lib/core/Designer/AiImageGenerator/History/index.js +147 -0
  257. package/lib/core/Designer/AiImageGenerator/History/index.less +75 -0
  258. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
  259. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
  260. package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +18 -8
  261. package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +6 -0
  262. package/lib/core/Designer/AiImageGenerator/index.js +364 -63
  263. package/lib/core/Designer/AiImageGenerator/index.less +70 -46
  264. package/lib/core/Designer/ChatRobot/index.js +51 -14
  265. package/lib/core/Designer/ChatRobot/index.less +11 -0
  266. package/lib/core/Designer/ConfigPanel/index.js +2 -1
  267. package/lib/core/Designer/FonixtreeGpt/index.js +32 -171
  268. package/lib/core/Designer/History/index.js +2 -2
  269. package/lib/core/Designer/LeftTitle/index.js +1 -1
  270. package/lib/core/Designer/PageCompList/index.js +5 -3
  271. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
  272. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
  273. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +27 -0
  274. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +27 -0
  275. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +27 -0
  276. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
  277. package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
  278. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
  279. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
  280. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
  281. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
  282. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
  283. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +96 -0
  284. package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +26 -0
  285. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +105 -0
  286. package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +26 -0
  287. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
  288. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
  289. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
  290. package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
  291. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
  292. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
  293. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
  294. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
  295. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
  296. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
  297. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
  298. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
  299. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +105 -0
  300. package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +26 -0
  301. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
  302. package/lib/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
  303. package/lib/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
  304. package/lib/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
  305. package/lib/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
  306. package/lib/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
  307. package/lib/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
  308. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
  309. package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
  310. package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +151 -0
  311. package/lib/core/Designer/ToolBarModal/ToolBtn/index.less +25 -0
  312. package/lib/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
  313. package/lib/core/Designer/ToolBarModal/index.js +366 -0
  314. package/lib/core/Designer/ToolBarModal/index.less +32 -0
  315. package/lib/core/Designer/index.js +30 -10
  316. package/lib/decorator/index.js +38 -1
  317. package/lib/decorator/lazyLoadDecorator.js +75 -0
  318. package/lib/locale/en/en.json +6 -1
  319. package/lib/locale/es/es.json +6 -1
  320. package/lib/locale/id/id.json +6 -1
  321. package/lib/meta-comp/components/Button/index.js +7 -0
  322. package/lib/meta-comp/components/Image/index.js +19 -3
  323. package/lib/meta-comp/components/Text/formats/fontFamily.js +58 -0
  324. package/lib/meta-comp/components/Text/formats/fontStyle.js +58 -0
  325. package/lib/meta-comp/components/Text/formats/fontWeight.js +58 -0
  326. package/lib/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
  327. package/lib/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
  328. package/lib/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
  329. package/lib/meta-comp/components/Text/index.js +110 -372
  330. package/lib/meta-comp/components/Text/index.less +57 -0
  331. package/lib/meta-comp/config-panels/ButtonConfig/index.js +30 -28
  332. package/lib/meta-comp/config-panels/ImageConfig/index.js +3 -1
  333. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
  334. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
  335. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
  336. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
  337. package/lib/meta-comp/config-panels/TextConfig/index.js +9 -30
  338. package/lib/meta-comp/config-panels/TextConfig/index.less +12 -16
  339. package/lib/mobx/Frame.js +7 -1
  340. package/lib/utils/androidUtil.js +6 -0
  341. package/lib/utils/businessUtil.js +3 -3
  342. package/lib/utils/commonUtil.js +40 -10
  343. package/lib/utils/coreUtil.js +15 -0
  344. package/lib/utils/currencyUtil.js +29 -10
  345. package/package.json +5 -2
@@ -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'
@@ -1,24 +1,30 @@
1
1
  .video-layout1-wrap {
2
2
  display: flex;
3
3
  flex-direction: column;
4
- }
5
- .video-layout1-wrap .video-item-wrap {
6
- height: 4.24rem;
7
- position: relative;
8
- margin-bottom: 0.2rem;
9
- }
10
- .video-layout1-wrap .video-item-wrap:last-child {
11
- margin-bottom: 0;
12
- }
13
- .video-layout1-wrap .video-item-wrap .play-btn {
14
- position: absolute;
15
- top: 50%;
16
- left: 50%;
17
- transform: translate(-50%, -50%);
18
- z-index: 1;
19
- cursor: pointer;
20
- }
21
- .video-layout1-wrap .video-item-wrap .play-btn img {
22
- width: 100%;
23
- height: 100%;
24
- }
4
+
5
+ .video-item-wrap {
6
+ height: 212px;
7
+ position: relative;
8
+ margin-bottom: 10px;
9
+
10
+ &:last-child{
11
+ margin-bottom: 0;
12
+ }
13
+
14
+ .play-btn {
15
+ position: absolute;
16
+ top: 50%;
17
+ left: 50%;
18
+ transform: translate(-50%, -50%);
19
+ // width: 60px;
20
+ // height: 60px;
21
+ z-index: 1;
22
+ cursor: pointer;
23
+
24
+ img {
25
+ width: 100%;
26
+ height: 100%;
27
+ }
28
+ }
29
+ }
30
+ }
@@ -2,39 +2,48 @@
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  position: relative;
5
- padding-bottom: 0.72rem;
6
- }
7
- .video-layout2-wrap .slider-wrap {
8
- width: 100%;
9
- overflow: hidden;
10
- }
11
- .video-layout2-wrap .slider-wrap .slider-list-wrap {
12
- display: flex;
13
- transform: translateX(-100%);
14
- transition: all 0.3s linear;
15
- position: relative;
16
- }
17
- .video-layout2-wrap .slider-wrap .slider-list-wrap.noAnimation {
18
- animation: none;
19
- }
20
- .video-layout2-wrap .slider-wrap .video-item-wrap {
21
- height: 4.24rem;
22
- position: relative;
23
- width: 100%;
24
- flex-shrink: 0;
25
- }
26
- .video-layout2-wrap .slider-wrap .video-item-wrap:last-child {
27
- margin-bottom: 0;
28
- }
29
- .video-layout2-wrap .slider-wrap .video-item-wrap .play-btn {
30
- position: absolute;
31
- top: 50%;
32
- left: 50%;
33
- transform: translate(-50%, -50%);
34
- z-index: 1;
35
- cursor: pointer;
36
- }
37
- .video-layout2-wrap .slider-wrap .video-item-wrap .play-btn img {
38
- width: 100%;
39
- height: 100%;
40
- }
5
+ padding-bottom: 36px;
6
+
7
+ .slider-wrap {
8
+ width: 100%;
9
+ overflow: hidden;
10
+
11
+ .slider-list-wrap {
12
+ display: flex;
13
+ transform: translateX(-100%);
14
+ transition: all .3s linear;
15
+ position: relative;
16
+
17
+ &.noAnimation {
18
+ animation: none;
19
+ }
20
+ }
21
+
22
+ .video-item-wrap {
23
+ height: 212px;
24
+ position: relative;
25
+ width: 100%;
26
+ flex-shrink: 0;
27
+
28
+ &:last-child {
29
+ margin-bottom: 0;
30
+ }
31
+
32
+ .play-btn {
33
+ position: absolute;
34
+ top: 50%;
35
+ left: 50%;
36
+ transform: translate(-50%, -50%);
37
+ // width: 60px;
38
+ // height: 60px;
39
+ z-index: 1;
40
+ cursor: pointer;
41
+
42
+ img {
43
+ width: 100%;
44
+ height: 100%;
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
@@ -1,46 +1,57 @@
1
1
  .video-layout3-wrap {
2
2
  display: flex;
3
3
  flex-direction: column;
4
- }
5
- .video-layout3-wrap .video-tag-container {
6
- padding-top: 0.4rem;
7
- padding-bottom: 0.76rem;
8
- }
9
- .video-layout3-wrap .video-layout3-item-con {
10
- display: flex;
11
- flex-direction: column;
12
- margin-bottom: 0.2rem;
13
- }
14
- .video-layout3-wrap .video-layout3-item-con:last-child {
15
- margin-bottom: 0;
16
- }
17
- .video-layout3-wrap .video-item-wrap {
18
- height: 4.24rem;
19
- position: relative;
20
- }
21
- .video-layout3-wrap .video-item-wrap:last-child {
22
- margin-bottom: 0;
23
- }
24
- .video-layout3-wrap .video-item-wrap .play-btn {
25
- position: absolute;
26
- top: 50%;
27
- left: 50%;
28
- transform: translate(-50%, -50%);
29
- z-index: 1;
30
- cursor: pointer;
31
- }
32
- .video-layout3-wrap .video-item-wrap .play-btn img {
33
- width: 100%;
34
- height: 100%;
35
- }
36
- .video-layout3-wrap .video-item-wrap .play-btn.bottomLeft {
37
- left: 0.24rem;
38
- bottom: 0.2rem;
39
- transform: unset;
40
- top: unset;
41
- }
42
- .video-layout3-wrap .video-item-wrap .video-share-btn {
43
- position: absolute;
44
- right: 0.24rem;
45
- bottom: 0.24rem;
46
- }
4
+ .video-tag-container {
5
+ padding-top: 20px;
6
+ padding-bottom: 38px;
7
+ }
8
+
9
+ .video-layout3-item-con {
10
+ display: flex;
11
+ flex-direction: column;
12
+ margin-bottom: 10px;
13
+
14
+ &:last-child {
15
+ margin-bottom: 0;
16
+ }
17
+ }
18
+
19
+ .video-item-wrap {
20
+ height: 212px;
21
+ position: relative;
22
+
23
+
24
+ &:last-child {
25
+ margin-bottom: 0;
26
+ }
27
+
28
+ .play-btn {
29
+ position: absolute;
30
+ top: 50%;
31
+ left: 50%;
32
+ transform: translate(-50%, -50%);
33
+ // width: 60px;
34
+ // height: 60px;
35
+ z-index: 1;
36
+ cursor: pointer;
37
+
38
+ img {
39
+ width: 100%;
40
+ height: 100%;
41
+ }
42
+
43
+ &.bottomLeft {
44
+ left: 12px;
45
+ bottom: 10px;
46
+ transform: unset;
47
+ top: unset;
48
+ }
49
+ }
50
+
51
+ .video-share-btn {
52
+ position: absolute;
53
+ right: 12px;
54
+ bottom: 12px;
55
+ }
56
+ }
57
+ }
@@ -1,3 +1,4 @@
1
1
  .m-video-mobile {
2
- position: relative;
3
- }
2
+ position: relative;
3
+
4
+ }
@@ -1,27 +1,40 @@
1
- .m-Wallet-mobile .headline {
2
- margin-bottom: 0.14rem;
3
- }
4
- .m-Wallet-mobile .content {
5
- display: flex;
6
- flex-wrap: wrap;
7
- }
8
- .m-Wallet-mobile .content.column_3 .item-wrap .title {
9
- top: 13%;
10
- }
11
- .m-Wallet-mobile .content.column_3 .item-wrap .amount {
12
- bottom: 13%;
13
- }
14
- .m-Wallet-mobile .content .item-wrap {
15
- display: flex;
16
- align-items: center;
17
- justify-content: center;
18
- position: relative;
19
- border-radius: 0.2rem;
20
- }
21
- .m-Wallet-mobile .content .item-wrap .image {
22
- border-radius: 0.2rem;
23
- overflow: hidden;
24
- }
25
- .m-Wallet-mobile .content .item-wrap .text-content {
26
- position: absolute;
27
- }
1
+ .m-Wallet-mobile {
2
+
3
+ .headline {
4
+ margin-bottom: 7px;
5
+ }
6
+
7
+ .content {
8
+ display: flex;
9
+ flex-wrap: wrap;
10
+
11
+ &.column_3 {
12
+ .item-wrap {
13
+ .title {
14
+ top: 13%;
15
+ }
16
+
17
+ .amount {
18
+ bottom: 13%;
19
+ }
20
+ }
21
+ }
22
+
23
+ .item-wrap {
24
+ display: flex;
25
+ align-items: center;
26
+ justify-content: center;
27
+ position: relative;
28
+ border-radius: 10px;
29
+
30
+ .image {
31
+ border-radius: 10px;
32
+ overflow: hidden;
33
+ }
34
+
35
+ .text-content {
36
+ position: absolute;
37
+ }
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _reactAce = _interopRequireDefault(require("react-ace"));
11
+
12
+ require("ace-builds/src-noconflict/mode-html");
13
+
14
+ require("ace-builds/src-noconflict/mode-javascript");
15
+
16
+ require("ace-builds/src-noconflict/theme-github");
17
+
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
+
20
+ // 可选的主题样式
21
+ var MyEditor = function MyEditor(props) {
22
+ var value = props.value,
23
+ changeVal = props.changeVal,
24
+ blurArea = props.blurArea;
25
+ return /*#__PURE__*/_react["default"].createElement(_reactAce["default"], {
26
+ editorProps: {
27
+ $blockScrolling: true
28
+ },
29
+ mode: "html",
30
+ name: "editor",
31
+ onBlur: blurArea,
32
+ onChange: changeVal,
33
+ style: {
34
+ width: '100%'
35
+ },
36
+ theme: "github",
37
+ value: value
38
+ });
39
+ };
40
+
41
+ var _default = MyEditor;
42
+ exports["default"] = _default;