@fonixtree/magic-design 2.0.109 → 2.0.111

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 (241) hide show
  1. package/es/assets/fonts/magic-box-iconfont.css +27 -7
  2. package/es/assets/fonts/magic-box-iconfont.css.bak +71 -7
  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/images/base64/index.js +3 -1
  9. package/es/common/AffiliateProductModal/index.js +1 -1
  10. package/es/common/Button/index.js +1 -1
  11. package/es/common/Collapse/index.js +1 -1
  12. package/es/common/ImageModal/CommonModal/index.js +1 -1
  13. package/es/common/ImageModal/CommonSelPicCard/index.js +1 -1
  14. package/es/common/ImageModal/index.js +52 -50
  15. package/es/common/ImageModal/utils.js +1 -1
  16. package/es/common/ImagePicker/index.js +1 -1
  17. package/es/common/InputNumber/index.js +1 -1
  18. package/es/common/LinkModal/AffiliatePlatform/index.js +325 -0
  19. package/es/common/LinkModal/AffiliateProductTable/index.js +15 -27
  20. package/es/common/LinkModal/AffiliateStore/index.js +11 -23
  21. package/es/common/LinkModal/BundleCampaign/index.js +15 -27
  22. package/es/common/LinkModal/CatgTable/index.js +3 -11
  23. package/es/common/LinkModal/CouponTable/index.js +3 -11
  24. package/es/common/LinkModal/CustomTable/index.js +3 -11
  25. package/es/common/LinkModal/FilteredProductModal/index.js +23 -37
  26. package/es/common/LinkModal/FunctionTable/index.js +4 -11
  27. package/es/common/LinkModal/MiniAppApi/index.js +4 -12
  28. package/es/common/LinkModal/MiniAppTable/index.js +3 -11
  29. package/es/common/LinkModal/ProductDetailPage/index.js +26 -38
  30. package/es/common/LinkModal/SelectVideoModal/index.js +10 -18
  31. package/es/common/LinkModal/ShareUrl/index.js +3 -11
  32. package/es/common/LinkModal/StoreCatgTable/index.js +3 -11
  33. package/es/common/LinkModal/StoreTable/index.js +11 -23
  34. package/es/common/LinkModal/index.js +15 -19
  35. package/es/common/ProductModal/index.js +1 -1
  36. package/es/common/Slider/index.js +1 -1
  37. package/es/common/SwitchCollapse/index.js +1 -1
  38. package/es/common/SystemNotification/Confirm/index.js +1 -1
  39. package/es/common/UrlPicker/AnchorModal/index.js +1 -1
  40. package/es/common/VideoUpload/index.js +1 -0
  41. package/es/composite-comp/bol/components/Banner/mobile/index.js +1 -1
  42. package/es/composite-comp/bol/components/Banner/pc/index.js +1 -1
  43. package/es/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +1 -1
  44. package/es/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +1 -1
  45. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +1 -1
  46. package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +1 -1
  47. package/es/composite-comp/common/components/ProductItem/index.js +1 -1
  48. package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +1 -1
  49. package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +1 -1
  50. package/es/composite-comp/common/config-panels/InputField/index.js +1 -1
  51. package/es/composite-comp/common/config-panels/SpacingConfig/index.js +1 -1
  52. package/es/composite-comp/dito/components/Bargain/defaultJSON.js +244 -0
  53. package/es/composite-comp/dito/components/Bargain/index.js +86 -0
  54. package/es/composite-comp/dito/components/Bargain/mobile/imgs/defImg.png +0 -0
  55. package/es/composite-comp/dito/components/Bargain/mobile/imgs/defImg1.png +0 -0
  56. package/es/composite-comp/dito/components/Bargain/mobile/imgs/defImg2.png +0 -0
  57. package/es/composite-comp/dito/components/Bargain/mobile/imgs/defImg3.png +0 -0
  58. package/es/composite-comp/dito/components/Bargain/mobile/index.js +370 -0
  59. package/es/composite-comp/dito/components/Bargain/mobile/index.less +85 -0
  60. package/es/composite-comp/dito/components/GroupBuy/mobile/index.less +3 -3
  61. package/es/composite-comp/dito/components/Orders/mobile/index.js +8 -6
  62. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.js +9 -7
  63. package/es/composite-comp/dito/components/SearchBar/mobile/index.js +1 -1
  64. package/es/composite-comp/dito/components/SearchBar/pc/index.js +1 -1
  65. package/es/composite-comp/dito/components/SignBoard/mobile/index.js +1 -1
  66. package/es/composite-comp/dito/components/SignBoard/pc/index.js +1 -1
  67. package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +157 -0
  68. package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.less +20 -0
  69. package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.js +126 -0
  70. package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.less +0 -0
  71. package/es/composite-comp/dito/config-panels/BargainConfig/imgs/layout1.png +0 -0
  72. package/es/composite-comp/dito/config-panels/BargainConfig/index.js +73 -0
  73. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +1 -1
  74. package/es/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +1 -1
  75. package/es/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +1 -1
  76. package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +1 -1
  77. package/es/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +1 -1
  78. package/es/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +1 -1
  79. package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +1 -1
  80. package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +1 -1
  81. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +1 -1
  82. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +1 -1
  83. package/es/composite-comp/monpay/components/InterestProducts/mobile/index.js +11 -6
  84. package/es/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.js +5 -2
  85. package/es/composite-comp/monpay/components/MonpayRecommend/mobile/SearchCondition/index.js +3 -3
  86. package/es/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.js +1 -1
  87. package/es/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.js +1 -1
  88. package/es/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.js +1 -1
  89. package/es/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.js +1 -1
  90. package/es/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/AIRecommendation/index.js +1 -1
  91. package/es/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.js +1 -1
  92. package/es/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +1 -1
  93. package/es/constants/component-types.js +6 -2
  94. package/es/constants/index.js +27 -5
  95. package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +1 -1
  96. package/es/core/Designer/AiImageGenerator/NumberSlider/index.js +1 -1
  97. package/es/core/Designer/AiImageGenerator/UploadReference/index.js +1 -1
  98. package/es/core/Designer/AiImageGenerator/index.js +1 -1
  99. package/es/core/Designer/AppointmentModal/index.js +1 -1
  100. package/es/core/Designer/ChatRobot/components/SearchCondition/index.js +1 -1
  101. package/es/core/Designer/ChatRobot/index.js +1 -1
  102. package/es/core/Designer/PageCompList/index.js +1 -1
  103. package/es/core/Designer/QuickMenuBar/index.js +60 -11
  104. package/es/core/Designer/ToolBarModal/index.js +1 -1
  105. package/es/core/Designer/index.js +22 -4
  106. package/es/core/SelectUrl/index.js +0 -1
  107. package/es/index.js +0 -8
  108. package/es/meta-comp/config-panels/ButtonConfig/index.js +1 -1
  109. package/es/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +1 -1
  110. package/es/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +1 -1
  111. package/es/meta-comp/config-panels/ImageConfig/index.js +1 -1
  112. package/es/meta-comp/config-panels/PlayIconConfig/index.js +1 -1
  113. package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.js +1 -1
  114. package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +1 -1
  115. package/es/meta-comp/config-panels/TextConfig/index.js +1 -1
  116. package/es/utils/androidUtil.js +5 -2
  117. package/es/utils/businessUtil.js +18 -3
  118. package/es/utils/commonUtil.js +2 -2
  119. package/es/utils/coreUtil.js +35 -25
  120. package/lib/assets/fonts/magic-box-iconfont.css +27 -7
  121. package/lib/assets/fonts/magic-box-iconfont.css.bak +71 -7
  122. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  123. package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
  124. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  125. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  126. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  127. package/lib/assets/images/base64/index.js +3 -1
  128. package/lib/common/AffiliateProductModal/index.js +1 -1
  129. package/lib/common/Button/index.js +1 -1
  130. package/lib/common/Collapse/index.js +1 -1
  131. package/lib/common/ImageModal/CommonModal/index.js +1 -1
  132. package/lib/common/ImageModal/CommonSelPicCard/index.js +1 -1
  133. package/lib/common/ImageModal/index.js +52 -50
  134. package/lib/common/ImageModal/utils.js +1 -1
  135. package/lib/common/ImagePicker/index.js +1 -1
  136. package/lib/common/InputNumber/index.js +1 -1
  137. package/lib/common/LinkModal/AffiliatePlatform/index.js +325 -0
  138. package/lib/common/LinkModal/AffiliateProductTable/index.js +15 -27
  139. package/lib/common/LinkModal/AffiliateStore/index.js +11 -23
  140. package/lib/common/LinkModal/BundleCampaign/index.js +15 -27
  141. package/lib/common/LinkModal/CatgTable/index.js +3 -11
  142. package/lib/common/LinkModal/CouponTable/index.js +3 -11
  143. package/lib/common/LinkModal/CustomTable/index.js +3 -11
  144. package/lib/common/LinkModal/FilteredProductModal/index.js +23 -37
  145. package/lib/common/LinkModal/FunctionTable/index.js +4 -11
  146. package/lib/common/LinkModal/MiniAppApi/index.js +4 -12
  147. package/lib/common/LinkModal/MiniAppTable/index.js +3 -11
  148. package/lib/common/LinkModal/ProductDetailPage/index.js +26 -38
  149. package/lib/common/LinkModal/SelectVideoModal/index.js +10 -18
  150. package/lib/common/LinkModal/ShareUrl/index.js +3 -11
  151. package/lib/common/LinkModal/StoreCatgTable/index.js +3 -11
  152. package/lib/common/LinkModal/StoreTable/index.js +11 -23
  153. package/lib/common/LinkModal/index.js +15 -19
  154. package/lib/common/ProductModal/index.js +1 -1
  155. package/lib/common/Slider/index.js +1 -1
  156. package/lib/common/SwitchCollapse/index.js +1 -1
  157. package/lib/common/SystemNotification/Confirm/index.js +1 -1
  158. package/lib/common/UrlPicker/AnchorModal/index.js +1 -1
  159. package/lib/common/VideoUpload/index.js +1 -0
  160. package/lib/composite-comp/bol/components/Banner/mobile/index.js +1 -1
  161. package/lib/composite-comp/bol/components/Banner/pc/index.js +1 -1
  162. package/lib/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +1 -1
  163. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +1 -1
  164. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +1 -1
  165. package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +1 -1
  166. package/lib/composite-comp/common/components/ProductItem/index.js +1 -1
  167. package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +1 -1
  168. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +1 -1
  169. package/lib/composite-comp/common/config-panels/InputField/index.js +1 -1
  170. package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +1 -1
  171. package/lib/composite-comp/dito/components/Bargain/defaultJSON.js +244 -0
  172. package/lib/composite-comp/dito/components/Bargain/index.js +86 -0
  173. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg.png +0 -0
  174. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg1.png +0 -0
  175. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg2.png +0 -0
  176. package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg3.png +0 -0
  177. package/lib/composite-comp/dito/components/Bargain/mobile/index.js +370 -0
  178. package/lib/composite-comp/dito/components/Bargain/mobile/index.less +85 -0
  179. package/lib/composite-comp/dito/components/GroupBuy/mobile/index.less +3 -3
  180. package/lib/composite-comp/dito/components/Orders/mobile/index.js +8 -6
  181. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +9 -7
  182. package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +1 -1
  183. package/lib/composite-comp/dito/components/SearchBar/pc/index.js +1 -1
  184. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +1 -1
  185. package/lib/composite-comp/dito/components/SignBoard/pc/index.js +1 -1
  186. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +157 -0
  187. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.less +20 -0
  188. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.js +126 -0
  189. package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.less +0 -0
  190. package/lib/composite-comp/dito/config-panels/BargainConfig/imgs/layout1.png +0 -0
  191. package/lib/composite-comp/dito/config-panels/BargainConfig/index.js +73 -0
  192. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +1 -1
  193. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +1 -1
  194. package/lib/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +1 -1
  195. package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +1 -1
  196. package/lib/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +1 -1
  197. package/lib/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +1 -1
  198. package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +1 -1
  199. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +1 -1
  200. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +1 -1
  201. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +1 -1
  202. package/lib/composite-comp/monpay/components/InterestProducts/mobile/index.js +11 -6
  203. package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.js +5 -2
  204. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/SearchCondition/index.js +3 -3
  205. package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.js +1 -1
  206. package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.js +1 -1
  207. package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.js +1 -1
  208. package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.js +1 -1
  209. package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/AIRecommendation/index.js +1 -1
  210. package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.js +1 -1
  211. package/lib/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +1 -1
  212. package/lib/constants/component-types.js +6 -2
  213. package/lib/constants/index.js +27 -5
  214. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +1 -1
  215. package/lib/core/Designer/AiImageGenerator/NumberSlider/index.js +1 -1
  216. package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +1 -1
  217. package/lib/core/Designer/AiImageGenerator/index.js +1 -1
  218. package/lib/core/Designer/AppointmentModal/index.js +1 -1
  219. package/lib/core/Designer/ChatRobot/components/SearchCondition/index.js +1 -1
  220. package/lib/core/Designer/ChatRobot/index.js +1 -1
  221. package/lib/core/Designer/PageCompList/index.js +1 -1
  222. package/lib/core/Designer/QuickMenuBar/index.js +60 -11
  223. package/lib/core/Designer/ToolBarModal/index.js +1 -1
  224. package/lib/core/Designer/index.js +22 -4
  225. package/lib/core/SelectUrl/index.js +0 -1
  226. package/lib/index.js +0 -8
  227. package/lib/meta-comp/config-panels/ButtonConfig/index.js +1 -1
  228. package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +1 -1
  229. package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +1 -1
  230. package/lib/meta-comp/config-panels/ImageConfig/index.js +1 -1
  231. package/lib/meta-comp/config-panels/PlayIconConfig/index.js +1 -1
  232. package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.js +1 -1
  233. package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +1 -1
  234. package/lib/meta-comp/config-panels/TextConfig/index.js +1 -1
  235. package/lib/utils/androidUtil.js +5 -2
  236. package/lib/utils/businessUtil.js +18 -3
  237. package/lib/utils/commonUtil.js +2 -2
  238. package/lib/utils/coreUtil.js +35 -25
  239. package/package.json +1 -1
  240. package/es/assets/fonts/.DS_Store +0 -0
  241. package/lib/assets/fonts/.DS_Store +0 -0
