pb-sxp-ui 1.0.43 → 1.0.45

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.
Files changed (54) hide show
  1. package/dist/index.cjs +490 -58
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.css +56 -4
  4. package/dist/index.js +489 -58
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.cjs +4 -3
  7. package/dist/index.min.cjs.map +1 -1
  8. package/dist/index.min.js +4 -3
  9. package/dist/index.min.js.map +1 -1
  10. package/dist/pb-ui.js +493 -62
  11. package/dist/pb-ui.js.map +1 -1
  12. package/dist/pb-ui.min.js +4 -3
  13. package/dist/pb-ui.min.js.map +1 -1
  14. package/es/core/components/DiyPortalPreview/PictureGroup.d.ts +13 -0
  15. package/es/core/components/DiyPortalPreview/PictureGroup.js +11 -0
  16. package/es/core/components/DiyPortalPreview/VideoWidget.d.ts +15 -0
  17. package/es/core/components/DiyPortalPreview/VideoWidget.js +236 -0
  18. package/es/core/components/DiyPortalPreview/index.d.ts +6 -0
  19. package/es/core/components/DiyPortalPreview/index.js +127 -0
  20. package/es/core/components/SxpPageCore/index.js +2 -2
  21. package/es/core/components/SxpPageRender/Nudge/index.js +6 -5
  22. package/es/core/components/SxpPageRender/Tagbar.d.ts +7 -0
  23. package/es/core/components/SxpPageRender/Tagbar.js +37 -0
  24. package/es/core/components/SxpPageRender/WaterFall/index.js +1 -1
  25. package/es/core/components/SxpPageRender/index.d.ts +2 -0
  26. package/es/core/components/SxpPageRender/index.js +21 -12
  27. package/es/core/context/SxpDataSourceProvider.d.ts +3 -0
  28. package/es/core/context/SxpDataSourceProvider.js +28 -4
  29. package/es/core/hooks/useEventReport.js +4 -4
  30. package/es/index.d.ts +1 -0
  31. package/es/index.js +1 -0
  32. package/es/materials/sxp/popup/CommodityDetail/index.js +6 -6
  33. package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +9 -9
  34. package/lib/core/components/DiyPortalPreview/PictureGroup.d.ts +13 -0
  35. package/lib/core/components/DiyPortalPreview/PictureGroup.js +14 -0
  36. package/lib/core/components/DiyPortalPreview/VideoWidget.d.ts +15 -0
  37. package/lib/core/components/DiyPortalPreview/VideoWidget.js +239 -0
  38. package/lib/core/components/DiyPortalPreview/index.d.ts +6 -0
  39. package/lib/core/components/DiyPortalPreview/index.js +130 -0
  40. package/lib/core/components/SxpPageCore/index.js +2 -2
  41. package/lib/core/components/SxpPageRender/Nudge/index.js +6 -5
  42. package/lib/core/components/SxpPageRender/Tagbar.d.ts +7 -0
  43. package/lib/core/components/SxpPageRender/Tagbar.js +40 -0
  44. package/lib/core/components/SxpPageRender/WaterFall/index.js +1 -1
  45. package/lib/core/components/SxpPageRender/index.d.ts +2 -0
  46. package/lib/core/components/SxpPageRender/index.js +21 -12
  47. package/lib/core/context/SxpDataSourceProvider.d.ts +3 -0
  48. package/lib/core/context/SxpDataSourceProvider.js +28 -4
  49. package/lib/core/hooks/useEventReport.js +4 -4
  50. package/lib/index.d.ts +1 -0
  51. package/lib/index.js +3 -1
  52. package/lib/materials/sxp/popup/CommodityDetail/index.js +6 -6
  53. package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +9 -9
  54. package/package.json +2 -1
package/dist/index.css CHANGED
@@ -62,7 +62,6 @@
62
62
 
63
63
  .pb-commondity {
64
64
  position: relative;
65
- height: 100%;
66
65
  }
67
66
  .pb-commondity-content {
68
67
  padding: 21px 19px 80px;
@@ -1288,6 +1287,59 @@ button.swiper-pagination-bullet {
1288
1287
  height: 100%;
1289
1288
  overflow: hidden;
1290
1289
  }
1290
+ .clc-sxp-tagbar {
1291
+ z-index: 8;
1292
+ background-color: #fff;
1293
+ overflow-x: auto;
1294
+ padding: 0 12px;
1295
+ text-align: center;
1296
+ height: 45px;
1297
+ }
1298
+ .clc-sxp-tagbar-list {
1299
+ padding: 0;
1300
+ margin: 0;
1301
+ display: -webkit-box;
1302
+ display: -webkit-flex;
1303
+ display: -ms-flexbox;
1304
+ display: flex;
1305
+ -webkit-box-align: center;
1306
+ -webkit-align-items: center;
1307
+ -ms-flex-align: center;
1308
+ align-items: center;
1309
+ -webkit-box-pack: center;
1310
+ -webkit-justify-content: center;
1311
+ -ms-flex-pack: center;
1312
+ justify-content: center;
1313
+ -webkit-flex-wrap: nowrap;
1314
+ -ms-flex-wrap: nowrap;
1315
+ flex-wrap: nowrap;
1316
+ height: 100%;
1317
+ list-style: none;
1318
+ }
1319
+ .clc-sxp-tagbar-list-item {
1320
+ cursor: pointer;
1321
+ font-size: 14px;
1322
+ text-wrap: nowrap;
1323
+ }
1324
+ .clc-sxp-tagbar-list-item-active {
1325
+ position: relative;
1326
+ }
1327
+ .clc-sxp-tagbar-list-item-active::after {
1328
+ content: '';
1329
+ position: absolute;
1330
+ bottom: -2px;
1331
+ left: 50%;
1332
+ -webkit-transform: translateX(-8px);
1333
+ transform: translateX(-8px);
1334
+ height: 1px;
1335
+ border-radius: 6px;
1336
+ width: 18px;
1337
+ background-color: #000;
1338
+ }
1339
+ .clc-sxp-tagbar::-webkit-scrollbar {
1340
+ width: 0;
1341
+ height: 0;
1342
+ }
1291
1343
  .clc-sxp-like-button {
1292
1344
  position: absolute;
1293
1345
  right: 0;
@@ -1310,10 +1362,10 @@ button.swiper-pagination-bullet {
1310
1362
  text-align: center;
1311
1363
  }
1312
1364
  .clc-sxp-logo-banner img {
1313
- height: 45px;
1365
+ height: 100%;
1314
1366
  width: 50%;
1315
- -o-object-fit: contain;
1316
- object-fit: contain;
1367
+ -o-object-fit: cover;
1368
+ object-fit: cover;
1317
1369
  }
1318
1370
  .clc-sxp-bottom {
1319
1371
  z-index: 10;