@fonixtree/magic-design 1.0.74 → 1.0.76

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 (77) hide show
  1. package/es/assets/fonts/.DS_Store +0 -0
  2. package/es/assets/fonts/magic-box-iconfont.css +11 -3
  3. package/es/assets/fonts/magic-box-iconfont.js +1 -1
  4. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  5. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  6. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  7. package/es/common/index.js +8 -0
  8. package/es/composite-comp/bol/components/Banner/mobile/index.js +1 -1
  9. package/es/composite-comp/common/components/ProductItem/index.js +23 -9
  10. package/es/composite-comp/common/components/ProductItem/index.less +9 -0
  11. package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +1 -1
  12. package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +1 -1
  13. package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +0 -3
  14. package/es/composite-comp/dito/components/GroupBuy/defaultJSON.js +232 -0
  15. package/es/composite-comp/dito/components/GroupBuy/index.js +86 -0
  16. package/es/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg.png +0 -0
  17. package/es/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg1.png +0 -0
  18. package/es/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg2.png +0 -0
  19. package/es/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg3.png +0 -0
  20. package/es/composite-comp/dito/components/GroupBuy/mobile/index.js +341 -0
  21. package/es/composite-comp/dito/components/GroupBuy/mobile/index.less +87 -0
  22. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.js +1 -1
  23. package/es/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
  24. package/es/composite-comp/dito/components/Recommend/mobile/index.js +1 -1
  25. package/es/composite-comp/dito/components/SearchBar/mobile/index.js +1 -1
  26. package/es/composite-comp/dito/components/SignBoard/mobile/index.js +1 -1
  27. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +3 -3
  28. package/es/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +170 -0
  29. package/es/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.less +38 -0
  30. package/es/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigTitle/index.js +103 -0
  31. package/es/composite-comp/dito/config-panels/GroupBuyConfig/imgs/layout1.png +0 -0
  32. package/es/composite-comp/dito/config-panels/GroupBuyConfig/index.js +73 -0
  33. package/es/constants/component-types.js +6 -2
  34. package/es/constants/index.js +4 -0
  35. package/es/core/Renderer/index.js +27 -10
  36. package/es/locale/en/en.json +3 -1
  37. package/es/locale/es/es.json +2 -0
  38. package/es/locale/id/id.json +3 -1
  39. package/lib/assets/fonts/.DS_Store +0 -0
  40. package/lib/assets/fonts/magic-box-iconfont.css +11 -3
  41. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  42. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  43. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  44. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  45. package/lib/common/index.js +8 -0
  46. package/lib/composite-comp/bol/components/Banner/mobile/index.js +1 -1
  47. package/lib/composite-comp/common/components/ProductItem/index.js +23 -9
  48. package/lib/composite-comp/common/components/ProductItem/index.less +9 -0
  49. package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +1 -1
  50. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +1 -1
  51. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +0 -3
  52. package/lib/composite-comp/dito/components/GroupBuy/defaultJSON.js +232 -0
  53. package/lib/composite-comp/dito/components/GroupBuy/index.js +86 -0
  54. package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg.png +0 -0
  55. package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg1.png +0 -0
  56. package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg2.png +0 -0
  57. package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg3.png +0 -0
  58. package/lib/composite-comp/dito/components/GroupBuy/mobile/index.js +341 -0
  59. package/lib/composite-comp/dito/components/GroupBuy/mobile/index.less +87 -0
  60. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.js +1 -1
  61. package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
  62. package/lib/composite-comp/dito/components/Recommend/mobile/index.js +1 -1
  63. package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +1 -1
  64. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +1 -1
  65. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +3 -3
  66. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +170 -0
  67. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.less +38 -0
  68. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigTitle/index.js +103 -0
  69. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/imgs/layout1.png +0 -0
  70. package/lib/composite-comp/dito/config-panels/GroupBuyConfig/index.js +73 -0
  71. package/lib/constants/component-types.js +6 -2
  72. package/lib/constants/index.js +4 -0
  73. package/lib/core/Renderer/index.js +27 -10
  74. package/lib/locale/en/en.json +3 -1
  75. package/lib/locale/es/es.json +2 -0
  76. package/lib/locale/id/id.json +3 -1
  77. package/package.json +1 -1
