@fonixtree/magic-design 2.0.98 → 2.0.99
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 +19 -3
- package/es/assets/fonts/magic-box-iconfont.js +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/common/PopUpModal/index.less +79 -0
- package/es/common/PopUpModal1/style.less +56 -0
- package/es/common/ProductFilterModal/components/FilterSearchModal/imgs/notFound.png +0 -0
- package/es/common/ProductFilterModal/components/FilterSearchModal/index.less +129 -0
- package/es/common/ProductFilterModal/index.less +72 -0
- package/es/common/Tag/index.less +16 -0
- package/es/common/index.js +16 -0
- package/es/composite-comp/common/components/MonpayProductItem/index.js +1 -1
- package/es/composite-comp/monpay/components/Bundle/defaultJSON.js +77 -0
- package/es/composite-comp/monpay/components/Bundle/index.js +86 -0
- package/es/composite-comp/monpay/components/Bundle/mobile/BundleItem/index.less +107 -0
- package/es/composite-comp/monpay/components/Bundle/mobile/BundleProdItem/index.less +61 -0
- package/es/composite-comp/monpay/components/Bundle/mobile/img/card.png +0 -0
- package/es/composite-comp/monpay/components/Bundle/mobile/index.js +493 -0
- package/es/composite-comp/monpay/components/Bundle/mobile/index.less +7 -0
- package/es/composite-comp/monpay/components/InterestProducts/defaultJSON.js +80 -0
- package/es/composite-comp/monpay/components/InterestProducts/index.js +86 -0
- package/es/composite-comp/monpay/components/InterestProducts/mobile/ProductItem/index.js +192 -0
- package/es/composite-comp/monpay/components/InterestProducts/mobile/ProductItem/index.less +159 -0
- package/es/composite-comp/monpay/components/InterestProducts/mobile/img/card.png +0 -0
- package/es/composite-comp/monpay/components/InterestProducts/mobile/index.js +348 -0
- package/es/composite-comp/monpay/components/InterestProducts/mobile/index.less +21 -0
- package/es/composite-comp/monpay/components/MerchantSales/defaultJSON.js +99 -0
- package/es/composite-comp/monpay/components/MerchantSales/index.js +86 -0
- package/es/composite-comp/monpay/components/MerchantSales/mobile/ProductItem/index.js +104 -0
- package/es/composite-comp/monpay/components/MerchantSales/mobile/ProductItem/index.less +34 -0
- package/es/composite-comp/monpay/components/MerchantSales/mobile/img/card.png +0 -0
- package/es/composite-comp/monpay/components/MerchantSales/mobile/img/sale.png +0 -0
- package/es/composite-comp/monpay/components/MerchantSales/mobile/index.js +302 -0
- package/es/composite-comp/monpay/components/MerchantSales/mobile/index.less +14 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.less +1 -1
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +1 -1
- package/es/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +7 -3
- package/es/composite-comp/monpay/components/MonpayRecommend/mobile/SearchCondition/index.less +49 -0
- package/es/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/card.png +0 -0
- package/es/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +143 -35
- package/es/composite-comp/monpay/components/MonpayRecommend/pc/imgs/card.png +0 -0
- package/es/composite-comp/monpay/components/MonpayRecommend/pc/index.js +59 -5
- package/es/composite-comp/monpay/components/MonpayRecommend/pc/index.less +5 -0
- package/es/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.js +114 -0
- package/es/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.less +41 -0
- package/es/composite-comp/monpay/config-panels/BundleConfig/ConfigTitle/index.js +95 -0
- package/es/composite-comp/monpay/config-panels/BundleConfig/ConfigTitle/index.less +7 -0
- package/es/composite-comp/monpay/config-panels/BundleConfig/imgs/layout.png +0 -0
- package/es/composite-comp/monpay/config-panels/BundleConfig/index.js +73 -0
- package/es/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.js +114 -0
- package/es/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.less +41 -0
- package/es/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigTitle/index.js +101 -0
- package/es/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigTitle/index.less +7 -0
- package/es/composite-comp/monpay/config-panels/InterestProductsConfig/imgs/layout.png +0 -0
- package/es/composite-comp/monpay/config-panels/InterestProductsConfig/index.js +73 -0
- package/es/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.js +109 -0
- package/es/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.less +41 -0
- package/es/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigTitle/index.js +95 -0
- package/es/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigTitle/index.less +7 -0
- package/es/composite-comp/monpay/config-panels/MerchantSalesConfig/imgs/layout.png +0 -0
- package/es/composite-comp/monpay/config-panels/MerchantSalesConfig/index.js +73 -0
- package/es/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/AIRecommendation/index.js +5 -1
- package/es/constants/component-types.js +14 -2
- package/es/constants/index.js +34 -3
- package/es/locale/en/en.json +10 -0
- package/es/locale/es/es.json +10 -0
- package/es/locale/id/id.json +10 -0
- package/lib/assets/fonts/magic-box-iconfont.css +19 -3
- package/lib/assets/fonts/magic-box-iconfont.js +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/common/PopUpModal/index.less +79 -0
- package/lib/common/PopUpModal1/style.less +56 -0
- package/lib/common/ProductFilterModal/components/FilterSearchModal/imgs/notFound.png +0 -0
- package/lib/common/ProductFilterModal/components/FilterSearchModal/index.less +129 -0
- package/lib/common/ProductFilterModal/index.less +72 -0
- package/lib/common/Tag/index.less +16 -0
- package/lib/common/index.js +16 -0
- package/lib/composite-comp/common/components/MonpayProductItem/index.js +1 -1
- package/lib/composite-comp/monpay/components/Bundle/defaultJSON.js +77 -0
- package/lib/composite-comp/monpay/components/Bundle/index.js +86 -0
- package/lib/composite-comp/monpay/components/Bundle/mobile/BundleItem/index.less +107 -0
- package/lib/composite-comp/monpay/components/Bundle/mobile/BundleProdItem/index.less +61 -0
- package/lib/composite-comp/monpay/components/Bundle/mobile/img/card.png +0 -0
- package/lib/composite-comp/monpay/components/Bundle/mobile/index.js +493 -0
- package/lib/composite-comp/monpay/components/Bundle/mobile/index.less +7 -0
- package/lib/composite-comp/monpay/components/InterestProducts/defaultJSON.js +80 -0
- package/lib/composite-comp/monpay/components/InterestProducts/index.js +86 -0
- package/lib/composite-comp/monpay/components/InterestProducts/mobile/ProductItem/index.js +192 -0
- package/lib/composite-comp/monpay/components/InterestProducts/mobile/ProductItem/index.less +159 -0
- package/lib/composite-comp/monpay/components/InterestProducts/mobile/img/card.png +0 -0
- package/lib/composite-comp/monpay/components/InterestProducts/mobile/index.js +348 -0
- package/lib/composite-comp/monpay/components/InterestProducts/mobile/index.less +21 -0
- package/lib/composite-comp/monpay/components/MerchantSales/defaultJSON.js +99 -0
- package/lib/composite-comp/monpay/components/MerchantSales/index.js +86 -0
- package/lib/composite-comp/monpay/components/MerchantSales/mobile/ProductItem/index.js +104 -0
- package/lib/composite-comp/monpay/components/MerchantSales/mobile/ProductItem/index.less +34 -0
- package/lib/composite-comp/monpay/components/MerchantSales/mobile/img/card.png +0 -0
- package/lib/composite-comp/monpay/components/MerchantSales/mobile/img/sale.png +0 -0
- package/lib/composite-comp/monpay/components/MerchantSales/mobile/index.js +302 -0
- package/lib/composite-comp/monpay/components/MerchantSales/mobile/index.less +14 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/mobile/index.less +1 -1
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +1 -1
- package/lib/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +7 -3
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/SearchCondition/index.less +49 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/imgs/card.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +143 -35
- package/lib/composite-comp/monpay/components/MonpayRecommend/pc/imgs/card.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.js +59 -5
- package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.less +5 -0
- package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.js +114 -0
- package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigContent/index.less +41 -0
- package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigTitle/index.js +95 -0
- package/lib/composite-comp/monpay/config-panels/BundleConfig/ConfigTitle/index.less +7 -0
- package/lib/composite-comp/monpay/config-panels/BundleConfig/imgs/layout.png +0 -0
- package/lib/composite-comp/monpay/config-panels/BundleConfig/index.js +73 -0
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.js +114 -0
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigContent/index.less +41 -0
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigTitle/index.js +101 -0
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/ConfigTitle/index.less +7 -0
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/imgs/layout.png +0 -0
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/index.js +73 -0
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.js +109 -0
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigContent/index.less +41 -0
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigTitle/index.js +95 -0
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/ConfigTitle/index.less +7 -0
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/imgs/layout.png +0 -0
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/index.js +73 -0
- package/lib/composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig/AIRecommendation/index.js +5 -1
- package/lib/constants/component-types.js +14 -2
- package/lib/constants/index.js +34 -3
- package/lib/locale/en/en.json +10 -0
- package/lib/locale/es/es.json +10 -0
- package/lib/locale/id/id.json +10 -0
- package/package.json +1 -1
- 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/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/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/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
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
.popUpModal {
|
|
2
|
+
display: flex;
|
|
3
|
+
position: fixed;
|
|
4
|
+
left: 0;
|
|
5
|
+
top: 0;
|
|
6
|
+
right: 0;
|
|
7
|
+
bottom: 0;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
width: 100%;
|
|
10
|
+
z-index: 1000;
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
transform: translateZ(1000px);
|
|
15
|
+
|
|
16
|
+
.modal-shadow {
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
background-color: rgba(0, 0, 0, .5);
|
|
20
|
+
position: absolute;
|
|
21
|
+
left: 0;
|
|
22
|
+
right: 0;
|
|
23
|
+
top: 0;
|
|
24
|
+
bottom: 0;
|
|
25
|
+
z-index: -1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.modal-content {
|
|
29
|
+
position: absolute;
|
|
30
|
+
bottom: 0;
|
|
31
|
+
left: 0;
|
|
32
|
+
right: 0;
|
|
33
|
+
width: 100%;
|
|
34
|
+
padding: 20px;
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
background-color: #fff;
|
|
38
|
+
box-shadow: 0px 4px 8px rgba(96, 97, 112, 0.16);
|
|
39
|
+
animation: bounceIn .5s linear;
|
|
40
|
+
margin-top: -80px;
|
|
41
|
+
max-height: 60%;
|
|
42
|
+
border-radius: 10px 10px 0 0;
|
|
43
|
+
|
|
44
|
+
.modal-title {
|
|
45
|
+
color: #000;
|
|
46
|
+
font-size: 16px;
|
|
47
|
+
font-weight: 600;
|
|
48
|
+
text-align: center;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.modal-icon-close {
|
|
52
|
+
position: absolute;
|
|
53
|
+
right: 20px;
|
|
54
|
+
top: 20px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.modal-message {
|
|
58
|
+
margin: 20px 10px;
|
|
59
|
+
overflow-y: scroll;
|
|
60
|
+
height: calc(100% - 64px);
|
|
61
|
+
color: rgb(0, 0, 0);
|
|
62
|
+
text-align: center;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.message-max-height {
|
|
66
|
+
height: calc(100% - 114px);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.modal-btn-wrap {
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
.confirm {
|
|
75
|
+
margin: 10px 0;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
.container {
|
|
2
|
+
:global {
|
|
3
|
+
.topLineWrap {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
height: 24px;
|
|
8
|
+
|
|
9
|
+
.topLine {
|
|
10
|
+
width: 42px;
|
|
11
|
+
height: 4px;
|
|
12
|
+
background: rgba(233, 233, 233, 1);
|
|
13
|
+
border-radius: 2px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.btn-wrap {
|
|
18
|
+
padding: 12px 24px;
|
|
19
|
+
|
|
20
|
+
&>div+div {
|
|
21
|
+
margin-top: 12px;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
.adm-popup-body {
|
|
27
|
+
border-radius: 10px 10px 0px 0px;
|
|
28
|
+
background: #FFF;
|
|
29
|
+
box-shadow: 0px -10px 5px 0px rgba(0, 0, 0, 0.05);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.am-modal-content {
|
|
33
|
+
text-align: left;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.am-modal-content {
|
|
37
|
+
border-radius: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.modal-content-wrap {
|
|
41
|
+
padding: 0;
|
|
42
|
+
position: relative;
|
|
43
|
+
|
|
44
|
+
.modal-title {
|
|
45
|
+
font-size: 16px;
|
|
46
|
+
font-weight: 600;
|
|
47
|
+
color: #000;
|
|
48
|
+
display: flex;
|
|
49
|
+
align-items: center;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
height: 48px;
|
|
52
|
+
padding: 12px 16px 0 16px;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
.classificationDetailModal {
|
|
2
|
+
height: 100vh;
|
|
3
|
+
width: 100%;
|
|
4
|
+
position: absolute;
|
|
5
|
+
z-index: 5;
|
|
6
|
+
padding: 16px;
|
|
7
|
+
background-color: #fff;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
|
|
10
|
+
.headerWrap {
|
|
11
|
+
height: 56px;
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
|
|
15
|
+
font-style: normal;
|
|
16
|
+
font-weight: 500;
|
|
17
|
+
font-size: 14px;
|
|
18
|
+
text-transform: uppercase;
|
|
19
|
+
color: #333333;
|
|
20
|
+
|
|
21
|
+
.iconBack {
|
|
22
|
+
margin-right: 10px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.headerTitle {
|
|
26
|
+
font-weight: 600;
|
|
27
|
+
font-size: 16px;
|
|
28
|
+
color: #1B1B1B;
|
|
29
|
+
width: 100%;
|
|
30
|
+
text-align: center;
|
|
31
|
+
padding-right: 20px;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.searchWrap {
|
|
36
|
+
margin-top: 20px;
|
|
37
|
+
background: #F6F6F6;
|
|
38
|
+
border-radius: 4px;
|
|
39
|
+
padding: 8px 12px;
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
justify-content: space-between;
|
|
43
|
+
|
|
44
|
+
input {
|
|
45
|
+
height: 20px;
|
|
46
|
+
flex: 1;
|
|
47
|
+
border: none;
|
|
48
|
+
outline: none;
|
|
49
|
+
|
|
50
|
+
font-style: normal;
|
|
51
|
+
font-weight: 400;
|
|
52
|
+
font-size: 16px;
|
|
53
|
+
background-color: #F6F6F6;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.contentWrap {
|
|
58
|
+
background: #ffffff;
|
|
59
|
+
height: calc(100vh - 210px);
|
|
60
|
+
margin-top: 16px;
|
|
61
|
+
overflow-y: scroll;
|
|
62
|
+
overflow-x: hidden;
|
|
63
|
+
|
|
64
|
+
.listWrap {
|
|
65
|
+
display: flex;
|
|
66
|
+
flex-wrap: wrap;
|
|
67
|
+
align-items: center;
|
|
68
|
+
|
|
69
|
+
.notFoundWrap {
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
|
|
74
|
+
font-style: normal;
|
|
75
|
+
font-weight: 400;
|
|
76
|
+
font-size: 14px;
|
|
77
|
+
text-align: center;
|
|
78
|
+
color: #333333;
|
|
79
|
+
margin: 25% auto;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
:global {
|
|
83
|
+
.fxm-tag {
|
|
84
|
+
min-height: 32px;
|
|
85
|
+
height: auto;
|
|
86
|
+
display: flex;
|
|
87
|
+
align-items: center;
|
|
88
|
+
font-size: 14px;
|
|
89
|
+
border-radius: 0px;
|
|
90
|
+
font-weight: 400;
|
|
91
|
+
text-align: left;
|
|
92
|
+
margin-top: 0.16rem;
|
|
93
|
+
margin-right: 0.16rem;
|
|
94
|
+
border-radius: 4px;
|
|
95
|
+
background: #ffffff;
|
|
96
|
+
border: 1px solid #c4c4c4;
|
|
97
|
+
color: #7b7b7b;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.fxm-tag-normal::before {
|
|
101
|
+
border: none;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.fxm-tag-active {
|
|
105
|
+
color: var(--theme-color);
|
|
106
|
+
border: 1px solid var(--theme-color);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.fxm-tag-active::before {
|
|
110
|
+
border: none;
|
|
111
|
+
width: 0;
|
|
112
|
+
height: 0;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.bottomWrap {
|
|
119
|
+
position: fixed;
|
|
120
|
+
bottom: 0;
|
|
121
|
+
left: 0;
|
|
122
|
+
right: 0;
|
|
123
|
+
z-index: 5;
|
|
124
|
+
background: #fff;
|
|
125
|
+
height: 78px;
|
|
126
|
+
padding: 12px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
.productFilterWrap {
|
|
2
|
+
background: #ffffff;
|
|
3
|
+
height: calc(80vh - 40px);
|
|
4
|
+
overflow-y: scroll;
|
|
5
|
+
overflow-x: hidden;
|
|
6
|
+
padding: 0 20px 78px 20px;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
|
|
9
|
+
.item {
|
|
10
|
+
margin-top: 20px;
|
|
11
|
+
|
|
12
|
+
.inputWrap {
|
|
13
|
+
margin-top: 10px;
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: space-between;
|
|
17
|
+
|
|
18
|
+
.divider {
|
|
19
|
+
padding: 0 10px;
|
|
20
|
+
flex-shrink: 0;
|
|
21
|
+
height: 2px;
|
|
22
|
+
width: 11px;
|
|
23
|
+
background-color: #000;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
input {
|
|
27
|
+
width: 45%;
|
|
28
|
+
height: 48px;
|
|
29
|
+
border: 1px solid #E4E4E4;
|
|
30
|
+
box-shadow: none;
|
|
31
|
+
padding: 12px;
|
|
32
|
+
border-radius: 4px;
|
|
33
|
+
outline: none;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.title {
|
|
38
|
+
line-height: 24px;
|
|
39
|
+
font-size: 16px;
|
|
40
|
+
font-weight: 600;
|
|
41
|
+
color: #000;
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
justify-content: space-between;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.accordionContentWrap {
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-wrap: wrap;
|
|
50
|
+
align-items: center;
|
|
51
|
+
padding-bottom: 1px;
|
|
52
|
+
|
|
53
|
+
.btnMore {
|
|
54
|
+
font-weight: 600;
|
|
55
|
+
font-size: 14px;
|
|
56
|
+
color: var(--theme-color);
|
|
57
|
+
margin-top: 6px;
|
|
58
|
+
margin-left: 10px;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.bottomWrap {
|
|
65
|
+
position: fixed;
|
|
66
|
+
bottom: 0;
|
|
67
|
+
background: #fff;
|
|
68
|
+
width: 100%;
|
|
69
|
+
height: 78px;
|
|
70
|
+
padding: 12px 24px;
|
|
71
|
+
display: flex;
|
|
72
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.tagWrap {
|
|
2
|
+
padding: 6px 12px;
|
|
3
|
+
border: 1px solid #E4E4E4;
|
|
4
|
+
color: #545454;
|
|
5
|
+
border-radius: 4px;
|
|
6
|
+
font-weight: 400;
|
|
7
|
+
font-size: 14px;
|
|
8
|
+
line-height: 24px;
|
|
9
|
+
margin-right: 15px;
|
|
10
|
+
margin-top: 8px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.active {
|
|
14
|
+
color: var(--theme-color);
|
|
15
|
+
border-color: var(--theme-color);
|
|
16
|
+
}
|
package/lib/common/index.js
CHANGED
|
@@ -105,6 +105,18 @@ Object.defineProperty(exports, "NewImg", {
|
|
|
105
105
|
return _NewImg["default"];
|
|
106
106
|
}
|
|
107
107
|
});
|
|
108
|
+
Object.defineProperty(exports, "PopUpModal", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function get() {
|
|
111
|
+
return _PopUpModal["default"];
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
Object.defineProperty(exports, "ProductFilterModal", {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
get: function get() {
|
|
117
|
+
return _ProductFilterModal["default"];
|
|
118
|
+
}
|
|
119
|
+
});
|
|
108
120
|
Object.defineProperty(exports, "ProductSource", {
|
|
109
121
|
enumerable: true,
|
|
110
122
|
get: function get() {
|
|
@@ -208,8 +220,12 @@ var _CardCarousel = _interopRequireDefault(require("./CardCarousel"));
|
|
|
208
220
|
|
|
209
221
|
var _MyModal = _interopRequireDefault(require("./MyModal"));
|
|
210
222
|
|
|
223
|
+
var _PopUpModal = _interopRequireDefault(require("./PopUpModal"));
|
|
224
|
+
|
|
211
225
|
var _CropperModal = _interopRequireDefault(require("./CropperModal"));
|
|
212
226
|
|
|
213
227
|
var _NewImg = _interopRequireDefault(require("./NewImg"));
|
|
214
228
|
|
|
229
|
+
var _ProductFilterModal = _interopRequireDefault(require("./ProductFilterModal"));
|
|
230
|
+
|
|
215
231
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -250,7 +250,7 @@ function (_super) {
|
|
|
250
250
|
className: "sold"
|
|
251
251
|
}, /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
252
252
|
data: __assign(__assign({}, panelProps.sold), {
|
|
253
|
-
text: "Sold " + soldNumber + "+"
|
|
253
|
+
text: "Sold " + (soldNumber || 0) + "+"
|
|
254
254
|
}),
|
|
255
255
|
readonly: true
|
|
256
256
|
}))), showProgress && /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getDefaultJSON = void 0;
|
|
7
|
+
|
|
8
|
+
var _uuid = require("uuid");
|
|
9
|
+
|
|
10
|
+
var _headerImage = _interopRequireDefault(require("./mobile/img/headerImage.jpg"));
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
|
|
14
|
+
var getDefaultJSON = function getDefaultJSON() {
|
|
15
|
+
var contentId = (0, _uuid.v4)();
|
|
16
|
+
return {
|
|
17
|
+
id: (0, _uuid.v4)(),
|
|
18
|
+
type: 'BUNDLE',
|
|
19
|
+
title: {
|
|
20
|
+
headerImage: {
|
|
21
|
+
id: contentId,
|
|
22
|
+
open: true,
|
|
23
|
+
type: 'IMAGE',
|
|
24
|
+
content: {
|
|
25
|
+
h5Name: '',
|
|
26
|
+
pcName: '',
|
|
27
|
+
h5ImgSrc: _headerImage["default"],
|
|
28
|
+
pcImgSrc: '',
|
|
29
|
+
clickUrl: ''
|
|
30
|
+
},
|
|
31
|
+
hover: {
|
|
32
|
+
open: false,
|
|
33
|
+
backgroundType: 'enlarge',
|
|
34
|
+
magnification: 1.5,
|
|
35
|
+
pcImgHoverUrl: '',
|
|
36
|
+
h5ImgHoverUrl: ''
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
content: {
|
|
41
|
+
id: contentId,
|
|
42
|
+
sourceType: '1',
|
|
43
|
+
maxProdNum: 1
|
|
44
|
+
},
|
|
45
|
+
spacing: {
|
|
46
|
+
pc: {
|
|
47
|
+
paddingTop: 0,
|
|
48
|
+
paddingBottom: 0,
|
|
49
|
+
paddingLeft: 0,
|
|
50
|
+
paddingRight: 0,
|
|
51
|
+
marginBottom: window.magicDesign.compSpacing * 1.5
|
|
52
|
+
},
|
|
53
|
+
mobile: {
|
|
54
|
+
paddingTop: 0,
|
|
55
|
+
paddingBottom: 0,
|
|
56
|
+
paddingLeft: 0,
|
|
57
|
+
paddingRight: 0,
|
|
58
|
+
marginBottom: window.magicDesign.compSpacing
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
customize: {
|
|
62
|
+
layout: 'layout1',
|
|
63
|
+
align: 'left',
|
|
64
|
+
pcRowNum: 6,
|
|
65
|
+
pcMaxRowNum: 6,
|
|
66
|
+
pcMinRowNum: 5
|
|
67
|
+
},
|
|
68
|
+
background: {
|
|
69
|
+
opacity: 100,
|
|
70
|
+
color: '#fff',
|
|
71
|
+
image: '',
|
|
72
|
+
bgType: 'color'
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
exports.getDefaultJSON = getDefaultJSON;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
|
|
10
|
+
var _mobile = _interopRequireDefault(require("./mobile"));
|
|
11
|
+
|
|
12
|
+
var _defaultJSON = require("./defaultJSON");
|
|
13
|
+
|
|
14
|
+
var _coreUtil = require("../../../../utils/coreUtil");
|
|
15
|
+
|
|
16
|
+
var _compositeDecorator = _interopRequireDefault(require("../../../../decorator/compositeDecorator"));
|
|
17
|
+
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
|
+
|
|
20
|
+
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); }
|
|
21
|
+
|
|
22
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
|
+
|
|
24
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
25
|
+
|
|
26
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
27
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
28
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
29
|
+
__proto__: []
|
|
30
|
+
} instanceof Array && function (d, b) {
|
|
31
|
+
d.__proto__ = b;
|
|
32
|
+
} || function (d, b) {
|
|
33
|
+
for (var p in b) {
|
|
34
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
return _extendStatics(d, b);
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
return function (d, b) {
|
|
42
|
+
_extendStatics(d, b);
|
|
43
|
+
|
|
44
|
+
function __() {
|
|
45
|
+
this.constructor = d;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
49
|
+
};
|
|
50
|
+
}();
|
|
51
|
+
|
|
52
|
+
var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
|
|
53
|
+
var c = arguments.length,
|
|
54
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
55
|
+
d;
|
|
56
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {
|
|
57
|
+
if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
58
|
+
}
|
|
59
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
var FlashDeal =
|
|
63
|
+
/** @class */
|
|
64
|
+
function (_super) {
|
|
65
|
+
__extends(FlashDeal, _super);
|
|
66
|
+
|
|
67
|
+
function FlashDeal() {
|
|
68
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
FlashDeal.prototype.render = function () {
|
|
72
|
+
var nodeData = this.props.nodeData;
|
|
73
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, (0, _coreUtil.isPc)() ? null : /*#__PURE__*/_react["default"].createElement(_mobile["default"], {
|
|
74
|
+
panelProps: nodeData
|
|
75
|
+
}));
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
FlashDeal.defaultProps = {};
|
|
79
|
+
FlashDeal.type = 'BUNDLE';
|
|
80
|
+
FlashDeal.getDefaultJSON = _defaultJSON.getDefaultJSON;
|
|
81
|
+
FlashDeal = __decorate([_compositeDecorator["default"]], FlashDeal);
|
|
82
|
+
return FlashDeal;
|
|
83
|
+
}(_react.Component);
|
|
84
|
+
|
|
85
|
+
var _default = FlashDeal;
|
|
86
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
.BundleItemWrap {
|
|
2
|
+
background-color: #FFF;
|
|
3
|
+
border-radius: 0.16rem;
|
|
4
|
+
border: 0.02rem solid #E4E4E4;
|
|
5
|
+
margin-bottom: 0.48rem;
|
|
6
|
+
transition: 0.2s all linear;
|
|
7
|
+
}
|
|
8
|
+
.BundleItemWrap .header {
|
|
9
|
+
height: 0.92rem;
|
|
10
|
+
padding: 0.16rem 0.24rem;
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: space-between;
|
|
14
|
+
font-size: 0.3rem;
|
|
15
|
+
font-weight: 600;
|
|
16
|
+
line-height: 0.6rem;
|
|
17
|
+
border-bottom: 0.02rem solid #E4E4E4;
|
|
18
|
+
}
|
|
19
|
+
.BundleItemWrap .header .openIcon {
|
|
20
|
+
transition: 0.2s all linear;
|
|
21
|
+
}
|
|
22
|
+
.BundleItemWrap .prodList {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
overflow: scroll;
|
|
26
|
+
}
|
|
27
|
+
.BundleItemWrap .prodList img {
|
|
28
|
+
height: 2.08rem;
|
|
29
|
+
width: 1.9rem;
|
|
30
|
+
}
|
|
31
|
+
.BundleItemWrap .bottomWrap {
|
|
32
|
+
border-top: 0.02rem solid #E4E4E4;
|
|
33
|
+
background-color: #F6F6F6;
|
|
34
|
+
height: 1.16rem;
|
|
35
|
+
padding: 0.16rem 0.3rem;
|
|
36
|
+
border-radius: 0 0 0.16rem 0.16rem;
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
justify-content: space-between;
|
|
40
|
+
}
|
|
41
|
+
.BundleItemWrap .bottomWrap .totalWrap {
|
|
42
|
+
display: flex;
|
|
43
|
+
}
|
|
44
|
+
.BundleItemWrap .bottomWrap .totalWrap .total {
|
|
45
|
+
line-height: 0.48rem;
|
|
46
|
+
}
|
|
47
|
+
.BundleItemWrap .bottomWrap .totalWrap .priceWrap {
|
|
48
|
+
margin-left: 0.08rem;
|
|
49
|
+
}
|
|
50
|
+
.BundleItemWrap .bottomWrap .totalWrap .priceWrap .salesPrice {
|
|
51
|
+
font-size: 0.32rem;
|
|
52
|
+
font-weight: 600;
|
|
53
|
+
line-height: 0.48rem;
|
|
54
|
+
color: #000;
|
|
55
|
+
}
|
|
56
|
+
.BundleItemWrap .bottomWrap .totalWrap .priceWrap .marketPrice {
|
|
57
|
+
font-size: 0.28rem;
|
|
58
|
+
font-weight: 400;
|
|
59
|
+
line-height: 0.34rem;
|
|
60
|
+
color: #545454;
|
|
61
|
+
text-decoration: line-through;
|
|
62
|
+
}
|
|
63
|
+
.BundleItemWrap .bottomWrap .btnWrap .btnBuy {
|
|
64
|
+
height: 0.78rem;
|
|
65
|
+
background-color: #FF8650;
|
|
66
|
+
padding: 0.16rem 0.4rem;
|
|
67
|
+
border-radius: 0.16rem;
|
|
68
|
+
color: #fff;
|
|
69
|
+
font-weight: 600;
|
|
70
|
+
font-size: 0.28rem;
|
|
71
|
+
}
|
|
72
|
+
.BundleItemWrap.itemOpen .header .openIcon {
|
|
73
|
+
transform: rotate(180deg);
|
|
74
|
+
}
|
|
75
|
+
.BundleItemWrap.itemOpen .prodList {
|
|
76
|
+
height: auto;
|
|
77
|
+
flex-direction: column;
|
|
78
|
+
}
|
|
79
|
+
.BundleItemWrap.itemOpen .bottomWrap {
|
|
80
|
+
height: 2.22rem;
|
|
81
|
+
flex-direction: column;
|
|
82
|
+
display: flex;
|
|
83
|
+
align-items: unset;
|
|
84
|
+
justify-content: center;
|
|
85
|
+
}
|
|
86
|
+
.BundleItemWrap.itemOpen .bottomWrap .totalWrap {
|
|
87
|
+
justify-content: space-between;
|
|
88
|
+
}
|
|
89
|
+
.BundleItemWrap.itemOpen .bottomWrap .totalWrap .priceWrap {
|
|
90
|
+
margin-left: 0;
|
|
91
|
+
text-align: right;
|
|
92
|
+
}
|
|
93
|
+
.BundleItemWrap.itemOpen .bottomWrap .btnWrap {
|
|
94
|
+
margin-top: 0.24rem;
|
|
95
|
+
}
|
|
96
|
+
.BundleItemWrap.itemOpen .bottomWrap .btnWrap .btnBuy {
|
|
97
|
+
display: flex;
|
|
98
|
+
align-items: center;
|
|
99
|
+
justify-content: center;
|
|
100
|
+
height: 0.78rem;
|
|
101
|
+
width: 100%;
|
|
102
|
+
background-color: #FF8650;
|
|
103
|
+
border-radius: 0.16rem;
|
|
104
|
+
color: #fff;
|
|
105
|
+
font-weight: 600;
|
|
106
|
+
font-size: 0.28rem;
|
|
107
|
+
}
|