@fonixtree/magic-design 2.0.200 → 2.0.203

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 (399) hide show
  1. package/es/assets/fonts/AvenirNext-Bold.ttf +0 -0
  2. package/es/assets/fonts/AvenirNext-DemiBold.ttf +0 -0
  3. package/es/assets/fonts/AvenirNext-Medium.ttf +0 -0
  4. package/es/assets/fonts/AvenirNext-Regular.ttf +0 -0
  5. package/es/assets/fonts/Montserrat-Bold.ttf +0 -0
  6. package/es/assets/fonts/Montserrat-Medium.ttf +0 -0
  7. package/es/assets/fonts/Montserrat-Regular.ttf +0 -0
  8. package/es/assets/fonts/Montserrat-SemiBold.ttf +0 -0
  9. package/es/assets/fonts/magic-box-iconfont.css +38 -6
  10. package/es/assets/fonts/magic-box-iconfont.js +1 -1
  11. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  12. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  13. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  14. package/es/assets/images/base64/index.js +8 -2
  15. package/es/assets/images/layout-icon/banner-slide-layout3.png +0 -0
  16. package/es/assets/images/layout-icon/grouped-carousel-layout1.png +0 -0
  17. package/es/assets/images/layout-icon/news-layout1.png +0 -0
  18. package/es/assets/images/layout-icon/search-dito-layout1.png +0 -0
  19. package/es/assets/images/layout-icon/slide-image-layout1.png +0 -0
  20. package/es/assets/less/font.less +30 -0
  21. package/es/assets/less/global.less +5 -0
  22. package/es/common/ColorPickerInput/index.less +2 -0
  23. package/es/common/CountDown/index.js +29 -2
  24. package/es/common/CountDown/index.less +38 -5
  25. package/es/common/ErrorBoundary/index.js +90 -0
  26. package/es/common/FontStyles/index.less +1 -1
  27. package/es/common/LinkModal/ProductList/index.js +484 -0
  28. package/es/common/LinkModal/ProductList/index.less +130 -0
  29. package/es/common/LinkModal/index.js +8 -1
  30. package/es/common/ProductCardModal/imgs/dot-icon.png +0 -0
  31. package/es/common/ProductCardModal/index.js +255 -0
  32. package/es/common/ProductCardModal/index.less +131 -0
  33. package/es/common/Toast/index.js +30 -0
  34. package/es/common/Toast/index.less +29 -0
  35. package/es/common/UrlPicker/index.js +1 -1
  36. package/es/common/Video/index.js +5 -3
  37. package/es/common/VideoPC/background.png +0 -0
  38. package/es/common/VideoPC/closeImg.png +0 -0
  39. package/es/common/VideoPC/components/index.js +100 -0
  40. package/es/common/VideoPC/components/index.less +62 -0
  41. package/es/common/VideoPC/cover.png +0 -0
  42. package/es/common/VideoPC/index.js +750 -0
  43. package/es/common/VideoPC/index.less +79 -0
  44. package/es/common/index.js +32 -0
  45. package/es/composite-comp/common/components/ImageLabel/index.js +2 -2
  46. package/es/composite-comp/common/components/ImageLabel/index.less +23 -7
  47. package/es/composite-comp/common/components/ProductItem/index.js +41 -24
  48. package/es/composite-comp/common/components/ProductItem/index.less +17 -15
  49. package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +16 -12
  50. package/es/composite-comp/common/config-panels/SpacingConfig/index.js +30 -0
  51. package/es/composite-comp/dito/components/Bargain/defaultJSON.js +24 -0
  52. package/es/composite-comp/dito/components/CommonFunctions/defaultJSON.js +1 -1
  53. package/es/composite-comp/dito/components/CommonFunctions/mobile/index.js +8 -0
  54. package/es/composite-comp/dito/components/CommonFunctions/mobile/index.less +3 -0
  55. package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +49 -11
  56. package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +15 -14
  57. package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +9 -1
  58. package/es/composite-comp/dito/components/FlashDeal/pc/ProductItem/index.js +197 -0
  59. package/es/composite-comp/dito/components/FlashDeal/pc/ProductItem/index.less +100 -0
  60. package/es/composite-comp/dito/components/FlashDeal/pc/index.js +18 -22
  61. package/es/composite-comp/dito/components/FlashDeal/pc/index.less +19 -30
  62. package/es/composite-comp/dito/components/GroupBuy/defaultJSON.js +24 -0
  63. package/es/composite-comp/dito/components/GroupBuy/mobile/index.js +8 -5
  64. package/es/composite-comp/dito/components/GroupBuy/mobile/index.less +5 -2
  65. package/es/composite-comp/dito/components/GroupedCarousel/defaultJSON.js +312 -0
  66. package/es/composite-comp/dito/components/GroupedCarousel/index.js +86 -0
  67. package/es/composite-comp/dito/components/GroupedCarousel/pc/index.js +189 -0
  68. package/es/composite-comp/dito/components/GroupedCarousel/pc/index.less +65 -0
  69. package/es/composite-comp/dito/components/News/defaultJSON.js +172 -0
  70. package/{lib/composite-comp/dito/components/Orders → es/composite-comp/dito/components/News}/index.js +13 -13
  71. package/es/composite-comp/dito/components/News/pc/index.js +113 -0
  72. package/es/composite-comp/dito/components/News/pc/index.less +46 -0
  73. package/es/composite-comp/dito/components/Orders/defaultJSON.js +1 -1
  74. package/es/composite-comp/dito/components/PersonalInformation/defaultJSON.js +75 -2
  75. package/es/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
  76. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.js +159 -21
  77. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.less +108 -9
  78. package/es/composite-comp/dito/components/Recommend/defaultJSON.js +55 -1
  79. package/es/composite-comp/dito/components/Recommend/mobile/imgs/card.png +0 -0
  80. package/es/composite-comp/dito/components/Recommend/mobile/index.js +177 -20
  81. package/es/composite-comp/dito/components/Recommend/mobile/index.less +24 -1
  82. package/es/composite-comp/dito/components/SearchBanner/defaultJSON.js +234 -0
  83. package/es/composite-comp/dito/components/SearchBanner/imgs/defaultImg.png +0 -0
  84. package/es/composite-comp/dito/components/SearchBanner/imgs/pcDefImg1.png +0 -0
  85. package/es/composite-comp/dito/components/SearchBanner/index.js +108 -0
  86. package/es/composite-comp/dito/components/SearchBanner/mobile/index.js +293 -0
  87. package/es/composite-comp/dito/components/SearchBanner/mobile/index.less +108 -0
  88. package/es/composite-comp/dito/components/SearchDITO/defaultJSON.js +221 -0
  89. package/es/composite-comp/dito/components/SearchDITO/index.js +86 -0
  90. package/es/composite-comp/dito/components/SearchDITO/pc/components/ConfirmModal/index.less +69 -0
  91. package/es/composite-comp/dito/components/SearchDITO/pc/components/Header/index.js +602 -0
  92. package/es/composite-comp/dito/components/SearchDITO/pc/components/Header/index.less +184 -0
  93. package/es/composite-comp/dito/components/SearchDITO/pc/components/VideoItem/index.js +153 -0
  94. package/es/composite-comp/dito/components/SearchDITO/pc/components/VideoItem/index.less +25 -0
  95. package/es/composite-comp/dito/components/SearchDITO/pc/imgs/avatar.png +0 -0
  96. package/es/composite-comp/dito/components/SearchDITO/pc/index.js +176 -0
  97. package/es/composite-comp/dito/components/SearchDITO/pc/index.less +57 -0
  98. package/es/composite-comp/dito/components/SignBoard/mobile/index.js +1 -1
  99. package/es/composite-comp/dito/components/SlideImage/defaultJSON.js +138 -0
  100. package/es/composite-comp/dito/components/SlideImage/index.js +86 -0
  101. package/es/composite-comp/dito/components/SlideImage/pc/components/CardItem/index.js +105 -0
  102. package/es/composite-comp/dito/components/SlideImage/pc/components/CardItem/index.less +5 -0
  103. package/es/composite-comp/dito/components/SlideImage/pc/components/ParallaxScroll/index.js +170 -0
  104. package/es/composite-comp/dito/components/SlideImage/pc/components/ParallaxScroll/index.less +23 -0
  105. package/es/composite-comp/dito/components/SlideImage/pc/components/VideoItem/imgs/cursor.png +0 -0
  106. package/es/composite-comp/dito/components/SlideImage/pc/components/VideoItem/imgs/d.png +0 -0
  107. package/es/composite-comp/dito/components/SlideImage/pc/components/VideoItem/index.js +176 -0
  108. package/es/composite-comp/dito/components/SlideImage/pc/components/VideoItem/index.less +61 -0
  109. package/es/composite-comp/dito/components/SlideImage/pc/index.js +76 -0
  110. package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +7 -0
  111. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +7 -0
  112. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +7 -20
  113. package/es/composite-comp/dito/config-panels/FlashDealConfig/index.js +15 -1
  114. package/es/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +7 -0
  115. package/es/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigGroup/index.js +149 -0
  116. package/es/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigGroup/index.less +16 -0
  117. package/es/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigTitle/index.js +93 -0
  118. package/es/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigTitle/index.less +0 -0
  119. package/es/composite-comp/dito/config-panels/GroupedCarouselConfig/imgs/defaultImg.png +0 -0
  120. package/es/composite-comp/dito/config-panels/GroupedCarouselConfig/index.js +114 -0
  121. package/es/composite-comp/dito/config-panels/NewsConfig/ConfigGroup/index.js +148 -0
  122. package/es/composite-comp/dito/config-panels/NewsConfig/ConfigGroup/index.less +16 -0
  123. package/es/composite-comp/dito/config-panels/NewsConfig/ConfigTitle/index.js +101 -0
  124. package/es/composite-comp/dito/config-panels/NewsConfig/ConfigTitle/index.less +0 -0
  125. package/es/composite-comp/dito/config-panels/NewsConfig/imgs/defaultImg.png +0 -0
  126. package/{lib/composite-comp/dito/config-panels/OrdersConfig → es/composite-comp/dito/config-panels/NewsConfig}/index.js +40 -40
  127. package/es/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigDecoration/index.js +91 -0
  128. package/es/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigDecoration/index.less +9 -0
  129. package/es/composite-comp/dito/config-panels/{OrdersConfig/ConfigGroup → PersonalInformationConfig/OrdersConfigGroup}/index.js +2 -2
  130. package/es/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +23 -5
  131. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +17 -1
  132. package/es/composite-comp/dito/config-panels/RecommendConfig/index.js +10 -3
  133. package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigContent/index.js +197 -0
  134. package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigContent/index.less +7 -0
  135. package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigImageGroup/index.js +148 -0
  136. package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigImageGroup/index.less +0 -0
  137. package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigSetting/index.js +226 -0
  138. package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigSetting/index.less +9 -0
  139. package/es/composite-comp/dito/config-panels/SearchBannerConfig/imgs/defaultImg.png +0 -0
  140. package/es/composite-comp/dito/config-panels/SearchBannerConfig/index.js +65 -0
  141. package/es/composite-comp/dito/config-panels/SearchDITOConfig/ConfigContent/index.js +165 -0
  142. package/es/composite-comp/dito/config-panels/SearchDITOConfig/ConfigContent/index.less +7 -0
  143. package/es/composite-comp/dito/config-panels/SearchDITOConfig/ConfigImageGroup/index.js +179 -0
  144. package/es/composite-comp/dito/config-panels/SearchDITOConfig/ConfigImageGroup/index.less +0 -0
  145. package/es/composite-comp/dito/config-panels/SearchDITOConfig/ConfigSetting/index.js +181 -0
  146. package/es/composite-comp/dito/config-panels/SearchDITOConfig/ConfigSetting/index.less +9 -0
  147. package/es/composite-comp/dito/config-panels/SearchDITOConfig/imgs/defaultImg.png +0 -0
  148. package/es/composite-comp/dito/config-panels/SearchDITOConfig/index.js +69 -0
  149. package/es/composite-comp/dito/config-panels/SlideImageConfig/ConfigGroup/index.js +150 -0
  150. package/es/composite-comp/dito/config-panels/SlideImageConfig/ConfigGroup/index.less +16 -0
  151. package/es/composite-comp/dito/config-panels/SlideImageConfig/imgs/defaultImg.png +0 -0
  152. package/es/composite-comp/dito/config-panels/SlideImageConfig/index.js +134 -0
  153. package/es/composite-comp/dito/second-config-panels/GroupedCarouselSecondConfig/index.js +196 -0
  154. package/es/composite-comp/dito/second-config-panels/NewsSecondConfig/index.js +133 -0
  155. package/es/composite-comp/dito/second-config-panels/NewsSecondConfig/index.less +8 -0
  156. package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +64 -1
  157. package/es/composite-comp/dito/second-config-panels/SearchBannerSecondConfig/index.js +98 -0
  158. package/es/composite-comp/dito/second-config-panels/SearchDITOSecondConfig/index.js +366 -0
  159. package/es/composite-comp/dito/second-config-panels/SearchDITOSecondConfig/index.less +79 -0
  160. package/es/composite-comp/dito/second-config-panels/SlideImageSecondConfig/index.js +243 -0
  161. package/es/composite-comp/dito/second-config-panels/SlideImageSecondConfig/index.less +71 -0
  162. package/es/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +4 -3
  163. package/es/composite-comp/nuri/components/AffiliateRecommend/mobile/index.js +1 -1
  164. package/es/composite-comp/nuri/components/AffiliateRecommend/mobile/index.less +15 -15
  165. package/es/composite-comp/public/components/Stores/mobile/index.less +3 -0
  166. package/es/constants/component-types.js +33 -9
  167. package/es/constants/index.js +44 -20
  168. package/es/constants/layout.js +46 -2
  169. package/es/core/Designer/ConfigPanel/index.js +18 -1
  170. package/es/core/Designer/index.js +2 -2
  171. package/es/core/Renderer/index.js +37 -2
  172. package/es/decorator/compositeDecorator.js +14 -4
  173. package/es/decorator/metaDecorator.js +1 -2
  174. package/es/locale/ar/ar.json +18 -1
  175. package/es/locale/en/en.json +18 -1
  176. package/es/locale/es/es.json +18 -1
  177. package/es/locale/mn/mn.json +4 -0
  178. package/es/meta-comp/components/Button/editable.js +3 -1
  179. package/es/meta-comp/components/Button/index.js +13 -4
  180. package/es/meta-comp/components/Button/index.less +8 -1
  181. package/es/meta-comp/components/Image/index.js +7 -2
  182. package/es/meta-comp/components/Image/index.less +7 -0
  183. package/es/meta-comp/components/Text/index.js +6 -2
  184. package/es/meta-comp/components/Text/index.less +3 -0
  185. package/es/mobx/Frame.js +12 -1
  186. package/es/mobx/Store.js +12 -0
  187. package/es/utils/androidUtil.js +10 -2
  188. package/es/utils/businessUtil.js +218 -3
  189. package/es/utils/commonUtil.js +155 -4
  190. package/es/utils/coreUtil.js +59 -4
  191. package/es/utils/messageUtil.js +40 -0
  192. package/es/utils/pluginsUtil.js +1 -0
  193. package/lib/assets/fonts/AvenirNext-Bold.ttf +0 -0
  194. package/lib/assets/fonts/AvenirNext-DemiBold.ttf +0 -0
  195. package/lib/assets/fonts/AvenirNext-Medium.ttf +0 -0
  196. package/lib/assets/fonts/AvenirNext-Regular.ttf +0 -0
  197. package/lib/assets/fonts/Montserrat-Bold.ttf +0 -0
  198. package/lib/assets/fonts/Montserrat-Medium.ttf +0 -0
  199. package/lib/assets/fonts/Montserrat-Regular.ttf +0 -0
  200. package/lib/assets/fonts/Montserrat-SemiBold.ttf +0 -0
  201. package/lib/assets/fonts/magic-box-iconfont.css +38 -6
  202. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  203. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  204. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  205. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  206. package/lib/assets/images/base64/index.js +8 -2
  207. package/lib/assets/images/layout-icon/banner-slide-layout3.png +0 -0
  208. package/lib/assets/images/layout-icon/grouped-carousel-layout1.png +0 -0
  209. package/lib/assets/images/layout-icon/news-layout1.png +0 -0
  210. package/lib/assets/images/layout-icon/search-dito-layout1.png +0 -0
  211. package/lib/assets/images/layout-icon/slide-image-layout1.png +0 -0
  212. package/lib/assets/less/font.less +30 -0
  213. package/lib/assets/less/global.less +5 -0
  214. package/lib/common/ColorPickerInput/index.less +2 -0
  215. package/lib/common/CountDown/index.js +29 -2
  216. package/lib/common/CountDown/index.less +38 -5
  217. package/lib/common/ErrorBoundary/index.js +90 -0
  218. package/lib/common/FontStyles/index.less +1 -1
  219. package/lib/common/LinkModal/ProductList/index.js +484 -0
  220. package/lib/common/LinkModal/ProductList/index.less +130 -0
  221. package/lib/common/LinkModal/index.js +8 -1
  222. package/lib/common/ProductCardModal/imgs/dot-icon.png +0 -0
  223. package/lib/common/ProductCardModal/index.js +255 -0
  224. package/lib/common/ProductCardModal/index.less +131 -0
  225. package/lib/common/Toast/index.js +30 -0
  226. package/lib/common/Toast/index.less +29 -0
  227. package/lib/common/UrlPicker/index.js +1 -1
  228. package/lib/common/Video/index.js +5 -3
  229. package/lib/common/VideoPC/background.png +0 -0
  230. package/lib/common/VideoPC/closeImg.png +0 -0
  231. package/lib/common/VideoPC/components/index.js +100 -0
  232. package/lib/common/VideoPC/components/index.less +62 -0
  233. package/lib/common/VideoPC/cover.png +0 -0
  234. package/lib/common/VideoPC/index.js +750 -0
  235. package/lib/common/VideoPC/index.less +79 -0
  236. package/lib/common/index.js +32 -0
  237. package/lib/composite-comp/common/components/ImageLabel/index.js +2 -2
  238. package/lib/composite-comp/common/components/ImageLabel/index.less +23 -7
  239. package/lib/composite-comp/common/components/ProductItem/index.js +41 -24
  240. package/lib/composite-comp/common/components/ProductItem/index.less +17 -15
  241. package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +16 -12
  242. package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +30 -0
  243. package/lib/composite-comp/dito/components/Bargain/defaultJSON.js +24 -0
  244. package/lib/composite-comp/dito/components/CommonFunctions/defaultJSON.js +1 -1
  245. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.js +8 -0
  246. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +3 -0
  247. package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +49 -11
  248. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +15 -14
  249. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +9 -1
  250. package/lib/composite-comp/dito/components/FlashDeal/pc/ProductItem/index.js +197 -0
  251. package/lib/composite-comp/dito/components/FlashDeal/pc/ProductItem/index.less +100 -0
  252. package/lib/composite-comp/dito/components/FlashDeal/pc/index.js +18 -22
  253. package/lib/composite-comp/dito/components/FlashDeal/pc/index.less +19 -30
  254. package/lib/composite-comp/dito/components/GroupBuy/defaultJSON.js +24 -0
  255. package/lib/composite-comp/dito/components/GroupBuy/mobile/index.js +8 -5
  256. package/lib/composite-comp/dito/components/GroupBuy/mobile/index.less +5 -2
  257. package/lib/composite-comp/dito/components/GroupedCarousel/defaultJSON.js +312 -0
  258. package/lib/composite-comp/dito/components/GroupedCarousel/index.js +86 -0
  259. package/lib/composite-comp/dito/components/GroupedCarousel/pc/index.js +189 -0
  260. package/lib/composite-comp/dito/components/GroupedCarousel/pc/index.less +65 -0
  261. package/lib/composite-comp/dito/components/News/defaultJSON.js +172 -0
  262. package/{es/composite-comp/dito/components/Orders → lib/composite-comp/dito/components/News}/index.js +13 -13
  263. package/lib/composite-comp/dito/components/News/pc/index.js +113 -0
  264. package/lib/composite-comp/dito/components/News/pc/index.less +46 -0
  265. package/lib/composite-comp/dito/components/Orders/defaultJSON.js +1 -1
  266. package/lib/composite-comp/dito/components/PersonalInformation/defaultJSON.js +75 -2
  267. package/lib/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
  268. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +159 -21
  269. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +108 -9
  270. package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +55 -1
  271. package/lib/composite-comp/dito/components/Recommend/mobile/imgs/card.png +0 -0
  272. package/lib/composite-comp/dito/components/Recommend/mobile/index.js +177 -20
  273. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +24 -1
  274. package/lib/composite-comp/dito/components/SearchBanner/defaultJSON.js +234 -0
  275. package/lib/composite-comp/dito/components/SearchBanner/imgs/defaultImg.png +0 -0
  276. package/lib/composite-comp/dito/components/SearchBanner/imgs/pcDefImg1.png +0 -0
  277. package/lib/composite-comp/dito/components/SearchBanner/index.js +108 -0
  278. package/lib/composite-comp/dito/components/SearchBanner/mobile/index.js +293 -0
  279. package/lib/composite-comp/dito/components/SearchBanner/mobile/index.less +108 -0
  280. package/lib/composite-comp/dito/components/SearchDITO/defaultJSON.js +221 -0
  281. package/lib/composite-comp/dito/components/SearchDITO/index.js +86 -0
  282. package/lib/composite-comp/dito/components/SearchDITO/pc/components/ConfirmModal/index.less +69 -0
  283. package/lib/composite-comp/dito/components/SearchDITO/pc/components/Header/index.js +602 -0
  284. package/lib/composite-comp/dito/components/SearchDITO/pc/components/Header/index.less +184 -0
  285. package/lib/composite-comp/dito/components/SearchDITO/pc/components/VideoItem/index.js +153 -0
  286. package/lib/composite-comp/dito/components/SearchDITO/pc/components/VideoItem/index.less +25 -0
  287. package/lib/composite-comp/dito/components/SearchDITO/pc/imgs/avatar.png +0 -0
  288. package/lib/composite-comp/dito/components/SearchDITO/pc/index.js +176 -0
  289. package/lib/composite-comp/dito/components/SearchDITO/pc/index.less +57 -0
  290. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +1 -1
  291. package/lib/composite-comp/dito/components/SlideImage/defaultJSON.js +138 -0
  292. package/lib/composite-comp/dito/components/SlideImage/index.js +86 -0
  293. package/lib/composite-comp/dito/components/SlideImage/pc/components/CardItem/index.js +105 -0
  294. package/lib/composite-comp/dito/components/SlideImage/pc/components/CardItem/index.less +5 -0
  295. package/lib/composite-comp/dito/components/SlideImage/pc/components/ParallaxScroll/index.js +170 -0
  296. package/lib/composite-comp/dito/components/SlideImage/pc/components/ParallaxScroll/index.less +23 -0
  297. package/lib/composite-comp/dito/components/SlideImage/pc/components/VideoItem/imgs/cursor.png +0 -0
  298. package/lib/composite-comp/dito/components/SlideImage/pc/components/VideoItem/imgs/d.png +0 -0
  299. package/lib/composite-comp/dito/components/SlideImage/pc/components/VideoItem/index.js +176 -0
  300. package/lib/composite-comp/dito/components/SlideImage/pc/components/VideoItem/index.less +61 -0
  301. package/lib/composite-comp/dito/components/SlideImage/pc/index.js +76 -0
  302. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +7 -0
  303. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +7 -0
  304. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +7 -20
  305. package/lib/composite-comp/dito/config-panels/FlashDealConfig/index.js +15 -1
  306. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +7 -0
  307. package/lib/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigGroup/index.js +149 -0
  308. package/lib/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigGroup/index.less +16 -0
  309. package/lib/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigTitle/index.js +93 -0
  310. package/lib/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigTitle/index.less +0 -0
  311. package/lib/composite-comp/dito/config-panels/GroupedCarouselConfig/imgs/defaultImg.png +0 -0
  312. package/lib/composite-comp/dito/config-panels/GroupedCarouselConfig/index.js +114 -0
  313. package/lib/composite-comp/dito/config-panels/NewsConfig/ConfigGroup/index.js +148 -0
  314. package/lib/composite-comp/dito/config-panels/NewsConfig/ConfigGroup/index.less +16 -0
  315. package/lib/composite-comp/dito/config-panels/NewsConfig/ConfigTitle/index.js +101 -0
  316. package/lib/composite-comp/dito/config-panels/NewsConfig/ConfigTitle/index.less +0 -0
  317. package/lib/composite-comp/dito/config-panels/NewsConfig/imgs/defaultImg.png +0 -0
  318. package/{es/composite-comp/dito/config-panels/OrdersConfig → lib/composite-comp/dito/config-panels/NewsConfig}/index.js +40 -40
  319. package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigDecoration/index.js +91 -0
  320. package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigDecoration/index.less +9 -0
  321. package/lib/composite-comp/dito/config-panels/{OrdersConfig/ConfigGroup → PersonalInformationConfig/OrdersConfigGroup}/index.js +2 -2
  322. package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +23 -5
  323. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +17 -1
  324. package/lib/composite-comp/dito/config-panels/RecommendConfig/index.js +10 -3
  325. package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigContent/index.js +197 -0
  326. package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigContent/index.less +7 -0
  327. package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigImageGroup/index.js +148 -0
  328. package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigImageGroup/index.less +0 -0
  329. package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigSetting/index.js +226 -0
  330. package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigSetting/index.less +9 -0
  331. package/lib/composite-comp/dito/config-panels/SearchBannerConfig/imgs/defaultImg.png +0 -0
  332. package/lib/composite-comp/dito/config-panels/SearchBannerConfig/index.js +65 -0
  333. package/lib/composite-comp/dito/config-panels/SearchDITOConfig/ConfigContent/index.js +165 -0
  334. package/lib/composite-comp/dito/config-panels/SearchDITOConfig/ConfigContent/index.less +7 -0
  335. package/lib/composite-comp/dito/config-panels/SearchDITOConfig/ConfigImageGroup/index.js +179 -0
  336. package/lib/composite-comp/dito/config-panels/SearchDITOConfig/ConfigImageGroup/index.less +0 -0
  337. package/lib/composite-comp/dito/config-panels/SearchDITOConfig/ConfigSetting/index.js +181 -0
  338. package/lib/composite-comp/dito/config-panels/SearchDITOConfig/ConfigSetting/index.less +9 -0
  339. package/lib/composite-comp/dito/config-panels/SearchDITOConfig/imgs/defaultImg.png +0 -0
  340. package/lib/composite-comp/dito/config-panels/SearchDITOConfig/index.js +69 -0
  341. package/lib/composite-comp/dito/config-panels/SlideImageConfig/ConfigGroup/index.js +150 -0
  342. package/lib/composite-comp/dito/config-panels/SlideImageConfig/ConfigGroup/index.less +16 -0
  343. package/lib/composite-comp/dito/config-panels/SlideImageConfig/imgs/defaultImg.png +0 -0
  344. package/lib/composite-comp/dito/config-panels/SlideImageConfig/index.js +134 -0
  345. package/lib/composite-comp/dito/second-config-panels/GroupedCarouselSecondConfig/index.js +196 -0
  346. package/lib/composite-comp/dito/second-config-panels/NewsSecondConfig/index.js +133 -0
  347. package/lib/composite-comp/dito/second-config-panels/NewsSecondConfig/index.less +8 -0
  348. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +64 -1
  349. package/lib/composite-comp/dito/second-config-panels/SearchBannerSecondConfig/index.js +98 -0
  350. package/lib/composite-comp/dito/second-config-panels/SearchDITOSecondConfig/index.js +366 -0
  351. package/lib/composite-comp/dito/second-config-panels/SearchDITOSecondConfig/index.less +79 -0
  352. package/lib/composite-comp/dito/second-config-panels/SlideImageSecondConfig/index.js +243 -0
  353. package/lib/composite-comp/dito/second-config-panels/SlideImageSecondConfig/index.less +71 -0
  354. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +4 -3
  355. package/lib/composite-comp/nuri/components/AffiliateRecommend/mobile/index.js +1 -1
  356. package/lib/composite-comp/nuri/components/AffiliateRecommend/mobile/index.less +15 -15
  357. package/lib/composite-comp/public/components/Stores/mobile/index.less +3 -0
  358. package/lib/constants/component-types.js +33 -9
  359. package/lib/constants/index.js +44 -20
  360. package/lib/constants/layout.js +46 -2
  361. package/lib/core/Designer/ConfigPanel/index.js +18 -1
  362. package/lib/core/Designer/index.js +2 -2
  363. package/lib/core/Renderer/index.js +37 -2
  364. package/lib/decorator/compositeDecorator.js +14 -4
  365. package/lib/decorator/metaDecorator.js +1 -2
  366. package/lib/locale/ar/ar.json +18 -1
  367. package/lib/locale/en/en.json +18 -1
  368. package/lib/locale/es/es.json +18 -1
  369. package/lib/locale/mn/mn.json +4 -0
  370. package/lib/meta-comp/components/Button/editable.js +3 -1
  371. package/lib/meta-comp/components/Button/index.js +13 -4
  372. package/lib/meta-comp/components/Button/index.less +8 -1
  373. package/lib/meta-comp/components/Image/index.js +7 -2
  374. package/lib/meta-comp/components/Image/index.less +7 -0
  375. package/lib/meta-comp/components/Text/index.js +6 -2
  376. package/lib/meta-comp/components/Text/index.less +3 -0
  377. package/lib/mobx/Frame.js +12 -1
  378. package/lib/mobx/Store.js +12 -0
  379. package/lib/utils/androidUtil.js +10 -2
  380. package/lib/utils/businessUtil.js +218 -3
  381. package/lib/utils/commonUtil.js +155 -4
  382. package/lib/utils/coreUtil.js +59 -4
  383. package/lib/utils/messageUtil.js +40 -0
  384. package/lib/utils/pluginsUtil.js +1 -0
  385. package/package.json +5 -2
  386. package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg1.png +0 -0
  387. package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg2.png +0 -0
  388. package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg3.png +0 -0
  389. package/es/composite-comp/dito/components/Orders/mobile/index.js +0 -352
  390. package/es/composite-comp/dito/components/Orders/mobile/index.less +0 -86
  391. package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +0 -9
  392. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg1.png +0 -0
  393. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg2.png +0 -0
  394. package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg3.png +0 -0
  395. package/lib/composite-comp/dito/components/Orders/mobile/index.js +0 -352
  396. package/lib/composite-comp/dito/components/Orders/mobile/index.less +0 -86
  397. package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +0 -9
  398. /package/es/composite-comp/dito/config-panels/PersonalInformationConfig/{ConfigGroup → PersonInfoConfigGroup}/index.js +0 -0
  399. /package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/{ConfigGroup → PersonInfoConfigGroup}/index.js +0 -0