@@ -0,0 +1,85 @@
1
+ .m-bargain-mobile {
2
+ display: flex;
3
+ flex-direction: column;
4
+ padding: 0.32rem;
5
+ }
6
+ .m-bargain-mobile .bargain-title {
7
+ display: flex;
8
+ justify-content: space-between;
9
+ align-items: center;
10
+ }
11
+ .m-bargain-mobile .bargain-title .left {
12
+ display: flex;
13
+ align-items: center;
14
+ }
15
+ .m-bargain-mobile .bargain-title .left .icon {
16
+ height: 0.36rem;
17
+ margin-right: 0.2rem;
18
+ }
19
+ .m-bargain-mobile .bargain-title .left .title {
20
+ font-family: 'Montserrat';
21
+ font-style: normal;
22
+ font-weight: 600;
23
+ font-size: 0.28rem;
24
+ line-height: 0.36rem;
25
+ color: #2C2C2C;
26
+ margin-right: 0.2rem;
27
+ }
28
+ .m-bargain-mobile .bargain-title .left .sub-title {
29
+ font-family: 'Montserrat';
30
+ font-style: normal;
31
+ font-weight: 600;
32
+ font-size: 0.2rem;
33
+ line-height: 0.36rem;
34
+ color: #2C2C2C;
35
+ margin-right: 0.12rem;
36
+ align-self: end;
37
+ }
38
+ .m-bargain-mobile .bargain-title .right {
39
+ display: flex;
40
+ align-items: center;
41
+ }
42
+ .m-bargain-mobile .bargain-title .right .text {
43
+ font-family: 'Montserrat';
44
+ font-style: normal;
45
+ font-weight: 600;
46
+ font-size: 0.24rem;
47
+ line-height: 0.3rem;
48
+ color: #0038A8;
49
+ margin-right: 0.1rem;
50
+ }
51
+ .m-bargain-mobile .bargain-title .right .btn {
52
+ white-space: nowrap;
53
+ }
54
+ .m-bargain-mobile .bargain-list {
55
+ margin-top: 0.32rem;
56
+ overflow-x: auto;
57
+ overflow-y: hidden;
58
+ white-space: nowrap;
59
+ display: flex;
60
+ align-items: flex-start;
61
+ justify-content: flex-start;
62
+ position: relative;
63
+ }
64
+ .m-bargain-mobile .bargain-list .loading-wrap {
65
+ display: flex;
66
+ align-items: center;
67
+ justify-content: center;
68
+ padding: 0.6rem;
69
+ position: absolute;
70
+ top: 0;
71
+ bottom: 0;
72
+ left: 0;
73
+ right: 0;
74
+ margin: auto;
75
+ }
76
+ .m-bargain-mobile .bargain-list .m-product-item-wrap {
77
+ width: 2.84rem;
78
+ margin-right: 0.16rem;
79
+ border-radius: 0.16rem;
80
+ }
81
+ .m-bargain-mobile .bargain-list .m-product-item-wrap .product-img {
82
+ height: 2.8rem;
83
+ width: 2.8rem;
84
+ border-radius: 0.16rem;
85
+ }
@@ -74,13 +74,13 @@
74
74
  margin: auto;
