@fonixtree/magic-design 0.1.93 → 0.2.2

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 (247) hide show
  1. package/es/assets/fonts/magic-box-iconfont.css +7 -35
  2. package/es/assets/fonts/magic-box-iconfont.css.bak +4 -8
  3. package/es/assets/fonts/magic-box-iconfont.js +1 -1
  4. package/es/assets/fonts/magic-box-iconfont.js.bak +1 -1
  5. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  6. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  7. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  8. package/es/assets/less/button.less +0 -5
  9. package/es/common/AffiliateProductModal/index.js +1 -1
  10. package/es/common/AffiliateProductModal/index.less +1 -1
  11. package/es/common/Button/index.less +1 -0
  12. package/es/common/CountDown/index.js +11 -20
  13. package/es/common/GroupList/index.js +2 -7
  14. package/es/common/LinkModal/BundleCampaign/index.js +2 -2
  15. package/es/common/LinkModal/CouponTable/index.js +1 -1
  16. package/es/common/LinkModal/CustomTable/index.js +0 -1
  17. package/es/common/LinkModal/FilteredProductModal/index.js +106 -82
  18. package/es/common/LinkModal/FilteredProductModal/index.less +0 -1
  19. package/es/common/LinkModal/ProductDetailPage/index.js +60 -115
  20. package/es/common/LinkModal/ProductDetailPage/index.less +1 -6
  21. package/es/common/LinkModal/SelectVideoModal/index.js +2 -3
  22. package/es/common/LinkModal/index.js +5 -20
  23. package/es/common/MagicLink/index.js +2 -2
  24. package/es/common/ProductModal/index.js +124 -181
  25. package/es/common/ProductModal/index.less +1 -7
  26. package/es/common/ProductSource/index.js +21 -81
  27. package/es/common/UrlPicker/index.js +10 -51
  28. package/es/common/Video/index.js +86 -142
  29. package/es/common/VideoUpload/index.js +1 -1
  30. package/es/common/index.js +0 -8
  31. package/es/composite-comp/bol/components/Banner/mobile/index.js +2 -4
  32. package/es/composite-comp/bol/components/WalletNuri/mobile/index.js +8 -4
  33. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +1 -3
  34. package/es/composite-comp/common/components/AffiliateProductItem/index.js +20 -22
  35. package/es/composite-comp/common/components/AffiliateProductItem/index.less +1 -31
  36. package/es/composite-comp/common/config-panels/SpacingConfig/index.js +0 -1
  37. package/{lib/composite-comp/nuri → es/composite-comp/dito}/components/AffiliateRecommend/mobile/index.js +10 -12
  38. package/es/composite-comp/{nuri → dito}/components/AffiliateRecommend/pc/index.js +10 -12
  39. package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +1 -8
  40. package/es/composite-comp/dito/components/HeadNavigation/defaultJSON.js +17 -22
  41. package/es/composite-comp/dito/components/HeadNavigation/mobile/index.js +2 -2
  42. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.js +0 -11
  43. package/es/composite-comp/dito/components/Recommend/mobile/index.js +26 -31
  44. package/es/composite-comp/dito/components/Recommend/pc/index.js +1 -1
  45. package/es/composite-comp/dito/components/SearchBar/mobile/index.js +1 -13
  46. package/{lib/composite-comp/nuri → es/composite-comp/dito}/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +1 -1
  47. package/es/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +27 -25
  48. package/es/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +1 -1
  49. package/es/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +1 -1
  50. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +2 -4
  51. package/es/constants/component-types.js +6 -24
  52. package/es/constants/index.js +5 -52
  53. package/es/core/Designer/ChatRobot/components/SearchCondition/index.js +16 -34
  54. package/es/core/Designer/ChatRobot/index.js +4 -49
  55. package/es/core/Designer/ConfigPanel/index.js +0 -6
  56. package/es/core/Designer/FonixtreeGpt/index.js +29 -222
  57. package/es/core/Designer/PageCompList/index.js +1 -1
  58. package/es/core/Designer/QuickMenuBar/index.js +2 -6
  59. package/es/core/Designer/ToolBarModal/index.js +1 -5
  60. package/es/core/Designer/index.js +1 -12
  61. package/es/core/Renderer/index.js +2 -6
  62. package/es/decorator/compositeDecorator.js +6 -10
  63. package/es/decorator/index.js +1 -4
  64. package/es/decorator/metaDecorator.js +3 -7
  65. package/es/locale/en/en.json +2 -20
  66. package/es/locale/es/es.json +2 -20
  67. package/es/locale/id/id.json +2 -20
  68. package/es/meta-comp/config-panels/TextConfig/index.js +1 -1
  69. package/es/mobx/index.js +3 -9
  70. package/es/utils/androidUtil.js +2 -17
  71. package/es/utils/businessUtil.js +5 -54
  72. package/es/utils/commonUtil.js +13 -151
  73. package/es/utils/coreUtil.js +24 -89
  74. package/lib/assets/fonts/magic-box-iconfont.css +7 -35
  75. package/lib/assets/fonts/magic-box-iconfont.css.bak +4 -8
  76. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  77. package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
  78. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  79. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  80. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  81. package/lib/assets/less/button.less +0 -5
  82. package/lib/common/AffiliateProductModal/index.js +1 -1
  83. package/lib/common/AffiliateProductModal/index.less +1 -1
  84. package/lib/common/Button/index.less +1 -0
  85. package/lib/common/CountDown/index.js +11 -20
  86. package/lib/common/GroupList/index.js +2 -7
  87. package/lib/common/LinkModal/BundleCampaign/index.js +2 -2
  88. package/lib/common/LinkModal/CouponTable/index.js +1 -1
  89. package/lib/common/LinkModal/CustomTable/index.js +0 -1
  90. package/lib/common/LinkModal/FilteredProductModal/index.js +106 -82
  91. package/lib/common/LinkModal/FilteredProductModal/index.less +0 -1
  92. package/lib/common/LinkModal/ProductDetailPage/index.js +60 -115
  93. package/lib/common/LinkModal/ProductDetailPage/index.less +1 -6
  94. package/lib/common/LinkModal/SelectVideoModal/index.js +2 -3
  95. package/lib/common/LinkModal/index.js +5 -20
  96. package/lib/common/MagicLink/index.js +2 -2
  97. package/lib/common/ProductModal/index.js +124 -181
  98. package/lib/common/ProductModal/index.less +1 -7
  99. package/lib/common/ProductSource/index.js +21 -81
  100. package/lib/common/UrlPicker/index.js +10 -51
  101. package/lib/common/Video/index.js +86 -142
  102. package/lib/common/VideoUpload/index.js +1 -1
  103. package/lib/common/index.js +0 -8
  104. package/lib/composite-comp/bol/components/Banner/mobile/index.js +2 -4
  105. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.js +8 -4
  106. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +1 -3
  107. package/lib/composite-comp/common/components/AffiliateProductItem/index.js +20 -22
  108. package/lib/composite-comp/common/components/AffiliateProductItem/index.less +1 -31
  109. package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +0 -1
  110. package/{es/composite-comp/nuri → lib/composite-comp/dito}/components/AffiliateRecommend/mobile/index.js +10 -12
  111. package/lib/composite-comp/{nuri → dito}/components/AffiliateRecommend/pc/index.js +10 -12
  112. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +1 -8
  113. package/lib/composite-comp/dito/components/HeadNavigation/defaultJSON.js +17 -22
  114. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.js +2 -2
  115. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.js +0 -11
  116. package/lib/composite-comp/dito/components/Recommend/mobile/index.js +26 -31
  117. package/lib/composite-comp/dito/components/Recommend/pc/index.js +1 -1
  118. package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +1 -13
  119. package/{es/composite-comp/nuri → lib/composite-comp/dito}/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +1 -1
  120. package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +27 -25
  121. package/lib/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +1 -1
  122. package/lib/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +1 -1
  123. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +2 -4
  124. package/lib/constants/component-types.js +6 -24
  125. package/lib/constants/index.js +5 -52
  126. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.js +16 -34
  127. package/lib/core/Designer/ChatRobot/index.js +4 -49
  128. package/lib/core/Designer/ConfigPanel/index.js +0 -6
  129. package/lib/core/Designer/FonixtreeGpt/index.js +29 -222
  130. package/lib/core/Designer/PageCompList/index.js +1 -1
  131. package/lib/core/Designer/QuickMenuBar/index.js +2 -6
  132. package/lib/core/Designer/ToolBarModal/index.js +1 -5
  133. package/lib/core/Designer/index.js +1 -12
  134. package/lib/core/Renderer/index.js +2 -6
  135. package/lib/decorator/compositeDecorator.js +6 -10
  136. package/lib/decorator/index.js +1 -4
  137. package/lib/decorator/metaDecorator.js +3 -7
  138. package/lib/locale/en/en.json +2 -20
  139. package/lib/locale/es/es.json +2 -20
  140. package/lib/locale/id/id.json +2 -20
  141. package/lib/meta-comp/config-panels/TextConfig/index.js +1 -1
  142. package/lib/mobx/index.js +3 -9
  143. package/lib/utils/androidUtil.js +2 -17
  144. package/lib/utils/businessUtil.js +5 -54
  145. package/lib/utils/commonUtil.js +13 -151
  146. package/lib/utils/coreUtil.js +24 -89
  147. package/package.json +1 -2
  148. package/es/common/CropperModal/index.js +0 -126
  149. package/es/common/CropperModal/index.less +0 -29
  150. package/es/common/LinkModal/AffiliatePlatform/index.js +0 -326
  151. package/es/common/LinkModal/AffiliateStore/index.js +0 -332
  152. package/es/common/ProductModal/SortableImageList/index.js +0 -118
  153. package/es/common/ProductModal/SortableImageList/index.less +0 -3
  154. package/es/common/UrlPicker/AnchorModal/index.js +0 -170
  155. package/es/common/UrlPicker/AnchorModal/index.less +0 -21
  156. package/es/common/Video/QualityComponent/index.js +0 -169
  157. package/es/common/Video/QualityComponent/index.less +0 -78
  158. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-cashback.svg +0 -9
  159. package/es/composite-comp/dito/components/CommonFunctions/defaultJSON.js +0 -92
  160. package/es/composite-comp/dito/components/CommonFunctions/index.js +0 -84
  161. package/es/composite-comp/dito/components/CommonFunctions/mobile/index.js +0 -113
  162. package/es/composite-comp/dito/components/CommonFunctions/mobile/index.less +0 -30
  163. package/es/composite-comp/dito/components/Orders/defaultJSON.js +0 -89
  164. package/es/composite-comp/dito/components/Orders/index.js +0 -84
  165. package/es/composite-comp/dito/components/Orders/mobile/index.js +0 -350
  166. package/es/composite-comp/dito/components/Orders/mobile/index.less +0 -86
  167. package/es/composite-comp/dito/components/PersonalInformation/defaultJSON.js +0 -95
  168. package/es/composite-comp/dito/components/PersonalInformation/index.js +0 -84
  169. package/es/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
  170. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.js +0 -592
  171. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.less +0 -135
  172. package/es/composite-comp/dito/config-panels/CommonFunctionsConfig/ConfigGroup/index.js +0 -128
  173. package/es/composite-comp/dito/config-panels/CommonFunctionsConfig/index.js +0 -113
  174. package/es/composite-comp/dito/config-panels/OrdersConfig/ConfigGroup/index.js +0 -131
  175. package/es/composite-comp/dito/config-panels/OrdersConfig/index.js +0 -114
  176. package/es/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigGroup/index.js +0 -131
  177. package/es/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +0 -118
  178. package/es/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +0 -121
  179. package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +0 -148
  180. package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +0 -9
  181. package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +0 -143
  182. package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.less +0 -9
  183. package/es/mobx/UserState.js +0 -144
  184. package/lib/common/CropperModal/index.js +0 -126
  185. package/lib/common/CropperModal/index.less +0 -29
  186. package/lib/common/LinkModal/AffiliatePlatform/index.js +0 -326
  187. package/lib/common/LinkModal/AffiliateStore/index.js +0 -332
  188. package/lib/common/ProductModal/SortableImageList/index.js +0 -118
  189. package/lib/common/ProductModal/SortableImageList/index.less +0 -3
  190. package/lib/common/UrlPicker/AnchorModal/index.js +0 -170
  191. package/lib/common/UrlPicker/AnchorModal/index.less +0 -21
  192. package/lib/common/Video/QualityComponent/index.js +0 -169
  193. package/lib/common/Video/QualityComponent/index.less +0 -78
  194. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-cashback.svg +0 -9
  195. package/lib/composite-comp/dito/components/CommonFunctions/defaultJSON.js +0 -92
  196. package/lib/composite-comp/dito/components/CommonFunctions/index.js +0 -84
  197. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.js +0 -113
  198. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +0 -30
  199. package/lib/composite-comp/dito/components/Orders/defaultJSON.js +0 -89
  200. package/lib/composite-comp/dito/components/Orders/index.js +0 -84
  201. package/lib/composite-comp/dito/components/Orders/mobile/index.js +0 -350
  202. package/lib/composite-comp/dito/components/Orders/mobile/index.less +0 -86
  203. package/lib/composite-comp/dito/components/PersonalInformation/defaultJSON.js +0 -95
  204. package/lib/composite-comp/dito/components/PersonalInformation/index.js +0 -84
  205. package/lib/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
  206. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +0 -592
  207. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +0 -135
  208. package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/ConfigGroup/index.js +0 -128
  209. package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/index.js +0 -113
  210. package/lib/composite-comp/dito/config-panels/OrdersConfig/ConfigGroup/index.js +0 -131
  211. package/lib/composite-comp/dito/config-panels/OrdersConfig/index.js +0 -114
  212. package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigGroup/index.js +0 -131
  213. package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +0 -118
  214. package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +0 -121
  215. package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +0 -148
  216. package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +0 -9
  217. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +0 -143
  218. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.less +0 -9
  219. package/lib/mobx/UserState.js +0 -144
  220. /package/es/common/Video/{RateComponent → components}/index.js +0 -0
  221. /package/es/common/Video/{RateComponent → components}/index.less +0 -0
  222. /package/es/composite-comp/{nuri → dito}/components/AffiliateRecommend/defaultJSON.js +0 -0
  223. /package/es/composite-comp/{nuri → dito}/components/AffiliateRecommend/index.js +0 -0
  224. /package/es/composite-comp/{nuri → dito}/components/AffiliateRecommend/mobile/index.less +0 -0
  225. /package/es/composite-comp/{nuri → dito}/components/AffiliateRecommend/pc/index.less +0 -0
  226. /package/es/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +0 -0
  227. /package/es/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  228. /package/es/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +0 -0
  229. /package/es/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  230. /package/es/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/index.js +0 -0
  231. /package/es/composite-comp/{nuri → dito}/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +0 -0
  232. /package/es/composite-comp/{nuri → dito}/second-config-panels/AffiliateRecommendSecondConfig/index.js +0 -0
  233. /package/es/composite-comp/{nuri → dito}/second-config-panels/AffiliateRecommendSecondConfig/index.less +0 -0
  234. /package/lib/common/Video/{RateComponent → components}/index.js +0 -0
  235. /package/lib/common/Video/{RateComponent → components}/index.less +0 -0
  236. /package/lib/composite-comp/{nuri → dito}/components/AffiliateRecommend/defaultJSON.js +0 -0
  237. /package/lib/composite-comp/{nuri → dito}/components/AffiliateRecommend/index.js +0 -0
  238. /package/lib/composite-comp/{nuri → dito}/components/AffiliateRecommend/mobile/index.less +0 -0
  239. /package/lib/composite-comp/{nuri → dito}/components/AffiliateRecommend/pc/index.less +0 -0
  240. /package/lib/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +0 -0
  241. /package/lib/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  242. /package/lib/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +0 -0
  243. /package/lib/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  244. /package/lib/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/index.js +0 -0
  245. /package/lib/composite-comp/{nuri → dito}/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +0 -0
  246. /package/lib/composite-comp/{nuri → dito}/second-config-panels/AffiliateRecommendSecondConfig/index.js +0 -0
  247. /package/lib/composite-comp/{nuri → dito}/second-config-panels/AffiliateRecommendSecondConfig/index.less +0 -0