@@ -0,0 +1,65 @@
1
+ .m-grouped-carousel-pc {
2
+ display: flex;
3
+ flex-direction: column;
4
+ position: relative;
5
+ padding: 48px 0;
6
+
7
+ .tab-select-wrap {
8
+ display: flex;
9
+ align-items: center;
10
+ justify-content: center;
11
+ height: 46px;
12
+ overflow: auto;
13
+ position: relative;
14
+ margin-top: 12px;
15
+ margin-bottom: 12px;
16
+ z-index: 2;
17
+
18
+ .tab-title {
19
+ display: flex;
20
+ align-items: center;
21
+ text-align: center;
22
+ padding: 0 24px;
23
+ width: fit-content;
24
+ height: 100%;
25
+ justify-content: center;
26
+ white-space: nowrap;
27
+ flex-direction: column;
28
+ cursor: pointer;
29
+ }
30
+ }
31
+
32
+ .tab-content {
33
+ margin-top: 360px;
34
+
35
+ .carousel-img {
36
+ position: absolute;
37
+ top: 0;
38
+ bottom: 0;
39
+ left: 0;
40
+ right: 0;
41
+
42
+ .bgImg {
43
+ height: 680px;
44
+ }
45
+
46
+ }
47
+
48
+ .text-wrap {
49
+ display: flex;
50
+ flex-direction: column;
51
+ align-items: center;
52
+
53
+ .text {
54
+ margin-bottom: 12px;
55
+ }
56
+
57
+ .btn-wrap {
58
+ display: flex;
59
+ gap: 24px;
60
+ justify-content: center;
61
+ z-index: 2;
62
+ }
63
+ }
64
+ }
65
+ }
@@ -0,0 +1,172 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.groupSourceJSON = exports.getDefaultJSON = void 0;
7
+
8
+ var _uuid = require("uuid");
9
+
10
+ var groupSourceJSON = function groupSourceJSON() {
11
+ var groupId = (0, _uuid.v4)();
12
+ return {
13
+ id: groupId,
14
+ image: {
15
+ parentId: groupId,
16
+ id: (0, _uuid.v4)(),
17
+ open: true,
18
+ type: 'IMAGE',
19
+ content: {
20
+ h5Name: 'image name',
21
+ pcName: 'image name',
22
+ h5ImgSrc: '',
23
+ pcImgSrc: '',
24
+ clickUrl: '',
25
+ imageSelectedWay: {
26
+ pc: '',
27
+ mobile: ''
28
+ }
29
+ },
30
+ hover: {
31
+ open: false,
32
+ backgroundType: 'enlarge',
33
+ magnification: 1.5,
34
+ pcImgHoverUrl: '',
35
+ h5ImgHoverUrl: '',
36
+ imageSelectedWay: {
37
+ pc: '',
38
+ mobile: ''
39
+ }
40
+ }
41
+ },
42
+ groupName: {
43
+ parentId: groupId,
44
+ id: (0, _uuid.v4)(),
45
+ open: true,
46
+ type: 'TEXT',
47
+ specialContent: [],
48
+ text: 'MAY 2024',
49
+ content: {
50
+ sizeType: 'Customize font styles',
51
+ fontWeight: 600,
52
+ pcFontSize: 16,
53
+ textAlign: 'left',
54
+ color: '#DE9697'
55
+ },
56
+ underline: {
57
+ open: false,
58
+ textDecorationColor: '',
59
+ textDecorationStyle: 'solid'
60
+ },
61
+ vertical: {}
62
+ },
63
+ text: {
64
+ parentId: groupId,
65
+ id: (0, _uuid.v4)(),
66
+ open: true,
67
+ type: 'TEXT',
68
+ specialContent: [],
69
+ text: '7 Work-From-Home Jobs That Benefit From a SG a Internet Connection. 7 Work-From-Home Jobs That Benefit From a SG a Internet Connection',
70
+ content: {
71
+ sizeType: 'Customize font styles',
72
+ fontWeight: 600,
73
+ pcFontSize: 16,
74
+ textAlign: 'left',
75
+ color: '#232F46'
76
+ },
77
+ underline: {},
78
+ vertical: {}
79
+ },
80
+ background: {
81
+ opacity: 100,
82
+ color: '#BD2D2F',
83
+ image: '',
84
+ bgType: 'color'
85
+ }
86
+ };
87
+ };
88
+
89
+ exports.groupSourceJSON = groupSourceJSON;
90
+
91
+ var getDefaultJSON = function getDefaultJSON() {
92
+ return {
93
+ id: (0, _uuid.v4)(),
94
+ type: 'NEWS',
95
+ title: {
96
+ headline: {
97
+ id: (0, _uuid.v4)(),
98
+ open: true,
99
+ type: 'TEXT',
100
+ specialContent: [],
101
+ text: 'News and Blogs',
102
+ content: {
103
+ sizeType: 'Customize font styles',
104
+ fontWeight: 600,
105
+ pcFontSize: 26,
106
+ color: '#232F46',
107
+ textAlign: 'left',
108
+ clickUrl: {
109
+ name: '',
110
+ value: ''
111
+ }
112
+ },
113
+ underline: {
114
+ open: false,
115
+ textDecorationColor: '',
116
+ textDecorationStyle: 'solid'
117
+ },
118
+ vertical: {}
119
+ },
120
+ subtitle: {
121
+ id: (0, _uuid.v4)(),
122
+ open: true,
123
+ type: 'TEXT',
124
+ specialContent: [],
125
+ text: 'STAY UPDATED WITH OUR LATEST POSTS',
126
+ content: {
127
+ sizeType: 'Customize font styles',
128
+ fontWeight: 600,
129
+ pcFontSize: 14,
130
+ color: '#232F46',
131
+ textAlign: 'left',
132
+ clickUrl: {
133
+ name: '',
134
+ value: ''
135
+ }
136
+ },
137
+ underline: {
138
+ open: false,
139
+ textDecorationColor: '',
140
+ textDecorationStyle: 'solid'
141
+ },
142
+ vertical: {}
143
+ }
144
+ },
145
+ groupSource: [groupSourceJSON()],
146
+ spacing: {
147
+ pc: {
148
+ paddingTop: 48,
149
+ paddingBottom: 48,
150
+ paddingLeft: 48,
151
+ paddingRight: 48,
152
+ marginBottom: 0
153
+ },
154
+ mobile: {
155
+ paddingTop: 10,
156
+ paddingBottom: 10,
157
+ marginBottom: 0
158
+ }
159
+ },
160
+ customize: {
161
+ layout: 'layout1'
162
+ },
163
+ background: {
164
+ opacity: 100,
165
+ color: '#FFFFFF',
166
+ image: '',
167
+ bgType: 'color'
168
+ }
169
+ };
170
+ };
171
+
172
+ exports.getDefaultJSON = getDefaultJSON;
@@ -7,7 +7,7 @@ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireWildcard(require("react"));
9
9
 
