@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
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.setAccountPageValue = exports.pInfoData = exports["default"] = void 0;
6
+ exports.setAccountPageValue = exports.pInfoData = exports.orderData = exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
@@ -15,6 +15,8 @@ var _antd = require("antd4");
15
15
 
16
16
  var _avatar = _interopRequireDefault(require("./images/avatar.png"));
17
17
 
18
+ var _coreUtil = require("../../../../../utils/coreUtil");
19
+
18
20
  var _components = require("../../../../../meta-comp/components");
19
21
 
20
22
  var _androidUtil = require("../../../../../utils/androidUtil");
@@ -220,6 +222,20 @@ var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
220
222
  }
221
223
  };
222
224
 
225
+ var currentUser = JSON.parse(localStorage.getItem('currentUser')) || {};
226
+
227
+ var setAccountPageValue = function setAccountPageValue(obj) {
228
+ var accountPageValue = JSON.parse(localStorage.getItem('accountPageValue'));
229
+ localStorage.setItem('accountPageValue', JSON.stringify(__assign(__assign({}, accountPageValue), obj)));
230
+ };
231
+
232
+ exports.setAccountPageValue = setAccountPageValue;
233
+
234
+ var getAccountPageValue = function getAccountPageValue(key) {
235
+ var accountPageValue = JSON.parse(localStorage.getItem('accountPageValue'));
236
+ return accountPageValue ? accountPageValue[key] || '' : '';
237
+ };
238
+
223
239
  var pInfoData = {
224
240
  Wishlist: {
225
241
  route: '/favourite/list'
@@ -235,15 +251,29 @@ var pInfoData = {
235
251
  }
236
252
  };
237
253
  exports.pInfoData = pInfoData;
238
- var LPObj = (0, _storeUtil.getSessionStore)('channelPurchase') || {};
239
- var currentUser = JSON.parse(localStorage.getItem('currentUser')) || {};
240
-
241
- var setAccountPageValue = function setAccountPageValue(obj) {
242
- var accountPageValue = JSON.parse(localStorage.getItem('accountPageValue'));
243
- localStorage.setItem('accountPageValue', JSON.stringify(__assign(__assign({}, accountPageValue), obj)));
254
+ var orderData = {
255
+ 'To Pay': {
256
+ key: 'toPayNum',
257
+ route: '/main/order/1'
258
+ },
259
+ 'To Ship': {
260
+ key: 'toDeliveryNum',
261
+ route: '/main/order/2'
262
+ },
263
+ 'To Receive': {
264
+ key: 'toReceiveNum',
265
+ route: '/main/order/3'
266
+ },
267
+ Done: {
268
+ key: 'toRatingNum',
269
+ route: '/main/order/4'
270
+ },
271
+ Cancelled: {
272
+ key: 'returnsNum',
273
+ route: '/main/order/5'
274
+ }
244
275
  };
245
-
246
- exports.setAccountPageValue = setAccountPageValue;
276
+ exports.orderData = orderData;
247
277
 
248
278
  var PersonalInfoMobile =
249
279
  /** @class */
@@ -258,7 +288,8 @@ function (_super) {
258
288
  userInfo: currentUser,
259
289
  loading: false,
260
290
  selectedImgFile: {},
261
- editImgModalVisible: false
291
+ editImgModalVisible: false,
292
+ orderStatus: getAccountPageValue('orderStatus') || {}
262
293
  };
263
294
 
264
295
  _this.getNum = function (v) {
@@ -309,6 +340,8 @@ function (_super) {
309
340
  };
310
341
 
311
342
  _this.clickName = function () {
343
+ var LPObj = (0, _storeUtil.getSessionStore)('channelPurchase') || {};
344
+
312
345
  if (!(0, _isEmpty["default"])(LPObj)) {
313
346
  return;
314
347
  }
@@ -406,7 +439,6 @@ function (_super) {
406
439
 
407
440
  _this.hideBottomBar = function () {
408
441
  var homeNavBar = document.querySelector('.home-navigation');
409
- console.log('homeNavBar', homeNavBar);
410
442
  if (homeNavBar) homeNavBar.style.visibility = 'hidden';
411
443
  };
412
444
 
@@ -471,6 +503,57 @@ function (_super) {
471
503
  }
472
504
  };
473
505
 
506
+ _this.onOrderItemClick = function (v) {
507
+ var _a;
508
+
509
+ if ((0, _commonUtil.checkLogin)(true)) {
510
+ var routeUrl = (_a = orderData[v]) === null || _a === void 0 ? void 0 : _a.route;
511
+ var selfUrl = (0, _commonUtil.ensure)(function () {
512
+ return item.title.content.clickUrl.value || item.image.content.clickUrl.value;
513
+ }, '');
514
+ (0, _commonUtil.navigateTo)(routeUrl || selfUrl);
515
+ }
516
+ };
517
+
518
+ _this.getInit = function () {
519
+ return __awaiter(_this, void 0, void 0, function () {
520
+ var orderStatus;
521
+ return __generator(this, function (_a) {
522
+ switch (_a.label) {
523
+ case 0:
524
+ return [4
525
+ /*yield*/
526
+ , (0, _commonUtil.commonFetch)('/designer/v1/h5/orders/status/num', {}, 'GET')];
527
+
528
+ case 1:
529
+ orderStatus = _a.sent();
530
+ this.setState({
531
+ orderStatus: orderStatus
532
+ });
533
+ setAccountPageValue({
534
+ orderStatus: orderStatus
535
+ });
536
+ return [2
537
+ /*return*/
538
+ ];
539
+ }
540
+ });
541
+ });
542
+ };
543
+
544
+ _this.getImageHtml = function (item) {
545
+ var orderStatus = _this.state.orderStatus;
546
+ var num = (0, _commonUtil.ensure)(function () {
547
+ return orderStatus[orderData[item.sourceType].key];
548
+ }, '');
549
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
550
+ data: item.image,
551
+ maxWidth: "100%"
552
+ }), num ? /*#__PURE__*/_react["default"].createElement("span", {
553
+ className: "pot"
554
+ }, num) : null);
555
+ };
556
+
474
557
  return _this;
475
558
  }