75
75
  }
76
76
  .m-group-buy-mobile .group-buy-list .m-product-item-wrap {
77
- width: 3.14rem;
77
+ width: 2.8rem;
78
78
  margin-right: 0.24rem;
79
79
  border-radius: 0;
80
80
  }
81
81
  .m-group-buy-mobile .group-buy-list .m-product-item-wrap .product-img {
82
- height: 2.6rem;
83
- width: 3.1rem;
82
+ height: 2.76rem;
83
+ width: 2.76rem;
84
84
  }
85
85
  .m-group-buy-mobile .group-buy-list .m-product-item-wrap .content-wrap {
86
86
  padding: 0.24rem;
@@ -236,11 +236,13 @@ function (_super) {
236
236
  _this.onItemClick = function (v) {
237
237
  var _a;
238
238
 
239
- var routeUrl = (_a = orderData[v]) === null || _a === void 0 ? void 0 : _a.route;
240
- var selfUrl = (0, _commonUtil.ensure)(function () {
241
- return item.title.content.clickUrl.value || item.image.content.clickUrl.value;
242
- }, '');
243
- (0, _commonUtil.navigateTo)(routeUrl || selfUrl);
239
+ if ((0, _commonUtil.checkLogin)(true)) {
240
+ var routeUrl = (_a = orderData[v]) === null || _a === void 0 ? void 0 : _a.route;
241
+ var selfUrl = (0, _commonUtil.ensure)(function () {
242
+ return item.title.content.clickUrl.value || item.image.content.clickUrl.value;
243
+ }, '');
244
+ (0, _commonUtil.navigateTo)(routeUrl || selfUrl);
245
+ }
244
246
  };
245
247
 
246
248
  _this.getInit = function () {
@@ -308,7 +310,7 @@ function (_super) {
308
310
  }, /*#__PURE__*/_react["default"].createElement("span", {
309
311
  className: "text",
310
312
  onClick: function onClick() {
311
- return (0, _commonUtil.navigateTo)('/main/order/0');
313
+ if ((0, _commonUtil.checkLogin)(true)) (0, _commonUtil.navigateTo)('/main/order/0');
312
314
  }
313
315
  }, (0, _locale.i18n)('VIEW_ALL_ORDERS')), /*#__PURE__*/_react["default"].createElement(_Iconfont["default"], {
314
316
  color: "#C7C7C7",
@@ -11,7 +11,7 @@ var _classnames = _interopRequireDefault(require("classnames"));
11
11
 
12
12
  var _lodash = require("lodash");
13
13
 
14
- var _antd = require("antd");
14
+ var _antd = require("antd4");
15
15
 
16
16
  var _avatar = _interopRequireDefault(require("./images/avatar.png"));
17
17
 
@@ -317,7 +317,7 @@ function (_super) {
317
317
  };
318
318
 
319
319
  _this.goLoginPage = function () {
320
- if ((0, _androidUtil.browserVersion)().isApp) {
320
+ if ((0, _androidUtil.browserVersion)().isDitoApp) {
321
321
  (0, _androidUtil.goToLoginApp)();
322
322
  } else {
323
323
  (0, _commonUtil.goLogin)();
@@ -462,11 +462,13 @@ function (_super) {
462
462
  _this.onItemClick = function (v) {
463
463
  var _a;
464
464
 
465
- var routeUrl = (_a = pInfoData[v]) === null || _a === void 0 ? void 0 : _a.route;
466
- var selfUrl = (0, _commonUtil.ensure)(function () {
467
- return item.title.content.clickUrl.value || item.image.content.clickUrl.value;
468
- }, '');
469
- (0, _commonUtil.navigateTo)(routeUrl || selfUrl);
465
+ if ((0, _commonUtil.checkLogin)(true)) {
466
+ var routeUrl = (_a = pInfoData[v]) === null || _a === void 0 ? void 0 : _a.route;
467
+ var selfUrl = (0, _commonUtil.ensure)(function () {
468
+ return item.title.content.clickUrl.value || item.image.content.clickUrl.value;
469
+ }, '');
470
+ (0, _commonUtil.navigateTo)(routeUrl || selfUrl);
471
+ }
470
472
  };
471
473
 
472
474
  return _this;
@@ -7,7 +7,7 @@ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  require("./index.less");
13
13
 
@@ -9,7 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
 
10
10
  require("./index.less");
11
11
 
12
- var _antd = require("antd");
12
+ var _antd = require("antd4");
13
13
 
14
14
  var _locale = require("../../../../../locale");
15
15
 
@@ -9,7 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
 
10
10
  require("./index.less");
11
11
 
12
- var _antd = require("antd");
12
+ var _antd = require("antd4");
13
13
 
14
14
  var _common = require("../../../../../common");
15
15
 
@@ -9,7 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
 
10
10
  require("./index.less");
11
11
 
12
- var _antd = require("antd");
12
+ var _antd = require("antd4");
13
13
 
14
14
  var _locale = require("../../../../../locale");
15
15
 
@@ -0,0 +1,157 @@
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 _antd = require("antd");
11
+
12
+ var _ButtonConfig = _interopRequireDefault(require("../../../../../meta-comp/config-panels/ButtonConfig"));
13
+
14
+ var _TextConfig = _interopRequireDefault(require("../../../../../meta-comp/config-panels/TextConfig"));
15
+
16
+ var _coreUtil = require("../../../../../utils/coreUtil");
17
+
18
+ var _common = require("../../../../../common");
19
+
20
+ var _locale = require("../../../../../locale");
21
+
22
+ require("./index.less");
23
+
24
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
25
+
26
+ var __extends = void 0 && (void 0).__extends || function () {
27
+ var _extendStatics = function extendStatics(d, b) {
28
+ _extendStatics = Object.setPrototypeOf || {
29
+ __proto__: []
30
+ } instanceof Array && function (d, b) {
31
+ d.__proto__ = b;
32
+ } || function (d, b) {
33
+ for (var p in b) {
34
+ if (b.hasOwnProperty(p)) d[p] = b[p];
35
+ }
36
+ };
37
+
38
+ return _extendStatics(d, b);
39
+ };
40
+
41
+ return function (d, b) {
42
+ _extendStatics(d, b);
43
+
44
+ function __() {
45
+ this.constructor = d;
46
+ }
47
+
48
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
49
+ };
50
+ }();
51
+
52
+ var AComponent =
53
+ /** @class */
54
+ function (_super) {
55
+ __extends(AComponent, _super);
56
+
57
+ function AComponent() {
58
+ var _this = _super !== null && _super.apply(this, arguments) || this;
59
+
60
+ _this.state = {};
61
+
62
+ _this.reRender = function () {
63
+ (0, _coreUtil.renderPreview)();
64
+
65
+ _this.setState({});
66
+ };
67
+
68
+ return _this;
69
+ }
70
+
71
+ AComponent.prototype.render = function () {
72
+ var _this = this;
73
+
74
+ var _a;
75
+
76
+ var panelProps = this.props.panelProps;
77
+ return /*#__PURE__*/_react["default"].createElement("div", {
78
+ className: "flash_sale_content"
79
+ }, /*#__PURE__*/_react["default"].createElement(_common.Field, {
80
+ title: (0, _locale.i18n)('PRODUCT_SORT_BY')
81
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
82
+ onChange: function onChange(v) {
83
+ panelProps.sortType = v;
84
+
85
+ _this.reRender();
86
+ },
87
+ value: panelProps.sortType
88
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
89
+ value: "1"
90
+ }, (0, _locale.i18n)('SALES')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
91
+ value: "3"
92
+ }, (0, _locale.i18n)('PRICE')))), /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
93
+ headerSize: "middle",
94
+ onRefresh: this.reRender,
95
+ source: [{
96
+ key: '1',
97
+ name: (0, _locale.i18n)('LABEL'),
98
+ value: /*#__PURE__*/_react["default"].createElement(_ButtonConfig["default"], {
99
+ data: panelProps.label
100
+ }),
101
+ metaOption: panelProps.label
102
+ }, {
103
+ key: '2',
104
+ name: (0, _locale.i18n)('PRODUCT_NAME'),
105
+ value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
106
+ data: panelProps.productName
107
+ }),
108
+ metaOption: panelProps.productName
109
+ }, {
110
+ key: '3',
111
+ name: (0, _locale.i18n)('ACTIVITY_PRICE'),
112
+ value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
113
+ data: panelProps.activityPrice
114
+ }),
115
+ metaOption: panelProps.activityPrice
116
+ }, {
117
+ key: '4',
118
+ name: (0, _locale.i18n)('SALES_PRICE'),
119
+ value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
120
+ data: panelProps.salesPrice
121
+ }),
122
+ metaOption: panelProps.salesPrice
123
+ }],
124
+ type: "switch"
125
+ }), /*#__PURE__*/_react["default"].createElement("div", {
126
+ className: "sales_progress_wrap"
127
+ }, /*#__PURE__*/_react["default"].createElement("span", {
128
+ className: "label"
129
+ }, (0, _locale.i18n)('SALES_PROGRESS')), /*#__PURE__*/_react["default"].createElement(_antd.Switch, {
130
+ checked: (_a = panelProps.salesProgress) === null || _a === void 0 ? void 0 : _a.open,
131
+ onChange: function onChange(v) {
132
+ panelProps.salesProgress = {
133
+ open: v
134
+ };
135
+
136
+ _this.reRender();
137
+ }
138
+ })));
139
+ };
140
+
141
+ AComponent.defaultProps = {
142
+ panelProps: {
143
+ sortType: '1',
144
+ label: {},
145
+ productName: {},
146
+ activityPrice: {},
147
+ salesPrice: {},
148
+ salesProgress: {
149
+ open: false
150
+ }
151
+ }
152
+ };
153
+ return AComponent;
154
+ }(_react["default"].Component);
155
+
156
+ var _default = AComponent;
157
+ exports["default"] = _default;
@@ -0,0 +1,20 @@
1
+ .flash_sale_content {
2
+
3
+ .sales_progress_wrap {
4
+ border-top: 1px solid #EDF0F4;
5
+ padding-top: 20px;
6
+ padding-bottom: 10px;
7
+ display: flex;
8
+ justify-content: space-between;
9
+
10
+ .label {
11
+ font-size: 16px !important;
12
+ line-height: 24px !important;
13
+ height: 24px !important;
14
+ font-weight: 600 !important;
15
+ color: #232F46;
16
+ font-family: 'Open Sans';
17
+ font-style: normal;
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,126 @@
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 _TextConfig = _interopRequireDefault(require("../../../../../meta-comp/config-panels/TextConfig"));
11
+
12
+ var _ButtonConfig = _interopRequireDefault(require("../../../../../meta-comp/config-panels/ButtonConfig"));
13
+
14
+ var _coreUtil = require("../../../../../utils/coreUtil");
15
+
16
+ var _common = require("../../../../../common");
17
+
18
+ var _locale = require("../../../../../locale");
19
+
20
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
21
+
22
+ var __extends = void 0 && (void 0).__extends || function () {
23
+ var _extendStatics = function extendStatics(d, b) {
24
+ _extendStatics = Object.setPrototypeOf || {
25
+ __proto__: []
26
+ } instanceof Array && function (d, b) {
27
+ d.__proto__ = b;
28
+ } || function (d, b) {
29
+ for (var p in b) {
30
+ if (b.hasOwnProperty(p)) d[p] = b[p];
31
+ }
32
+ };
33
+
34
+ return _extendStatics(d, b);
35
+ };
36
+
37
+ return function (d, b) {
38
+ _extendStatics(d, b);
39
+
40
+ function __() {
41
+ this.constructor = d;
42
+ }
43
+
44
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
45
+ };
46
+ }();
47
+
48
+ var AComponent =
49
+ /** @class */
50
+ function (_super) {
51
+ __extends(AComponent, _super);
52
+
53
+ function AComponent() {
54
+ var _this = _super !== null && _super.apply(this, arguments) || this;
55
+
56
+ _this.state = {};
57
+
58
+ _this.reRender = function () {
59
+ (0, _coreUtil.renderPreview)();
60
+
61
+ _this.setState({});
62
+ };
63
+
64
+ return _this;
65
+ }
66
+
67
+ AComponent.prototype.render = function () {
68
+ var _this = this;
69
+
70
+ var panelProps = this.props.panelProps;
71
+
72
+ var iconSetting = /*#__PURE__*/_react["default"].createElement(_common.Field, {
73
+ title: ""
74
+ }, /*#__PURE__*/_react["default"].createElement(_common.IconPicker, {
75
+ onChange: function onChange(icon) {
76
+ panelProps.icon.url = icon;
77
+
78
+ _this.reRender();
79
+ },
80
+ value: panelProps.icon.url
81
+ }));
82
+
83
+ return /*#__PURE__*/_react["default"].createElement("div", {
84
+ className: "flash_sale_title"
85
+ }, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
86
+ headerSize: "middle",
87
+ onRefresh: this.reRender,
88
+ source: [{
89
+ key: '1',
90
+ name: (0, _locale.i18n)('ICON'),
91
+ value: iconSetting,
92
+ metaOption: panelProps.icon
93
+ }, {
94
+ key: '2',
95
+ name: (0, _locale.i18n)('HEADLINE'),
96
+ value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
97
+ data: panelProps.headline
98
+ }),
99
+ metaOption: panelProps.headline
100
+ }, {
101
+ key: '3',
102
+ name: (0, _locale.i18n)('BUTTON'),
103
+ value: /*#__PURE__*/_react["default"].createElement(_ButtonConfig["default"], {
104
+ data: panelProps.button
105
+ }),
106
+ metaOption: panelProps.button
107
+ }],
108
+ type: "switch"
109
+ }));
110
+ };
111
+
112
+ AComponent.defaultProps = {
113
+ panelProps: {
114
+ icon: {
115
+ open: true,
116
+ url: ''
117
+ },
118
+ headline: {},
119
+ button: {}
120
+ }
121
+ };
122
+ return AComponent;
123
+ }(_react["default"].Component);
124
+
125
+ var _default = AComponent;
126
+ exports["default"] = _default;
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = FlashDealConfig;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _FlashDealConfigTitle = _interopRequireDefault(require("./FlashDealConfigTitle"));
11
+
12
+ var _FlashDealConfigContent = _interopRequireDefault(require("./FlashDealConfigContent"));
13
+
14
+ var _layout = _interopRequireDefault(require("./imgs/layout1.png"));
15
+
16
+ var _SpacingConfig = _interopRequireDefault(require("../../../common/config-panels/SpacingConfig"));
17
+
18
+ var _BackgroundConfig = _interopRequireDefault(require("../../../common/config-panels/BackgroundConfig"));
19
+
20
+ var _CustomizeConfig = _interopRequireDefault(require("../../../common/config-panels/CustomizeConfig"));
21
+
22
+ var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
23
+
24
+ var _locale = require("../../../../locale");
25
+
26
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
27
+
28
+ function FlashDealConfig(props) {
29
+ var data = props.data;
30
+ return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
31
+ divider: "bold",
32
+ headerSize: "large",
33
+ source: [{
34
+ key: '1',
35
+ name: (0, _locale.i18n)('TITLE'),
36
+ value: /*#__PURE__*/_react["default"].createElement(_FlashDealConfigTitle["default"], {
37
+ panelProps: data.title
38
+ })
39
+ }, {
40
+ key: '2',
41
+ name: (0, _locale.i18n)('CONTENT'),
42
+ value: /*#__PURE__*/_react["default"].createElement(_FlashDealConfigContent["default"], {
43
+ panelProps: data.content
44
+ })
45
+ }, {
46
+ key: '3',
47
+ name: (0, _locale.i18n)('SPACING'),
48
+ value: /*#__PURE__*/_react["default"].createElement(_SpacingConfig["default"], {
49
+ configCompSpace: true,
50
+ data: data.spacing
51
+ })
52
+ }, {
53
+ key: '4',
54
+ name: (0, _locale.i18n)('CUSTOMIZE'),
55
+ value: /*#__PURE__*/_react["default"].createElement(_CustomizeConfig["default"], {
56
+ data: data.customize,
57
+ isHideAlign: true,
58
+ layoutSource: [{
59
+ id: 'layout1',
60
+ name: 'layout1',
61
+ image: _layout["default"]
62
+ }]
63
+ })
64
+ }, {
65
+ key: '5',
66
+ name: (0, _locale.i18n)('BACKGROUND'),
67
+ value: /*#__PURE__*/_react["default"].createElement(_BackgroundConfig["default"], {
68
+ data: data.background
69
+ })
70
+ }],
71
+ type: "triangle"
72
+ }));
73
+ }
@@ -7,7 +7,7 @@ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  var _ButtonConfig = _interopRequireDefault(require("../../../../../meta-comp/config-panels/ButtonConfig"));
13
13
 
@@ -7,7 +7,7 @@ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  var _ButtonConfig = _interopRequireDefault(require("../../../../../meta-comp/config-panels/ButtonConfig"));
13
13
 
@@ -9,7 +9,7 @@ exports["default"] = void 0;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
12
- var _antd = require("antd");
12
+ var _antd = require("antd4");
13
13
 
14
14
  var _TextConfig = require("../../../../../meta-comp/config-panels/TextConfig");
15
15
 
@@ -9,7 +9,7 @@ exports["default"] = void 0;
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
12
- var _antd = require("antd");
12
+ var _antd = require("antd4");
13
13
 
14
14
  var _common = require("../../../../../common");
15
15
 
@@ -7,7 +7,7 @@ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  var _locale = require("../../../../locale");
13
13
 
@@ -7,7 +7,7 @@ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  var _locale = require("../../../../locale");
13
13
 
@@ -7,7 +7,7 @@ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  var _TextConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/TextConfig"));
13
13
 
@@ -7,7 +7,7 @@ exports["default"] = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _antd = require("antd");
10
+ var _antd = require("antd4");
11
11
 
12
12
  var _TextConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/TextConfig"));
13
13