@fonixtree/magic-design 0.1.57 → 0.1.59
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/.DS_Store +0 -0
- package/es/assets/fonts/magic-box-iconfont.css +47 -3
- package/es/assets/fonts/magic-box-iconfont.css.bak +47 -3
- 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/less/cylon-antd.less +17659 -23296
- package/es/assets/less/modal.less +1 -0
- package/es/assets/less/slider.less +49 -1
- package/es/common/ImagePicker/index.js +161 -64
- package/es/common/ImagePicker/index.less +103 -2
- package/es/common/LinkModal/AffiliateProductTable/index.js +347 -0
- package/es/common/LinkModal/SelectVideoModal/index.js +0 -2
- package/es/common/LinkModal/index.js +6 -0
- package/es/composite-comp/bol/components/Banner/mobile/index.less +78 -52
- package/es/composite-comp/bol/components/Banner/pc/index.js +4 -3
- package/es/composite-comp/bol/components/Carousel/mobile/index.less +100 -81
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +22 -15
- package/es/composite-comp/bol/components/ImageText/mobile/index.less +292 -233
- package/es/composite-comp/bol/components/Video/components/VideoTag/index.js +44 -5
- package/es/composite-comp/bol/components/Video/components/VideoTag/index.less +3 -3
- package/es/composite-comp/bol/components/Video/mobile/Layout1/index.js +1 -1
- package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +27 -23
- package/es/composite-comp/bol/components/Video/mobile/Layout2/index.js +1 -1
- package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +45 -38
- package/es/composite-comp/bol/components/Video/mobile/Layout3/index.js +2 -1
- package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +54 -41
- package/es/composite-comp/bol/components/Video/mobile/index.js +8 -49
- package/es/composite-comp/bol/components/Video/mobile/index.less +3 -2
- package/es/composite-comp/bol/components/Video/pc/Layout1/index.js +1 -1
- package/es/composite-comp/bol/components/Video/pc/Layout2/index.js +2 -2
- package/es/composite-comp/bol/components/Video/pc/Layout3/index.js +1 -1
- package/es/composite-comp/bol/components/Video/pc/Layout4/index.js +2 -2
- package/es/composite-comp/bol/components/Video/pc/Layout4/index.less +3 -2
- package/es/composite-comp/bol/components/Video/pc/Layout5/index.js +2 -2
- package/es/composite-comp/bol/components/Video/pc/Layout5/index.less +10 -8
- package/es/composite-comp/bol/components/Wallet/mobile/index.js +1 -1
- package/es/composite-comp/bol/components/Wallet/mobile/index.less +40 -27
- package/es/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +0 -2
- package/es/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +0 -1
- package/es/composite-comp/bol/config-panels/VideoConfig/index.js +3 -1
- package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +5 -3
- package/es/composite-comp/common/config-panels/SpacingConfig/index.js +0 -1
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +97 -83
- package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +35 -18
- package/es/composite-comp/dito/components/PcNavigation/index.js +0 -1
- package/es/composite-comp/dito/components/PcNavigation/pc/index.js +1 -3
- package/es/composite-comp/dito/components/Recommend/mobile/index.less +86 -73
- package/es/composite-comp/dito/components/SearchBar/mobile/index.js +0 -1
- package/es/composite-comp/dito/components/SearchBar/mobile/index.less +52 -45
- package/es/composite-comp/dito/components/SearchBar/pc/index.js +0 -2
- package/es/composite-comp/dito/components/SignBoard/mobile/index.less +80 -76
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +0 -1
- package/es/composite-comp/dito/config-panels/PcNavigationConfig/index.js +0 -1
- package/es/composite-comp/dito/config-panels/RecommendConfig/index.js +0 -1
- package/es/constants/index.js +2 -1
- package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
- package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
- package/es/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
- package/es/core/Designer/AiImageGenerator/UploadReference/index.js +45 -0
- package/es/core/Designer/AiImageGenerator/UploadReference/index.less +39 -0
- package/es/core/Designer/AiImageGenerator/images/nodata.png +0 -0
- package/es/core/Designer/AiImageGenerator/index.js +221 -0
- package/es/core/Designer/AiImageGenerator/index.less +79 -0
- package/es/core/Designer/ChatRobot/index.js +204 -0
- package/es/core/Designer/ChatRobot/index.less +74 -0
- package/es/core/Designer/index.js +13 -5
- package/es/core/Renderer/index.js +1 -1
- package/es/locale/en/en.json +3 -0
- package/es/locale/es/es.json +3 -0
- package/es/locale/id/id.json +3 -0
- package/es/meta-comp/config-panels/ImageConfig/index.js +1 -1
- package/es/meta-comp/config-panels/PlayIconConfig/index.less +4 -0
- package/es/meta-comp/config-panels/TextConfig/index.js +3 -3
- package/es/mobx/Store.js +3 -0
- package/es/utils/businessUtil.js +12 -0
- package/es/utils/commonUtil.js +4 -3
- package/es/utils/coreUtil.js +2 -3
- package/lib/assets/fonts/.DS_Store +0 -0
- package/lib/assets/fonts/magic-box-iconfont.css +47 -3
- package/lib/assets/fonts/magic-box-iconfont.css.bak +47 -3
- 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/less/cylon-antd.less +17659 -23296
- package/lib/assets/less/modal.less +1 -0
- package/lib/assets/less/slider.less +49 -1
- package/lib/common/ImagePicker/index.js +161 -64
- package/lib/common/ImagePicker/index.less +103 -2
- package/lib/common/LinkModal/AffiliateProductTable/index.js +347 -0
- package/lib/common/LinkModal/SelectVideoModal/index.js +0 -2
- package/lib/common/LinkModal/index.js +6 -0
- package/lib/composite-comp/bol/components/Banner/mobile/index.less +78 -52
- package/lib/composite-comp/bol/components/Banner/pc/index.js +4 -3
- package/lib/composite-comp/bol/components/Carousel/mobile/index.less +100 -81
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +22 -15
- package/lib/composite-comp/bol/components/ImageText/mobile/index.less +292 -233
- package/lib/composite-comp/bol/components/Video/components/VideoTag/index.js +44 -5
- package/lib/composite-comp/bol/components/Video/components/VideoTag/index.less +3 -3
- package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.js +1 -1
- package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +27 -23
- package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.js +1 -1
- package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +45 -38
- package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.js +2 -1
- package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +54 -41
- package/lib/composite-comp/bol/components/Video/mobile/index.js +8 -49
- package/lib/composite-comp/bol/components/Video/mobile/index.less +3 -2
- package/lib/composite-comp/bol/components/Video/pc/Layout1/index.js +1 -1
- package/lib/composite-comp/bol/components/Video/pc/Layout2/index.js +2 -2
- package/lib/composite-comp/bol/components/Video/pc/Layout3/index.js +1 -1
- package/lib/composite-comp/bol/components/Video/pc/Layout4/index.js +2 -2
- package/lib/composite-comp/bol/components/Video/pc/Layout4/index.less +3 -2
- package/lib/composite-comp/bol/components/Video/pc/Layout5/index.js +2 -2
- package/lib/composite-comp/bol/components/Video/pc/Layout5/index.less +10 -8
- package/lib/composite-comp/bol/components/Wallet/mobile/index.js +1 -1
- package/lib/composite-comp/bol/components/Wallet/mobile/index.less +40 -27
- package/lib/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +0 -2
- package/lib/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +0 -1
- package/lib/composite-comp/bol/config-panels/VideoConfig/index.js +3 -1
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +5 -3
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +0 -1
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +97 -83
- package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +35 -18
- package/lib/composite-comp/dito/components/PcNavigation/index.js +0 -1
- package/lib/composite-comp/dito/components/PcNavigation/pc/index.js +1 -3
- package/lib/composite-comp/dito/components/Recommend/mobile/index.less +86 -73
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +0 -1
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +52 -45
- package/lib/composite-comp/dito/components/SearchBar/pc/index.js +0 -2
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +80 -76
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +0 -1
- package/lib/composite-comp/dito/config-panels/PcNavigationConfig/index.js +0 -1
- package/lib/composite-comp/dito/config-panels/RecommendConfig/index.js +0 -1
- package/lib/constants/index.js +2 -1
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
- package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
- package/lib/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
- package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +45 -0
- package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +39 -0
- package/lib/core/Designer/AiImageGenerator/images/nodata.png +0 -0
- package/lib/core/Designer/AiImageGenerator/index.js +221 -0
- package/lib/core/Designer/AiImageGenerator/index.less +79 -0
- package/lib/core/Designer/ChatRobot/index.js +204 -0
- package/lib/core/Designer/ChatRobot/index.less +74 -0
- package/lib/core/Designer/index.js +13 -5
- package/lib/core/Renderer/index.js +1 -1
- package/lib/locale/en/en.json +3 -0
- package/lib/locale/es/es.json +3 -0
- package/lib/locale/id/id.json +3 -0
- package/lib/meta-comp/config-panels/ImageConfig/index.js +1 -1
- package/lib/meta-comp/config-panels/PlayIconConfig/index.less +4 -0
- package/lib/meta-comp/config-panels/TextConfig/index.js +3 -3
- package/lib/mobx/Store.js +3 -0
- package/lib/utils/businessUtil.js +12 -0
- package/lib/utils/commonUtil.js +4 -3
- package/lib/utils/coreUtil.js +2 -3
- package/package.json +2 -2
|
@@ -1,86 +1,100 @@
|
|
|
1
1
|
.m-flash-deal-mobile {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
-
padding:
|
|
5
|
-
|
|
6
|
-
.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
4
|
+
padding: 16px 16px 28px 16px;
|
|
5
|
+
|
|
6
|
+
.flash-deal-title {
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
align-items: center;
|
|
10
|
+
|
|
11
|
+
.left {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
|
|
15
|
+
.icon {
|
|
16
|
+
height: 18px;
|
|
17
|
+
margin-right: 10px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.title {
|
|
21
|
+
font-family: 'Montserrat';
|
|
22
|
+
font-style: normal;
|
|
23
|
+
font-weight: 600;
|
|
24
|
+
font-size: 14px;
|
|
25
|
+
line-height: 18px;
|
|
26
|
+
color: #2C2C2C;
|
|
27
|
+
margin-right: 10px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.sub-title {
|
|
31
|
+
font-family: 'Montserrat';
|
|
32
|
+
font-style: normal;
|
|
33
|
+
font-weight: 600;
|
|
34
|
+
font-size: 10px;
|
|
35
|
+
line-height: 18px;
|
|
36
|
+
color: #2C2C2C;
|
|
37
|
+
margin-right: 6px;
|
|
38
|
+
align-self: end;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.right {
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
|
|
46
|
+
.text {
|
|
47
|
+
font-family: 'Montserrat';
|
|
48
|
+
font-style: normal;
|
|
49
|
+
font-weight: 600;
|
|
50
|
+
font-size: 12px;
|
|
51
|
+
line-height: 15px;
|
|
52
|
+
color: #0038A8;
|
|
53
|
+
margin-right: 5px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.btn {
|
|
57
|
+
white-space: nowrap;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.flash-deal-list {
|
|
63
|
+
margin-top: 16px;
|
|
64
|
+
overflow-x: auto;
|
|
65
|
+
overflow-y: hidden;
|
|
66
|
+
white-space: nowrap;
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: flex-start;
|
|
69
|
+
justify-content: flex-start;
|
|
70
|
+
position: relative;
|
|
71
|
+
|
|
72
|
+
.loading-wrap {
|
|
73
|
+
display: flex;
|
|
74
|
+
align-items: center;
|
|
75
|
+
justify-content: center;
|
|
76
|
+
padding: 30px;
|
|
77
|
+
position: absolute;
|
|
78
|
+
top: 0;
|
|
79
|
+
bottom: 0;
|
|
80
|
+
left: 0;
|
|
81
|
+
right: 0;
|
|
82
|
+
margin: auto;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// 秒杀特有样式
|
|
86
|
+
.m-product-item-wrap {
|
|
87
|
+
width: 142px;
|
|
88
|
+
margin-right: 8px;
|
|
89
|
+
|
|
90
|
+
.product-img {
|
|
91
|
+
height: 140px;
|
|
92
|
+
width: 140px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.product-name {
|
|
96
|
+
height: 36px;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -1,21 +1,38 @@
|
|
|
1
|
-
.mobile-navigation-mobile
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
.mobile-navigation-mobile {
|
|
2
|
+
// display: flex;
|
|
3
|
+
// flex-direction: column;
|
|
4
|
+
// padding-top: 18px;
|
|
5
|
+
.group-wrap {
|
|
6
|
+
padding: 0 20px;
|
|
7
|
+
display: flex;
|
|
8
|
+
.one-card {
|
|
9
|
+
// display: flex;
|
|
10
|
+
|
|
11
|
+
.card-image-wrap {
|
|
12
|
+
margin-bottom: 4px;
|
|
13
|
+
width: 100%;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
4
18
|
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
19
|
+
|
|
20
|
+
.newline {
|
|
21
|
+
.group-wrap {
|
|
22
|
+
flex-wrap: wrap;
|
|
23
|
+
}
|
|
8
24
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
25
|
+
|
|
26
|
+
.tile {
|
|
27
|
+
.group-wrap {
|
|
28
|
+
// overflow-x: scroll;
|
|
29
|
+
overflow-x: auto;
|
|
30
|
+
flex-wrap: nowrap;
|
|
31
|
+
scroll-snap-type: x;
|
|
32
|
+
padding: 0 15px;
|
|
33
|
+
.one-card {
|
|
34
|
+
flex-shrink: 0;
|
|
35
|
+
scroll-snap-align: end;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
21
38
|
}
|
|
@@ -68,7 +68,6 @@ function (_super) {
|
|
|
68
68
|
|
|
69
69
|
PcNavigation.prototype.render = function () {
|
|
70
70
|
var nodeData = this.props.nodeData;
|
|
71
|
-
console.log('---PcNavigation', nodeData);
|
|
72
71
|
return /*#__PURE__*/_react["default"].createElement("div", null, window.magicDesign.device === 'pc' ? /*#__PURE__*/_react["default"].createElement(_pc["default"], {
|
|
73
72
|
data: nodeData
|
|
74
73
|
}) : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null));
|
|
@@ -324,8 +324,7 @@ function (_super) {
|
|
|
324
324
|
, 3];
|
|
325
325
|
|
|
326
326
|
case 2:
|
|
327
|
-
e_1 = _a.sent();
|
|
328
|
-
|
|
327
|
+
e_1 = _a.sent();
|
|
329
328
|
console.log('error', e_1);
|
|
330
329
|
return [3
|
|
331
330
|
/*break*/
|
|
@@ -448,7 +447,6 @@ function (_super) {
|
|
|
448
447
|
|
|
449
448
|
var data = this.props.data; // const { ready } = this.state;
|
|
450
449
|
|
|
451
|
-
console.log('----nav pc', data);
|
|
452
450
|
var list = this.state.list;
|
|
453
451
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
454
452
|
className: (0, _classnames["default"])('pc-navigation')
|
|
@@ -1,76 +1,89 @@
|
|
|
1
1
|
.m-recommend-mobile {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
-
|
|
5
|
-
.
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
4
|
+
|
|
5
|
+
.cylon-tabs-nav-operations {
|
|
6
|
+
display: none !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
::-webkit-scrollbar {
|
|
10
|
+
width: 0;
|
|
11
|
+
height: 0;
|
|
12
|
+
display: none;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
.tab-select-wrap {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
height: 50px;
|
|
20
|
+
background: rgb(255 255 255);
|
|
21
|
+
overflow: auto;
|
|
22
|
+
position: relative;
|
|
23
|
+
margin-bottom: 15px;
|
|
24
|
+
|
|
25
|
+
.tabTitle {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
text-align: center;
|
|
29
|
+
padding: 0 16px;
|
|
30
|
+
width: fit-content;
|
|
31
|
+
height: 100%;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
white-space: nowrap;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
|
|
36
|
+
img {
|
|
37
|
+
height: 20px;
|
|
38
|
+
width: 20px;
|
|
39
|
+
margin-bottom: 2px;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.active-line {
|
|
44
|
+
position: absolute;
|
|
45
|
+
bottom: 0;
|
|
46
|
+
width: 200px;
|
|
47
|
+
height: 3px;
|
|
48
|
+
background-color: #fff;
|
|
49
|
+
transition: .2s all linear;
|
|
50
|
+
border-radius: 1.5px;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.macyContainer {
|
|
55
|
+
display: flex;
|
|
56
|
+
margin: 0 16px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.scrollContainer {
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: row;
|
|
62
|
+
align-items: center;
|
|
63
|
+
margin: 0 16px;
|
|
64
|
+
overflow-x: auto;
|
|
65
|
+
padding-bottom: 15px;
|
|
66
|
+
|
|
67
|
+
&.pl_100 {
|
|
68
|
+
padding-left: 100px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.scrollProductList {
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-direction: row;
|
|
74
|
+
align-items: flex-start;
|
|
75
|
+
|
|
76
|
+
.productCard {
|
|
77
|
+
margin-right: 12px;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.btnSeeAll {
|
|
83
|
+
display: block;
|
|
84
|
+
width: fit-content;
|
|
85
|
+
min-width: 80px;
|
|
86
|
+
margin: 0 auto;
|
|
87
|
+
flex: none;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -235,7 +235,6 @@ function (_super) {
|
|
|
235
235
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
236
236
|
|
|
237
237
|
var data = this.props.data;
|
|
238
|
-
console.log('----search ', data);
|
|
239
238
|
var messageNum = this.state.messageNum; // let styleWrap = {};
|
|
240
239
|
// if (data.content.background.bgType === 'color') {
|
|
241
240
|
// styleWrap = {
|
|
@@ -1,51 +1,58 @@
|
|
|
1
1
|
.m-search-bar {
|
|
2
|
-
height:
|
|
3
|
-
padding:
|
|
2
|
+
height: 48px;
|
|
3
|
+
padding: 8px 0;
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: row-reverse;
|
|
6
6
|
align-items: center;
|
|
7
7
|
justify-content: space-between;
|
|
8
8
|
width: 100%;
|
|
9
|
-
|
|
10
|
-
.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
9
|
+
|
|
10
|
+
.right {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex: 1;
|
|
13
|
+
margin-left: 15px;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
|
|
17
|
+
.search-input-wrap {
|
|
18
|
+
flex: 1;
|
|
19
|
+
background: #fff;
|
|
20
|
+
border-radius: 4px;
|
|
21
|
+
border: 1px solid #D2D9E5;
|
|
22
|
+
padding: 4px 12px;
|
|
23
|
+
height: 32px;
|
|
24
|
+
text-align: right;
|
|
25
|
+
display: flex;
|
|
26
|
+
justify-content: flex-end;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.message-wrap {
|
|
30
|
+
position: relative;
|
|
31
|
+
margin-left: 10px;
|
|
32
|
+
|
|
33
|
+
.num {
|
|
34
|
+
position: absolute;
|
|
35
|
+
top: -6px;
|
|
36
|
+
right: -6px;
|
|
37
|
+
display: inline-block;
|
|
38
|
+
padding: 1px 2px;
|
|
39
|
+
min-width: 17px;
|
|
40
|
+
text-align: center;
|
|
41
|
+
background-color: #CE1126;
|
|
42
|
+
border: 1px solid #fff;
|
|
43
|
+
border-radius: 8px;
|
|
44
|
+
font-family: 'Montserrat';
|
|
45
|
+
font-style: normal;
|
|
46
|
+
font-weight: 600;
|
|
47
|
+
font-size: 8px;
|
|
48
|
+
color: #FFFFFF;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.logo {
|
|
54
|
+
img {
|
|
55
|
+
width: auto;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -68,7 +68,6 @@ function (_super) {
|
|
|
68
68
|
};
|
|
69
69
|
|
|
70
70
|
_this.searchProduct = function () {
|
|
71
|
-
console.log('--input', _this.state.inputVal);
|
|
72
71
|
(0, _coreUtil.clickUrl)("/product/list?q=" + _this.state.inputVal);
|
|
73
72
|
};
|
|
74
73
|
|
|
@@ -88,7 +87,6 @@ function (_super) {
|
|
|
88
87
|
|
|
89
88
|
var data = this.props.data;
|
|
90
89
|
var inputVal = this.state.inputVal;
|
|
91
|
-
console.log('--pc data', data);
|
|
92
90
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
93
91
|
className: "pc-search-bar"
|
|
94
92
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|