pb-sxp-ui 1.0.2 → 1.0.3-alpha.1
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/dist/index.cjs +1302 -688
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +28 -133
- package/dist/index.js +1302 -688
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +3 -5
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +3 -5
- package/dist/index.min.js.map +1 -1
- package/dist/pb-ui.js +1302 -688
- package/dist/pb-ui.js.map +1 -1
- package/dist/pb-ui.min.js +3 -5
- package/dist/pb-ui.min.js.map +1 -1
- package/es/core/components/SxpPageCore/index.d.ts +1 -0
- package/es/core/components/SxpPageCore/index.js +2 -2
- package/es/core/components/SxpPageRender/ExpandableText.d.ts +1 -0
- package/es/core/components/SxpPageRender/ExpandableText.js +17 -10
- package/es/core/components/SxpPageRender/Hashtag/index.js +1 -1
- package/es/core/components/SxpPageRender/Modal/index.d.ts +2 -0
- package/es/core/components/SxpPageRender/Modal/index.js +7 -4
- package/es/core/components/SxpPageRender/Nudge/index.d.ts +24 -0
- package/es/core/components/SxpPageRender/Nudge/index.js +13 -0
- package/es/core/components/SxpPageRender/PictureGroup/index.js +11 -7
- package/es/core/components/SxpPageRender/Popup/index.js +3 -3
- package/es/core/components/SxpPageRender/VideoWidget/index.js +30 -21
- package/es/core/components/SxpPageRender/WaterFall/WaterfallList.js +4 -3
- package/es/core/components/SxpPageRender/index.d.ts +20 -1
- package/es/core/components/SxpPageRender/index.js +19 -16
- package/es/core/components/SxpPageRender/typing.d.ts +1 -0
- package/es/core/components/SxpPageRender/useIconLink.d.ts +1 -1
- package/es/core/components/SxpPageRender/useIconLink.js +8 -3
- package/es/core/context/EditorContext.d.ts +5 -0
- package/es/core/context/EditorContext.js +21 -3
- package/es/core/context/SxpDataSourceProvider.js +1 -1
- package/es/core/create.d.ts +1 -1
- package/es/materials/sxp/popup/CommodityDetail/index.d.ts +20 -1
- package/es/materials/sxp/popup/CommodityDetail/index.js +44 -21
- package/es/materials/sxp/popup/CommodityDetail/material.js +36 -1
- package/es/materials/sxp/popup/CommodityDetail/settingRender.d.ts +134 -0
- package/es/materials/sxp/popup/CommodityDetail/settingRender.js +167 -0
- package/es/materials/sxp/popup/CommodityDetailDiroNew/index.d.ts +13 -1
- package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +20 -17
- package/es/materials/sxp/popup/CommodityDetailDiroNew/material.js +46 -1
- package/es/materials/sxp/popup/CommodityDetailDiroNew/settingRender.d.ts +134 -0
- package/es/materials/sxp/popup/CommodityDetailDiroNew/settingRender.js +171 -0
- package/es/materials/sxp/popup/index.d.ts +0 -1
- package/es/materials/sxp/popup/index.js +0 -1
- package/es/materials/sxp/template/Appoint/index.d.ts +2 -0
- package/es/materials/sxp/template/Appoint/index.js +4 -18
- package/es/materials/sxp/template/Appoint/material.js +22 -6
- package/es/materials/sxp/template/Commodity/index.d.ts +2 -0
- package/es/materials/sxp/template/Commodity/index.js +5 -22
- package/es/materials/sxp/template/Commodity/material.js +31 -6
- package/es/materials/sxp/template/CommodityDiro/index.d.ts +2 -0
- package/es/materials/sxp/template/CommodityDiro/index.js +5 -24
- package/es/materials/sxp/template/CommodityDiro/material.js +30 -5
- package/es/materials/sxp/template/CommodityDiroNew/index.d.ts +2 -0
- package/es/materials/sxp/template/CommodityDiroNew/index.js +5 -24
- package/es/materials/sxp/template/CommodityDiroNew/material.js +32 -6
- package/es/materials/sxp/template/Link/index.d.ts +2 -0
- package/es/materials/sxp/template/Link/index.js +4 -13
- package/es/materials/sxp/template/Link/material.js +22 -5
- package/es/materials/sxp/template/MultiCommodity/index.d.ts +2 -0
- package/es/materials/sxp/template/MultiCommodity/index.js +8 -24
- package/es/materials/sxp/template/MultiCommodity/material.js +30 -5
- package/es/materials/sxp/template/MultiCommodityDiro/index.d.ts +2 -0
- package/es/materials/sxp/template/MultiCommodityDiro/index.js +8 -27
- package/es/materials/sxp/template/MultiCommodityDiro/material.js +31 -6
- package/es/materials/sxp/template/MultiCommodityDiroNew/index.d.ts +2 -0
- package/es/materials/sxp/template/MultiCommodityDiroNew/index.js +8 -25
- package/es/materials/sxp/template/MultiCommodityDiroNew/material.js +32 -6
- package/es/materials/sxp/template/components/EventProvider.d.ts +2 -1
- package/es/materials/sxp/template/components/EventProvider.js +5 -4
- package/es/materials/sxp/template/components/settingRender.d.ts +108 -0
- package/es/materials/sxp/template/components/settingRender.js +198 -0
- package/es/materials/sxp/template/components/typing.d.ts +6 -0
- package/es/materials/sxp/template/components/typing.js +1 -0
- package/lib/core/components/SxpPageCore/index.d.ts +1 -0
- package/lib/core/components/SxpPageCore/index.js +2 -2
- package/lib/core/components/SxpPageRender/ExpandableText.d.ts +1 -0
- package/lib/core/components/SxpPageRender/ExpandableText.js +17 -10
- package/lib/core/components/SxpPageRender/Hashtag/index.js +1 -1
- package/lib/core/components/SxpPageRender/Modal/index.d.ts +2 -0
- package/lib/core/components/SxpPageRender/Modal/index.js +7 -4
- package/lib/core/components/SxpPageRender/Nudge/index.d.ts +24 -0
- package/lib/core/components/SxpPageRender/Nudge/index.js +16 -0
- package/lib/core/components/SxpPageRender/PictureGroup/index.js +10 -6
- package/lib/core/components/SxpPageRender/Popup/index.js +3 -3
- package/lib/core/components/SxpPageRender/VideoWidget/index.js +30 -21
- package/lib/core/components/SxpPageRender/WaterFall/WaterfallList.js +3 -2
- package/lib/core/components/SxpPageRender/index.d.ts +20 -1
- package/lib/core/components/SxpPageRender/index.js +19 -16
- package/lib/core/components/SxpPageRender/typing.d.ts +1 -0
- package/lib/core/components/SxpPageRender/useIconLink.d.ts +1 -1
- package/lib/core/components/SxpPageRender/useIconLink.js +8 -3
- package/lib/core/context/EditorContext.d.ts +5 -0
- package/lib/core/context/EditorContext.js +21 -3
- package/lib/core/context/SxpDataSourceProvider.js +1 -1
- package/lib/core/create.d.ts +1 -1
- package/lib/materials/sxp/popup/CommodityDetail/index.d.ts +20 -1
- package/lib/materials/sxp/popup/CommodityDetail/index.js +43 -20
- package/lib/materials/sxp/popup/CommodityDetail/material.js +36 -1
- package/lib/materials/sxp/popup/CommodityDetail/settingRender.d.ts +134 -0
- package/lib/materials/sxp/popup/CommodityDetail/settingRender.js +169 -0
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.d.ts +13 -1
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +20 -17
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/material.js +46 -1
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/settingRender.d.ts +134 -0
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/settingRender.js +173 -0
- package/lib/materials/sxp/popup/index.d.ts +0 -1
- package/lib/materials/sxp/popup/index.js +0 -1
- package/lib/materials/sxp/template/Appoint/index.d.ts +2 -0
- package/lib/materials/sxp/template/Appoint/index.js +4 -18
- package/lib/materials/sxp/template/Appoint/material.js +22 -6
- package/lib/materials/sxp/template/Commodity/index.d.ts +2 -0
- package/lib/materials/sxp/template/Commodity/index.js +5 -22
- package/lib/materials/sxp/template/Commodity/material.js +31 -6
- package/lib/materials/sxp/template/CommodityDiro/index.d.ts +2 -0
- package/lib/materials/sxp/template/CommodityDiro/index.js +5 -24
- package/lib/materials/sxp/template/CommodityDiro/material.js +30 -5
- package/lib/materials/sxp/template/CommodityDiroNew/index.d.ts +2 -0
- package/lib/materials/sxp/template/CommodityDiroNew/index.js +5 -24
- package/lib/materials/sxp/template/CommodityDiroNew/material.js +32 -6
- package/lib/materials/sxp/template/Link/index.d.ts +2 -0
- package/lib/materials/sxp/template/Link/index.js +4 -13
- package/lib/materials/sxp/template/Link/material.js +22 -5
- package/lib/materials/sxp/template/MultiCommodity/index.d.ts +2 -0
- package/lib/materials/sxp/template/MultiCommodity/index.js +7 -23
- package/lib/materials/sxp/template/MultiCommodity/material.js +30 -5
- package/lib/materials/sxp/template/MultiCommodityDiro/index.d.ts +2 -0
- package/lib/materials/sxp/template/MultiCommodityDiro/index.js +7 -26
- package/lib/materials/sxp/template/MultiCommodityDiro/material.js +31 -6
- package/lib/materials/sxp/template/MultiCommodityDiroNew/index.d.ts +2 -0
- package/lib/materials/sxp/template/MultiCommodityDiroNew/index.js +7 -24
- package/lib/materials/sxp/template/MultiCommodityDiroNew/material.js +32 -6
- package/lib/materials/sxp/template/components/EventProvider.d.ts +2 -1
- package/lib/materials/sxp/template/components/EventProvider.js +4 -3
- package/lib/materials/sxp/template/components/settingRender.d.ts +108 -0
- package/lib/materials/sxp/template/components/settingRender.js +200 -0
- package/lib/materials/sxp/template/components/typing.d.ts +6 -0
- package/lib/materials/sxp/template/components/typing.js +2 -0
- package/package.json +1 -1
package/dist/index.css
CHANGED
@@ -67,20 +67,13 @@
|
|
67
67
|
padding: 21px 19px 80px;
|
68
68
|
}
|
69
69
|
.pb-commondity-content-collection {
|
70
|
-
font-size: 12px;
|
71
70
|
margin-bottom: 14px;
|
72
71
|
}
|
73
|
-
.pb-commondity-content-title {
|
74
|
-
font-size: 23px;
|
75
|
-
}
|
76
72
|
.pb-commondity-content-price {
|
77
|
-
font-size: 18px;
|
78
73
|
margin: 24px 0 10px 0;
|
79
74
|
}
|
80
75
|
.pb-commondity-content-info {
|
81
|
-
font-size: 12px;
|
82
76
|
line-height: 17px;
|
83
|
-
color: gray;
|
84
77
|
}
|
85
78
|
.pb-commondity-btn {
|
86
79
|
position: absolute;
|
@@ -88,15 +81,13 @@
|
|
88
81
|
left: 0;
|
89
82
|
right: 0;
|
90
83
|
width: 100%;
|
91
|
-
height: 45px;
|
92
|
-
line-height: 45px;
|
93
|
-
text-align: center;
|
94
|
-
color: rgba(255, 255, 255, 0.9);
|
95
|
-
font-size: 12px;
|
96
|
-
background: #000;
|
97
84
|
padding: 0;
|
98
85
|
border: none;
|
99
86
|
}
|
87
|
+
.commondityDetail-swiper-clickable-left {
|
88
|
+
left: 17px !important;
|
89
|
+
text-align: left !important;
|
90
|
+
}
|
100
91
|
|
101
92
|
.tow-line-ellipsis {
|
102
93
|
display: -webkit-box;
|
@@ -150,99 +141,6 @@
|
|
150
141
|
border: none;
|
151
142
|
}
|
152
143
|
|
153
|
-
.pb-commondityDiro {
|
154
|
-
position: relative;
|
155
|
-
height: 100%;
|
156
|
-
}
|
157
|
-
.pb-commondityDiro-content {
|
158
|
-
padding: 0 20px;
|
159
|
-
background: #fff;
|
160
|
-
}
|
161
|
-
.pb-commondityDiro-content-collection {
|
162
|
-
font-size: 12px;
|
163
|
-
margin-bottom: 10px;
|
164
|
-
color: #757575;
|
165
|
-
}
|
166
|
-
.pb-commondityDiro-content-title {
|
167
|
-
font-size: 21px;
|
168
|
-
margin: 30px 0 11px;
|
169
|
-
letter-spacing: 1px;
|
170
|
-
}
|
171
|
-
.pb-commondityDiro-content-ref {
|
172
|
-
margin-top: 10px;
|
173
|
-
font-size: 12px;
|
174
|
-
}
|
175
|
-
.pb-commondityDiro-content-line {
|
176
|
-
margin: 20px 0;
|
177
|
-
width: 100%;
|
178
|
-
height: 1px;
|
179
|
-
border: 1px solid #E5E5E5;
|
180
|
-
}
|
181
|
-
.pb-commondityDiro-content-price {
|
182
|
-
font-size: 18px;
|
183
|
-
margin: 24px 0 10px 0;
|
184
|
-
}
|
185
|
-
.pb-commondityDiro-desc {
|
186
|
-
background: #F6F6F6;
|
187
|
-
padding: 20px;
|
188
|
-
}
|
189
|
-
.pb-commondityDiro-desc-collapse {
|
190
|
-
display: -webkit-box;
|
191
|
-
display: -webkit-flex;
|
192
|
-
display: -ms-flexbox;
|
193
|
-
display: flex;
|
194
|
-
-webkit-box-pack: justify;
|
195
|
-
-webkit-justify-content: space-between;
|
196
|
-
-ms-flex-pack: justify;
|
197
|
-
justify-content: space-between;
|
198
|
-
-webkit-box-align: center;
|
199
|
-
-webkit-align-items: center;
|
200
|
-
-ms-flex-align: center;
|
201
|
-
align-items: center;
|
202
|
-
margin-bottom: 14px;
|
203
|
-
cursor: pointer;
|
204
|
-
}
|
205
|
-
.pb-commondityDiro-desc-collapse-title {
|
206
|
-
font-size: 12px;
|
207
|
-
font-weight: bold;
|
208
|
-
}
|
209
|
-
.pb-commondityDiro-desc-collapse-icon {
|
210
|
-
width: 12px;
|
211
|
-
height: 12px;
|
212
|
-
}
|
213
|
-
.pb-commondityDiro-desc-collapse-iconActive {
|
214
|
-
-webkit-transform: rotate(180deg);
|
215
|
-
transform: rotate(180deg);
|
216
|
-
}
|
217
|
-
.pb-commondityDiro-desc-info {
|
218
|
-
font-size: 12px;
|
219
|
-
line-height: 22px;
|
220
|
-
}
|
221
|
-
.pb-commondityDiro-h90 {
|
222
|
-
height: 90px;
|
223
|
-
}
|
224
|
-
.pb-commondityDiro-bottom {
|
225
|
-
position: absolute;
|
226
|
-
left: 0;
|
227
|
-
right: 0;
|
228
|
-
bottom: 0;
|
229
|
-
background: #fff;
|
230
|
-
padding: 18px 20px;
|
231
|
-
border: 1px solid #fff;
|
232
|
-
}
|
233
|
-
.pb-commondityDiro-bottom-btn {
|
234
|
-
width: 100%;
|
235
|
-
height: 48px;
|
236
|
-
line-height: 48px;
|
237
|
-
text-align: center;
|
238
|
-
color: #ffffff;
|
239
|
-
font-size: 16px;
|
240
|
-
background: #000;
|
241
|
-
padding: 0;
|
242
|
-
border: none;
|
243
|
-
border-radius: 25px;
|
244
|
-
}
|
245
|
-
|
246
144
|
.pb-commondityDiroNew {
|
247
145
|
position: relative;
|
248
146
|
height: 100%;
|
@@ -298,28 +196,22 @@
|
|
298
196
|
background-clip: text;
|
299
197
|
}
|
300
198
|
.pb-commondityDiroNew-btn {
|
301
|
-
width:
|
302
|
-
margin: 16px 0;
|
303
|
-
height: 52px;
|
304
|
-
line-height: 52px;
|
305
|
-
text-align: center;
|
306
|
-
color: #ffffff;
|
307
|
-
font-size: 13px;
|
308
|
-
background: #000;
|
309
|
-
font-weight: bold;
|
199
|
+
width: -webkit-fill-available;
|
310
200
|
padding: 0;
|
311
201
|
border: none;
|
312
|
-
border-radius: 25px;
|
313
202
|
}
|
314
203
|
.commondityDiroNew-swipe-item-active-bullet {
|
315
204
|
background: #000 !important;
|
316
205
|
opacity: 1 !important;
|
317
206
|
}
|
318
|
-
.commondityDiroNew-swiper-clickable {
|
207
|
+
.commondityDiroNew-swiper-clickable-left {
|
319
208
|
left: 17px !important ;
|
320
209
|
bottom: 14px !important;
|
321
210
|
text-align: left !important;
|
322
211
|
}
|
212
|
+
.commondityDiroNew-swiper-clickable-center {
|
213
|
+
bottom: 14px !important;
|
214
|
+
}
|
323
215
|
|
324
216
|
.index-module_tow-line-ellipsis__3bKKx {
|
325
217
|
display: -webkit-box;
|
@@ -327,7 +219,6 @@
|
|
327
219
|
-webkit-line-clamp: 2;
|
328
220
|
text-overflow: ellipsis;
|
329
221
|
overflow: hidden;
|
330
|
-
font-size: 12px;
|
331
222
|
word-wrap: break-word;
|
332
223
|
}
|
333
224
|
|
@@ -337,7 +228,6 @@
|
|
337
228
|
-webkit-line-clamp: 2;
|
338
229
|
text-overflow: ellipsis;
|
339
230
|
overflow: hidden;
|
340
|
-
font-size: 12px;
|
341
231
|
word-wrap: break-word;
|
342
232
|
}
|
343
233
|
|
@@ -347,9 +237,7 @@
|
|
347
237
|
-webkit-line-clamp: 2;
|
348
238
|
text-overflow: ellipsis;
|
349
239
|
overflow: hidden;
|
350
|
-
font-size: 12px;
|
351
240
|
word-wrap: break-word;
|
352
|
-
color: #000;
|
353
241
|
}
|
354
242
|
|
355
243
|
.index-module_tow-line-ellipsis__I-yCC {
|
@@ -358,9 +246,7 @@
|
|
358
246
|
-webkit-line-clamp: 2;
|
359
247
|
text-overflow: ellipsis;
|
360
248
|
overflow: hidden;
|
361
|
-
font-size: 13px;
|
362
249
|
word-wrap: break-word;
|
363
|
-
color: #000;
|
364
250
|
line-height: 20px;
|
365
251
|
}
|
366
252
|
|
@@ -725,9 +611,7 @@
|
|
725
611
|
-webkit-line-clamp: 2;
|
726
612
|
text-overflow: ellipsis;
|
727
613
|
overflow: hidden;
|
728
|
-
font-size: 12px;
|
729
614
|
word-wrap: break-word;
|
730
|
-
color: #000;
|
731
615
|
}
|
732
616
|
|
733
617
|
.index-module_two-line-ellipsis__mdzn0 {
|
@@ -736,9 +620,7 @@
|
|
736
620
|
-webkit-line-clamp: 2;
|
737
621
|
text-overflow: ellipsis;
|
738
622
|
overflow: hidden;
|
739
|
-
font-size: 12px;
|
740
623
|
word-wrap: break-word;
|
741
|
-
color: #fff;
|
742
624
|
}
|
743
625
|
|
744
626
|
.index-module_tow-line-ellipsis__fselR {
|
@@ -747,9 +629,7 @@
|
|
747
629
|
-webkit-line-clamp: 2;
|
748
630
|
text-overflow: ellipsis;
|
749
631
|
overflow: hidden;
|
750
|
-
font-size: 13px;
|
751
632
|
word-wrap: break-word;
|
752
|
-
color: #000;
|
753
633
|
line-height: 20px;
|
754
634
|
}
|
755
635
|
|
@@ -1321,6 +1201,21 @@ button.swiper-pagination-bullet {
|
|
1321
1201
|
right: 0;
|
1322
1202
|
padding: 20px 0 20px 0;
|
1323
1203
|
}
|
1204
|
+
.clc-sxp-bottom-nudge {
|
1205
|
+
display: -webkit-box;
|
1206
|
+
display: -webkit-flex;
|
1207
|
+
display: -ms-flexbox;
|
1208
|
+
display: flex;
|
1209
|
+
-webkit-box-align: center;
|
1210
|
+
-webkit-align-items: center;
|
1211
|
+
-ms-flex-align: center;
|
1212
|
+
align-items: center;
|
1213
|
+
padding: 4px;
|
1214
|
+
-webkit-box-sizing: border-box;
|
1215
|
+
box-sizing: border-box;
|
1216
|
+
gap: 6px;
|
1217
|
+
margin-left: 20px;
|
1218
|
+
}
|
1324
1219
|
.clc-sxp-bottom-card {
|
1325
1220
|
margin-bottom: 10px;
|
1326
1221
|
}
|
@@ -1661,12 +1556,12 @@ button.swiper-pagination-bullet {
|
|
1661
1556
|
}
|
1662
1557
|
}
|
1663
1558
|
.modal-popOut {
|
1664
|
-
-webkit-animation: popOut
|
1665
|
-
animation: popOut
|
1559
|
+
-webkit-animation: popOut linear forwards;
|
1560
|
+
animation: popOut linear forwards;
|
1666
1561
|
}
|
1667
1562
|
.modal-popIn {
|
1668
|
-
-webkit-animation: popIn
|
1669
|
-
animation: popIn
|
1563
|
+
-webkit-animation: popIn linear forwards;
|
1564
|
+
animation: popIn linear forwards;
|
1670
1565
|
}
|
1671
1566
|
|
1672
1567
|
.waterfall {
|