@fonixtree/magic-design 0.1.58 → 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/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/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,234 +1,293 @@
|
|
|
1
1
|
.image-text-mobile {
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
}
|
|
88
|
-
.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
.
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
105
|
-
.normal3
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
.
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
.outsideM
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
}
|
|
168
|
-
.
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
.centerM
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
.
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
}
|
|
232
|
-
.
|
|
233
|
-
|
|
234
|
-
|
|
2
|
+
// display: flex;
|
|
3
|
+
// flex-direction: column;
|
|
4
|
+
padding: 17px 0;
|
|
5
|
+
.headline {
|
|
6
|
+
margin-bottom: 8px;
|
|
7
|
+
}
|
|
8
|
+
.subtitle {
|
|
9
|
+
margin-bottom: 36px;
|
|
10
|
+
}
|
|
11
|
+
.group-wrap .one-card .card-btn-wrap {
|
|
12
|
+
.card-first-btn, .card-second-btn {
|
|
13
|
+
width: fit-content;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.btn-wrap {
|
|
18
|
+
display: flex;
|
|
19
|
+
width: 100%;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
|
|
22
|
+
.first-btn {
|
|
23
|
+
margin-top: 36px;
|
|
24
|
+
}
|
|
25
|
+
.second-btn {
|
|
26
|
+
margin-top: 36px;
|
|
27
|
+
margin-left: 12px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
.normal1 {
|
|
32
|
+
.group-wrap {
|
|
33
|
+
padding: 0 15px;
|
|
34
|
+
width: 100%;
|
|
35
|
+
.one-card {
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: stretch;
|
|
38
|
+
padding: 18px;
|
|
39
|
+
margin-bottom: 8px;
|
|
40
|
+
&:last-of-type {
|
|
41
|
+
margin-bottom: 0;
|
|
42
|
+
}
|
|
43
|
+
.card-image-wrap {
|
|
44
|
+
flex-shrink: 0;
|
|
45
|
+
margin-right: 12px;
|
|
46
|
+
}
|
|
47
|
+
.card-content-wrap {
|
|
48
|
+
flex: 1;
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-direction: column;
|
|
51
|
+
justify-content: center;
|
|
52
|
+
.card-title {
|
|
53
|
+
margin-bottom: 6px;
|
|
54
|
+
text-align: left !important;
|
|
55
|
+
}
|
|
56
|
+
.card-text {
|
|
57
|
+
margin-bottom: 12px;
|
|
58
|
+
text-align: left !important;
|
|
59
|
+
}
|
|
60
|
+
.card-btn-wrap {
|
|
61
|
+
display: flex;
|
|
62
|
+
.card-second-btn {
|
|
63
|
+
margin-left: 12px;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.normal2 {
|
|
72
|
+
.group-wrap {
|
|
73
|
+
width: 100%;
|
|
74
|
+
padding: 0 15px;
|
|
75
|
+
.one-card {
|
|
76
|
+
width: 100%;
|
|
77
|
+
padding: 20px 16px;
|
|
78
|
+
margin-bottom: 36px;
|
|
79
|
+
&:last-of-type {
|
|
80
|
+
margin-bottom: 0;
|
|
81
|
+
}
|
|
82
|
+
.card-image-wrap {
|
|
83
|
+
.card-image {
|
|
84
|
+
width: fit-content;
|
|
85
|
+
margin: 0 auto;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
.card-content-wrap {
|
|
89
|
+
.card-title {
|
|
90
|
+
margin-bottom: 8px;
|
|
91
|
+
}
|
|
92
|
+
.card-text {
|
|
93
|
+
margin-bottom: 16px;
|
|
94
|
+
}
|
|
95
|
+
.card-btn-wrap {
|
|
96
|
+
display: flex;
|
|
97
|
+
.card-second-btn {
|
|
98
|
+
margin-left: 12px;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
.normal3 {
|
|
106
|
+
.group-wrap {
|
|
107
|
+
display: flex;
|
|
108
|
+
// margin-bottom: 36px;
|
|
109
|
+
// margin-top: 36px;
|
|
110
|
+
flex-wrap: wrap;
|
|
111
|
+
width: 100%;
|
|
112
|
+
padding: 0 15px;
|
|
113
|
+
|
|
114
|
+
.one-card {
|
|
115
|
+
display: flex;
|
|
116
|
+
flex-direction: column;
|
|
117
|
+
.card-image-wrap {
|
|
118
|
+
width: 100%;
|
|
119
|
+
padding: 8px;
|
|
120
|
+
.card-image {
|
|
121
|
+
// max-height: 107px;
|
|
122
|
+
width: fit-content;
|
|
123
|
+
margin: 0 auto;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.card-title {
|
|
128
|
+
margin-bottom: 4px;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.card-text {
|
|
132
|
+
margin-bottom: 7px;
|
|
133
|
+
}
|
|
134
|
+
.card-btn-wrap {
|
|
135
|
+
display: flex;
|
|
136
|
+
flex-direction: column;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.card-first-btn, .card-second-btn {
|
|
140
|
+
margin-bottom: 8px;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
.card-margin-bottom {
|
|
144
|
+
margin-bottom: 10px;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.outsideM {
|
|
150
|
+
.group-wrap {
|
|
151
|
+
padding: 0 15px;
|
|
152
|
+
width: 100%;
|
|
153
|
+
.one-card {
|
|
154
|
+
margin-top: 35px;
|
|
155
|
+
position: relative;
|
|
156
|
+
padding: 30px 10px 20px 36px;
|
|
157
|
+
.card-image-wrap {
|
|
158
|
+
position: absolute;
|
|
159
|
+
left: 18px;
|
|
160
|
+
top: 0;
|
|
161
|
+
transform: translateY(-50%);
|
|
162
|
+
}
|
|
163
|
+
.card-content-wrap {
|
|
164
|
+
.card-title {
|
|
165
|
+
margin-bottom: 4px;
|
|
166
|
+
text-align: left !important;
|
|
167
|
+
}
|
|
168
|
+
.card-text {
|
|
169
|
+
margin-bottom: 12px;
|
|
170
|
+
text-align: left !important;
|
|
171
|
+
}
|
|
172
|
+
.card-btn-wrap {
|
|
173
|
+
display: flex;
|
|
174
|
+
.card-second-btn {
|
|
175
|
+
margin-left: 12px;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.centerM {
|
|
184
|
+
.group-wrap {
|
|
185
|
+
position: relative;
|
|
186
|
+
width: 100%;
|
|
187
|
+
&::before {
|
|
188
|
+
content: '';
|
|
189
|
+
position: absolute;
|
|
190
|
+
width: 1px;
|
|
191
|
+
height: 100%;
|
|
192
|
+
border-right: 1px dashed #D2D9E5;
|
|
193
|
+
left: 50%;
|
|
194
|
+
transform: translateX(-50%);
|
|
195
|
+
}
|
|
196
|
+
.one-card {
|
|
197
|
+
width: calc((100% - 1px)/2);
|
|
198
|
+
position: relative;
|
|
199
|
+
padding: 0 14px 16px;
|
|
200
|
+
&::before {
|
|
201
|
+
content: '';
|
|
202
|
+
position: absolute;
|
|
203
|
+
border-radius: 50%;
|
|
204
|
+
background: #2F54EB;
|
|
205
|
+
width: 10px;
|
|
206
|
+
height: 10px;
|
|
207
|
+
z-index: 10;
|
|
208
|
+
border: 2px solid #CCE3FF;
|
|
209
|
+
}
|
|
210
|
+
// &::before {
|
|
211
|
+
// opacity: 0.2;
|
|
212
|
+
// width: 10px;
|
|
213
|
+
// height: 10px;
|
|
214
|
+
// }
|
|
215
|
+
&:nth-of-type(2n-1) {
|
|
216
|
+
left: 0;
|
|
217
|
+
&::before {
|
|
218
|
+
right: -5px;
|
|
219
|
+
top: 5px;
|
|
220
|
+
}
|
|
221
|
+
// &::after {
|
|
222
|
+
// right: -3px;
|
|
223
|
+
// top: 7px;
|
|
224
|
+
// }
|
|
225
|
+
.card-content-wrap {
|
|
226
|
+
display: flex;
|
|
227
|
+
flex-direction: column;
|
|
228
|
+
align-items: flex-end;
|
|
229
|
+
.card-title, .card-text {
|
|
230
|
+
text-align: right !important;
|
|
231
|
+
}
|
|
232
|
+
.image-subtext-wrap {
|
|
233
|
+
flex-direction: row-reverse;
|
|
234
|
+
.card-image-wrap {
|
|
235
|
+
margin-left: 8px;
|
|
236
|
+
}
|
|
237
|
+
// .card-text {
|
|
238
|
+
// .m-meta-text {
|
|
239
|
+
// text-align: right !important;
|
|
240
|
+
// }
|
|
241
|
+
// }
|
|
242
|
+
}
|
|
243
|
+
.card-btn-wrap {
|
|
244
|
+
display: flex;
|
|
245
|
+
flex-direction: column;
|
|
246
|
+
align-items: flex-end;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
&:nth-of-type(2n) {
|
|
251
|
+
left: 50%;
|
|
252
|
+
&::before {
|
|
253
|
+
left: -5px;
|
|
254
|
+
top: 5px;
|
|
255
|
+
}
|
|
256
|
+
// &::after {
|
|
257
|
+
// left: -3px;
|
|
258
|
+
// top: 7px;
|
|
259
|
+
// }
|
|
260
|
+
.card-content-wrap {
|
|
261
|
+
.card-title, .card-text {
|
|
262
|
+
text-align: left !important;
|
|
263
|
+
}
|
|
264
|
+
.image-subtext-wrap {
|
|
265
|
+
.card-image-wrap {
|
|
266
|
+
margin-right: 8px;
|
|
267
|
+
}
|
|
268
|
+
// .card-text {
|
|
269
|
+
// .m-meta-text {
|
|
270
|
+
// text-align: left !important;
|
|
271
|
+
// }
|
|
272
|
+
// }
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
.card-content-wrap {
|
|
277
|
+
.card-title {
|
|
278
|
+
margin-bottom: 10px;
|
|
279
|
+
}
|
|
280
|
+
.image-subtext-wrap {
|
|
281
|
+
display: flex;
|
|
282
|
+
margin-bottom: 20px;
|
|
283
|
+
align-items: center;
|
|
284
|
+
}
|
|
285
|
+
.card-btn-wrap {
|
|
286
|
+
.card-second-btn {
|
|
287
|
+
margin-top: 12px;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
@@ -21,6 +21,8 @@ require("./index.less");
|
|
|
21
21
|
|
|
22
22
|
var _AlignSelector = require("../../../../../../common/AlignSelector");
|
|
23
23
|
|
|
24
|
+
var _coreUtil = require("../../../../../../utils/coreUtil");
|
|
25
|
+
|
|
24
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
25
27
|
|
|
26
28
|
var __extends = void 0 && (void 0).__extends || function () {
|
|
@@ -49,6 +51,22 @@ var __extends = void 0 && (void 0).__extends || function () {
|
|
|
49
51
|
};
|
|
50
52
|
}();
|
|
51
53
|
|
|
54
|
+
var __assign = void 0 && (void 0).__assign || function () {
|
|
55
|
+
__assign = Object.assign || function (t) {
|
|
56
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
57
|
+
s = arguments[i];
|
|
58
|
+
|
|
59
|
+
for (var p in s) {
|
|
60
|
+
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
return t;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
return __assign.apply(this, arguments);
|
|
68
|
+
};
|
|
69
|
+
|
|
52
70
|
var debug = require('debug')('worker:VideoTag');
|
|
53
71
|
|
|
54
72
|
var VideoTag =
|
|
@@ -73,15 +91,35 @@ function (_super) {
|
|
|
73
91
|
padding = _a.padding,
|
|
74
92
|
share = _a.share,
|
|
75
93
|
layout = _a.layout,
|
|
76
|
-
|
|
77
|
-
GAData = _a.GAData
|
|
94
|
+
customize = _a.customize,
|
|
95
|
+
GAData = _a.GAData,
|
|
96
|
+
_c = _a.notVertical,
|
|
97
|
+
notVertical = _c === void 0 ? false : _c;
|
|
98
|
+
var align = customize.align,
|
|
99
|
+
vertical = customize.vertical;
|
|
78
100
|
var showBtn = data.video.playButton == 'Bottom Left' && !['h5-layout3', 'pc-layout4', 'pc-layout5'].includes(layout);
|
|
101
|
+
var distanceObj = {};
|
|
102
|
+
|
|
103
|
+
if (!notVertical) {
|
|
104
|
+
if (vertical === 'top') {
|
|
105
|
+
distanceObj.top = (0, _coreUtil.isPc)() ? 40 : 12;
|
|
106
|
+
distanceObj.bottom = 'unset';
|
|
107
|
+
} else if (vertical === 'center') {
|
|
108
|
+
distanceObj.top = '50%';
|
|
109
|
+
distanceObj.bottom = 'unset';
|
|
110
|
+
distanceObj.transform = 'translateY(-50%)';
|
|
111
|
+
} else {
|
|
112
|
+
// if (vertical === 'bottom')
|
|
113
|
+
distanceObj.bottom = (0, _coreUtil.isPc)() ? 40 : 12;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
79
117
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
80
118
|
className: "video-tag-container",
|
|
81
|
-
style: (0, _commonUtil.pxToRem)({
|
|
119
|
+
style: (0, _commonUtil.pxToRem)(__assign({
|
|
82
120
|
position: position,
|
|
83
121
|
padding: padding
|
|
84
|
-
})
|
|
122
|
+
}, distanceObj))
|
|
85
123
|
}, showBtn && /*#__PURE__*/_react["default"].createElement("div", {
|
|
86
124
|
className: "left-wrap"
|
|
87
125
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -136,7 +174,8 @@ function (_super) {
|
|
|
136
174
|
|
|
137
175
|
VideoTag.defaultProps = {
|
|
138
176
|
data: {},
|
|
139
|
-
noShare: false
|
|
177
|
+
noShare: false,
|
|
178
|
+
notVertical: false
|
|
140
179
|
};
|
|
141
180
|
return VideoTag;
|
|
142
181
|
}(_react["default"].Component);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
bottom: 0;
|
|
4
4
|
left: 0;
|
|
5
5
|
right: 0;
|
|
6
|
-
padding-bottom: 10px;
|
|
6
|
+
// padding-bottom: 10px;
|
|
7
7
|
display: flex;
|
|
8
8
|
align-items: center;
|
|
9
9
|
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.first-button {
|
|
56
|
-
margin: 5px;
|
|
56
|
+
margin: 0 5px;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.secondary-button {
|
|
60
|
-
margin: 5px;
|
|
60
|
+
margin: 0 5px;
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -162,7 +162,7 @@ function (_super) {
|
|
|
162
162
|
})), data.share.open && !isPlaying && /*#__PURE__*/_react["default"].createElement(_index["default"], {
|
|
163
163
|
data: data
|
|
164
164
|
}), !isPlaying && /*#__PURE__*/_react["default"].createElement(_VideoTag["default"], {
|
|
165
|
-
|
|
165
|
+
customize: data.customize,
|
|
166
166
|
data: group,
|
|
167
167
|
GAData: __assign(__assign({}, GAData), {
|
|
168
168
|
groupId: group.id,
|