@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.
- package/es/assets/fonts/magic-box-iconfont.css +27 -7
- package/es/assets/fonts/magic-box-iconfont.css.bak +71 -7
- package/es/assets/fonts/magic-box-iconfont.js +1 -1
- package/es/assets/fonts/magic-box-iconfont.js.bak +1 -1
- package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/es/assets/images/base64/index.js +3 -1
- package/es/common/AffiliateProductModal/index.js +1 -1
- package/es/common/Button/index.js +1 -1
- package/es/common/Collapse/index.js +1 -1
- package/es/common/ImageModal/CommonModal/index.js +1 -1
- package/es/common/ImageModal/CommonSelPicCard/index.js +1 -1
- package/es/common/ImageModal/index.js +52 -50
- package/es/common/ImageModal/utils.js +1 -1
- package/es/common/ImagePicker/index.js +1 -1
- package/es/common/InputNumber/index.js +1 -1
- package/es/common/LinkModal/AffiliatePlatform/index.js +325 -0
- package/es/common/LinkModal/AffiliateProductTable/index.js +15 -27
- package/es/common/LinkModal/AffiliateStore/index.js +11 -23
- package/es/common/LinkModal/BundleCampaign/index.js +15 -27
- package/es/common/LinkModal/CatgTable/index.js +3 -11
- package/es/common/LinkModal/CouponTable/index.js +3 -11
- package/es/common/LinkModal/CustomTable/index.js +3 -11
- package/es/common/LinkModal/FilteredProductModal/index.js +23 -37
- package/es/common/LinkModal/FunctionTable/index.js +4 -11
- package/es/common/LinkModal/MiniAppApi/index.js +4 -12
- package/es/common/LinkModal/MiniAppTable/index.js +3 -11
- package/es/common/LinkModal/ProductDetailPage/index.js +26 -38
- package/es/common/LinkModal/SelectVideoModal/index.js +10 -18
- package/es/common/LinkModal/ShareUrl/index.js +3 -11
- package/es/common/LinkModal/StoreCatgTable/index.js +3 -11
- package/es/common/LinkModal/StoreTable/index.js +11 -23
- package/es/common/LinkModal/index.js +15 -19
- package/es/common/ProductModal/index.js +1 -1
- package/es/common/Slider/index.js +1 -1
- package/es/common/SwitchCollapse/index.js +1 -1
- package/es/common/SystemNotification/Confirm/index.js +1 -1
- package/es/common/UrlPicker/AnchorModal/index.js +1 -1
- package/es/common/VideoUpload/index.js +1 -0
- package/es/composite-comp/bol/components/Banner/mobile/index.js +1 -1
- package/es/composite-comp/bol/components/Banner/pc/index.js +1 -1
- package/es/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +1 -1
- package/es/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +1 -1
- package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +1 -1
- package/es/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +1 -1
- package/es/composite-comp/common/components/ProductItem/index.js +1 -1
- package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +1 -1
- package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +1 -1
- package/es/composite-comp/common/config-panels/InputField/index.js +1 -1
- package/es/composite-comp/common/config-panels/SpacingConfig/index.js +1 -1
- package/es/composite-comp/dito/components/Bargain/defaultJSON.js +244 -0
- package/es/composite-comp/dito/components/Bargain/index.js +86 -0
- package/es/composite-comp/dito/components/Bargain/mobile/imgs/defImg.png +0 -0
- package/es/composite-comp/dito/components/Bargain/mobile/imgs/defImg1.png +0 -0
- package/es/composite-comp/dito/components/Bargain/mobile/imgs/defImg2.png +0 -0
- package/es/composite-comp/dito/components/Bargain/mobile/imgs/defImg3.png +0 -0
- package/es/composite-comp/dito/components/Bargain/mobile/index.js +370 -0
- package/es/composite-comp/dito/components/Bargain/mobile/index.less +85 -0
- package/es/composite-comp/dito/components/GroupBuy/mobile/index.less +3 -3
- package/es/composite-comp/dito/components/Orders/mobile/index.js +8 -6
- package/es/composite-comp/dito/components/PersonalInformation/mobile/index.js +9 -7
- package/es/composite-comp/dito/components/SearchBar/mobile/index.js +1 -1
- package/es/composite-comp/dito/components/SearchBar/pc/index.js +1 -1
- package/es/composite-comp/dito/components/SignBoard/mobile/index.js +1 -1
- package/es/composite-comp/dito/components/SignBoard/pc/index.js +1 -1
- package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +157 -0
- package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.less +20 -0
- package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.js +126 -0
- package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.less +0 -0
- package/es/composite-comp/dito/config-panels/BargainConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/dito/config-panels/BargainConfig/index.js +73 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +1 -1
- package/es/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +1 -1
- package/es/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +1 -1
- package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +1 -1
- package/es/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +1 -1
- package/es/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +1 -1
- package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +1 -1
- package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +1 -1
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +1 -1
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +1 -1
- package/es/composite-comp/monpay/components/InterestProducts/mobile/index.js +11 -6
- package/es/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.js +5 -2
- package/es/composite-comp/monpay/components/MonpayRecommend/mobile/SearchCondition/index.js +3 -3
- package/es/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.js +1 -1
- package/es/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.js +1 -1
- package/es/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.js +1 -1
- package/es/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.js +1 -1
- package/es/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/AIRecommendation/index.js +1 -1
- package/es/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.js +1 -1
- package/es/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +1 -1
- package/es/constants/component-types.js +6 -2
- package/es/constants/index.js +27 -5
- package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +1 -1
- package/es/core/Designer/AiImageGenerator/NumberSlider/index.js +1 -1
- package/es/core/Designer/AiImageGenerator/UploadReference/index.js +1 -1
- package/es/core/Designer/AiImageGenerator/index.js +1 -1
- package/es/core/Designer/AppointmentModal/index.js +1 -1
- package/es/core/Designer/ChatRobot/components/SearchCondition/index.js +1 -1
- package/es/core/Designer/ChatRobot/index.js +1 -1
- package/es/core/Designer/PageCompList/index.js +1 -1
- package/es/core/Designer/QuickMenuBar/index.js +60 -11
- package/es/core/Designer/ToolBarModal/index.js +1 -1
- package/es/core/Designer/index.js +22 -4
- package/es/core/SelectUrl/index.js +0 -1
- package/es/index.js +0 -8
- package/es/meta-comp/config-panels/ButtonConfig/index.js +1 -1
- package/es/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +1 -1
- package/es/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +1 -1
- package/es/meta-comp/config-panels/ImageConfig/index.js +1 -1
- package/es/meta-comp/config-panels/PlayIconConfig/index.js +1 -1
- package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.js +1 -1
- package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +1 -1
- package/es/meta-comp/config-panels/TextConfig/index.js +1 -1
- package/es/utils/androidUtil.js +5 -2
- package/es/utils/businessUtil.js +18 -3
- package/es/utils/commonUtil.js +2 -2
- package/es/utils/coreUtil.js +35 -25
- package/lib/assets/fonts/magic-box-iconfont.css +27 -7
- package/lib/assets/fonts/magic-box-iconfont.css.bak +71 -7
- package/lib/assets/fonts/magic-box-iconfont.js +1 -1
- package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
- package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/lib/assets/images/base64/index.js +3 -1
- package/lib/common/AffiliateProductModal/index.js +1 -1
- package/lib/common/Button/index.js +1 -1
- package/lib/common/Collapse/index.js +1 -1
- package/lib/common/ImageModal/CommonModal/index.js +1 -1
- package/lib/common/ImageModal/CommonSelPicCard/index.js +1 -1
- package/lib/common/ImageModal/index.js +52 -50
- package/lib/common/ImageModal/utils.js +1 -1
- package/lib/common/ImagePicker/index.js +1 -1
- package/lib/common/InputNumber/index.js +1 -1
- package/lib/common/LinkModal/AffiliatePlatform/index.js +325 -0
- package/lib/common/LinkModal/AffiliateProductTable/index.js +15 -27
- package/lib/common/LinkModal/AffiliateStore/index.js +11 -23
- package/lib/common/LinkModal/BundleCampaign/index.js +15 -27
- package/lib/common/LinkModal/CatgTable/index.js +3 -11
- package/lib/common/LinkModal/CouponTable/index.js +3 -11
- package/lib/common/LinkModal/CustomTable/index.js +3 -11
- package/lib/common/LinkModal/FilteredProductModal/index.js +23 -37
- package/lib/common/LinkModal/FunctionTable/index.js +4 -11
- package/lib/common/LinkModal/MiniAppApi/index.js +4 -12
- package/lib/common/LinkModal/MiniAppTable/index.js +3 -11
- package/lib/common/LinkModal/ProductDetailPage/index.js +26 -38
- package/lib/common/LinkModal/SelectVideoModal/index.js +10 -18
- package/lib/common/LinkModal/ShareUrl/index.js +3 -11
- package/lib/common/LinkModal/StoreCatgTable/index.js +3 -11
- package/lib/common/LinkModal/StoreTable/index.js +11 -23
- package/lib/common/LinkModal/index.js +15 -19
- package/lib/common/ProductModal/index.js +1 -1
- package/lib/common/Slider/index.js +1 -1
- package/lib/common/SwitchCollapse/index.js +1 -1
- package/lib/common/SystemNotification/Confirm/index.js +1 -1
- package/lib/common/UrlPicker/AnchorModal/index.js +1 -1
- package/lib/common/VideoUpload/index.js +1 -0
- package/lib/composite-comp/bol/components/Banner/mobile/index.js +1 -1
- package/lib/composite-comp/bol/components/Banner/pc/index.js +1 -1
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +1 -1
- package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +1 -1
- package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +1 -1
- package/lib/composite-comp/bol/second-config-panels/WalletSecondConfig/index.js +1 -1
- package/lib/composite-comp/common/components/ProductItem/index.js +1 -1
- package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +1 -1
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +1 -1
- package/lib/composite-comp/common/config-panels/InputField/index.js +1 -1
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +1 -1
- package/lib/composite-comp/dito/components/Bargain/defaultJSON.js +244 -0
- package/lib/composite-comp/dito/components/Bargain/index.js +86 -0
- package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg.png +0 -0
- package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg1.png +0 -0
- package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg2.png +0 -0
- package/lib/composite-comp/dito/components/Bargain/mobile/imgs/defImg3.png +0 -0
- package/lib/composite-comp/dito/components/Bargain/mobile/index.js +370 -0
- package/lib/composite-comp/dito/components/Bargain/mobile/index.less +85 -0
- package/lib/composite-comp/dito/components/GroupBuy/mobile/index.less +3 -3
- package/lib/composite-comp/dito/components/Orders/mobile/index.js +8 -6
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +9 -7
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +1 -1
- package/lib/composite-comp/dito/components/SearchBar/pc/index.js +1 -1
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +1 -1
- package/lib/composite-comp/dito/components/SignBoard/pc/index.js +1 -1
- package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +157 -0
- package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.less +20 -0
- package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.js +126 -0
- package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigTitle/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/BargainConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/dito/config-panels/BargainConfig/index.js +73 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +1 -1
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +1 -1
- package/lib/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +1 -1
- package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +1 -1
- package/lib/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +1 -1
- package/lib/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +1 -1
- package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +1 -1
- package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +1 -1
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +1 -1
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +1 -1
- package/lib/composite-comp/monpay/components/InterestProducts/mobile/index.js +11 -6
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.js +5 -2
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/SearchCondition/index.js +3 -3
- package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.js +1 -1
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.js +1 -1
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.js +1 -1
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/FlashDealConfigContent/index.js +1 -1
- package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/AIRecommendation/index.js +1 -1
- package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/index.js +1 -1
- package/lib/composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +1 -1
- package/lib/constants/component-types.js +6 -2
- package/lib/constants/index.js +27 -5
- package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +1 -1
- package/lib/core/Designer/AiImageGenerator/NumberSlider/index.js +1 -1
- package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +1 -1
- package/lib/core/Designer/AiImageGenerator/index.js +1 -1
- package/lib/core/Designer/AppointmentModal/index.js +1 -1
- package/lib/core/Designer/ChatRobot/components/SearchCondition/index.js +1 -1
- package/lib/core/Designer/ChatRobot/index.js +1 -1
- package/lib/core/Designer/PageCompList/index.js +1 -1
- package/lib/core/Designer/QuickMenuBar/index.js +60 -11
- package/lib/core/Designer/ToolBarModal/index.js +1 -1
- package/lib/core/Designer/index.js +22 -4
- package/lib/core/SelectUrl/index.js +0 -1
- package/lib/index.js +0 -8
- package/lib/meta-comp/config-panels/ButtonConfig/index.js +1 -1
- package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +1 -1
- package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +1 -1
- package/lib/meta-comp/config-panels/ImageConfig/index.js +1 -1
- package/lib/meta-comp/config-panels/PlayIconConfig/index.js +1 -1
- package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.js +1 -1
- package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +1 -1
- package/lib/meta-comp/config-panels/TextConfig/index.js +1 -1
- package/lib/utils/androidUtil.js +5 -2
- package/lib/utils/businessUtil.js +18 -3
- package/lib/utils/commonUtil.js +2 -2
- package/lib/utils/coreUtil.js +35 -25
- package/package.json +1 -1
- package/es/assets/fonts/.DS_Store +0 -0
- package/lib/assets/fonts/.DS_Store +0 -0
|
@@ -9,6 +9,8 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
|
|
12
|
+
var _antd = require("antd4");
|
|
13
|
+
|
|
12
14
|
var _locale = require("../../../locale");
|
|
13
15
|
|
|
14
16
|
var _commonUtil = require("../../../utils/commonUtil");
|
|
@@ -180,23 +182,7 @@ var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
|
|
|
180
182
|
}
|
|
181
183
|
};
|
|
182
184
|
|
|
183
|
-
var
|
|
184
|
-
|
|
185
|
-
try {
|
|
186
|
-
antdLibrary = require('antd4');
|
|
187
|
-
} catch (error) {
|
|
188
|
-
antdLibrary = require('antd');
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
var Select = antdLibrary.Select,
|
|
192
|
-
Button = antdLibrary.Button,
|
|
193
|
-
Col = antdLibrary.Col,
|
|
194
|
-
Input = antdLibrary.Input,
|
|
195
|
-
Row = antdLibrary.Row,
|
|
196
|
-
Table = antdLibrary.Table,
|
|
197
|
-
Form = antdLibrary.Form,
|
|
198
|
-
Radio = antdLibrary.Radio;
|
|
199
|
-
var Option = Select.Option;
|
|
185
|
+
var Option = _antd.Select.Option;
|
|
200
186
|
|
|
201
187
|
var ProductDetailPage = function ProductDetailPage(props) {
|
|
202
188
|
var onChange = props.onChange,
|
|
@@ -457,17 +443,17 @@ var ProductDetailPage = function ProductDetailPage(props) {
|
|
|
457
443
|
ref: ref,
|
|
458
444
|
className: "productDetailPage",
|
|
459
445
|
id: "customContainer"
|
|
460
|
-
}, /*#__PURE__*/_react["default"].createElement(Form, {
|
|
446
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Form, {
|
|
461
447
|
labelCol: {
|
|
462
448
|
span: 8
|
|
463
449
|
},
|
|
464
450
|
layout: "horizontal"
|
|
465
|
-
}, /*#__PURE__*/_react["default"].createElement(Row, {
|
|
451
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Row, {
|
|
466
452
|
gutter: 24
|
|
467
|
-
}, /*#__PURE__*/_react["default"].createElement(Col, {
|
|
453
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Col, {
|
|
468
454
|
offset: 20,
|
|
469
455
|
span: 4
|
|
470
|
-
}, /*#__PURE__*/_react["default"].createElement(Radio.Group, {
|
|
456
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Radio.Group, {
|
|
471
457
|
buttonStyle: "solid",
|
|
472
458
|
className: "btn-select-type",
|
|
473
459
|
onChange: function onChange(e) {
|
|
@@ -476,34 +462,36 @@ var ProductDetailPage = function ProductDetailPage(props) {
|
|
|
476
462
|
options: proTypeOption,
|
|
477
463
|
optionType: "button",
|
|
478
464
|
value: proType
|
|
479
|
-
}))), /*#__PURE__*/_react["default"].createElement(Row, {
|
|
465
|
+
}))), /*#__PURE__*/_react["default"].createElement(_antd.Row, {
|
|
480
466
|
gutter: 24
|
|
481
|
-
}, /*#__PURE__*/_react["default"].createElement(Col, {
|
|
467
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Col, {
|
|
482
468
|
span: 9
|
|
483
|
-
}, /*#__PURE__*/_react["default"].createElement(Form.Item, {
|
|
469
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Form.Item, {
|
|
484
470
|
label: "Product Name"
|
|
485
|
-
}, /*#__PURE__*/_react["default"].createElement(Input, {
|
|
471
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Input, {
|
|
486
472
|
onChange: function onChange(e) {
|
|
487
473
|
return setProductName(e.target.value);
|
|
488
474
|
},
|
|
489
475
|
size: "small",
|
|
490
476
|
value: productName
|
|
491
|
-
}))), /*#__PURE__*/_react["default"].createElement(Col, {
|
|
477
|
+
}))), /*#__PURE__*/_react["default"].createElement(_antd.Col, {
|
|
492
478
|
span: 9
|
|
493
|
-
}, /*#__PURE__*/_react["default"].createElement(Form.Item, {
|
|
479
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Form.Item, {
|
|
494
480
|
label: proType === 'spu' ? 'SPU Code' : 'SKU Code'
|
|
495
|
-
}, /*#__PURE__*/_react["default"].createElement(Input, {
|
|
481
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Input, {
|
|
496
482
|
onChange: function onChange(e) {
|
|
497
483
|
return setProductCode(e.target.value);
|
|
498
484
|
},
|
|
499
485
|
size: "small",
|
|
500
486
|
value: productCode
|
|
501
|
-
}))), /*#__PURE__*/_react["default"].createElement(Col, {
|
|
487
|
+
}))), /*#__PURE__*/_react["default"].createElement(_antd.Col, {
|
|
502
488
|
span: 9
|
|
503
|
-
}, /*#__PURE__*/_react["default"].createElement(Form.Item, {
|
|
489
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Form.Item, {
|
|
504
490
|
label: "Brand"
|
|
505
|
-
}, /*#__PURE__*/_react["default"].createElement(Select, {
|
|
491
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
506
492
|
defaultValue: [],
|
|
493
|
+
maxTagCount: 2,
|
|
494
|
+
maxTagTextLength: 5,
|
|
507
495
|
mode: "multiple",
|
|
508
496
|
onChange: handleBrandChange,
|
|
509
497
|
placeholder: (0, _locale.i18n)('PLEASE_SELECT'),
|
|
@@ -516,11 +504,11 @@ var ProductDetailPage = function ProductDetailPage(props) {
|
|
|
516
504
|
key: v.brandId,
|
|
517
505
|
value: v.brandName
|
|
518
506
|
}, v.brandName);
|
|
519
|
-
})))), (0, _businessUtil.isPlatform)() && /*#__PURE__*/_react["default"].createElement(Col, {
|
|
507
|
+
})))), (0, _businessUtil.isPlatform)() && /*#__PURE__*/_react["default"].createElement(_antd.Col, {
|
|
520
508
|
span: 9
|
|
521
|
-
}, /*#__PURE__*/_react["default"].createElement(Form.Item, {
|
|
509
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Form.Item, {
|
|
522
510
|
label: "Store"
|
|
523
|
-
}, /*#__PURE__*/_react["default"].createElement(Select, {
|
|
511
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
524
512
|
defaultValue: [],
|
|
525
513
|
onChange: function onChange(value) {
|
|
526
514
|
return setStoreId(value);
|
|
@@ -535,9 +523,9 @@ var ProductDetailPage = function ProductDetailPage(props) {
|
|
|
535
523
|
key: v.storeId,
|
|
536
524
|
value: v.storeId
|
|
537
525
|
}, v.storeName);
|
|
538
|
-
})))), /*#__PURE__*/_react["default"].createElement(Col, {
|
|
526
|
+
})))), /*#__PURE__*/_react["default"].createElement(_antd.Col, {
|
|
539
527
|
span: 6
|
|
540
|
-
}, /*#__PURE__*/_react["default"].createElement(Button, {
|
|
528
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Button, {
|
|
541
529
|
onClick: function onClick() {
|
|
542
530
|
setLoading(true);
|
|
543
531
|
paginationParams.current = 1;
|
|
@@ -548,12 +536,12 @@ var ProductDetailPage = function ProductDetailPage(props) {
|
|
|
548
536
|
marginRight: 10
|
|
549
537
|
},
|
|
550
538
|
type: "primary"
|
|
551
|
-
}, (0, _locale.i18n)('QUERY')), /*#__PURE__*/_react["default"].createElement(Button, {
|
|
539
|
+
}, (0, _locale.i18n)('QUERY')), /*#__PURE__*/_react["default"].createElement(_antd.Button, {
|
|
552
540
|
onClick: function onClick() {
|
|
553
541
|
reset();
|
|
554
542
|
},
|
|
555
543
|
size: "small"
|
|
556
|
-
}, (0, _locale.i18n)('CANCEL'))))), /*#__PURE__*/_react["default"].createElement(Table, {
|
|
544
|
+
}, (0, _locale.i18n)('CANCEL'))))), /*#__PURE__*/_react["default"].createElement(_antd.Table, {
|
|
557
545
|
bordered: false,
|
|
558
546
|
columns: columns,
|
|
559
547
|
dataSource: productList,
|
|
@@ -7,6 +7,8 @@ exports["default"] = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
+
var _antd = require("antd4");
|
|
11
|
+
|
|
10
12
|
var _Field = _interopRequireDefault(require("../../Field"));
|
|
11
13
|
|
|
12
14
|
var _Iconfont = _interopRequireDefault(require("../../Iconfont"));
|
|
@@ -49,17 +51,6 @@ var __extends = void 0 && (void 0).__extends || function () {
|
|
|
49
51
|
};
|
|
50
52
|
}();
|
|
51
53
|
|
|
52
|
-
var antdLibrary;
|
|
53
|
-
|
|
54
|
-
try {
|
|
55
|
-
antdLibrary = require('antd4');
|
|
56
|
-
} catch (error) {
|
|
57
|
-
antdLibrary = require('antd');
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
var Select = antdLibrary.Select,
|
|
61
|
-
Switch = antdLibrary.Switch;
|
|
62
|
-
|
|
63
54
|
var SelectVideoModal =
|
|
64
55
|
/** @class */
|
|
65
56
|
function (_super) {
|
|
@@ -101,16 +92,16 @@ function (_super) {
|
|
|
101
92
|
className: "video-upload-wrap"
|
|
102
93
|
}, /*#__PURE__*/_react["default"].createElement(_Field["default"], {
|
|
103
94
|
title: "Select Video"
|
|
104
|
-
}, /*#__PURE__*/_react["default"].createElement(Select, {
|
|
95
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
105
96
|
onChange: function onChange(v) {
|
|
106
97
|
_this.onFieldChange({
|
|
107
98
|
sourceType: v
|
|
108
99
|
});
|
|
109
100
|
},
|
|
110
101
|
value: this.videoSetting.sourceType
|
|
111
|
-
}, /*#__PURE__*/_react["default"].createElement(Select.Option, {
|
|
102
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
112
103
|
value: "Upload"
|
|
113
|
-
}, "Upload"), /*#__PURE__*/_react["default"].createElement(Select.Option, {
|
|
104
|
+
}, "Upload"), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
114
105
|
value: "URL"
|
|
115
106
|
}, "URL"))), this.videoSetting.sourceType === 'URL' && /*#__PURE__*/_react["default"].createElement(_Field["default"], {
|
|
116
107
|
title: "URL"
|
|
@@ -137,6 +128,7 @@ function (_super) {
|
|
|
137
128
|
size: "20px",
|
|
138
129
|
type: "icon-delete1"
|
|
139
130
|
})))), this.videoSetting.sourceType === 'Upload' && /*#__PURE__*/_react["default"].createElement(_VideoUpload["default"], {
|
|
131
|
+
_fetch: this.props._fetch,
|
|
140
132
|
onChange: function onChange(v, n, id) {
|
|
141
133
|
_this.onFieldChange({
|
|
142
134
|
sourceUrl: v,
|
|
@@ -153,7 +145,7 @@ function (_super) {
|
|
|
153
145
|
layout: "horizontal",
|
|
154
146
|
split: true,
|
|
155
147
|
title: "Progress bar"
|
|
156
|
-
}, /*#__PURE__*/_react["default"].createElement(Switch, {
|
|
148
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Switch, {
|
|
157
149
|
checked: this.videoSetting.progressBar,
|
|
158
150
|
onChange: function onChange(v) {
|
|
159
151
|
_this.onFieldChange({
|
|
@@ -164,7 +156,7 @@ function (_super) {
|
|
|
164
156
|
layout: "horizontal",
|
|
165
157
|
split: true,
|
|
166
158
|
title: "Play in loop"
|
|
167
|
-
}, /*#__PURE__*/_react["default"].createElement(Switch, {
|
|
159
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Switch, {
|
|
168
160
|
checked: this.videoSetting.loop,
|
|
169
161
|
onChange: function onChange(v) {
|
|
170
162
|
_this.onFieldChange({
|
|
@@ -175,7 +167,7 @@ function (_super) {
|
|
|
175
167
|
layout: "horizontal",
|
|
176
168
|
split: true,
|
|
177
169
|
title: "Autoplays"
|
|
178
|
-
}, /*#__PURE__*/_react["default"].createElement(Switch, {
|
|
170
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Switch, {
|
|
179
171
|
checked: this.videoSetting.autoplay,
|
|
180
172
|
onChange: function onChange(v) {
|
|
181
173
|
_this.onFieldChange({
|
|
@@ -186,7 +178,7 @@ function (_super) {
|
|
|
186
178
|
layout: "horizontal",
|
|
187
179
|
split: true,
|
|
188
180
|
title: "Video Sound"
|
|
189
|
-
}, /*#__PURE__*/_react["default"].createElement(Switch, {
|
|
181
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Switch, {
|
|
190
182
|
checked: this.videoSetting.videoSound,
|
|
191
183
|
onChange: function onChange(v) {
|
|
192
184
|
_this.onFieldChange({
|
|
@@ -9,17 +9,9 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
|
|
10
10
|
require("./index.less");
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
var antdLibrary;
|
|
12
|
+
var _antd = require("antd4");
|
|
15
13
|
|
|
16
|
-
|
|
17
|
-
antdLibrary = require('antd4');
|
|
18
|
-
} catch (error) {
|
|
19
|
-
antdLibrary = require('antd');
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
var Input = antdLibrary.Input;
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
15
|
|
|
24
16
|
function ShareUrl(_a) {
|
|
25
17
|
var onChange = _a.onChange;
|
|
@@ -35,7 +27,7 @@ function ShareUrl(_a) {
|
|
|
35
27
|
className: "shareWrap"
|
|
36
28
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
37
29
|
className: "label"
|
|
38
|
-
}, "Share Url"), /*#__PURE__*/_react["default"].createElement(Input, {
|
|
30
|
+
}, "Share Url"), /*#__PURE__*/_react["default"].createElement(_antd.Input, {
|
|
39
31
|
onChange: onChangeUrl
|
|
40
32
|
}));
|
|
41
33
|
}
|
|
@@ -9,6 +9,8 @@ exports["default"] = StoreCatgTable;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
|
|
12
|
+
var _antd = require("antd4");
|
|
13
|
+
|
|
12
14
|
var _commonUtil = require("../../../utils/commonUtil");
|
|
13
15
|
|
|
14
16
|
var _businessUtil = require("../../../utils/businessUtil");
|
|
@@ -160,16 +162,6 @@ var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
|
|
|
160
162
|
}
|
|
161
163
|
};
|
|
162
164
|
|
|
163
|
-
var antdLibrary;
|
|
164
|
-
|
|
165
|
-
try {
|
|
166
|
-
antdLibrary = require('antd4');
|
|
167
|
-
} catch (error) {
|
|
168
|
-
antdLibrary = require('antd');
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
var Table = antdLibrary.Table;
|
|
172
|
-
|
|
173
165
|
function StoreCatgTable(props) {
|
|
174
166
|
var _this = this;
|
|
175
167
|
|
|
@@ -234,7 +226,7 @@ function StoreCatgTable(props) {
|
|
|
234
226
|
style: {
|
|
235
227
|
height: 550
|
|
236
228
|
}
|
|
237
|
-
}, /*#__PURE__*/_react["default"].createElement(Table, {
|
|
229
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Table, {
|
|
238
230
|
bordered: false,
|
|
239
231
|
columns: columns,
|
|
240
232
|
dataSource: catgList,
|
|
@@ -9,6 +9,8 @@ exports["default"] = StoreTable;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
|
|
12
|
+
var _antd = require("antd4");
|
|
13
|
+
|
|
12
14
|
var _locale = require("../../../locale");
|
|
13
15
|
|
|
14
16
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -174,20 +176,6 @@ var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
|
|
|
174
176
|
}
|
|
175
177
|
};
|
|
176
178
|
|
|
177
|
-
var antdLibrary;
|
|
178
|
-
|
|
179
|
-
try {
|
|
180
|
-
antdLibrary = require('antd4');
|
|
181
|
-
} catch (error) {
|
|
182
|
-
antdLibrary = require('antd');
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
var Table = antdLibrary.Table,
|
|
186
|
-
Form = antdLibrary.Form,
|
|
187
|
-
Row = antdLibrary.Row,
|
|
188
|
-
Col = antdLibrary.Col,
|
|
189
|
-
Button = antdLibrary.Button,
|
|
190
|
-
Input = antdLibrary.Input;
|
|
191
179
|
var paginationParams = {
|
|
192
180
|
pageSize: 20,
|
|
193
181
|
pageIndex: 1
|
|
@@ -278,26 +266,26 @@ function StoreTable(props) {
|
|
|
278
266
|
style: {
|
|
279
267
|
height: 550
|
|
280
268
|
}
|
|
281
|
-
}, /*#__PURE__*/_react["default"].createElement(Form, {
|
|
269
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Form, {
|
|
282
270
|
labelCol: {
|
|
283
271
|
span: 4
|
|
284
272
|
},
|
|
285
273
|
layout: "horizontal"
|
|
286
|
-
}, /*#__PURE__*/_react["default"].createElement(Row, {
|
|
274
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Row, {
|
|
287
275
|
gutter: 24
|
|
288
|
-
}, /*#__PURE__*/_react["default"].createElement(Col, {
|
|
276
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Col, {
|
|
289
277
|
span: 12
|
|
290
|
-
}, /*#__PURE__*/_react["default"].createElement(Form.Item, {
|
|
278
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Form.Item, {
|
|
291
279
|
label: "Store"
|
|
292
|
-
}, /*#__PURE__*/_react["default"].createElement(Input, {
|
|
280
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Input, {
|
|
293
281
|
onChange: function onChange(e) {
|
|
294
282
|
return setStoreName(e.target.value);
|
|
295
283
|
},
|
|
296
284
|
size: "small",
|
|
297
285
|
value: storeName
|
|
298
|
-
}))), /*#__PURE__*/_react["default"].createElement(Col, {
|
|
286
|
+
}))), /*#__PURE__*/_react["default"].createElement(_antd.Col, {
|
|
299
287
|
span: 6
|
|
300
|
-
}, /*#__PURE__*/_react["default"].createElement(Button, {
|
|
288
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Button, {
|
|
301
289
|
onClick: function onClick() {
|
|
302
290
|
setLoading(true);
|
|
303
291
|
paginationParams.pageIndex = 1;
|
|
@@ -310,12 +298,12 @@ function StoreTable(props) {
|
|
|
310
298
|
marginRight: 10
|
|
311
299
|
},
|
|
312
300
|
type: "primary"
|
|
313
|
-
}, (0, _locale.i18n)('QUERY')), /*#__PURE__*/_react["default"].createElement(Button, {
|
|
301
|
+
}, (0, _locale.i18n)('QUERY')), /*#__PURE__*/_react["default"].createElement(_antd.Button, {
|
|
314
302
|
onClick: function onClick() {
|
|
315
303
|
reset();
|
|
316
304
|
},
|
|
317
305
|
size: "small"
|
|
318
|
-
}, (0, _locale.i18n)('CANCEL'))))), /*#__PURE__*/_react["default"].createElement(Table, {
|
|
306
|
+
}, (0, _locale.i18n)('CANCEL'))))), /*#__PURE__*/_react["default"].createElement(_antd.Table, {
|
|
319
307
|
bordered: false,
|
|
320
308
|
columns: columns,
|
|
321
309
|
dataSource: storeList,
|
|
@@ -7,6 +7,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports["default"] = void 0;
|
|
9
9
|
|
|
10
|
+
var _antd = require("antd4");
|
|
11
|
+
|
|
10
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
13
|
|
|
12
14
|
var _CouponTable = _interopRequireDefault(require("./CouponTable"));
|
|
@@ -39,6 +41,8 @@ var _AffiliateStore = _interopRequireDefault(require("./AffiliateStore"));
|
|
|
39
41
|
|
|
40
42
|
var _MiniAppApi = _interopRequireDefault(require("./MiniAppApi"));
|
|
41
43
|
|
|
44
|
+
var _AffiliatePlatform = _interopRequireDefault(require("./AffiliatePlatform"));
|
|
45
|
+
|
|
42
46
|
var _locale = require("../../locale");
|
|
43
47
|
|
|
44
48
|
var _commonUtil = require("../../utils/commonUtil");
|
|
@@ -210,20 +214,7 @@ var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
|
|
|
210
214
|
done: true
|
|
211
215
|
};
|
|
212
216
|
}
|
|
213
|
-
};
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
var antdLibrary;
|
|
217
|
-
|
|
218
|
-
try {
|
|
219
|
-
antdLibrary = require('antd4');
|
|
220
|
-
} catch (error) {
|
|
221
|
-
antdLibrary = require('antd');
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
var Button = antdLibrary.Button,
|
|
225
|
-
Modal = antdLibrary.Modal,
|
|
226
|
-
Tabs = antdLibrary.Tabs;
|
|
217
|
+
};
|
|
227
218
|
|
|
228
219
|
var LinkModal = function LinkModal(props) {
|
|
229
220
|
var onConfirm = props.onConfirm,
|
|
@@ -313,7 +304,7 @@ var LinkModal = function LinkModal(props) {
|
|
|
313
304
|
setSelected(type);
|
|
314
305
|
};
|
|
315
306
|
|
|
316
|
-
return /*#__PURE__*/_react["default"].createElement(Modal, _extends({
|
|
307
|
+
return /*#__PURE__*/_react["default"].createElement(_antd.Modal, _extends({
|
|
317
308
|
cancelText: (0, _locale.i18n)('CANCEL'),
|
|
318
309
|
draggable: false,
|
|
319
310
|
footer: null,
|
|
@@ -324,11 +315,11 @@ var LinkModal = function LinkModal(props) {
|
|
|
324
315
|
visible: visible,
|
|
325
316
|
width: "1000px",
|
|
326
317
|
wrapClassName: "magicLinkModal"
|
|
327
|
-
}, modalConfig), /*#__PURE__*/_react["default"].createElement(Tabs, {
|
|
318
|
+
}, modalConfig), /*#__PURE__*/_react["default"].createElement(_antd.Tabs, {
|
|
328
319
|
activeKey: selected,
|
|
329
320
|
onChange: onTabsChange
|
|
330
321
|
}, linkTypes.map(function (item) {
|
|
331
|
-
return /*#__PURE__*/_react["default"].createElement(Tabs.TabPane, {
|
|
322
|
+
return /*#__PURE__*/_react["default"].createElement(_antd.Tabs.TabPane, {
|
|
332
323
|
key: item.linkTypeCode,
|
|
333
324
|
tab: item.linkTypeName
|
|
334
325
|
}, item.linkTypeCode === 'StoreCategory' && /*#__PURE__*/_react["default"].createElement(_StoreCatgTable["default"], {
|
|
@@ -406,17 +397,22 @@ var LinkModal = function LinkModal(props) {
|
|
|
406
397
|
onChange: function onChange(value) {
|
|
407
398
|
return setLinkUrl(value);
|
|
408
399
|
}
|
|
400
|
+
}), item.linkTypeCode === 'AffiliatePlatform' && /*#__PURE__*/_react["default"].createElement(_AffiliatePlatform["default"], {
|
|
401
|
+
_fetch: _fetch,
|
|
402
|
+
onChange: function onChange(value) {
|
|
403
|
+
return setLinkUrl(value);
|
|
404
|
+
}
|
|
409
405
|
}));
|
|
410
406
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
411
407
|
className: "footer"
|
|
412
408
|
}, selected === 'FilteredProduct' ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
413
409
|
className: "total"
|
|
414
|
-
}, total, " Products In Total") : /*#__PURE__*/_react["default"].createElement("div", null), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(Button, {
|
|
410
|
+
}, total, " Products In Total") : /*#__PURE__*/_react["default"].createElement("div", null), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_antd.Button, {
|
|
415
411
|
className: "btn-cancel",
|
|
416
412
|
onClick: function onClick() {
|
|
417
413
|
return onClose && onClose();
|
|
418
414
|
}
|
|
419
|
-
}, (0, _locale.i18n)('CANCEL')), /*#__PURE__*/_react["default"].createElement(Button, {
|
|
415
|
+
}, (0, _locale.i18n)('CANCEL')), /*#__PURE__*/_react["default"].createElement(_antd.Button, {
|
|
420
416
|
className: "btn-confirm",
|
|
421
417
|
onClick: onModalSave,
|
|
422
418
|
type: "primary"
|
|
@@ -132,6 +132,7 @@ function (_super) {
|
|
|
132
132
|
}, "Click or drag file to this area to upload"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
133
133
|
className: "subtitle"
|
|
134
134
|
}, "Support for a single or bulk upload. Strictly prohibit from uploading company data or other band files"))), visible && /*#__PURE__*/_react["default"].createElement(_ImageModal["default"], {
|
|
135
|
+
_fetch: this.props._fetch,
|
|
135
136
|
onCancel: function onCancel() {
|
|
136
137
|
_this.setState({
|
|
137
138
|
visible: false
|
|
@@ -222,7 +222,7 @@ function (_super) {
|
|
|
222
222
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
223
223
|
className: "old-price-wrap"
|
|
224
224
|
}, !!discount && /*#__PURE__*/_react["default"].createElement("span", {
|
|
225
|
-
className: type === 'groupBuy' ? 'discount2' : 'discount'
|
|
225
|
+
className: type === 'groupBuy' || type === 'bargain' ? 'discount2' : 'discount'
|
|
226
226
|
}, "-", discount, "%"), oldPrice && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
227
227
|
className: "old-price",
|
|
228
228
|
data: __assign(__assign({}, panelProps.salesPrice), {
|