@fonixtree/magic-design 2.0.95 → 2.0.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/assets/images/layout-icon/banner-slide-layout1.png +0 -0
- package/es/assets/images/layout-icon/banner-slide-layout1.svg +6 -0
- package/es/assets/images/layout-icon/banner-slide-layout2.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-mobile-1.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-mobile-2.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-mobile-3.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-mobile-4.png +0 -0
- package/es/common/Collapse/index.js +10 -8
- package/es/common/FontStyles/index.less +3 -1
- package/es/common/LinkModal/MiniAppApi/const.js +637 -0
- package/es/common/LinkModal/MiniAppApi/index.js +61 -0
- package/es/common/LinkModal/index.js +6 -0
- package/es/common/MonpayCountDown/index.js +160 -0
- package/es/common/RatingText/index.js +105 -0
- package/es/common/RatingText/index.less +12 -0
- package/es/common/index.js +8 -0
- package/es/composite-comp/bol/components/Banner/defaultJSON.js +1 -0
- package/es/composite-comp/bol/components/Banner/mobile/index.js +2 -1
- package/es/composite-comp/bol/components/Banner/mobile/index.less +8 -4
- package/es/composite-comp/bol/components/Banner/pc/index.js +2 -1
- package/es/composite-comp/bol/components/Banner/pc/index.less +9 -3
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +11 -11
- package/es/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +1 -1
- package/es/composite-comp/common/components/MonpayProductItem/index.js +283 -0
- package/es/composite-comp/common/components/MonpayProductItem/index.less +211 -0
- package/es/composite-comp/common/components/ProductItem/index.js +5 -11
- package/es/composite-comp/common/components/ProductItem/index.less +10 -0
- package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +13 -0
- package/es/composite-comp/{bol/config-panels/NewsletterConfig → common/config-panels}/InputField/index.js +18 -10
- package/es/composite-comp/dito/components/GroupBuy/defaultJSON.js +0 -4
- package/es/composite-comp/dito/components/GroupBuy/mobile/index.js +3 -3
- package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +14 -1
- package/es/composite-comp/dito/components/SearchBar/mobile/index.js +98 -33
- package/es/composite-comp/dito/components/SearchBar/mobile/index.less +11 -1
- package/es/composite-comp/dito/components/SearchBar/pc/index.js +78 -6
- package/es/composite-comp/dito/components/SearchBar/pc/index.less +1 -0
- package/es/composite-comp/dito/components/SignBoard/mobile/index.js +4 -3
- package/es/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +5 -9
- package/es/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.less +2 -0
- package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +36 -6
- package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.less +7 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/MonpayCountDown/index.js +212 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/MonpayCountDown/index.less +21 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/defaultJSON.js +322 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/index.js +90 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg.png +0 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg1.png +0 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg2.png +0 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg3.png +0 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.js +462 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.less +104 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg.png +0 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg1.png +0 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg2.png +0 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg3.png +0 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/index.js +582 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +150 -0
- package/es/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +385 -0
- package/es/composite-comp/monpay/components/MonpayRecommend/index.js +90 -0
- package/es/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/defImg1.png +0 -0
- package/es/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/defImg2.png +0 -0
- package/es/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/defImg3.png +0 -0
- package/es/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +714 -0
- package/es/composite-comp/monpay/components/MonpayRecommend/mobile/index.less +81 -0
- package/es/composite-comp/monpay/components/MonpayRecommend/pc/imgs/defImg1.png +0 -0
- package/es/composite-comp/monpay/components/MonpayRecommend/pc/imgs/defImg2.png +0 -0
- package/es/composite-comp/monpay/components/MonpayRecommend/pc/imgs/defImg3.png +0 -0
- package/es/composite-comp/monpay/components/MonpayRecommend/pc/index.js +763 -0
- package/es/composite-comp/monpay/components/MonpayRecommend/pc/index.less +124 -0
- package/es/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.js +177 -0
- package/es/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.less +41 -0
- package/es/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigTitle/index.js +171 -0
- package/es/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigTitle/index.less +7 -0
- package/es/composite-comp/monpay/config-panels/MonpayFlashDealConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/monpay/config-panels/MonpayFlashDealConfig/index.js +73 -0
- package/es/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigContent/index.js +141 -0
- package/es/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigContent/index.less +0 -0
- package/es/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigGroup/index.js +149 -0
- package/es/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigGroup/index.less +16 -0
- package/es/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigTitle/index.js +93 -0
- package/es/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigTitle/index.less +0 -0
- package/es/composite-comp/monpay/config-panels/MonpayRecommendConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/monpay/config-panels/MonpayRecommendConfig/index.js +150 -0
- package/es/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/AIRecommendation/index.js +431 -0
- package/es/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.js +258 -0
- package/es/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.less +15 -0
- package/es/constants/component-types.js +13 -3
- package/es/constants/index.js +10 -1
- package/es/constants/layout.js +43 -4
- package/es/core/Designer/ConfigPanel/index.js +1 -1
- package/es/core/Designer/index.js +5 -2
- package/es/locale/en/en.json +11 -0
- package/es/locale/es/es.json +11 -0
- package/es/locale/id/id.json +11 -0
- package/es/utils/businessUtil.js +12 -0
- package/es/utils/dateUtil.js +13 -0
- package/lib/assets/images/layout-icon/banner-slide-layout1.png +0 -0
- package/lib/assets/images/layout-icon/banner-slide-layout1.svg +6 -0
- package/lib/assets/images/layout-icon/banner-slide-layout2.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-mobile-1.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-mobile-2.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-mobile-3.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-mobile-4.png +0 -0
- package/lib/common/Collapse/index.js +10 -8
- package/lib/common/FontStyles/index.less +3 -1
- package/lib/common/LinkModal/MiniAppApi/const.js +637 -0
- package/lib/common/LinkModal/MiniAppApi/index.js +61 -0
- package/lib/common/LinkModal/index.js +6 -0
- package/lib/common/MonpayCountDown/index.js +160 -0
- package/lib/common/RatingText/index.js +105 -0
- package/lib/common/RatingText/index.less +12 -0
- package/lib/common/index.js +8 -0
- package/lib/composite-comp/bol/components/Banner/defaultJSON.js +1 -0
- package/lib/composite-comp/bol/components/Banner/mobile/index.js +2 -1
- package/lib/composite-comp/bol/components/Banner/mobile/index.less +8 -4
- package/lib/composite-comp/bol/components/Banner/pc/index.js +2 -1
- package/lib/composite-comp/bol/components/Banner/pc/index.less +9 -3
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +11 -11
- package/lib/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +1 -1
- package/lib/composite-comp/common/components/MonpayProductItem/index.js +283 -0
- package/lib/composite-comp/common/components/MonpayProductItem/index.less +211 -0
- package/lib/composite-comp/common/components/ProductItem/index.js +5 -11
- package/lib/composite-comp/common/components/ProductItem/index.less +10 -0
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +13 -0
- package/lib/composite-comp/{bol/config-panels/NewsletterConfig → common/config-panels}/InputField/index.js +18 -10
- package/lib/composite-comp/dito/components/GroupBuy/defaultJSON.js +0 -4
- package/lib/composite-comp/dito/components/GroupBuy/mobile/index.js +3 -3
- package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +14 -1
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +98 -33
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +11 -1
- package/lib/composite-comp/dito/components/SearchBar/pc/index.js +78 -6
- package/lib/composite-comp/dito/components/SearchBar/pc/index.less +1 -0
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +4 -3
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +5 -9
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.less +2 -0
- package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +36 -6
- package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.less +7 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/MonpayCountDown/index.js +212 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/MonpayCountDown/index.less +21 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/defaultJSON.js +322 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/index.js +90 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg1.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg2.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/imgs/defImg3.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.js +462 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.less +104 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg1.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg2.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg3.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.js +582 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +150 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +385 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/index.js +90 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/defImg1.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/defImg2.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/defImg3.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +714 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.less +81 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/pc/imgs/defImg1.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/pc/imgs/defImg2.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/pc/imgs/defImg3.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.js +763 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.less +124 -0
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.js +177 -0
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.less +41 -0
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigTitle/index.js +171 -0
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigTitle/index.less +7 -0
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/index.js +73 -0
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigContent/index.js +141 -0
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigContent/index.less +0 -0
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigGroup/index.js +149 -0
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigGroup/index.less +16 -0
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigTitle/index.js +93 -0
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigTitle/index.less +0 -0
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/index.js +150 -0
- package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/AIRecommendation/index.js +431 -0
- package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.js +258 -0
- package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.less +15 -0
- package/lib/constants/component-types.js +13 -3
- package/lib/constants/index.js +10 -1
- package/lib/constants/layout.js +43 -4
- package/lib/core/Designer/ConfigPanel/index.js +1 -1
- package/lib/core/Designer/index.js +5 -2
- package/lib/locale/en/en.json +11 -0
- package/lib/locale/es/es.json +11 -0
- package/lib/locale/id/id.json +11 -0
- package/lib/utils/businessUtil.js +12 -0
- package/lib/utils/dateUtil.js +13 -0
- package/package.json +1 -1
|
@@ -59,6 +59,10 @@ var _Orders = _interopRequireDefault(require("../composite-comp/dito/components/
|
|
|
59
59
|
|
|
60
60
|
var _CommonFunctions = _interopRequireDefault(require("../composite-comp/dito/components/CommonFunctions"));
|
|
61
61
|
|
|
62
|
+
var _MonpayRecommend = _interopRequireDefault(require("../composite-comp/monpay/components/MonpayRecommend"));
|
|
63
|
+
|
|
64
|
+
var _MonpayFlashDeal = _interopRequireDefault(require("../composite-comp/monpay/components/MonpayFlashDeal"));
|
|
65
|
+
|
|
62
66
|
var _BannerConfig = _interopRequireDefault(require("../composite-comp/bol/config-panels/BannerConfig"));
|
|
63
67
|
|
|
64
68
|
var _DividerConfig = _interopRequireDefault(require("../composite-comp/bol/config-panels/DividerConfig"));
|
|
@@ -113,6 +117,10 @@ var _OrdersConfig = _interopRequireDefault(require("../composite-comp/dito/confi
|
|
|
113
117
|
|
|
114
118
|
var _CommonFunctionsConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/CommonFunctionsConfig"));
|
|
115
119
|
|
|
120
|
+
var _MonpayRecommendConfig = _interopRequireDefault(require("../composite-comp/monpay/config-panels/MonpayRecommendConfig"));
|
|
121
|
+
|
|
122
|
+
var _MonpayFlashDealConfig = _interopRequireDefault(require("../composite-comp/monpay/config-panels/MonpayFlashDealConfig"));
|
|
123
|
+
|
|
116
124
|
var _BannerSecondConfig = _interopRequireDefault(require("../composite-comp/bol/second-config-panels/BannerSecondConfig"));
|
|
117
125
|
|
|
118
126
|
var _TextSecondConfig = _interopRequireDefault(require("../composite-comp/bol/second-config-panels/TextSecondConfig"));
|
|
@@ -151,6 +159,8 @@ var _OrdersSecondConfig = _interopRequireDefault(require("../composite-comp/dito
|
|
|
151
159
|
|
|
152
160
|
var _CommonFunctionsSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig"));
|
|
153
161
|
|
|
162
|
+
var _MonpayRecommendSecondConfig = _interopRequireDefault(require("../composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig"));
|
|
163
|
+
|
|
154
164
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
155
165
|
|
|
156
166
|
var _a, _b, _c; // 组件
|
|
@@ -159,17 +169,17 @@ var _a, _b, _c; // 组件
|
|
|
159
169
|
/**
|
|
160
170
|
* 渲染组件索引
|
|
161
171
|
*/
|
|
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);
|
|
172
|
+
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[_MonpayFlashDeal["default"].type] = _MonpayFlashDeal["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[_MonpayRecommend["default"].type] = _MonpayRecommend["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);
|
|
163
173
|
/**
|
|
164
174
|
* 一级配置面板索引
|
|
165
175
|
*/
|
|
166
176
|
|
|
167
177
|
exports.componentMap = componentMap;
|
|
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);
|
|
178
|
+
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[_MonpayFlashDeal["default"].type] = _MonpayFlashDealConfig["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[_MonpayRecommend["default"].type] = _MonpayRecommendConfig["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);
|
|
169
179
|
/**
|
|
170
180
|
* 二级配置面板索引
|
|
171
181
|
*/
|
|
172
182
|
|
|
173
183
|
exports.configPanelMap = configPanelMap;
|
|
174
|
-
var secondConfigPanelMap = (_c = {}, _c[_Banner["default"].type] = _BannerSecondConfig["default"], _c[_Video["default"].type] = _VideoSecondConfig["default"], _c[_Text["default"].type] = _TextSecondConfig["default"], _c[_ImageText["default"].type] = _ImageTextSecondConfig["default"], _c[_Recommend["default"].type] = _RecommendSecondConfig["default"], _c[_AffiliateRecommend["default"].type] = _AffiliateRecommendSecondConfig["default"], _c[_MobileNavigation["default"].type] = _MobileNavigationSecondConfig["default"], _c[_PcNavigation["default"].type] = _PcNavigationSecondConfig["default"], _c[_MenuNavigation["default"].type] = _MenuNavigationSecondConfig["default"], _c[_HeadNavigation["default"].type] = _HeadNavigationSecondConfig["default"], _c[_PersonalInformation["default"].type] = _PersonalInformationSecondConfig["default"], _c[_Orders["default"].type] = _OrdersSecondConfig["default"], _c[_CommonFunctions["default"].type] = _CommonFunctionsSecondConfig["default"], _c[_Carousel["default"].type] = _CarouselSecondConfig["default"], _c[_ImageGallery["default"].type] = _ImageGallerySecondConfig["default"], _c[_Tag["default"].type] = _TagSecondConfig["default"], _c[_Button["default"].type] = _ButtonSecondConfig["default"], _c[_Wallet["default"].type] = _WalletSecondConfig["default"], _c[_WalletNuri["default"].type] = _WalletNuriSecondConfig["default"], _c);
|
|
184
|
+
var secondConfigPanelMap = (_c = {}, _c[_Banner["default"].type] = _BannerSecondConfig["default"], _c[_Video["default"].type] = _VideoSecondConfig["default"], _c[_Text["default"].type] = _TextSecondConfig["default"], _c[_ImageText["default"].type] = _ImageTextSecondConfig["default"], _c[_Recommend["default"].type] = _RecommendSecondConfig["default"], _c[_AffiliateRecommend["default"].type] = _AffiliateRecommendSecondConfig["default"], _c[_MonpayRecommend["default"].type] = _MonpayRecommendSecondConfig["default"], _c[_MobileNavigation["default"].type] = _MobileNavigationSecondConfig["default"], _c[_PcNavigation["default"].type] = _PcNavigationSecondConfig["default"], _c[_MenuNavigation["default"].type] = _MenuNavigationSecondConfig["default"], _c[_HeadNavigation["default"].type] = _HeadNavigationSecondConfig["default"], _c[_PersonalInformation["default"].type] = _PersonalInformationSecondConfig["default"], _c[_Orders["default"].type] = _OrdersSecondConfig["default"], _c[_CommonFunctions["default"].type] = _CommonFunctionsSecondConfig["default"], _c[_Carousel["default"].type] = _CarouselSecondConfig["default"], _c[_ImageGallery["default"].type] = _ImageGallerySecondConfig["default"], _c[_Tag["default"].type] = _TagSecondConfig["default"], _c[_Button["default"].type] = _ButtonSecondConfig["default"], _c[_Wallet["default"].type] = _WalletSecondConfig["default"], _c[_WalletNuri["default"].type] = _WalletNuriSecondConfig["default"], _c);
|
|
175
185
|
exports.secondConfigPanelMap = secondConfigPanelMap;
|
package/es/constants/index.js
CHANGED
|
@@ -85,7 +85,8 @@ var urlTypeMap = {
|
|
|
85
85
|
STORE: 'Store',
|
|
86
86
|
AFFILIATE_PRODUCT: 'AffiliateProduct',
|
|
87
87
|
AFFILIATE_STORE: 'AffiliateStore',
|
|
88
|
-
ANCHOR: 'Anchor'
|
|
88
|
+
ANCHOR: 'Anchor',
|
|
89
|
+
MINI_API: 'MiniApi'
|
|
89
90
|
};
|
|
90
91
|
exports.urlTypeMap = urlTypeMap;
|
|
91
92
|
var respCodeMap = {
|
|
@@ -145,6 +146,10 @@ var compInfoMap = {
|
|
|
145
146
|
name: 'Flash Deal',
|
|
146
147
|
icon: 'icon-flash-deal'
|
|
147
148
|
},
|
|
149
|
+
MONPAY_FLASH_DEAL: {
|
|
150
|
+
name: 'Monpay Flash Deal',
|
|
151
|
+
icon: 'icon-flash-deal'
|
|
152
|
+
},
|
|
148
153
|
GROUP_BUY: {
|
|
149
154
|
name: 'Group Buy',
|
|
150
155
|
icon: 'icon-group-buy'
|
|
@@ -177,6 +182,10 @@ var compInfoMap = {
|
|
|
177
182
|
name: 'Affiliate Recommend',
|
|
178
183
|
icon: 'icon-forms'
|
|
179
184
|
},
|
|
185
|
+
MONPAY_RECOMMEND: {
|
|
186
|
+
name: 'Monpay Recommend',
|
|
187
|
+
icon: 'icon-forms'
|
|
188
|
+
},
|
|
180
189
|
DIVIDER: {
|
|
181
190
|
name: 'Divider',
|
|
182
191
|
icon: 'icon-divider-1'
|
package/es/constants/layout.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.videoPCLayout = exports.videoH5Layout = exports.searchLayout = exports.recommendLayoutPc = exports.recommendLayoutMobile = exports.pcNavigationLayout = exports.newsletterLayout = exports.mobileNavigationLayout = exports.locationLayout = exports.imageTextLayoutPc = exports.imageTextLayoutMobile = exports.imageGalleryLayout = exports.dividerLayout = exports.carouselLayout = exports.affiliateLayoutPc = exports.affiliateLayoutMobile = exports.WalletNuriLayout = exports.WalletLayout = void 0;
|
|
6
|
+
exports.videoPCLayout = exports.videoH5Layout = exports.searchLayout = exports.recommendLayoutPc = exports.recommendLayoutMobile = exports.pcNavigationLayout = exports.newsletterLayout = exports.monpayRecommendLayoutMobile = exports.mobileNavigationLayout = exports.locationLayout = exports.imageTextLayoutPc = exports.imageTextLayoutMobile = exports.imageGalleryLayout = exports.dividerLayout = exports.carouselLayout = exports.bannerSlideLayout = exports.affiliateLayoutPc = exports.affiliateLayoutMobile = exports.WalletNuriLayout = exports.WalletLayout = void 0;
|
|
7
7
|
|
|
8
8
|
var _dividerLayout = _interopRequireDefault(require("../assets/images/layout-icon/dividerLayout.svg"));
|
|
9
9
|
|
|
@@ -59,6 +59,14 @@ var _layoutRecommend4 = _interopRequireDefault(require("../assets/images/layout-
|
|
|
59
59
|
|
|
60
60
|
var _layoutRecommend5 = _interopRequireDefault(require("../assets/images/layout-icon/layout-recommend-5.png"));
|
|
61
61
|
|
|
62
|
+
var _layoutRecommendMobile = _interopRequireDefault(require("../assets/images/layout-icon/layout-recommend-mobile-1.png"));
|
|
63
|
+
|
|
64
|
+
var _layoutRecommendMobile2 = _interopRequireDefault(require("../assets/images/layout-icon/layout-recommend-mobile-2.png"));
|
|
65
|
+
|
|
66
|
+
var _layoutRecommendMobile3 = _interopRequireDefault(require("../assets/images/layout-icon/layout-recommend-mobile-3.png"));
|
|
67
|
+
|
|
68
|
+
var _layoutRecommendMobile4 = _interopRequireDefault(require("../assets/images/layout-icon/layout-recommend-mobile-4.png"));
|
|
69
|
+
|
|
62
70
|
var _layoutVideoH = _interopRequireDefault(require("../assets/images/layout-icon/layout-video-h5-1.png"));
|
|
63
71
|
|
|
64
72
|
var _layoutVideoH2 = _interopRequireDefault(require("../assets/images/layout-icon/layout-video-h5-2.png"));
|
|
@@ -81,6 +89,10 @@ var _layoutNavigationTile = _interopRequireDefault(require("../assets/images/lay
|
|
|
81
89
|
|
|
82
90
|
var _layoutNavigationNormal = _interopRequireDefault(require("../assets/images/layout-icon/layout-navigation-normal.png"));
|
|
83
91
|
|
|
92
|
+
var _bannerSlideLayout = _interopRequireDefault(require("../assets/images/layout-icon/banner-slide-layout1.png"));
|
|
93
|
+
|
|
94
|
+
var _bannerSlideLayout2 = _interopRequireDefault(require("../assets/images/layout-icon/banner-slide-layout2.png"));
|
|
95
|
+
|
|
84
96
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
85
97
|
|
|
86
98
|
// import p3 from '../assets/images/layout-icon/layout-imagetext-p3.png';
|
|
@@ -214,6 +226,24 @@ var recommendLayoutMobile = [{
|
|
|
214
226
|
image: _layoutRecommend5["default"]
|
|
215
227
|
}];
|
|
216
228
|
exports.recommendLayoutMobile = recommendLayoutMobile;
|
|
229
|
+
var monpayRecommendLayoutMobile = [{
|
|
230
|
+
id: 'layout1',
|
|
231
|
+
name: 'layout1',
|
|
232
|
+
image: _layoutRecommendMobile["default"]
|
|
233
|
+
}, {
|
|
234
|
+
id: 'layout2',
|
|
235
|
+
name: 'layout2',
|
|
236
|
+
image: _layoutRecommendMobile2["default"]
|
|
237
|
+
}, {
|
|
238
|
+
id: 'layout3',
|
|
239
|
+
name: 'layout3',
|
|
240
|
+
image: _layoutRecommendMobile3["default"]
|
|
241
|
+
}, {
|
|
242
|
+
id: 'layout4',
|
|
243
|
+
name: 'layout4',
|
|
244
|
+
image: _layoutRecommendMobile4["default"]
|
|
245
|
+
}];
|
|
246
|
+
exports.monpayRecommendLayoutMobile = monpayRecommendLayoutMobile;
|
|
217
247
|
var recommendLayoutPc = [{
|
|
218
248
|
id: 'layout1',
|
|
219
249
|
name: 'layout1',
|
|
@@ -236,8 +266,7 @@ var affiliateLayoutMobile = [{
|
|
|
236
266
|
id: 'layout2',
|
|
237
267
|
name: 'layout2',
|
|
238
268
|
image: _layoutRecommend2["default"]
|
|
239
|
-
},
|
|
240
|
-
{
|
|
269
|
+
}, {
|
|
241
270
|
id: 'layout4',
|
|
242
271
|
name: 'layout4',
|
|
243
272
|
image: _layoutRecommend4["default"]
|
|
@@ -312,4 +341,14 @@ var pcNavigationLayout = [{
|
|
|
312
341
|
name: 'normal',
|
|
313
342
|
image: _layoutNavigationNormal["default"]
|
|
314
343
|
}];
|
|
315
|
-
exports.pcNavigationLayout = pcNavigationLayout;
|
|
344
|
+
exports.pcNavigationLayout = pcNavigationLayout;
|
|
345
|
+
var bannerSlideLayout = [{
|
|
346
|
+
id: 'layout1',
|
|
347
|
+
name: 'layout1',
|
|
348
|
+
image: _bannerSlideLayout["default"]
|
|
349
|
+
}, {
|
|
350
|
+
id: 'layout2',
|
|
351
|
+
name: 'layout2',
|
|
352
|
+
image: _bannerSlideLayout2["default"]
|
|
353
|
+
}];
|
|
354
|
+
exports.bannerSlideLayout = bannerSlideLayout;
|
|
@@ -115,7 +115,7 @@ var getSecondConfigName = function getSecondConfigName(selectedNode, clickedGrou
|
|
|
115
115
|
|
|
116
116
|
case 'RECOMMEND':
|
|
117
117
|
case 'AFFILIATE_RECOMMEND':
|
|
118
|
-
|
|
118
|
+
case 'MONPAY_RECOMMEND':
|
|
119
119
|
groupName = panelProps.groupName.text;
|
|
120
120
|
break;
|
|
121
121
|
|
|
@@ -529,9 +529,12 @@ function (_super) {
|
|
|
529
529
|
|
|
530
530
|
case _constants.quickMenuCode.SAVE:
|
|
531
531
|
/** 如果保存则重置为mobile,同一移动端截图 #10504010 */
|
|
532
|
-
_this.onSwitchDevice(_constants.deviceTypeMap.PHONE);
|
|
532
|
+
_this.onSwitchDevice(_constants.deviceTypeMap.PHONE); // onSave(handleParams);
|
|
533
|
+
|
|
533
534
|
|
|
534
|
-
onSave(handleParams)
|
|
535
|
+
onSave(__assign(__assign({}, handleParams), {
|
|
536
|
+
device: _constants.deviceTypeMap.PHONE
|
|
537
|
+
}));
|
|
535
538
|
break;
|
|
536
539
|
|
|
537
540
|
case _constants.quickMenuCode.MODE_PC:
|
package/es/locale/en/en.json
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
+
"HEADER_IMAGE": "Header Image",
|
|
3
|
+
"ACTIVITY_LABEL": "Activity Label",
|
|
4
|
+
"STOCK": "Stock",
|
|
5
|
+
"DISCOUNT_LABEL": "Discount Label",
|
|
6
|
+
"SESSION_TIME": "Session Time",
|
|
7
|
+
"NUMBER": "Number",
|
|
8
|
+
"COUNTDOWN": "Countdown",
|
|
9
|
+
"FILTER": "Filter",
|
|
10
|
+
"SOLD": "Sold",
|
|
11
|
+
"EVALUATION_SCORE": "Evaluation Score",
|
|
12
|
+
"SEARCH_BAR_KEYWORD": "Search Bar Keyword",
|
|
2
13
|
"BOX_BACKGROUND": "Box Background",
|
|
3
14
|
"BOX_COLOR": "Box Color",
|
|
4
15
|
"PROGRESS_BAR_COLOR": "Progress Bar Color",
|
package/es/locale/es/es.json
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
+
"HEADER_IMAGE": "Header Image",
|
|
3
|
+
"ACTIVITY_LABEL": "Activity Label",
|
|
4
|
+
"STOCK": "Stock",
|
|
5
|
+
"DISCOUNT_LABEL": "Discount Label",
|
|
6
|
+
"SESSION_TIME": "Session Time",
|
|
7
|
+
"NUMBER": "Number",
|
|
8
|
+
"COUNTDOWN": "Countdown",
|
|
9
|
+
"FILTER": "Filter",
|
|
10
|
+
"SOLD": "Sold",
|
|
11
|
+
"EVALUATION_SCORE": "Evaluation Score",
|
|
12
|
+
"SEARCH_BAR_KEYWORD": "Search Bar Keyword",
|
|
2
13
|
"BOX_BACKGROUND": "Box Background",
|
|
3
14
|
"BOX_COLOR": "Box Color",
|
|
4
15
|
"PROGRESS_BAR_COLOR": "Progress Bar Color",
|
package/es/locale/id/id.json
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
+
"HEADER_IMAGE": "Header Image",
|
|
3
|
+
"ACTIVITY_LABEL": "Activity Label",
|
|
4
|
+
"STOCK": "Stock",
|
|
5
|
+
"DISCOUNT_LABEL": "Discount Label",
|
|
6
|
+
"SESSION_TIME": "Session Time",
|
|
7
|
+
"NUMBER": "Number",
|
|
8
|
+
"COUNTDOWN": "Countdown",
|
|
9
|
+
"FILTER": "Filter",
|
|
10
|
+
"SOLD": "Sold",
|
|
11
|
+
"EVALUATION_SCORE": "Evaluation Score",
|
|
12
|
+
"SEARCH_BAR_KEYWORD": "Search Bar Keyword",
|
|
2
13
|
"BOX_BACKGROUND": "Box Background",
|
|
3
14
|
"BOX_COLOR": "Box Color",
|
|
4
15
|
"PROGRESS_BAR_COLOR": "Progress Bar Color",
|
package/es/utils/businessUtil.js
CHANGED
|
@@ -194,6 +194,18 @@ var newParseUrl = function newParseUrl(urlObj) {
|
|
|
194
194
|
};
|
|
195
195
|
break;
|
|
196
196
|
|
|
197
|
+
case _constants.urlTypeMap.MINI_API:
|
|
198
|
+
// 小程序API,演示使用
|
|
199
|
+
link = "mpaas://miniapp?api=" + value.replace('my.', '');
|
|
200
|
+
params = {
|
|
201
|
+
action: 'jump',
|
|
202
|
+
params: {
|
|
203
|
+
type: 'MINI_API',
|
|
204
|
+
url: value
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
break;
|
|
208
|
+
|
|
197
209
|
default:
|
|
198
210
|
var map = {
|
|
199
211
|
'/main/cart': 'CART',
|
package/es/utils/dateUtil.js
CHANGED
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.formatDateTime = exports.formatDateMinute = exports.formatDate = void 0;
|
|
7
7
|
exports.formatDayMonth = formatDayMonth;
|
|
8
|
+
exports.formatDayMonthTime = formatDayMonthTime;
|
|
8
9
|
exports.newDate = void 0;
|
|
9
10
|
|
|
10
11
|
var _moment = _interopRequireDefault(require("moment"));
|
|
@@ -66,5 +67,17 @@ function formatDayMonth(date, fmt) {
|
|
|
66
67
|
return '';
|
|
67
68
|
}
|
|
68
69
|
|
|
70
|
+
return (0, _moment["default"])(newDate(date)).format(fmt);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
function formatDayMonthTime(date, fmt) {
|
|
74
|
+
if (fmt === void 0) {
|
|
75
|
+
fmt = 'DD MMM HH:mm';
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
if (!date) {
|
|
79
|
+
return '';
|
|
80
|
+
}
|
|
81
|
+
|
|
69
82
|
return (0, _moment["default"])(newDate(date)).format(fmt);
|
|
70
83
|
}
|
|
Binary file
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="96" height="72" viewBox="0 0 96 72" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect x="1" y="1" width="94" height="70" rx="8" fill="#F5F6F7" stroke="#D2D9E5"/>
|
|
3
|
+
<circle cx="48" cy="36" r="6" fill="#C1C9D7"/>
|
|
4
|
+
<circle cx="28" cy="36" r="4" fill="#E6EAF0"/>
|
|
5
|
+
<circle cx="68" cy="36" r="4" fill="#E6EAF0"/>
|
|
6
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -160,14 +160,16 @@ function (_super) {
|
|
|
160
160
|
|
|
161
161
|
panelInfo.metaOption.open = checked;
|
|
162
162
|
|
|
163
|
-
if (
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
163
|
+
if (panelInfo.value) {
|
|
164
|
+
if (checked) {
|
|
165
|
+
_this.setState({
|
|
166
|
+
activeKey: [((_a = panelInfo.metaOption) === null || _a === void 0 ? void 0 : _a.id) || panelInfo.key]
|
|
167
|
+
});
|
|
168
|
+
} else {
|
|
169
|
+
_this.setState({
|
|
170
|
+
activeKey: []
|
|
171
|
+
});
|
|
172
|
+
}
|
|
171
173
|
}
|
|
172
174
|
|
|
173
175
|
_this.props.onRefresh();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
.m-font-styles {
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
|
+
position: relative;
|
|
4
5
|
|
|
5
6
|
.item {
|
|
6
7
|
display: inline-block;
|
|
@@ -13,7 +14,7 @@
|
|
|
13
14
|
margin-right: 12px;
|
|
14
15
|
cursor: pointer;
|
|
15
16
|
display: flex;
|
|
16
|
-
|
|
17
|
+
|
|
17
18
|
&.active {
|
|
18
19
|
background: #E9F0FF;
|
|
19
20
|
}
|
|
@@ -40,6 +41,7 @@
|
|
|
40
41
|
margin-right: 0;
|
|
41
42
|
cursor: default;
|
|
42
43
|
flex: 0 0 95px;
|
|
44
|
+
|
|
43
45
|
.item-icon {
|
|
44
46
|
display: inline-flex;
|
|
45
47
|
align-items: center;
|