@fonixtree/magic-design 2.0.95 → 2.0.98

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 (193) hide show
  1. package/es/assets/images/layout-icon/banner-slide-layout1.png +0 -0
  2. package/es/assets/images/layout-icon/banner-slide-layout1.svg +6 -0
  3. package/es/assets/images/layout-icon/banner-slide-layout2.png +0 -0
  4. package/es/assets/images/layout-icon/layout-recommend-mobile-1.png +0 -0
  5. package/es/assets/images/layout-icon/layout-recommend-mobile-2.png +0 -0
  6. package/es/assets/images/layout-icon/layout-recommend-mobile-3.png +0 -0
  7. package/es/assets/images/layout-icon/layout-recommend-mobile-4.png +0 -0
  8. package/es/common/Collapse/index.js +10 -8
  9. package/es/common/FontStyles/index.less +3 -1
  10. package/es/common/LinkModal/MiniAppApi/const.js +637 -0
  11. package/es/common/LinkModal/MiniAppApi/index.js +61 -0
  12. package/es/common/LinkModal/index.js +6 -0
  13. package/es/common/MonpayCountDown/index.js +160 -0
  14. package/es/common/RatingText/index.js +105 -0
  15. package/es/common/RatingText/index.less +12 -0
  16. package/es/common/index.js +8 -0
  17. package/es/composite-comp/bol/components/Banner/defaultJSON.js +1 -0
  18. package/es/composite-comp/bol/components/Banner/mobile/index.js +2 -1
  19. package/es/composite-comp/bol/components/Banner/mobile/index.less +8 -4
  20. package/es/composite-comp/bol/components/Banner/pc/index.js +2 -1
  21. package/es/composite-comp/bol/components/Banner/pc/index.less +9 -3
  22. package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +11 -11
  23. package/es/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +1 -1
  24. package/es/composite-comp/common/components/MonpayProductItem/index.js +283 -0
  25. package/es/composite-comp/common/components/MonpayProductItem/index.less +211 -0
  26. package/es/composite-comp/common/components/ProductItem/index.js +5 -11
  27. package/es/composite-comp/common/components/ProductItem/index.less +10 -0
  28. package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +13 -0
  29. package/es/composite-comp/{bol/config-panels/NewsletterConfig → common/config-panels}/InputField/index.js +18 -10
  30. package/es/composite-comp/dito/components/GroupBuy/defaultJSON.js +0 -4
  31. package/es/composite-comp/dito/components/GroupBuy/mobile/index.js +3 -3
  32. package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +14 -1
  33. package/es/composite-comp/dito/components/SearchBar/mobile/index.js +98 -33
  34. package/es/composite-comp/dito/components/SearchBar/mobile/index.less +11 -1
  35. package/es/composite-comp/dito/components/SearchBar/pc/index.js +78 -6
  36. package/es/composite-comp/dito/components/SearchBar/pc/index.less +1 -0
  37. package/es/composite-comp/dito/components/SignBoard/mobile/index.js +4 -3
  38. package/es/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +5 -9
  39. package/es/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.less +2 -0
  40. package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +36 -6
  41. package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.less +7 -0
  42. package/es/composite-comp/monpay/components/MonpayFlashDeal/MonpayCountDown/index.js +212 -0
  43. package/es/composite-comp/monpay/components/MonpayFlashDeal/MonpayCountDown/index.less +21 -0
  44. package/es/composite-comp/monpay/components/MonpayFlashDeal/defaultJSON.js +322 -0
  45. package/es/composite-comp/monpay/components/MonpayFlashDeal/index.js +90 -0
  46. package/es/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg.png +0 -0
  47. package/es/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg1.png +0 -0
  48. package/es/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg2.png +0 -0
  49. package/es/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg3.png +0 -0
  50. package/es/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.js +462 -0
  51. package/es/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.less +104 -0
  52. package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg.png +0 -0
  53. package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg1.png +0 -0
  54. package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg2.png +0 -0
  55. package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg3.png +0 -0
  56. package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/index.js +582 -0
  57. package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +150 -0
  58. package/es/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +385 -0
  59. package/es/composite-comp/monpay/components/MonpayRecommend/index.js +90 -0
  60. package/es/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/defImg1.png +0 -0
  61. package/es/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/defImg2.png +0 -0
  62. package/es/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/defImg3.png +0 -0
  63. package/es/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +714 -0
  64. package/es/composite-comp/monpay/components/MonpayRecommend/mobile/index.less +81 -0
  65. package/es/composite-comp/monpay/components/MonpayRecommend/pc/imgs/defImg1.png +0 -0
  66. package/es/composite-comp/monpay/components/MonpayRecommend/pc/imgs/defImg2.png +0 -0
  67. package/es/composite-comp/monpay/components/MonpayRecommend/pc/imgs/defImg3.png +0 -0
  68. package/es/composite-comp/monpay/components/MonpayRecommend/pc/index.js +763 -0
  69. package/es/composite-comp/monpay/components/MonpayRecommend/pc/index.less +124 -0
  70. package/es/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.js +177 -0
  71. package/es/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.less +41 -0
  72. package/es/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigTitle/index.js +171 -0
  73. package/es/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigTitle/index.less +7 -0
  74. package/es/composite-comp/monpay/config-panels/MonpayFlashDealConfig/imgs/layout1.png +0 -0
  75. package/es/composite-comp/monpay/config-panels/MonpayFlashDealConfig/index.js +73 -0
  76. package/es/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigContent/index.js +141 -0
  77. package/es/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigContent/index.less +0 -0
  78. package/es/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigGroup/index.js +149 -0
  79. package/es/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigGroup/index.less +16 -0
  80. package/es/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigTitle/index.js +93 -0
  81. package/es/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigTitle/index.less +0 -0
  82. package/es/composite-comp/monpay/config-panels/MonpayRecommendConfig/imgs/defaultImg.png +0 -0
  83. package/es/composite-comp/monpay/config-panels/MonpayRecommendConfig/index.js +150 -0
  84. package/es/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/AIRecommendation/index.js +431 -0
  85. package/es/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.js +258 -0
  86. package/es/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.less +15 -0
  87. package/es/constants/component-types.js +13 -3
  88. package/es/constants/index.js +10 -1
  89. package/es/constants/layout.js +43 -4
  90. package/es/core/Designer/ConfigPanel/index.js +1 -1
  91. package/es/core/Designer/index.js +5 -2
  92. package/es/locale/en/en.json +11 -0
  93. package/es/locale/es/es.json +11 -0
  94. package/es/locale/id/id.json +11 -0
  95. package/es/utils/businessUtil.js +12 -0
  96. package/es/utils/dateUtil.js +13 -0
  97. package/lib/assets/images/layout-icon/banner-slide-layout1.png +0 -0
  98. package/lib/assets/images/layout-icon/banner-slide-layout1.svg +6 -0
  99. package/lib/assets/images/layout-icon/banner-slide-layout2.png +0 -0
  100. package/lib/assets/images/layout-icon/layout-recommend-mobile-1.png +0 -0
  101. package/lib/assets/images/layout-icon/layout-recommend-mobile-2.png +0 -0
  102. package/lib/assets/images/layout-icon/layout-recommend-mobile-3.png +0 -0
  103. package/lib/assets/images/layout-icon/layout-recommend-mobile-4.png +0 -0
  104. package/lib/common/Collapse/index.js +10 -8
  105. package/lib/common/FontStyles/index.less +3 -1
  106. package/lib/common/LinkModal/MiniAppApi/const.js +637 -0
  107. package/lib/common/LinkModal/MiniAppApi/index.js +61 -0
  108. package/lib/common/LinkModal/index.js +6 -0
  109. package/lib/common/MonpayCountDown/index.js +160 -0
  110. package/lib/common/RatingText/index.js +105 -0
  111. package/lib/common/RatingText/index.less +12 -0
  112. package/lib/common/index.js +8 -0
  113. package/lib/composite-comp/bol/components/Banner/defaultJSON.js +1 -0
  114. package/lib/composite-comp/bol/components/Banner/mobile/index.js +2 -1
  115. package/lib/composite-comp/bol/components/Banner/mobile/index.less +8 -4
  116. package/lib/composite-comp/bol/components/Banner/pc/index.js +2 -1
  117. package/lib/composite-comp/bol/components/Banner/pc/index.less +9 -3
  118. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +11 -11
  119. package/lib/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +1 -1
  120. package/lib/composite-comp/common/components/MonpayProductItem/index.js +283 -0
  121. package/lib/composite-comp/common/components/MonpayProductItem/index.less +211 -0
  122. package/lib/composite-comp/common/components/ProductItem/index.js +5 -11
  123. package/lib/composite-comp/common/components/ProductItem/index.less +10 -0
  124. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +13 -0
  125. package/lib/composite-comp/{bol/config-panels/NewsletterConfig → common/config-panels}/InputField/index.js +18 -10
  126. package/lib/composite-comp/dito/components/GroupBuy/defaultJSON.js +0 -4
  127. package/lib/composite-comp/dito/components/GroupBuy/mobile/index.js +3 -3
  128. package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +14 -1
  129. package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +98 -33
  130. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +11 -1
  131. package/lib/composite-comp/dito/components/SearchBar/pc/index.js +78 -6
  132. package/lib/composite-comp/dito/components/SearchBar/pc/index.less +1 -0
  133. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +4 -3
  134. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +5 -9
  135. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.less +2 -0
  136. package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +36 -6
  137. package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.less +7 -0
  138. package/lib/composite-comp/monpay/components/MonpayFlashDeal/MonpayCountDown/index.js +212 -0
  139. package/lib/composite-comp/monpay/components/MonpayFlashDeal/MonpayCountDown/index.less +21 -0
  140. package/lib/composite-comp/monpay/components/MonpayFlashDeal/defaultJSON.js +322 -0
  141. package/lib/composite-comp/monpay/components/MonpayFlashDeal/index.js +90 -0
  142. package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg.png +0 -0
  143. package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg1.png +0 -0
  144. package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg2.png +0 -0
  145. package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg3.png +0 -0
  146. package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.js +462 -0
  147. package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.less +104 -0
  148. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg.png +0 -0
  149. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg1.png +0 -0
  150. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg2.png +0 -0
  151. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg3.png +0 -0
  152. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.js +582 -0
  153. package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +150 -0
  154. package/lib/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +385 -0
  155. package/lib/composite-comp/monpay/components/MonpayRecommend/index.js +90 -0
  156. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/defImg1.png +0 -0
  157. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/defImg2.png +0 -0
  158. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/defImg3.png +0 -0
  159. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +714 -0
  160. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.less +81 -0
  161. package/lib/composite-comp/monpay/components/MonpayRecommend/pc/imgs/defImg1.png +0 -0
  162. package/lib/composite-comp/monpay/components/MonpayRecommend/pc/imgs/defImg2.png +0 -0
  163. package/lib/composite-comp/monpay/components/MonpayRecommend/pc/imgs/defImg3.png +0 -0
  164. package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.js +763 -0
  165. package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.less +124 -0
  166. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.js +177 -0
  167. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.less +41 -0
  168. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigTitle/index.js +171 -0
  169. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigTitle/index.less +7 -0
  170. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/imgs/layout1.png +0 -0
  171. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/index.js +73 -0
  172. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigContent/index.js +141 -0
  173. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigContent/index.less +0 -0
  174. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigGroup/index.js +149 -0
  175. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigGroup/index.less +16 -0
  176. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigTitle/index.js +93 -0
  177. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigTitle/index.less +0 -0
  178. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/imgs/defaultImg.png +0 -0
  179. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/index.js +150 -0
  180. package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/AIRecommendation/index.js +431 -0
  181. package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.js +258 -0
  182. package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.less +15 -0
  183. package/lib/constants/component-types.js +13 -3
  184. package/lib/constants/index.js +10 -1
  185. package/lib/constants/layout.js +43 -4
  186. package/lib/core/Designer/ConfigPanel/index.js +1 -1
  187. package/lib/core/Designer/index.js +5 -2
  188. package/lib/locale/en/en.json +11 -0
  189. package/lib/locale/es/es.json +11 -0
  190. package/lib/locale/id/id.json +11 -0
  191. package/lib/utils/businessUtil.js +12 -0
  192. package/lib/utils/dateUtil.js +13 -0
  193. package/package.json +1 -1