476
559
 
@@ -480,6 +563,10 @@ function (_super) {
480
563
  }
481
564
 
482
565
  this.getMessageNum();
566
+
567
+ if ((0, _commonUtil.isLogin)()) {
568
+ this.getInit();
569
+ }
483
570
  };
484
571
 
485
572
  PersonalInfoMobile.prototype.render = function () {
@@ -491,15 +578,21 @@ function (_super) {
491
578
  userInfo = _a.userInfo,
492
579
  editImgModalVisible = _a.editImgModalVisible,
493
580
  selectedImgFile = _a.selectedImgFile;
581
+ var LPObj = (0, _storeUtil.getSessionStore)('channelPurchase') || {};
494
582
  return /*#__PURE__*/_react["default"].createElement("div", {
495
- className: (0, _classnames["default"])('personal-information-mobile')
583
+ className: (0, _classnames["default"])('personal-information-mobile', {
584
+ higher: (0, _commonUtil.isLogin)() || (0, _coreUtil.isDesignMode)()
585
+ })
496
586
  }, /*#__PURE__*/_react["default"].createElement("div", {
497
587
  className: "top"
498
588
  }, /*#__PURE__*/_react["default"].createElement("div", {
499
589
  className: "pInfoWrap"
500
590
  }, (0, _commonUtil.isLogin)() ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
501
591
  className: "photoWrap"
502
- }, /*#__PURE__*/_react["default"].createElement("img", {
592
+ }, data.decorationIcon.open && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
593
+ className: "decorationIcon",
594
+ data: data.decorationIcon
595
+ }), /*#__PURE__*/_react["default"].createElement("img", {
503
596
  alt: "",
504
597
  className: "photo",
505
598
  src: userInfo.photo || _avatar["default"],
@@ -521,11 +614,14 @@ function (_super) {
521
614
  }, userInfo.firstName || userInfo.nickName), /*#__PURE__*/_react["default"].createElement("p", {
522
615
  className: "phone"
523
616
  }, userInfo.mobilePhone))) : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
524
- className: "photo"
525
- }, /*#__PURE__*/_react["default"].createElement(_Iconfont["default"], {
526
- color: "#fff",
527
- size: 32,
528
- type: "icon-account"
617
+ className: "photoWrap"
618
+ }, data.decorationIcon.open && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
619
+ className: "decorationIcon",
620
+ data: data.decorationIcon
621
+ }), /*#__PURE__*/_react["default"].createElement("img", {
622
+ alt: "",
623
+ className: "photo",
624
+ src: _avatar["default"]
529
625
  })), data.login.open && /*#__PURE__*/_react["default"].createElement("span", {
530
626
  className: "btnLogin",
531
627
  onClick: this.goLoginPage
@@ -535,7 +631,7 @@ function (_super) {
535
631
  color: "#fff",
536
632
  onClick: this.goSettings,
537
633
  size: 24,
538
- type: "icon-set"
634
+ type: "icon-settings"
539
635
  }), /*#__PURE__*/_react["default"].createElement("div", {
540
636
  className: "iconWrap"
541
637
  }, /*#__PURE__*/_react["default"].createElement(_Iconfont["default"], {
@@ -545,7 +641,7 @@ function (_super) {
545
641
  type: "icon-messages"
546
642
  }), !!messageNum && /*#__PURE__*/_react["default"].createElement("span", {
547
643
  className: "num"
548
- }, messageNum)))), /*#__PURE__*/_react["default"].createElement("div", {
644
+ }, messageNum)))), ((0, _commonUtil.isLogin)() || (0, _coreUtil.isDesignMode)()) && /*#__PURE__*/_react["default"].createElement("div", {
549
645
  className: "bottom"
550
646
  }, data.groupSource.map(function (item) {
551
647
  return /*#__PURE__*/_react["default"].createElement("div", {
@@ -571,7 +667,49 @@ function (_super) {
571
667
  item.title.text = text;
572
668
  }
573
669
  })));
574
- })), editImgModalVisible && /*#__PURE__*/_react["default"].createElement(_common.CropperModal, {
670
+ })), /*#__PURE__*/_react["default"].createElement("div", {
671
+ className: "orders"
672
+ }, /*#__PURE__*/_react["default"].createElement("div", {
673
+ className: "fixed-wrap"
674
+ }, /*#__PURE__*/_react["default"].createElement("div", {
675
+ className: "top"
676
+ }, /*#__PURE__*/_react["default"].createElement("span", {
677
+ className: "title"
678
+ }, (0, _locale.i18n)('ORDERS')), /*#__PURE__*/_react["default"].createElement("div", {
679
+ className: "btn-wrap"
680
+ }, /*#__PURE__*/_react["default"].createElement("span", {
681
+ className: "text",
682
+ onClick: function onClick() {
683
+ if ((0, _commonUtil.checkLogin)(true)) (0, _commonUtil.navigateTo)('/main/order/0');
684
+ }
685
+ }, (0, _locale.i18n)('VIEW_ALL_ORDERS')), /*#__PURE__*/_react["default"].createElement(_Iconfont["default"], {
686
+ color: "#C7C7C7",
687
+ size: 13,
688
+ type: "icon-outlined-right"
689
+ }))), /*#__PURE__*/_react["default"].createElement("div", {
690
+ className: "list"
691
+ }, data.groupSource2.map(function (item) {
692
+ return /*#__PURE__*/_react["default"].createElement("div", {
693
+ key: item.id,
694
+ className: "item",
695
+ onClick: function onClick() {
696
+ return _this.onOrderItemClick(item.sourceType);
697
+ }
698
+ }, /*#__PURE__*/_react["default"].createElement("div", {
699
+ className: "content-wrap",
700
+ style: {
701
+ pointerEvents: window.magicDesign.mode == 'designer' ? 'auto' : 'none'
702
+ }
703
+ }, /*#__PURE__*/_react["default"].createElement("div", {
704
+ className: "img-wrap"
705
+ }, item.image.open && _this.getImageHtml(item)), item.title.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
706
+ className: "title",
707
+ data: item.title,
708
+ onTextInput: function onTextInput(text) {
709
+ item.title.text = text;
710
+ }
711
+ })));
712
+ })))), editImgModalVisible && /*#__PURE__*/_react["default"].createElement(_common.CropperModal, {
575
713
  onClose: function onClose() {
576
714
  _this.setState({
577
715
  editImgModalVisible: false
@@ -1,7 +1,11 @@
1
1
  .personal-information-mobile {
2
- height: 3.24rem;
3
- padding: 0.32rem;
2
+ padding: 0.44rem 0.32rem;
4
3
  box-sizing: border-box;
4
+ height: 5rem;
5
+ }
6
+ .personal-information-mobile.higher {
7
+ border-bottom: 1.52rem solid #fff;
8
+ height: 6.8rem;
5
9
  }
6
10
  .personal-information-mobile .top {
7
11
  display: flex;
@@ -29,6 +33,14 @@
29
33
  height: 100%;
30
34
  opacity: 0;
31
35
  }
36
+ .personal-information-mobile .top .pInfoWrap .photoWrap .decorationIcon {
37
+ position: absolute;
38
+ z-index: 1;
39
+ width: 1.4rem;
40
+ height: 1.4rem;
41
+ left: -0.26rem;
42
+ top: -0.26rem;
43
+ }
32
44
  .personal-information-mobile .top .pInfoWrap .userInfo {
33
45
  display: inline-block;
34
46
  vertical-align: middle;
@@ -37,8 +49,9 @@
37
49
  margin: 0;
38
50
  }
39
51
  .personal-information-mobile .top .pInfoWrap .userInfo .name {
40
- font-size: 0.28rem;
41
- font-weight: 500;
52
+ font-family: Montserrat;
53
+ font-size: 0.32rem;
54
+ font-weight: 600;
42
55
  color: #ffffff;
43
56
  max-width: 2.96rem;
44
57
  white-space: nowrap;
@@ -47,8 +60,9 @@
47
60
  word-break: break-all;
48
61
  }
49
62
  .personal-information-mobile .top .pInfoWrap .userInfo .phone {
50
- font-size: 0.28rem;
51
- font-weight: 400;
63
+ font-family: Montserrat;
64
+ font-size: 0.32rem;
65
+ font-weight: 600;
52
66
  color: #ffffff;
53
67
  margin-top: 0.1rem;
54
68
  }
@@ -59,12 +73,11 @@
59
73
  line-height: 1.2rem;
60
74
  text-align: center;
61
75
  background: #7b7b7b;
62
- margin-right: 0.3rem;
63
76
  border-radius: 50%;
64
77
  }
65
78
  .personal-information-mobile .top .pInfoWrap .btnLogin {
66
- font-size: 0.28rem;
67
- font-weight: 400;
79
+ font-size: 0.32rem;
80
+ font-weight: 600;
68
81
  color: #ffffff;
69
82
  font-family: Montserrat;
70
83
  }
@@ -134,3 +147,89 @@
134
147
  line-height: 0.32rem;
135
148
  text-align: center;
136
149
  }
150
+ .personal-information-mobile .orders {
151
+ margin-top: 0.48rem;
152
+ }
153
+ .personal-information-mobile .orders .fixed-wrap {
154
+ display: flex;
155
+ flex-direction: column;
156
+ background-color: #fff;
157
+ box-shadow: 0 0.06rem 0.12rem rgba(0, 0, 0, 0.16);
158
+ border-radius: 0.32rem;
159
+ width: auto;
160
+ padding: 0.32rem;
161
+ }
162
+ .personal-information-mobile .orders .fixed-wrap .top {
163
+ display: flex;
164
+ flex-direction: row;
165
+ justify-content: space-between;
166
+ font-weight: 600;
167
+ line-height: 0.36rem;
168
+ color: var(--font-color);
169
+ }
170
+ .personal-information-mobile .orders .fixed-wrap .top .title {
171
+ font-size: 0.28rem;
172
+ font-weight: 600;
173
+ color: #2C2C2C;
174
+ }
175
+ .personal-information-mobile .orders .fixed-wrap .top .btn-wrap {
176
+ display: flex;
177
+ flex-direction: row;
178
+ justify-content: center;
179
+ align-items: center;
180
+ }
181
+ .personal-information-mobile .orders .fixed-wrap .top .btn-wrap .text {
182
+ font-size: 0.28rem;
183
+ color: #929292;
184
+ font-weight: 400;
185
+ margin-right: 0.08rem;
186
+ }
187
+ .personal-information-mobile .orders .fixed-wrap .list {
188
+ display: flex;
189
+ flex-direction: row;
190
+ justify-content: space-between;
191
+ height: 1.32rem;
192
+ margin-top: 0.48rem;
193
+ margin-bottom: 0.02rem;
194
+ }
195
+ .personal-information-mobile .orders .fixed-wrap .list .item {
196
+ display: flex;
197
+ flex: 1 1;
198
+ }
199
+ .personal-information-mobile .orders .fixed-wrap .list .item .content-wrap {
200
+ width: 100%;
201
+ display: flex;
202
+ flex-direction: column;
203
+ justify-content: center;
204
+ align-items: center;
205
+ }
206
+ .personal-information-mobile .orders .fixed-wrap .list .item .img-wrap {
207
+ position: relative;
208
+ display: flex;
209
+ margin-bottom: 0.16rem;
210
+ width: 0.72rem;
211
+ height: 0.72rem;
212
+ }
213
+ .personal-information-mobile .orders .fixed-wrap .list .item .img-wrap .pot {
214
+ display: inline-block;
215
+ padding: 0 0.08rem;
216
+ background: #ce1126;
217
+ border: 0.02rem solid #ce1126;
218
+ font-size: 0.16rem;
219
+ text-align: center;
220
+ color: #fff;
221
+ position: absolute;
222
+ top: -0.04rem;
223
+ left: 0.4rem;
224
+ min-width: 0.32rem;
225
+ height: 0.32rem;
226
+ border-radius: 50%;
227
+ line-height: 0.3rem;
228
+ }
229
+ .personal-information-mobile .orders .fixed-wrap .list .item .title {
230
+ height: 0.44rem;
231
+ font-size: 0.24rem;
232
+ line-height: 0.22rem;
233
+ color: #2C2C2C;
234
+ text-align: center;
235
+ }
@@ -278,6 +278,54 @@ var getDefaultJSON = function getDefaultJSON() {
278
278
  lineHeight: 18
279
279
  }
280
280
  },
281
+ sold: {
282
+ id: (0, _uuid.v4)(),
283
+ open: true,
284
+ type: 'TEXT',
285
+ specialContent: [],
286
+ text: '',
287
+ content: {
288
+ sizeType: 'Customize font styles',
289
+ fontFamily: defaultFontFamily,
290
+ fontWeight: 400,
291
+ fontSize: 10,
292
+ color: '#545454',
293
+ urlDisabled: true
294
+ },
295
+ underline: {
296
+ open: false,
297
+ textDecorationColor: '',
298
+ textDecorationStyle: 'solid'
299
+ },
300
+ vertical: {
301
+ open: false,
302
+ lineHeight: 18
303
+ }
304
+ },
305
+ discountLabel: {
306
+ id: (0, _uuid.v4)(),
307
+ open: true,
308
+ type: 'TEXT',
309
+ specialContent: [],
310
+ text: '',
311
+ content: {
312
+ sizeType: 'Customize font styles',
313
+ fontFamily: 'Montserrat',
314
+ fontWeight: 700,
315
+ fontSize: 12,
316
+ color: '#2C2C2C',
317
+ urlDisabled: true
318
+ },
319
+ underline: {
320
+ open: false,
321
+ textDecorationColor: '',
322
+ textDecorationStyle: 'solid'
323
+ },
324
+ vertical: {
325
+ open: false,
326
+ lineHeight: 18
327
+ }
328
+ },
281
329
  salesProgress: {
282
330
  open: true
283
331
  }
@@ -312,7 +360,13 @@ var getDefaultJSON = function getDefaultJSON() {
312
360
  opacity: 100,
313
361
  color: '#fff',
314
362
  image: '',
315
- bgType: 'color'
363
+ bgType: 'color',
364
+ tabBackground: {
365
+ opacity: 100,
366
+ color: '#fff',
367
+ image: '',
368
+ tabBgType: 'color'
369
+ }
316
370
  }
317
371
  };
318
372
  };