10
- var _mobile = _interopRequireDefault(require("./mobile"));
10
+ var _pc = _interopRequireDefault(require("./pc"));
11
11
 
12
12
  var _defaultJSON = require("./defaultJSON");
13
13
 
@@ -57,28 +57,28 @@ var __decorate = void 0 && (void 0).__decorate || function (decorators, target,
57
57
  return c > 3 && r && Object.defineProperty(target, key, r), r;
58
58
  };
59
59
 
60
- var Orders =
60
+ var News =
61
61
  /** @class */
62
62
  function (_super) {
63
- __extends(Orders, _super);
63
+ __extends(News, _super);
64
64
 
65
- function Orders() {
65
+ function News() {
66
66
  return _super !== null && _super.apply(this, arguments) || this;
67
67
  }
68
68
 
69
- Orders.prototype.render = function () {
69
+ News.prototype.render = function () {
70
70
  var nodeData = this.props.nodeData;
71
- return /*#__PURE__*/_react["default"].createElement("div", null, window.magicDesign.device === 'pc' ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null) : /*#__PURE__*/_react["default"].createElement(_mobile["default"], {
71
+ return /*#__PURE__*/_react["default"].createElement("div", null, window.magicDesign.device === 'pc' ? /*#__PURE__*/_react["default"].createElement(_pc["default"], {
72
72
  data: nodeData
73
- }));
73
+ }) : null);
74
74
  };
75
75
 
76
- Orders.defaultProps = {};
77
- Orders.type = 'ORDERS';
78
- Orders.getDefaultJSON = _defaultJSON.getDefaultJSON;
79
- Orders = __decorate([_compositeDecorator["default"]], Orders);
80
- return Orders;
76
+ News.defaultProps = {};
77
+ News.type = 'NEWS';
78
+ News.getDefaultJSON = _defaultJSON.getDefaultJSON;
79
+ News = __decorate([_compositeDecorator["default"]], News);
80
+ return News;
81
81
  }(_react.Component);
82
82
 
83
- var _default = Orders;
83
+ var _default = News;
84
84
  exports["default"] = _default;
@@ -0,0 +1,113 @@
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
+ require("./index.less");
11
+
12
+ var _components = require("../../../../../meta-comp/components");
13
+
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
+
16
+ var __extends = void 0 && (void 0).__extends || function () {
17
+ var _extendStatics = function extendStatics(d, b) {
18
+ _extendStatics = Object.setPrototypeOf || {
19
+ __proto__: []
20
+ } instanceof Array && function (d, b) {
21
+ d.__proto__ = b;
22
+ } || function (d, b) {
23
+ for (var p in b) {
24
+ if (b.hasOwnProperty(p)) d[p] = b[p];
25
+ }
26
+ };
27
+
28
+ return _extendStatics(d, b);
29
+ };
30
+
31
+ return function (d, b) {
32
+ _extendStatics(d, b);
33
+
34
+ function __() {
35
+ this.constructor = d;
36
+ }
37
+
38
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
39
+ };
40
+ }();
41
+
42
+ var NewsPc =
43
+ /** @class */
44
+ function (_super) {
45
+ __extends(NewsPc, _super);
46
+
47
+ function NewsPc() {
48
+ var _this = _super !== null && _super.apply(this, arguments) || this;
49
+
50
+ _this.state = {};
51
+
52
+ _this.getCardBgStyle = function (background) {
53
+ var wrapStyle = {};
54
+
55
+ if (background) {
56
+ if (background.bgType === 'color') {
57
+ wrapStyle.backgroundColor = background.color;
58
+ wrapStyle.opacity = background.opacity ? background.opacity : 1;
59
+ } else {
60
+ wrapStyle.backgroundImage = "url(" + background.image + ")";
61
+ wrapStyle.backgroundPosition = 'center center';
62
+ wrapStyle.backgroundSize = 'cover';
63
+ wrapStyle.backgroundRepeat = 'no-repeat';
64
+ }
65
+ }
66
+
67
+ return wrapStyle;
68
+ };
69
+
70
+ return _this;
71
+ }
72
+
73
+ NewsPc.prototype.render = function () {
74
+ var _this = this;
75
+
76
+ var data = this.props.data;
77
+ return /*#__PURE__*/_react["default"].createElement("div", {
78
+ className: "m-news-pc"
79
+ }, data.title.headline.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
80
+ className: "headline",
81
+ data: data.title.headline
82
+ }), data.title.subtitle.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
83
+ data: data.title.subtitle
84
+ }), /*#__PURE__*/_react["default"].createElement("div", {
85
+ className: "card-list"
86
+ }, data.groupSource.map(function (m) {
87
+ return /*#__PURE__*/_react["default"].createElement("div", {
88
+ key: m.id,
89
+ className: "item",
90
+ style: _this.getCardBgStyle(m.background)
91
+ }, m.image.open && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
92
+ className: "img",
93
+ data: m.image,
94
+ isRect: true
95
+ }), /*#__PURE__*/_react["default"].createElement("div", {
96
+ className: "right"
97
+ }, m.groupName.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
98
+ data: m.groupName
99
+ }), m.text.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
100
+ className: "text",
101
+ data: m.text
102
+ })));
103
+ })));
104
+ };
105
+
106
+ NewsPc.defaultProps = {
107
+ data: {}
108
+ };
109
+ return NewsPc;
110
+ }(_react["default"].Component);
111
+
112
+ var _default = NewsPc;
113
+ exports["default"] = _default;
@@ -0,0 +1,46 @@
1
+ .m-news-pc {
2
+ .headline {
3
+ margin-bottom: 5px;
4
+ }
5
+
6
+ .card-list {
7
+ display: flex;
8
+ flex-wrap: wrap;
9
+ gap: 48px;
10
+ margin-top: 16px;
11
+
12
+ .item {
13
+ border-radius: 8px;
14
+ overflow: hidden;
15
+ display: flex;
16
+ align-items: center;
17
+ width: calc(50% - 24px);
18
+ height: 180px;
19
+
20
+ .img {
21
+ width: 180px;
22
+ height: 100%;
23
+ margin-left: -5px;
24
+
25
+ img {
26
+ border-radius: 8px 0 0 8px;
27
+ }
28
+ }
29
+
30
+ .right {
31
+ padding: 36px 24px;
32
+ width: calc(100% - 180px);
33
+ height: 100%;
34
+
35
+ .text {
36
+ display: -webkit-box;
37
+ -webkit-box-orient: vertical;
38
+ -webkit-line-clamp: 3;
39
+ overflow: hidden;
40
+ text-overflow: ellipsis;
41
+ margin-top: 10px;
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
@@ -26,7 +26,7 @@ var OrdersGroupSourceJSON = function OrdersGroupSourceJSON(text) {
26
26
  content: {
27
27
  sizeType: 'Customize font styles',
28
28
  fontFamily: defaultFontFamily,
29
- fontWeight: 400,
29
+ fontWeight: 500,
30
30
  fontSize: 12,
31
31
  color: '#2C2C2C',
32
32
  width: 0,
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.getDefaultJSON = exports.PersonalInfoGroupSourceJSON = void 0;
6
+ exports.getDefaultJSON = exports.PersonalInfoGroupSourceJSON = exports.OrdersGroupSourceJSON = void 0;
7
7
 
8
8
  var _uuid = require("uuid");
9
9
 
@@ -26,7 +26,7 @@ var PersonalInfoGroupSourceJSON = function PersonalInfoGroupSourceJSON(text) {
26
26
  content: {
27
27
  sizeType: 'Customize font styles',
28
28
  fontFamily: defaultFontFamily,
29
- fontWeight: 400,
29
+ fontWeight: 500,
30
30
  fontSize: 12,
31
31
  color: '#fff',
32
32
  width: 0,
@@ -68,6 +68,59 @@ var PersonalInfoGroupSourceJSON = function PersonalInfoGroupSourceJSON(text) {
68
68
 
69
69
  exports.PersonalInfoGroupSourceJSON = PersonalInfoGroupSourceJSON;
70
70
 
71
+ var OrdersGroupSourceJSON = function OrdersGroupSourceJSON(text) {
72
+ var groupId = (0, _uuid.v4)();
73
+ return {
74
+ id: groupId,
75
+ title: {
76
+ parentId: groupId,
77
+ id: (0, _uuid.v4)(),
78
+ open: true,
79
+ type: 'TEXT',
80
+ specialContent: [],
81
+ text: text || 'Name',
82
+ content: {
83
+ sizeType: 'Customize font styles',
84
+ fontFamily: 'Montserrat',
85
+ fontWeight: 500,
86
+ fontSize: 12,
87
+ color: '#2C2C2C',
88
+ width: 0,
89
+ textAlign: 'center'
90
+ },
91
+ underline: {
92
+ open: false,
93
+ textDecorationColor: '',
94
+ textDecorationStyle: 'solid'
95
+ },
96
+ vertical: {}
97
+ },
98
+ image: {
99
+ parentId: groupId,
100
+ id: (0, _uuid.v4)(),
101
+ open: true,
102
+ type: 'IMAGE',
103
+ content: {
104
+ h5Name: 'name2',
105
+ pcName: 'name2',
106
+ h5ImgSrc: '',
107
+ pcImgSrc: '',
108
+ clickUrl: ''
109
+ },
110
+ hover: {
111
+ open: false,
112
+ backgroundType: 'enlarge',
113
+ magnification: 1.5,
114
+ pcImgHoverUrl: '',
115
+ h5ImgHoverUrl: ''
116
+ }
117
+ },
118
+ sourceType: text
119
+ };
120
+ };
121
+
122
+ exports.OrdersGroupSourceJSON = OrdersGroupSourceJSON;
123
+
71
124
  var getDefaultJSON = function getDefaultJSON() {
72
125
  return {
73
126
  id: (0, _uuid.v4)(),
@@ -75,7 +128,27 @@ var getDefaultJSON = function getDefaultJSON() {
75
128
  login: {
76
129
  open: true
77
130
  },
131
+ decorationIcon: {
132
+ id: (0, _uuid.v4)(),
133
+ open: true,
134
+ type: 'IMAGE',
135
+ content: {
136
+ h5Name: 'name2',
137
+ pcName: 'name2',
138
+ h5ImgSrc: '',
139
+ pcImgSrc: '',
140
+ clickUrl: ''
141
+ },
142
+ hover: {
143
+ open: false,
144
+ backgroundType: 'enlarge',
145
+ magnification: 1.5,
146
+ pcImgHoverUrl: '',
147
+ h5ImgHoverUrl: ''
148
+ }
149
+ },
78
150
  groupSource: [PersonalInfoGroupSourceJSON('Wishlist'), PersonalInfoGroupSourceJSON('Stores'), PersonalInfoGroupSourceJSON('Vouchers'), PersonalInfoGroupSourceJSON('Recently Viewed')],
151
+ groupSource2: [OrdersGroupSourceJSON('To Pay'), OrdersGroupSourceJSON('To Ship'), OrdersGroupSourceJSON('To Receive'), OrdersGroupSourceJSON('Done'), OrdersGroupSourceJSON('Cancelled')],
79
152
  spacing: {
80
153
  pc: {
81
154
  paddingTop: 0,