@@ -0,0 +1,81 @@
1
+ .monpay-recommend-mobile {
2
+ display: flex;
3
+ flex-direction: column;
4
+ }
5
+ .monpay-recommend-mobile .cylon-tabs-nav-operations {
6
+ display: none !important;
7
+ }
8
+ .monpay-recommend-mobile ::-webkit-scrollbar {
9
+ width: 0;
10
+ height: 0;
11
+ display: none;
12
+ }
13
+ .monpay-recommend-mobile .headerImg {
14
+ display: block;
15
+ margin: 0 0.32rem;
16
+ margin-bottom: 0.4rem;
17
+ }
18
+ .monpay-recommend-mobile .tab-select-wrap {
19
+ display: flex;
20
+ align-items: center;
21
+ height: 1rem;
22
+ background: #ffffff;
23
+ overflow: auto;
24
+ position: relative;
25
+ margin-bottom: 0.3rem;
26
+ }
27
+ .monpay-recommend-mobile .tab-select-wrap .tabTitle {
28
+ display: flex;
29
+ align-items: center;
30
+ text-align: center;
31
+ padding: 0 0.32rem;
32
+ width: fit-content;
33
+ height: 100%;
34
+ justify-content: center;
35
+ white-space: nowrap;
36
+ flex-direction: column;
37
+ }
38
+ .monpay-recommend-mobile .tab-select-wrap .tabTitle img {
39
+ height: 0.4rem;
40
+ width: 0.4rem;
41
+ margin-bottom: 0.04rem;
42
+ }
43
+ .monpay-recommend-mobile .tab-select-wrap .active-line {
44
+ position: absolute;
45
+ bottom: 0;
46
+ width: 4rem;
47
+ height: 0.06rem;
48
+ background-color: #fff;
49
+ transition: 0.2s all linear;
50
+ border-radius: 0.03rem;
51
+ }
52
+ .monpay-recommend-mobile .macyContainer {
53
+ display: flex;
54
+ margin: 0 0.32rem;
55
+ }
56
+ .monpay-recommend-mobile .scrollContainer {
57
+ display: flex;
58
+ flex-direction: row;
59
+ align-items: center;
60
+ margin-left: 0.32rem;
61
+ overflow-x: auto;
62
+ padding-bottom: 0.3rem;
63
+ }
64
+ .monpay-recommend-mobile .scrollContainer.pl {
65
+ padding-left: 1.88rem;
66
+ }
67
+ .monpay-recommend-mobile .scrollContainer .scrollProductList {
68
+ display: flex;
69
+ flex-direction: row;
70
+ align-items: flex-start;
71
+ }
72
+ .monpay-recommend-mobile .scrollContainer .scrollProductList .productCard {
73
+ margin-right: 0.24rem;
74
+ }
75
+ .monpay-recommend-mobile .btnSeeAll {
76
+ display: block;
77
+ width: fit-content;
78
+ min-width: 1.6rem;
79
+ margin: 0 auto;
80
+ flex: none;
81
+ }