@@ -1,135 +0,0 @@
1
- .personal-information-mobile {
2
- height: 3.24rem;
3
- padding: 0.32rem;
4
- box-sizing: border-box;
5
- }
6
- .personal-information-mobile .top {
7
- display: flex;
8
- justify-content: space-between;
9
- align-items: flex-start;
10
- }
11
- .personal-information-mobile .top .pInfoWrap {
12
- display: flex;
13
- align-items: center;
14
- }
15
- .personal-information-mobile .top .pInfoWrap .photoWrap {
16
- position: relative;
17
- display: inline-block;
18
- vertical-align: middle;
19
- margin-right: 0.3rem;
20
- height: 0.88rem;
21
- width: 0.88rem;
22
- }
23
- .personal-information-mobile .top .pInfoWrap .photoWrap > input {
24
- position: absolute;
25
- z-index: 1;
26
- top: 0;
27
- left: 0;
28
- width: 100%;
29
- height: 100%;
30
- opacity: 0;
31
- }
32
- .personal-information-mobile .top .pInfoWrap .userInfo {
33
- display: inline-block;
34
- vertical-align: middle;
35
- }
36
- .personal-information-mobile .top .pInfoWrap .userInfo p {
37
- margin: 0;
38
- }
39
- .personal-information-mobile .top .pInfoWrap .userInfo .name {
40
- font-size: 0.28rem;
41
- font-weight: 500;
42
- color: #ffffff;
43
- max-width: 2.96rem;
44
- white-space: nowrap;
45
- text-overflow: ellipsis;
46
- overflow: hidden;
47
- word-break: break-all;
48
- }
49
- .personal-information-mobile .top .pInfoWrap .userInfo .phone {
50
- font-size: 0.28rem;
51
- font-weight: 400;
52
- color: #ffffff;
53
- margin-top: 0.1rem;
54
- }
55
- .personal-information-mobile .top .pInfoWrap .photo {
56
- display: inline-block;
57
- width: 0.88rem;
58
- height: 0.88rem;
59
- line-height: 1.2rem;
60
- text-align: center;
61
- background: #7b7b7b;
62
- margin-right: 0.3rem;
63
- border-radius: 50%;
64
- }
65
- .personal-information-mobile .top .pInfoWrap .btnLogin {
66
- font-size: 0.28rem;
67
- font-weight: 400;
68
- color: #ffffff;
69
- font-family: Montserrat;
70
- }
71
- .personal-information-mobile .top .btnGroup .iconWrap {
72
- display: inline-block;
73
- margin-left: 0.3rem;
74
- position: relative;
75
- }
76
- .personal-information-mobile .top .btnGroup .num {
77
- position: absolute;
78
- top: -0.04rem;
79
- left: 0.28rem;
80
- display: inline-block;
81
- padding: 0 0.08rem;
82
- border-radius: 50%;
83
- text-align: center;
84
- min-width: 0.32rem;
85
- height: 0.32rem;
86
- line-height: 0.32rem;
87
- background: #ce1126;
88
- font-size: 0.12rem;
89
- color: #ffffff;
90
- }
91
- .personal-information-mobile .bottom {
92
- display: flex;
93
- flex-direction: row;
94
- justify-content: space-around;
95
- width: 100%;
96
- margin-top: 0.48rem;
97
- }
98
- .personal-information-mobile .bottom .item {
99
- position: relative;
100
- }
101
- .personal-information-mobile .bottom .item:after {
102
- content: '';
103
- display: inline-block;
104
- width: 0.02rem;
105
- height: 0.9rem;
106
- position: absolute;
107
- right: 0;
108
- top: 0.12rem;
109
- background: #ccc;
110
- }
111
- .personal-information-mobile .bottom .item:last-child:after {
112
- display: none;
113
- }
114
- .personal-information-mobile .bottom .item .content-wrap {
115
- display: flex;
116
- flex-direction: column;
117
- justify-content: flex-start;
118
- align-items: center;
119
- flex: 1;
120
- }
121
- .personal-information-mobile .bottom .item .number {
122
- width: 70% !important;
123
- font-size: 0.36rem;
124
- font-weight: 600;
125
- color: #ffffff;
126
- text-align: center;
127
- }
128
- .personal-information-mobile .bottom .item .title {
129
- width: 70% !important;
130
- font-size: 0.24rem;
131
- font-weight: 400;
132
- color: #ffffff;
133
- line-height: 0.32rem;
134
- text-align: center;
135
- }
@@ -1,128 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _react = _interopRequireDefault(require("react"));
9
-
10
- var _mobxReact = require("mobx-react");
11
-
12
- var _GroupList = _interopRequireDefault(require("../../../../../common/GroupList"));
13
-
14
- var _coreUtil = require("../../../../../utils/coreUtil");
15
-
16
- var _Button = _interopRequireDefault(require("../../../../../common/Button"));
17
-
18
- var _defaultJSON = require("../../../components/CommonFunctions/defaultJSON");
19
-
20
- var _locale = require("../../../../../locale");
21
-
22
- var _decorator = require("../../../../../decorator");
23
-
24
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
25
-
26
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
27
-
28
- var __extends = void 0 && (void 0).__extends || function () {
29
- var _extendStatics = function extendStatics(d, b) {
30
- _extendStatics = Object.setPrototypeOf || {
31
- __proto__: []
32
- } instanceof Array && function (d, b) {
33
- d.__proto__ = b;
34
- } || function (d, b) {
35
- for (var p in b) {
36
- if (b.hasOwnProperty(p)) d[p] = b[p];
37
- }
38
- };
39
-
40
- return _extendStatics(d, b);
41
- };
42
-
43
- return function (d, b) {
44
- _extendStatics(d, b);
45
-
46
- function __() {
47
- this.constructor = d;
48
- }
49
-
50
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
51
- };
52
- }();
53
-
54
- var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
55
- var c = arguments.length,
56
- r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
57
- d;
58
- if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {
59
- if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
60
- }
61
- return c > 3 && r && Object.defineProperty(target, key, r), r;
62
- };
63
-
64
- var notice = 'Please add some Item';
65
-
66
- var ImageTextConfigGroup =
67
- /** @class */
68
- function (_super) {
69
- __extends(ImageTextConfigGroup, _super);
70
-
71
- function ImageTextConfigGroup() {
72
- var _this = _super !== null && _super.apply(this, arguments) || this;
73
-
74
- _this.state = {};
75
-
76
- _this.onClickItem = function (node) {
77
- _this.props.store.setState({
78
- clickedGroup: node.id
79
- });
80
- };
81
-
82
- _this.onAddClick = function () {
83
- var json = (0, _defaultJSON.CommonFunctionsGroupSourceJSON)();
84
-
85
- _this.props.source.push(json);
86
-
87
- _this.setState({});
88
-
89
- (0, _coreUtil.renderPreview)();
90
- };
91
-
92
- _this.reRender = function () {
93
- _this.setState({});
94
- };
95
-
96
- return _this;
97
- }
98
-
99
- ImageTextConfigGroup.prototype.render = function () {
100
- var source = this.props.source;
101
- return /*#__PURE__*/_react["default"].createElement("div", {
102
- className: "banner_group"
103
- }, /*#__PURE__*/_react["default"].createElement("div", {
104
- className: "node_list"
105
- }, source.length === 0 ? /*#__PURE__*/_react["default"].createElement("span", {
106
- className: "notice"
107
- }, notice) : /*#__PURE__*/_react["default"].createElement(_GroupList["default"], {
108
- onClickItem: this.onClickItem,
109
- reRender: this.reRender,
110
- source: source
111
- })), /*#__PURE__*/_react["default"].createElement("div", {
112
- className: "btn_wrap"
113
- }, /*#__PURE__*/_react["default"].createElement(_Button["default"], {
114
- icon: "icon-add",
115
- onClick: this.onAddClick,
116
- type: "primary"
117
- }, (0, _locale.i18n)('ADD'))));
118
- };
119
-
120
- ImageTextConfigGroup.defaultProps = {
121
- source: []
122
- };
123
- ImageTextConfigGroup = __decorate([(0, _mobxReact.inject)('store'), _mobxReact.observer, _decorator.updateConfigDecorator], ImageTextConfigGroup);
124
- return ImageTextConfigGroup;
125
- }(_react["default"].Component);
126
-
127
- var _default = ImageTextConfigGroup;
128
- exports["default"] = _default;
@@ -1,113 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _react = _interopRequireDefault(require("react"));
9
-
10
- var _ConfigGroup = _interopRequireDefault(require("./ConfigGroup"));
11
-
12
- var _locale = require("../../../../locale");
13
-
14
- var _common = require("../../../../common");
15
-
16
- var _BackgroundConfig = _interopRequireDefault(require("../../../common/config-panels/BackgroundConfig"));
17
-
18
- var _coreUtil = require("../../../../utils/coreUtil");
19
-
20
- var _SpacingConfig = _interopRequireDefault(require("../../../common/config-panels/SpacingConfig"));
21
-
22
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
-
24
- var __extends = void 0 && (void 0).__extends || function () {
25
- var _extendStatics = function extendStatics(d, b) {
26
- _extendStatics = Object.setPrototypeOf || {
27
- __proto__: []
28
- } instanceof Array && function (d, b) {
29
- d.__proto__ = b;
30
- } || function (d, b) {
31
- for (var p in b) {
32
- if (b.hasOwnProperty(p)) d[p] = b[p];
33
- }
34
- };
35
-
36
- return _extendStatics(d, b);
37
- };
38
-
39
- return function (d, b) {
40
- _extendStatics(d, b);
41
-
42
- function __() {
43
- this.constructor = d;
44
- }
45
-
46
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
47
- };
48
- }();
49
-
50
- var CommonFunctionsConfig =
51
- /** @class */
52
- function (_super) {
53
- __extends(CommonFunctionsConfig, _super);
54
-
55
- function CommonFunctionsConfig() {
56
- var _this = _super !== null && _super.apply(this, arguments) || this;
57
-
58
- _this.getContentPanel = function () {
59
- var data = _this.props.data;
60
- var source = [{
61
- key: 1,
62
- name: (0, _locale.i18n)('LOGIN_OR_REGISTER'),
63
- metaOption: data.login
64
- }];
65
- return /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
66
- headerSize: "middle",
67
- onRefresh: function onRefresh() {
68
- return (0, _coreUtil.renderPreview)();
69
- },
70
- source: source,
71
- type: "switch"
72
- });
73
- };
74
-
75
- return _this;
76
- }
77
-
78
- CommonFunctionsConfig.prototype.render = function () {
79
- var data = this.props.data;
80
- return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
81
- divider: "bold",
82
- headerSize: "large",
83
- source: [{
84
- key: 'CommonFunctions1',
85
- name: (0, _locale.i18n)('Content'),
86
- value: /*#__PURE__*/_react["default"].createElement(_ConfigGroup["default"], {
87
- source: data.groupSource
88
- }),
89
- metaOption: data.groupSource
90
- }, {
91
- key: 'CommonFunctions2',
92
- name: (0, _locale.i18n)('SPACING'),
93
- value: /*#__PURE__*/_react["default"].createElement(_SpacingConfig["default"], {
94
- data: data.spacing
95
- })
96
- }, {
97
- key: 'CommonFunctions3',
98
- name: (0, _locale.i18n)('BACKGROUND'),
99
- value: /*#__PURE__*/_react["default"].createElement(_BackgroundConfig["default"], {
100
- data: data.background
101
- })
102
- }]
103
- }));
104
- };
105
-
106
- CommonFunctionsConfig.defaultProps = {
107
- data: {}
108
- };
109
- return CommonFunctionsConfig;
110
- }(_react["default"].Component);
111
-
112
- var _default = CommonFunctionsConfig;
113
- exports["default"] = _default;
@@ -1,131 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _react = _interopRequireDefault(require("react"));
9
-
10
- var _mobxReact = require("mobx-react");
11
-
12
- var _GroupList = _interopRequireDefault(require("../../../../../common/GroupList"));
13
-
14
- var _coreUtil = require("../../../../../utils/coreUtil");
15
-
16
- var _Button = _interopRequireDefault(require("../../../../../common/Button"));
17
-
18
- var _defaultJSON = require("../../../components/Orders/defaultJSON");
19
-
20
- var _locale = require("../../../../../locale");
21
-
22
- var _decorator = require("../../../../../decorator");
23
-
24
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
25
-
26
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
27
-
28
- var __extends = void 0 && (void 0).__extends || function () {
29
- var _extendStatics = function extendStatics(d, b) {
30
- _extendStatics = Object.setPrototypeOf || {
31
- __proto__: []
32
- } instanceof Array && function (d, b) {
33
- d.__proto__ = b;
34
- } || function (d, b) {
35
- for (var p in b) {
36
- if (b.hasOwnProperty(p)) d[p] = b[p];
37
- }
38
- };
39
-
40
- return _extendStatics(d, b);
41
- };
42
-
43
- return function (d, b) {
44
- _extendStatics(d, b);
45
-
46
- function __() {
47
- this.constructor = d;
48
- }
49
-
50
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
51
- };
52
- }();
53
-
54
- var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
55
- var c = arguments.length,
56
- r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
57
- d;
58
- if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {
59
- if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
60
- }
61
- return c > 3 && r && Object.defineProperty(target, key, r), r;
62
- };
63
-
64
- var notice = 'Please add some Item';
65
-
66
- var ImageTextConfigGroup =
67
- /** @class */
68
- function (_super) {
69
- __extends(ImageTextConfigGroup, _super);
70
-
71
- function ImageTextConfigGroup() {
72
- var _this = _super !== null && _super.apply(this, arguments) || this;
73
-
74
- _this.state = {};
75
-
76
- _this.onClickItem = function (node) {
77
- _this.props.store.setState({
78
- clickedGroup: node.id
79
- });
80
- };
81
-
82
- _this.onAddClick = function () {
83
- var json = (0, _defaultJSON.OrdersGroupSourceJSON)();
84
-
85
- _this.props.source.push(json);
86
-
87
- _this.setState({});
88
-
89
- (0, _coreUtil.renderPreview)();
90
- };
91
-
92
- _this.reRender = function () {
93
- _this.setState({});
94
- };
95
-
96
- return _this;
97
- }
98
-
99
- ImageTextConfigGroup.prototype.render = function () {
100
- var _a = this.props,
101
- source = _a.source,
102
- maxNum = _a.maxNum;
103
- return /*#__PURE__*/_react["default"].createElement("div", {
104
- className: "banner_group"
105
- }, /*#__PURE__*/_react["default"].createElement("div", {
106
- className: "node_list"
107
- }, source.length === 0 ? /*#__PURE__*/_react["default"].createElement("span", {
108
- className: "notice"
109
- }, notice) : /*#__PURE__*/_react["default"].createElement(_GroupList["default"], {
110
- onClickItem: this.onClickItem,
111
- reRender: this.reRender,
112
- source: source
113
- })), /*#__PURE__*/_react["default"].createElement("div", {
114
- className: "btn_wrap"
115
- }, /*#__PURE__*/_react["default"].createElement(_Button["default"], {
116
- disabled: source.length >= maxNum,
117
- icon: "icon-add",
118
- onClick: this.onAddClick,
119
- type: "primary"
120
- }, (0, _locale.i18n)('ADD'))));
121
- };
122
-
123
- ImageTextConfigGroup.defaultProps = {
124
- source: []
125
- };
126
- ImageTextConfigGroup = __decorate([(0, _mobxReact.inject)('store'), _mobxReact.observer, _decorator.updateConfigDecorator], ImageTextConfigGroup);
127
- return ImageTextConfigGroup;
128
- }(_react["default"].Component);
129
-
130
- var _default = ImageTextConfigGroup;
131
- exports["default"] = _default;
@@ -1,114 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _react = _interopRequireDefault(require("react"));
9
-
10
- var _ConfigGroup = _interopRequireDefault(require("./ConfigGroup"));
11
-
12
- var _locale = require("../../../../locale");
13
-
14
- var _common = require("../../../../common");
15
-
16
- var _BackgroundConfig = _interopRequireDefault(require("../../../common/config-panels/BackgroundConfig"));
17
-
18
- var _coreUtil = require("../../../../utils/coreUtil");
19
-
20
- var _SpacingConfig = _interopRequireDefault(require("../../../common/config-panels/SpacingConfig"));
21
-
22
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
-
24
- var __extends = void 0 && (void 0).__extends || function () {
25
- var _extendStatics = function extendStatics(d, b) {
26
- _extendStatics = Object.setPrototypeOf || {
27
- __proto__: []
28
- } instanceof Array && function (d, b) {
29
- d.__proto__ = b;
30
- } || function (d, b) {
31
- for (var p in b) {
32
- if (b.hasOwnProperty(p)) d[p] = b[p];
33
- }
34
- };
35
-
36
- return _extendStatics(d, b);
37
- };
38
-
39
- return function (d, b) {
40
- _extendStatics(d, b);
41
-
42
- function __() {
43
- this.constructor = d;
44
- }
45
-
46
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
47
- };
48
- }();
49
-
50
- var OrdersConfig =
51
- /** @class */
52
- function (_super) {
53
- __extends(OrdersConfig, _super);
54
-
55
- function OrdersConfig() {
56
- var _this = _super !== null && _super.apply(this, arguments) || this;
57
-
58
- _this.getContentPanel = function () {
59
- var data = _this.props.data;
60
- var source = [{
61
- key: 1,
62
- name: (0, _locale.i18n)('LOGIN_OR_REGISTER'),
63
- metaOption: data.login
64
- }];
65
- return /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
66
- headerSize: "middle",
67
- onRefresh: function onRefresh() {
68
- return (0, _coreUtil.renderPreview)();
69
- },
70
- source: source,
71
- type: "switch"
72
- });
73
- };
74
-
75
- return _this;
76
- }
77
-
78
- OrdersConfig.prototype.render = function () {
79
- var data = this.props.data;
80
- return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
81
- divider: "bold",
82
- headerSize: "large",
83
- source: [{
84
- key: 'Orders1',
85
- name: (0, _locale.i18n)('Content'),
86
- value: /*#__PURE__*/_react["default"].createElement(_ConfigGroup["default"], {
87
- maxNum: 5,
88
- source: data.groupSource
89
- }),
90
- metaOption: data.groupSource
91
- }, {
92
- key: 'Orders2',
93
- name: (0, _locale.i18n)('SPACING'),
94
- value: /*#__PURE__*/_react["default"].createElement(_SpacingConfig["default"], {
95
- data: data.spacing
96
- })
97
- }, {
98
- key: 'Orders3',
99
- name: (0, _locale.i18n)('BACKGROUND'),
100
- value: /*#__PURE__*/_react["default"].createElement(_BackgroundConfig["default"], {
101
- data: data.background
102
- })
103
- }]
104
- }));
105
- };
106
-
107
- OrdersConfig.defaultProps = {
108
- data: {}
109
- };
110
- return OrdersConfig;
111
- }(_react["default"].Component);
112
-
113
- var _default = OrdersConfig;
114
- exports["default"] = _default;