@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
@@ -11,7 +11,7 @@ var _react = _interopRequireWildcard(require("react"));
11
11
 
12
12
  require("./index.less");
13
13
 
14
- var _antd = require("antd");
14
+ var _antd = require("antd4");
15
15
 
16
16
  var _coreUtil = require("../../../../utils/coreUtil");
17
17
 
@@ -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
 
@@ -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 _classnames = _interopRequireDefault(require("classnames"));
13
13
 
@@ -11,7 +11,7 @@ var _reactQuill = _interopRequireDefault(require("react-quill"));
11
11
 
12
12
  require("react-quill/dist/quill.snow.css");
13
13
 
14
- var _antd = require("antd");
14
+ var _antd = require("antd4");
15
15
 
16
16
  require("./index.less");
17
17
 
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
 
8
- var _antd = require("antd");
8
+ var _antd = require("antd4");
9
9
 
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
 
@@ -9,7 +9,7 @@ exports.sizeTypeList = 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 _TextLabel = _interopRequireDefault(require("./TextLabel"));
15
15
 
@@ -23,6 +23,9 @@ var browserVersion = function browserVersion() {
23
23
  qq: u.match(/\sQQ/i) == ' qq',
24
24
  isApp: u.indexOf('app/CYLON-APP') > -1,
25
25
  isNuriApp: u.indexOf('app/NURI-APP') > -1,
26
+ isDitoApp: u.indexOf('mydito') > -1,
27
+ ditoAndroidApp: u.indexOf('mydito') > -1 && (u.indexOf('Android') > -1 || u.indexOf('Adr') > -1),
28
+ ditoIosApp: u.indexOf('mydito') > -1 && !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),
26
29
  isAshitaApp: u.indexOf('app/ASHITA-APP') > -1
27
30
  };
28
31
  };