@@ -0,0 +1,38 @@
1
+ .group_buy_content {
2
+
3
+ .sales_progress_wrap {
4
+ border-top: 1px solid #EDF0F4;
5
+ padding-top: 20px;
6
+ padding-bottom: 10px;
7
+
8
+ .title {
9
+ display: flex;
10
+ justify-content: space-between;
11
+
12
+ .label {
13
+ font-size: 16px !important;
14
+ line-height: 24px !important;
15
+ height: 24px !important;
16
+ font-weight: 600 !important;
17
+ color: hsl(219, 33%, 21%);
18
+ font-family: 'Open Sans';
19
+ font-style: normal;
20
+ }
21
+ }
22
+
23
+ .content {
24
+ position: relative;
25
+
26
+ .name {
27
+ font-size: 14px;
28
+ font-family: 'Open Sans';
29
+ font-weight: 600;
30
+ color: #232F46;
31
+ margin-top: 20px;
32
+ margin-bottom: 10px;
33
+ }
34
+
35
+ }
36
+
37
+ }
38
+ }
@@ -0,0 +1,103 @@
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 panelProps = this.props.panelProps;
69
+ return /*#__PURE__*/_react["default"].createElement("div", {
70
+ className: "group_buy_title"
71
+ }, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
72
+ headerSize: "middle",
73
+ onRefresh: this.reRender,
74
+ source: [{
75
+ key: '1',
76
+ name: (0, _locale.i18n)('HEADLINE'),
77
+ value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
78
+ data: panelProps.headline
79
+ }),
80
+ metaOption: panelProps.headline
81
+ }, {
82
+ key: '2',
83
+ name: (0, _locale.i18n)('BUTTON'),
84
+ value: /*#__PURE__*/_react["default"].createElement(_ButtonConfig["default"], {
85
+ data: panelProps.button
86
+ }),
87
+ metaOption: panelProps.button
88
+ }],
89
+ type: "switch"
90
+ }));
91
+ };
92
+
93
+ AComponent.defaultProps = {
94
+ panelProps: {
95
+ headline: {},
96
+ button: {}
97
+ }
98
+ };
99
+ return AComponent;
100
+ }(_react["default"].Component);
101
+
102
+ var _default = AComponent;
103
+ exports["default"] = _default;
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = GroupBuyConfig;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _GroupBuyConfigTitle = _interopRequireDefault(require("./GroupBuyConfigTitle"));
11
+
12
+ var _GroupBuyConfigContent = _interopRequireDefault(require("./GroupBuyConfigContent"));
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 GroupBuyConfig(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(_GroupBuyConfigTitle["default"], {
37
+ panelProps: data.title
38
+ })
39
+ }, {
40
+ key: '2',
41
+ name: (0, _locale.i18n)('CONTENT'),
42
+ value: /*#__PURE__*/_react["default"].createElement(_GroupBuyConfigContent["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
+ }
@@ -35,6 +35,8 @@ var _Location = _interopRequireDefault(require("../composite-comp/bol/components
35
35
 
36
36
  var _FlashDeal = _interopRequireDefault(require("../composite-comp/dito/components/FlashDeal"));
37
37
 
38
+ var _GroupBuy = _interopRequireDefault(require("../composite-comp/dito/components/GroupBuy"));
39
+
38
40
  var _SearchBar = _interopRequireDefault(require("../composite-comp/dito/components/SearchBar"));
39
41
 
40
42
  var _SignBoard = _interopRequireDefault(require("../composite-comp/dito/components/SignBoard"));
@@ -87,6 +89,8 @@ var _WalletNuriConfig = _interopRequireDefault(require("../composite-comp/bol/co
87
89
 
88
90
  var _FlashDealConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/FlashDealConfig"));
89
91
 
92
+ var _GroupBuyConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/GroupBuyConfig"));
93
+
90
94
  var _SearchBarConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/SearchBarConfig"));
91
95
 
92
96
  var _SignBoardConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/SignBoardConfig"));
@@ -155,13 +159,13 @@ var _a, _b, _c; // 组件
155
159
  /**
156
160
  * 渲染组件索引
157
161
  */
158
- var componentMap = (_a = {}, _a[_Banner["default"].type] = _Banner["default"], _a[_Video["default"].type] = _Video["default"], _a[_Text["default"].type] = _Text["default"], _a[_FlashDeal["default"].type] = _FlashDeal["default"], _a[_SearchBar["default"].type] = _SearchBar["default"], _a[_SignBoard["default"].type] = _SignBoard["default"], _a[_MenuNavigation["default"].type] = _MenuNavigation["default"], _a[_HeadNavigation["default"].type] = _HeadNavigation["default"], _a[_PersonalInformation["default"].type] = _PersonalInformation["default"], _a[_Orders["default"].type] = _Orders["default"], _a[_CommonFunctions["default"].type] = _CommonFunctions["default"], _a[_ImageText["default"].type] = _ImageText["default"], _a[_Recommend["default"].type] = _Recommend["default"], _a[_AffiliateRecommend["default"].type] = _AffiliateRecommend["default"], _a[_MobileNavigation["default"].type] = _MobileNavigation["default"], _a[_PcNavigation["default"].type] = _PcNavigation["default"], _a[_Divider["default"].type] = _Divider["default"], _a[_ImageGallery["default"].type] = _ImageGallery["default"], _a[_Newsletter["default"].type] = _Newsletter["default"], _a[_Carousel["default"].type] = _Carousel["default"], _a[_Button["default"].type] = _Button["default"], _a[_Tag["default"].type] = _Tag["default"], _a[_Wallet["default"].type] = _Wallet["default"], _a[_WalletNuri["default"].type] = _WalletNuri["default"], _a[_CustomCode["default"].type] = _CustomCode["default"], _a[_Location["default"].type] = _Location["default"], _a);
162
+ var componentMap = (_a = {}, _a[_Banner["default"].type] = _Banner["default"], _a[_Video["default"].type] = _Video["default"], _a[_Text["default"].type] = _Text["default"], _a[_FlashDeal["default"].type] = _FlashDeal["default"], _a[_GroupBuy["default"].type] = _GroupBuy["default"], _a[_SearchBar["default"].type] = _SearchBar["default"], _a[_SignBoard["default"].type] = _SignBoard["default"], _a[_MenuNavigation["default"].type] = _MenuNavigation["default"], _a[_HeadNavigation["default"].type] = _HeadNavigation["default"], _a[_PersonalInformation["default"].type] = _PersonalInformation["default"], _a[_Orders["default"].type] = _Orders["default"], _a[_CommonFunctions["default"].type] = _CommonFunctions["default"], _a[_ImageText["default"].type] = _ImageText["default"], _a[_Recommend["default"].type] = _Recommend["default"], _a[_AffiliateRecommend["default"].type] = _AffiliateRecommend["default"], _a[_MobileNavigation["default"].type] = _MobileNavigation["default"], _a[_PcNavigation["default"].type] = _PcNavigation["default"], _a[_Divider["default"].type] = _Divider["default"], _a[_ImageGallery["default"].type] = _ImageGallery["default"], _a[_Newsletter["default"].type] = _Newsletter["default"], _a[_Carousel["default"].type] = _Carousel["default"], _a[_Button["default"].type] = _Button["default"], _a[_Tag["default"].type] = _Tag["default"], _a[_Wallet["default"].type] = _Wallet["default"], _a[_WalletNuri["default"].type] = _WalletNuri["default"], _a[_CustomCode["default"].type] = _CustomCode["default"], _a[_Location["default"].type] = _Location["default"], _a);
159
163
  /**
160
164
  * 一级配置面板索引
161
165
  */
162
166
 
163
167
  exports.componentMap = componentMap;
164
- var configPanelMap = (_b = {}, _b[_Banner["default"].type] = _BannerConfig["default"], _b[_Video["default"].type] = _VideoConfig["default"], _b[_Text["default"].type] = _TextCompConfig["default"], _b[_FlashDeal["default"].type] = _FlashDealConfig["default"], _b[_SearchBar["default"].type] = _SearchBarConfig["default"], _b[_SignBoard["default"].type] = _SignBoardConfig["default"], _b[_MenuNavigation["default"].type] = _MenuNavigationConfig["default"], _b[_HeadNavigation["default"].type] = _HeadNavigationConfig["default"], _b[_PersonalInformation["default"].type] = _PersonalInformationConfig["default"], _b[_Orders["default"].type] = _OrdersConfig["default"], _b[_CommonFunctions["default"].type] = _CommonFunctionsConfig["default"], _b[_ImageText["default"].type] = _ImageTextConfig["default"], _b[_Recommend["default"].type] = _RecommendConfig["default"], _b[_AffiliateRecommend["default"].type] = _AffiliateRecommendConfig["default"], _b[_MobileNavigation["default"].type] = _MobileNavigationConfig["default"], _b[_PcNavigation["default"].type] = _PcNavigationConfig["default"], _b[_Divider["default"].type] = _DividerConfig["default"], _b[_ImageGallery["default"].type] = _ImageGalleryConfig["default"], _b[_Newsletter["default"].type] = _NewsletterConfig["default"], _b[_Carousel["default"].type] = _CarouselConfig["default"], _b[_Button["default"].type] = _ButtonCompConfig["default"], _b[_Tag["default"].type] = _TagCompConfig["default"], _b[_Wallet["default"].type] = _WalletConfig["default"], _b[_WalletNuri["default"].type] = _WalletNuriConfig["default"], _b[_CustomCode["default"].type] = _CustomCodeConfig["default"], _b[_Location["default"].type] = _LocationConfig["default"], _b);
168
+ var configPanelMap = (_b = {}, _b[_Banner["default"].type] = _BannerConfig["default"], _b[_Video["default"].type] = _VideoConfig["default"], _b[_Text["default"].type] = _TextCompConfig["default"], _b[_FlashDeal["default"].type] = _FlashDealConfig["default"], _b[_GroupBuy["default"].type] = _GroupBuyConfig["default"], _b[_SearchBar["default"].type] = _SearchBarConfig["default"], _b[_SignBoard["default"].type] = _SignBoardConfig["default"], _b[_MenuNavigation["default"].type] = _MenuNavigationConfig["default"], _b[_HeadNavigation["default"].type] = _HeadNavigationConfig["default"], _b[_PersonalInformation["default"].type] = _PersonalInformationConfig["default"], _b[_Orders["default"].type] = _OrdersConfig["default"], _b[_CommonFunctions["default"].type] = _CommonFunctionsConfig["default"], _b[_ImageText["default"].type] = _ImageTextConfig["default"], _b[_Recommend["default"].type] = _RecommendConfig["default"], _b[_AffiliateRecommend["default"].type] = _AffiliateRecommendConfig["default"], _b[_MobileNavigation["default"].type] = _MobileNavigationConfig["default"], _b[_PcNavigation["default"].type] = _PcNavigationConfig["default"], _b[_Divider["default"].type] = _DividerConfig["default"], _b[_ImageGallery["default"].type] = _ImageGalleryConfig["default"], _b[_Newsletter["default"].type] = _NewsletterConfig["default"], _b[_Carousel["default"].type] = _CarouselConfig["default"], _b[_Button["default"].type] = _ButtonCompConfig["default"], _b[_Tag["default"].type] = _TagCompConfig["default"], _b[_Wallet["default"].type] = _WalletConfig["default"], _b[_WalletNuri["default"].type] = _WalletNuriConfig["default"], _b[_CustomCode["default"].type] = _CustomCodeConfig["default"], _b[_Location["default"].type] = _LocationConfig["default"], _b);
165
169
  /**
166
170
  * 二级配置面板索引
167
171
  */
@@ -144,6 +144,10 @@ var compInfoMap = {
144
144
  name: 'Flash Deal',
145
145
  icon: 'icon-flash-deal'
146
146
  },
147
+ GROUP_BUY: {
148
+ name: 'Group Buy',
149
+ icon: 'icon-group-buy'
150
+ },
147
151
  SEARCH: {
148
152
  name: 'Search',
149
153
  icon: 'icon-search'
@@ -86,19 +86,36 @@ var Renderer = function Renderer(props) {
86
86
  var filterData = [];
87
87
 
88
88
  if (pageData && pageData.childNodes && pageData.childNodes.length) {
89
+ var graduallySetFloors = function graduallySetFloors(data, step, interval, start) {
90
+ if (step === void 0) {
91
+ step = 5;
92
+ }
93
+
94
+ if (interval === void 0) {
95
+ interval = 200;
96
+ }
97
+
98
+ if (start === void 0) {
99
+ start = 0;
100
+ } // 计算这一步应该显示的最终索引
101
+
102
+
103
+ var end = Math.min(start + step, data.length); // 更新楼层数量
104
+
105
+ setFloors(data.slice(0, end)); // 如果还有更多楼层要显示,设置一个定时器来递归调用此函数
106
+
107
+ if (end < data.length) {
108
+ setTimeout(function () {
109
+ graduallySetFloors(data, step, interval, end);
110
+ }, interval);
111
+ }
112
+ };
113
+
89
114
  filterData = pageData.childNodes.filter(function (node) {
90
115
  return (0, _coreUtil.isActiveFloor)(node.activeTerminal);
91
116
  });
92
- } // 首页组建分批渲染按5个一组
93
-
94
-
95
- setFloors(filterData.slice(0, 5));
96
- setTimeout(function () {
97
- setFloors(filterData.slice(0, 10));
98
- setTimeout(function () {
99
- setFloors(filterData);
100
- }, 200);
101
- }, 200);
117
+ graduallySetFloors(filterData);
118
+ }
102
119
  }, [pageData]);
103
120
  (0, _react.useEffect)(function () {
104
121
  setTimeout(function () {
@@ -1,4 +1,6 @@
1
1
  {
2
+ "PROGRESS_BAR_COLOR": "Progress Bar Color",
3
+ "GROUP_LABEL": "Group Label",
2
4
  "SUBMIT": "Submit",
3
5
  "CANCELLED": "Cancelled",
4
6
  "DONE": "Done",
@@ -88,7 +90,7 @@
88
90
  "CONTENT_WIDTH": "Content Width",
89
91
  "MAGNIFICATION": "Magnification",
90
92
  "RECOMMENDED_RULES": "Recommended Rules",
91
- "PRODUCT_SORT_BY": "product sort by",
93
+ "PRODUCT_SORT_BY": "Product Sort By",
92
94
  "PADDING": "Padding",
93
95
  "COMPONENT_SPACING": "Component spacing",
94
96
  "ALIGNMENT": "Alignment",
@@ -1,4 +1,6 @@
1
1
  {
2
+ "PROGRESS_BAR_COLOR": "Progress Bar Color",
3
+ "GROUP_LABEL": "Group Label",
2
4
  "SUBMIT": "Submit",
3
5
  "CANCELLED": "Cancelled",
4
6
  "DONE": "Hecho",
@@ -1,4 +1,6 @@
1
1
  {
2
+ "PROGRESS_BAR_COLOR": "Progress Bar Color",
3
+ "GROUP_LABEL": "Group Label",
2
4
  "SUBMIT": "Submit",
3
5
  "CANCELLED": "Cancelled",
4
6
  "DONE": "Done",
@@ -88,7 +90,7 @@
88
90
  "CONTENT_WIDTH": "Content Width",
89
91
  "MAGNIFICATION": "Magnification",
90
92
  "RECOMMENDED_RULES": "Recommended Rules",
91
- "PRODUCT_SORT_BY": "product sort by",
93
+ "PRODUCT_SORT_BY": "Product Sort By",
92
94
  "PADDING": "Padding",
93
95
  "COMPONENT_SPACING": "Component spacing",
94
96
  "ALIGNMENT": "Alignment",
Binary file
@@ -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=1709712007938') format('woff2'),
5
- url('magic-box-iconfont.woff?t=1709712007938') format('woff'),
6
- url('magic-box-iconfont.ttf?t=1709712007938') format('truetype');
4
+ src: url('magic-box-iconfont.woff2?t=1713253836150') format('woff2'),
5
+ url('magic-box-iconfont.woff?t=1713253836150') format('woff'),
6
+ url('magic-box-iconfont.ttf?t=1713253836150') format('truetype');
7
7
  }
8
8
 
9
9
  .magic-box-iconfont {
@@ -14,6 +14,14 @@
14
14
  -moz-osx-font-smoothing: grayscale;
15
15
  }
16
16
 
17
+ .magic-box-icon-group-users:before {
18
+ content: "\e60a";
19
+ }
20
+
21
+ .magic-box-icon-group-buy:before {
22
+ content: "\e643";
23
+ }
24
+
17
25
  .magic-box-icon-orders:before {
18
26
  content: "\e64c";
19
27
  }