@@ -136,9 +139,9 @@ var sendToApp = function sendToApp(params) {
136
139
  exports.sendToApp = sendToApp;
137
140
 
138
141
  var goToLoginApp = function goToLoginApp() {
139
- if (browserVersion().androidApp) {
142
+ if (browserVersion().ditoAndroidApp) {
140
143
  window.dito.goToLogin();
141
- } else if (browserVersion().iosApp) {
144
+ } else if (browserVersion().ditoIosApp) {
142
145
  window.dito.goToLogin();
143
146
  }
144
147
  };
@@ -28,7 +28,8 @@ var newParseUrl = function newParseUrl(urlObj) {
28
28
  var type = urlObj.type,
29
29
  value = urlObj.value,
30
30
  offerId = urlObj.offerId,
31
- productId = urlObj.productId;
31
+ productId = urlObj.productId,
32
+ name = urlObj.name;
32
33
 
33
34
  switch (type) {
34
35
  // 锚点跳转
@@ -206,6 +207,18 @@ var newParseUrl = function newParseUrl(urlObj) {
206
207
  };
207
208
  break;
208
209
 
210
+ case _constants.urlTypeMap.AFFILIATE_PLATFORM:
211
+ // affiliate platform
212
+ link = "/platformDetail/" + value;
213
+ params = {
214
+ action: 'jump',
215
+ params: {
216
+ type: 'AFFILIATE_PLATFORM',
217
+ url: value
218
+ }
219
+ };
220
+ break;
221
+
209
222
  default:
210
223
  var map = {
211
224
  '/main/cart': 'CART',
@@ -228,8 +241,9 @@ var newParseUrl = function newParseUrl(urlObj) {
228
241
  params = {
229
242
  action: 'jump',
230
243
  params: {
231
- type: map[link],
232
- link: link
244
+ type: map[link] || name,
245
+ link: link,
246
+ url: link
233
247
  }
234
248
  };
235
249
  }
@@ -433,6 +447,7 @@ var getPromotionList = function getPromotionList(offer) {
433
447
  var PROMOTION_TYPE_MAP = {
434
448
  2: 'FLASH',
435
449
  4: 'Group',
450
+ 12: 'Bargain',
436
451
  C: 'Discount',
437
452
  D: 'Discount',
438
453
  G: 'Gift'
@@ -372,8 +372,8 @@ var checkLogin = function checkLogin(isLead, redirectUrl, replaceFlag) {
372
372
 
373
373
  if (!isLogin()) {
374
374
  if (isLead) {
375
- if ((0, _androidUtil.browserVersion)().isApp) {
376
- goToLoginApp();
375
+ if ((0, _androidUtil.browserVersion)().isDitoApp) {
376
+ (0, _androidUtil.goToLoginApp)();
377
377
  } else {
378
378
  var _a = window.location,
379
379
  pathname = _a.pathname,
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.setMagicDesign = exports.renderPreview = exports.isPc = exports.isDesignMode = exports.isActiveFloor = exports.getVideoCover = exports.copyNode = exports.clickUrl = void 0;
6
+ exports.setMagicDesign = exports.renderPreview = exports.isPc = exports.isDesignMode = exports.isAutoAudit = exports.isActiveFloor = exports.getVideoCover = exports.copyNode = exports.clickUrl = void 0;
7
7
 
8
8
  var _uuid = require("uuid");
9
9
 
@@ -310,10 +310,9 @@ var clickUrl = function clickUrl(url) {
310
310
  }
311
311
 
312
312
  console.log('clickUrl...', url); // 只读模式,设计模式,url为空,邮箱模版
313
-
314
- if (window.magicDesign.readOnly || window.magicDesign.mode !== 'renderer' || !url || window.magicDesign.outputType == 'html') {
315
- return;
316
- }
313
+ // if (window.magicDesign.readOnly || window.magicDesign.mode !== 'renderer' || !url || window.magicDesign.outputType == 'html') {
314
+ // return;
315
+ // }
317
316
 
318
317
  var _b = _typeof(url) === 'object' ? (0, _businessUtil.newParseUrl)(url) : (0, _businessUtil.parseUrl)(url),
319
318
  link = _b.link,
@@ -337,23 +336,21 @@ var clickUrl = function clickUrl(url) {
337
336
 
338
337
  if ((0, _androidUtil.browserVersion)().isAshitaApp) {
339
338
  (0, _androidUtil.sendToApp)(data);
340
- } else if ((0, _androidUtil.browserVersion)().isNuriApp && params.link && params.link.startsWith('http')) {
341
- // 兼容Nuri app的 绝对路径跳转
342
- var urlTemp = "" + params.link + (params.link.includes('?') ? '&' : '?') + "userToken=" + (localStorage.getItem('h5Token') || '');
343
- (0, _androidUtil.sendToApp)({
344
- type: 'jumpBrowser',
345
- params: {
346
- url: urlTemp
347
- }
348
- });
349
339
  } else if ((0, _androidUtil.browserVersion)().isApp && params.link && params.link.startsWith('http')) {
350
- // 别的app打开外链
351
- (0, _androidUtil.sendToAndroid)({
352
- type: 'jumpBrowser',
353
- params: {
354
- url: params.link
355
- }
356
- });
340
+ // 跳转链接是个绝对路径
341
+ if (params.type === 'Gamezop') {
342
+ // Nuri 对接 Gamezop 特殊情况
343
+ (0, _androidUtil.sendToApp)(data);
344
+ } else {
345
+ // Nuri 抽奖系统对接
346
+ var urlTemp = "" + params.link + (params.link.includes('?') ? '&' : '?') + "userToken=" + (localStorage.getItem('h5Token') || '');
347
+ (0, _androidUtil.sendToApp)({
348
+ type: 'jumpBrowser',
349
+ params: {
350
+ url: urlTemp
351
+ }
352
+ });
353
+ }
357
354
  } else {
358
355
  // 视频
359
356
  if (params.type === 'VIDEO') {
@@ -381,7 +378,10 @@ var clickUrl = function clickUrl(url) {
381
378
  if (((_a = window === null || window === void 0 ? void 0 : window.magicDesign) === null || _a === void 0 ? void 0 : _a.projectCode) === 'nuri') {
382
379
  // 输入的是完整的跳转地址
383
380
  if (isUrl(link)) {
384
- if (!link.includes(window.location.host)) {
381
+ if (params.type === 'Gamezop') {
382
+ // Nuri 对接游戏页面
383
+ window.open(link);
384
+ } else if (!link.includes(window.location.host)) {
385
385
  // 跳转外链 需要把userToken带上
386
386
  if (link.includes('?')) {
387
387
  var a = link + "&userToken=" + (localStorage.getItem('h5Token') || '');
@@ -396,9 +396,9 @@ var clickUrl = function clickUrl(url) {
396
396
  } else {
397
397
  (0, _commonUtil.navigateTo)(link);
398
398
  }
399
+ } else {
400
+ (0, _commonUtil.navigateTo)(link);
399
401
  }
400
-
401
- (0, _commonUtil.navigateTo)(link);
402
402
  }
403
403
  };
404
404
 
@@ -444,5 +444,15 @@ var copyNode = function copyNode(value, parentId) {
444
444
  });
445
445
  return newNode;
446
446
  };
447
+ /**
448
+ * 是否开启自动审核
449
+ */
450
+
451
+
452
+ exports.copyNode = copyNode;
453
+
454
+ var isAutoAudit = function isAutoAudit() {
455
+ return window.magicDesign.autoAudit || window.partyType === _constants.partyTypeMap.PLATFORM;
456
+ };
447
457
 
448
- exports.copyNode = copyNode;
458
+ exports.isAutoAudit = isAutoAudit;
@@ -1,9 +1,9 @@
1
1
  @font-face {
2
2
  font-family: "magic-box-iconfont";
3
3
  /* Project id 3317752 */
4
- src: url('magic-box-iconfont.woff2?t=1716443961517') format('woff2'),
5
- url('magic-box-iconfont.woff?t=1716443961517') format('woff'),
6
- url('magic-box-iconfont.ttf?t=1716443961517') format('truetype');
4
+ src: url('magic-box-iconfont.woff2?t=1717469468478') format('woff2'),
5
+ url('magic-box-iconfont.woff?t=1717469468478') format('woff'),
6
+ url('magic-box-iconfont.ttf?t=1717469468478') format('truetype');
7
7
  }
8
8
 
9
9
  .magic-box-iconfont {
@@ -14,6 +14,30 @@
14
14
  -moz-osx-font-smoothing: grayscale;
15
15
  }
16
16
 
17
+ .magic-box-icon-bargain:before {
18
+ content: "\e649";
19
+ }
20
+
21
+ .magic-box-icon-kanjia:before {
22
+ content: "\e688";
23
+ }
24
+
25
+ .magic-box-icon-save:before {
26
+ content: "\e646";
27
+ }
28
+
29
+ .magic-box-icon-eye1:before {
30
+ content: "\e647";
31
+ }
32
+
33
+ .magic-box-icon-clock:before {
34
+ content: "\e648";
35
+ }
36
+
37
+ .magic-box-icon-select2:before {
38
+ content: "\e67a";
39
+ }
40
+
17
41
  .magic-box-icon-list-sort:before {
18
42
  content: "\e645";
19
43
  }
@@ -126,10 +150,6 @@
126
150
  content: "\e671";
127
151
  }
128
152
 
129
- .magic-box-icon-select2:before {
130
- content: "\e67a";
131
- }
132
-
133
153
  .magic-box-icon-b-play-02:before {
134
154
  content: "\e672";
135
155
  }
@@ -1,8 +1,8 @@
1
1
  @font-face {
2
2
  font-family: "magic-box-iconfont"; /* Project id 3317752 */
3
- src: url('magic-box-iconfont.woff2?t=1704245006151') format('woff2'),
4
- url('magic-box-iconfont.woff?t=1704245006151') format('woff'),
5
- url('magic-box-iconfont.ttf?t=1704245006151') format('truetype');
3
+ src: url('magic-box-iconfont.woff2?t=1716881585254') format('woff2'),
4
+ url('magic-box-iconfont.woff?t=1716881585254') format('woff'),
5
+ url('magic-box-iconfont.ttf?t=1716881585254') format('truetype');
6
6
  }
7
7
 
8
8
  .magic-box-iconfont {
@@ -13,6 +13,74 @@
13
13
  -moz-osx-font-smoothing: grayscale;
14
14
  }
15
15
 
16
+ .icon-save:before {
17
+ content: "\e646";
18
+ }
19
+
20
+ .icon-eye1:before {
21
+ content: "\e647";
22
+ }
23
+
24
+ .icon-clock:before {
25
+ content: "\e648";
26
+ }
27
+
28
+ .icon-select2:before {
29
+ content: "\e67a";
30
+ }
31
+
32
+ .icon-list-sort:before {
33
+ content: "\e645";
34
+ }
35
+
36
+ .icon-check:before {
37
+ content: "\e644";
38
+ }
39
+
40
+ .icon-sale:before {
41
+ content: "\e78b";
42
+ }
43
+
44
+ .icon-bundle:before {
45
+ content: "\e6cb";
46
+ }
47
+
48
+ .icon-interests:before {
49
+ content: "\e829";
50
+ }
51
+
52
+ .icon-group-users:before {
53
+ content: "\e60a";
54
+ }
55
+
56
+ .icon-group-buy:before {
57
+ content: "\e643";
58
+ }
59
+
60
+ .icon-orders:before {
61
+ content: "\e64c";
62
+ }
63
+
64
+ .icon-function:before {
65
+ content: "\e6d1";
66
+ }
67
+
68
+ .icon-messages:before {
69
+ content: "\e600";
70
+ }
71
+
72
+ .icon-set:before {
73
+ content: "\e601";
74
+ }
75
+
76
+ .icon-cards_fill:before {
77
+ content: "\e7a6";
78
+ }
79
+
80
+ .icon-account:before {
81
+ content: "\e655";
82
+ }
83
+
16
84
  .icon-anchor:before {
17
85
  content: "\e642";
18
86
  }
@@ -73,10 +141,6 @@
73
141
  content: "\e671";
74
142
  }
75
143
 
76
- .icon-select2:before {
77
- content: "\e67a";
78
- }
79
-
80
144
  .icon-b-play-02:before {
81
145
  content: "\e672";
82
146
  }