pb-sxp-ui 1.4.1 → 1.4.2
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 +34 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +34 -28
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +3 -3
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +3 -3
- package/dist/index.min.js.map +1 -1
- package/dist/pb-ui.js +34 -28
- package/dist/pb-ui.js.map +1 -1
- package/dist/pb-ui.min.js +3 -3
- package/dist/pb-ui.min.js.map +1 -1
- package/es/core/components/SxpPageRender/Modal/index.js +2 -2
- package/es/core/components/SxpPageRender/PictureGroup/index.js +6 -3
- package/es/core/components/SxpPageRender/index.js +6 -6
- package/es/materials/sxp/popup/CommodityDetail/index.js +5 -5
- package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +12 -9
- package/lib/core/components/SxpPageRender/Modal/index.js +2 -2
- package/lib/core/components/SxpPageRender/PictureGroup/index.js +6 -3
- package/lib/core/components/SxpPageRender/index.js +6 -6
- package/lib/materials/sxp/popup/CommodityDetail/index.js +5 -5
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +12 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -8870,7 +8870,7 @@ SwiperSlide.displayName = 'SwiperSlide';
|
|
8870
8870
|
* @Author: binruan@chatlabs.com
|
8871
8871
|
* @Date: 2023-11-02 18:34:34
|
8872
8872
|
* @LastEditors: binruan@chatlabs.com
|
8873
|
-
* @LastEditTime: 2024-08-
|
8873
|
+
* @LastEditTime: 2024-08-30 11:45:21
|
8874
8874
|
* @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\Modal\index.tsx
|
8875
8875
|
*
|
8876
8876
|
*/
|
@@ -8989,9 +8989,9 @@ const Modal = ({ visible, onClose, children, modalStyle, padding, popup, schema,
|
|
8989
8989
|
width: `calc(100% - ${((_r = (_q = (_p = (_o = getPopupById === null || getPopupById === void 0 ? void 0 : getPopupById.item) === null || _o === void 0 ? void 0 : _o.props) === null || _p === void 0 ? void 0 : _p.popupBg) === null || _q === void 0 ? void 0 : _q.horizontalMargin) !== null && _r !== void 0 ? _r : 0) * 2}px)`,
|
8990
8990
|
height: '100%'
|
8991
8991
|
} },
|
8992
|
-
React.createElement("div", Object.assign({ className: `modal-container ${isOpen ? 'modal-popIn' : 'modal-popOut'}`, style: Object.assign({ padding, animationDuration: ((_s = popup === null || popup === void 0 ? void 0 : popup.duration) !== null && _s !== void 0 ? _s : 0) / 1000 + 's' }, (isScrollFullScreen && {
|
8992
|
+
React.createElement("div", Object.assign({ className: `modal-container ${isOpen ? 'modal-popIn' : 'modal-popOut'}`, style: Object.assign(Object.assign({ padding, animationDuration: ((_s = popup === null || popup === void 0 ? void 0 : popup.duration) !== null && _s !== void 0 ? _s : 0) / 1000 + 's' }, (isScrollFullScreen && {
|
8993
8993
|
transform: `translateY(${modalTrans}px)`
|
8994
|
-
})), onClick: (e) => {
|
8994
|
+
})), { overflow: 'hidden' }), onClick: (e) => {
|
8995
8995
|
e.stopPropagation();
|
8996
8996
|
e.preventDefault();
|
8997
8997
|
} }, (isScrollFullScreen && {
|
@@ -9175,7 +9175,7 @@ const CommodityGroup = ({ products, data, defImg, style, onCLick, popupDetailDat
|
|
9175
9175
|
var CommodityGroup$1 = memo(CommodityGroup);
|
9176
9176
|
|
9177
9177
|
const CommodityDetail$1 = (_a) => {
|
9178
|
-
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
|
9178
|
+
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
|
9179
9179
|
var { content, style, bgImg, onClick, schema, isDefault, bottom_image, tipText, isPost, viewTime, rec, swiper, commodityStyles, buttonStyle, index, commodityGroup, popupBg, iframeIcon, commodityImgRatio, isTel, iframeBgColor } = _a, props = __rest(_a, ["content", "style", "bgImg", "onClick", "schema", "isDefault", "bottom_image", "tipText", "isPost", "viewTime", "rec", "swiper", "commodityStyles", "buttonStyle", "index", "commodityGroup", "popupBg", "iframeIcon", "commodityImgRatio", "isTel", "iframeBgColor"]);
|
9180
9180
|
const { sxpParameter, popupDetailData, isPreview, bffFbReport, popupCurTimeRef, checkCommodityIndexRef } = useSxpDataSource();
|
9181
9181
|
const { jumpToWeb, productView } = useEventReport();
|
@@ -9306,7 +9306,7 @@ const CommodityDetail$1 = (_a) => {
|
|
9306
9306
|
clickableClass: getDotsAlign
|
9307
9307
|
}, loop: true, autoplay: {
|
9308
9308
|
delay: (swiper === null || swiper === void 0 ? void 0 : swiper.delay) * 1000
|
9309
|
-
}, ref: ref, className: css(Object.assign(Object.assign({ '.swiper-pagination':
|
9309
|
+
}, ref: ref, className: css(Object.assign(Object.assign({ '.swiper-pagination': { bottom: (_x = swiper === null || swiper === void 0 ? void 0 : swiper.dotsMarginBottom) !== null && _x !== void 0 ? _x : 0, fontSize: '14px' } }, ((swiper === null || swiper === void 0 ? void 0 : swiper.dotsBgColor) && {
|
9310
9310
|
'.swiper-pagination-bullet': {
|
9311
9311
|
backgroundColor: swiper === null || swiper === void 0 ? void 0 : swiper.dotsBgColor,
|
9312
9312
|
opacity: 1
|
@@ -9317,7 +9317,7 @@ const CommodityDetail$1 = (_a) => {
|
|
9317
9317
|
opacity: 1
|
9318
9318
|
}
|
9319
9319
|
}))) },
|
9320
|
-
React.createElement(React.Fragment, null, (
|
9320
|
+
React.createElement(React.Fragment, null, (_y = product === null || product === void 0 ? void 0 : product.homePage) === null || _y === void 0 ? void 0 : _y.map((src) => {
|
9321
9321
|
var _a;
|
9322
9322
|
return (React.createElement(SwiperSlide, { key: src },
|
9323
9323
|
React.createElement("div", { style: {
|
@@ -9333,7 +9333,7 @@ const CommodityDetail$1 = (_a) => {
|
|
9333
9333
|
objectPosition: `50% ${(swiper === null || swiper === void 0 ? void 0 : swiper.translateY) ? (swiper === null || swiper === void 0 ? void 0 : swiper.translateY) + 50 : 50}%`
|
9334
9334
|
}, src: (_a = src !== null && src !== void 0 ? src : sxpParameter === null || sxpParameter === void 0 ? void 0 : sxpParameter.bottom_image) !== null && _a !== void 0 ? _a : bottom_image }))));
|
9335
9335
|
})))),
|
9336
|
-
!((
|
9336
|
+
!((_z = product === null || product === void 0 ? void 0 : product.homePage) === null || _z === void 0 ? void 0 : _z.length) && (React.createElement("div", { className: css({
|
9337
9337
|
height,
|
9338
9338
|
width
|
9339
9339
|
}) },
|
@@ -9341,7 +9341,7 @@ const CommodityDetail$1 = (_a) => {
|
|
9341
9341
|
objectFit: 'cover',
|
9342
9342
|
width: '100%',
|
9343
9343
|
height: '100%'
|
9344
|
-
}), src: (
|
9344
|
+
}), src: (_0 = sxpParameter === null || sxpParameter === void 0 ? void 0 : sxpParameter.bottom_image) !== null && _0 !== void 0 ? _0 : bottom_image, alt: 'pdp image' }))),
|
9345
9345
|
(iframeUrl || !product) && iframeIcon && (React.createElement("div", { style: {
|
9346
9346
|
display: 'flex',
|
9347
9347
|
alignItems: 'center',
|
@@ -10055,7 +10055,7 @@ var settingRender$7 = [
|
|
10055
10055
|
];
|
10056
10056
|
|
10057
10057
|
const CommodityDetailDiroNew$1 = (_a) => {
|
10058
|
-
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;
|
10058
|
+
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4;
|
10059
10059
|
var { style, isDefault, rec, viewTime, isPost, bottom_image, tipText, swiper, commodityStyles, buttonStyle, index, commodityGroup, popupBg, iframeIcon, commodityImgRatio, isTel, iframeBgColor } = _a, props = __rest(_a, ["style", "isDefault", "rec", "viewTime", "isPost", "bottom_image", "tipText", "swiper", "commodityStyles", "buttonStyle", "index", "commodityGroup", "popupBg", "iframeIcon", "commodityImgRatio", "isTel", "iframeBgColor"]);
|
10060
10060
|
useState(true);
|
10061
10061
|
const { sxpParameter, popupCurTimeRef, popupDetailData, isPreview, bffFbReport, checkCommodityIndexRef } = useSxpDataSource();
|
@@ -10217,7 +10217,10 @@ Made in Italy` })));
|
|
10217
10217
|
clickableClass: getDotsAlign
|
10218
10218
|
}, loop: true, autoplay: {
|
10219
10219
|
delay: (swiper === null || swiper === void 0 ? void 0 : swiper.delay) * 1000
|
10220
|
-
}, ref: ref, className: css(Object.assign(Object.assign({ '.swiper-pagination':
|
10220
|
+
}, ref: ref, className: css(Object.assign(Object.assign({ '.swiper-pagination': {
|
10221
|
+
bottom: (_x = swiper === null || swiper === void 0 ? void 0 : swiper.dotsMarginBottom) !== null && _x !== void 0 ? _x : 0,
|
10222
|
+
fontSize: '14px'
|
10223
|
+
} }, ((swiper === null || swiper === void 0 ? void 0 : swiper.dotsBgColor) && {
|
10221
10224
|
'.swiper-pagination-bullet': {
|
10222
10225
|
backgroundColor: swiper === null || swiper === void 0 ? void 0 : swiper.dotsBgColor,
|
10223
10226
|
opacity: 1
|
@@ -10227,7 +10230,7 @@ Made in Italy` })));
|
|
10227
10230
|
backgroundColor: `${swiper === null || swiper === void 0 ? void 0 : swiper.dotsActiveColor}!important`,
|
10228
10231
|
opacity: 1
|
10229
10232
|
}
|
10230
|
-
}))) }, (
|
10233
|
+
}))) }, (_y = product === null || product === void 0 ? void 0 : product.homePage) === null || _y === void 0 ? void 0 : _y.map((src) => {
|
10231
10234
|
var _a;
|
10232
10235
|
return (React.createElement(SwiperSlide, { key: src },
|
10233
10236
|
React.createElement("div", { style: {
|
@@ -10243,7 +10246,7 @@ Made in Italy` })));
|
|
10243
10246
|
objectPosition: `50% ${(swiper === null || swiper === void 0 ? void 0 : swiper.translateY) ? (swiper === null || swiper === void 0 ? void 0 : swiper.translateY) + 50 : 50}%`
|
10244
10247
|
}, src: (_a = src !== null && src !== void 0 ? src : sxpParameter === null || sxpParameter === void 0 ? void 0 : sxpParameter.bottom_image) !== null && _a !== void 0 ? _a : bottom_image }))));
|
10245
10248
|
}))),
|
10246
|
-
!((
|
10249
|
+
!((_z = product === null || product === void 0 ? void 0 : product.homePage) === null || _z === void 0 ? void 0 : _z.length) && (React.createElement("div", { className: css({
|
10247
10250
|
height,
|
10248
10251
|
width
|
10249
10252
|
}) },
|
@@ -10251,7 +10254,7 @@ Made in Italy` })));
|
|
10251
10254
|
objectFit: 'cover',
|
10252
10255
|
width: '100%',
|
10253
10256
|
height: '100%'
|
10254
|
-
}), src: (
|
10257
|
+
}), src: (_0 = sxpParameter === null || sxpParameter === void 0 ? void 0 : sxpParameter.bottom_image) !== null && _0 !== void 0 ? _0 : bottom_image, alt: 'pdp image' }))),
|
10255
10258
|
(iframeUrl || !product) && iframeIcon && (React.createElement("div", { style: {
|
10256
10259
|
display: 'flex',
|
10257
10260
|
alignItems: 'center',
|
@@ -10268,7 +10271,7 @@ Made in Italy` })));
|
|
10268
10271
|
React.createElement("div", { className: 'pb-commondityDiroNew-content-top' },
|
10269
10272
|
React.createElement("div", { className: 'pb-commondityDiroNew-content-top-left' },
|
10270
10273
|
React.createElement("div", { className: 'pb-commondityDiroNew-content-top-left-title', style: getStyle(commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.title), dangerouslySetInnerHTML: {
|
10271
|
-
__html: setFontForText((
|
10274
|
+
__html: setFontForText((_1 = product === null || product === void 0 ? void 0 : product.title) !== null && _1 !== void 0 ? _1 : 'Large Dior Toujours BagLarge', commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.title)
|
10272
10275
|
} }),
|
10273
10276
|
React.createElement("div", { className: 'pb-commondityDiroNew-content-collection', hidden: !!product && (!(product === null || product === void 0 ? void 0 : product.collection) || (product === null || product === void 0 ? void 0 : product.collection) === ''), style: getStyle(commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.collection), dangerouslySetInnerHTML: {
|
10274
10277
|
__html: setFontForText((product === null || product === void 0 ? void 0 : product.collection) || 'Black Macrocannage CalfskinLarge', commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.collection)
|
@@ -10278,11 +10281,11 @@ Made in Italy` })));
|
|
10278
10281
|
__html: setFontForText(priceText, commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.price)
|
10279
10282
|
} }),
|
10280
10283
|
React.createElement("div", { className: 'pb-commondityDiroNew-content-top-right-price', hidden: !!product && !(product === null || product === void 0 ? void 0 : product.taxInfo), style: getStyle(commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.taxInfo), dangerouslySetInnerHTML: {
|
10281
|
-
__html: setFontForText((
|
10284
|
+
__html: setFontForText((_2 = product === null || product === void 0 ? void 0 : product.taxInfo) !== null && _2 !== void 0 ? _2 : '税费', commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.taxInfo)
|
10282
10285
|
} }))),
|
10283
|
-
(!product || (product === null || product === void 0 ? void 0 : product.link)) && (React.createElement("button", { "aria-label": (
|
10286
|
+
(!product || (product === null || product === void 0 ? void 0 : product.link)) && (React.createElement("button", { "aria-label": (_3 = cta === null || cta === void 0 ? void 0 : cta.enTitle) !== null && _3 !== void 0 ? _3 : 'Shop now', onClick: handleLink, className: 'pb-commondityDiroNew-btn', style: buttonStyle },
|
10284
10287
|
React.createElement("span", { dangerouslySetInnerHTML: {
|
10285
|
-
__html: setFontForText((
|
10288
|
+
__html: setFontForText((_4 = cta === null || cta === void 0 ? void 0 : cta.enTitle) !== null && _4 !== void 0 ? _4 : 'Shop now', buttonStyle)
|
10286
10289
|
} }))),
|
10287
10290
|
productInfoText({ isPost }))),
|
10288
10291
|
React.createElement(Modal$1, { visible: showModal, onClose: () => setShowModal(false) },
|
@@ -15836,11 +15839,11 @@ const Picture = (props) => {
|
|
15836
15839
|
* @Author: lewinlu@chatlabs.com
|
15837
15840
|
* @Date: 2024-01-03 14:39:09
|
15838
15841
|
* @LastEditors: binruan@chatlabs.com
|
15839
|
-
* @LastEditTime: 2024-08-
|
15842
|
+
* @LastEditTime: 2024-08-30 13:58:51
|
15840
15843
|
* @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\PictureGroup\index.tsx
|
15841
15844
|
*/
|
15842
15845
|
const PictureGroup$2 = ({ imgUrls, width, height, rec, index, onReportViewImageEnd, onViewImageStartEvent, imgUrlsPostConfig }) => {
|
15843
|
-
var _a;
|
15846
|
+
var _a, _b;
|
15844
15847
|
const ref = useRef();
|
15845
15848
|
const { isActive } = useSwiperSlide();
|
15846
15849
|
const { sxpParameter, openHashtag } = useSxpDataSource();
|
@@ -15870,7 +15873,10 @@ const PictureGroup$2 = ({ imgUrls, width, height, rec, index, onReportViewImageE
|
|
15870
15873
|
return (React.createElement(Swiper, { ref: ref, defaultValue: 0, direction: 'horizontal', modules: [Pagination, Autoplay], pagination: {
|
15871
15874
|
clickable: true,
|
15872
15875
|
bulletActiveClass: 'swipe-item-active-bullet'
|
15873
|
-
}, className: css(Object.assign(Object.assign({ '.swiper-pagination':
|
15876
|
+
}, className: css(Object.assign(Object.assign({ '.swiper-pagination': {
|
15877
|
+
bottom: (_a = imgUrlsPostConfig === null || imgUrlsPostConfig === void 0 ? void 0 : imgUrlsPostConfig.marginBottom) !== null && _a !== void 0 ? _a : 0,
|
15878
|
+
fontSize: '14px'
|
15879
|
+
} }, ((imgUrlsPostConfig === null || imgUrlsPostConfig === void 0 ? void 0 : imgUrlsPostConfig.dotsBgColor) && {
|
15874
15880
|
'.swiper-pagination-bullet': {
|
15875
15881
|
backgroundColor: imgUrlsPostConfig === null || imgUrlsPostConfig === void 0 ? void 0 : imgUrlsPostConfig.dotsBgColor,
|
15876
15882
|
opacity: 1
|
@@ -15880,7 +15886,7 @@ const PictureGroup$2 = ({ imgUrls, width, height, rec, index, onReportViewImageE
|
|
15880
15886
|
backgroundColor: `${imgUrlsPostConfig === null || imgUrlsPostConfig === void 0 ? void 0 : imgUrlsPostConfig.dotsActiveColor}!important`,
|
15881
15887
|
opacity: 1
|
15882
15888
|
}
|
15883
|
-
}))), height: height, loop: true, autoplay: { delay: ((
|
15889
|
+
}))), height: height, loop: true, autoplay: { delay: ((_b = imgUrlsPostConfig === null || imgUrlsPostConfig === void 0 ? void 0 : imgUrlsPostConfig.delay) !== null && _b !== void 0 ? _b : 3) * 1000 } }, imgUrls === null || imgUrls === void 0 ? void 0 : imgUrls.map((url, index) => {
|
15884
15890
|
return (React.createElement(SwiperSlide, { key: index },
|
15885
15891
|
React.createElement(Picture, { src: !isLoad && index > 0 ? '' : url, height: height, imgUrlsPostConfig: imgUrlsPostConfig, onShowFirstImage: showFirstImageFn })));
|
15886
15892
|
})));
|
@@ -16134,12 +16140,12 @@ var Tagbar$1 = memo(Tagbar);
|
|
16134
16140
|
* @Author: binruan@chatlabs.com
|
16135
16141
|
* @Date: 2024-01-15 19:03:09
|
16136
16142
|
* @LastEditors: binruan@chatlabs.com
|
16137
|
-
* @LastEditTime: 2024-08-
|
16143
|
+
* @LastEditTime: 2024-08-30 11:42:11
|
16138
16144
|
* @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\index.tsx
|
16139
16145
|
*
|
16140
16146
|
*/
|
16141
16147
|
const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.innerHeight, containerWidth = window.innerWidth, tempMap, resolver, data = [], ctaType, tipText, nudge, _schema, hashTagStyle, tagList = [], licenseUrl }) => {
|
16142
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j
|
16148
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
16143
16149
|
const mutedIcon = useIconLink('/pb_static/5beaaa5ce7f3477b99db3838619cc471.png');
|
16144
16150
|
const unmutedIcon = useIconLink('/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png');
|
16145
16151
|
const { schema } = useEditor();
|
@@ -16601,8 +16607,8 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
|
|
16601
16607
|
isReload,
|
16602
16608
|
renderToggleButton
|
16603
16609
|
]);
|
16604
|
-
return (React.createElement("div", { id: 'sxp-render', className: 'clc-sxp-container', style: {
|
16605
|
-
waterFallData && (React.createElement(Navbar$1, { icon: img, styles: { background: 'rgba(0,0,0,.3)', color: '#fff' }, textStyle: Object.assign(Object.assign({}, (
|
16610
|
+
return (React.createElement("div", { id: 'sxp-render', className: 'clc-sxp-container', style: Object.assign({}, ((globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.textUnderlineOffset) && { textUnderlineOffset: `${globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.textUnderlineOffset}px` })) },
|
16611
|
+
waterFallData && (React.createElement(Navbar$1, { icon: img, styles: { background: 'rgba(0,0,0,.3)', color: '#fff' }, textStyle: Object.assign(Object.assign({}, (_e = (_d = (_c = (_b = (_a = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.hashTag) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.item) === null || _c === void 0 ? void 0 : _c.props) === null || _d === void 0 ? void 0 : _d.textStyles) === null || _e === void 0 ? void 0 : _e.hashTagTitle), { color: '#fff' }), onClose: () => {
|
16606
16612
|
const isEq = isEqual(rtcList, cacheRtcList);
|
16607
16613
|
if (!isEq && cacheRtcList && (cacheRtcList === null || cacheRtcList === void 0 ? void 0 : cacheRtcList.length)) {
|
16608
16614
|
setRtcList === null || setRtcList === void 0 ? void 0 : setRtcList(cacheRtcList);
|
@@ -16613,7 +16619,7 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
|
|
16613
16619
|
React.createElement(Tagbar$1, { tagList: tagList, setActiveIndex: setActiveIndex, style: {
|
16614
16620
|
top: minusHeight
|
16615
16621
|
} }),
|
16616
|
-
isShowFingerTip ? (React.createElement(FingerSwipeTip, { imageUrl: globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.swipeTipIcon, style: { top: `${50 - ((
|
16622
|
+
isShowFingerTip ? (React.createElement(FingerSwipeTip, { imageUrl: globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.swipeTipIcon, style: { top: `${50 - ((_f = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.swipeTipOffset) !== null && _f !== void 0 ? _f : 0)}%` }, duration: globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.swiperTipAniDur })) : null,
|
16617
16623
|
React.createElement(Swiper, { style: {
|
16618
16624
|
marginTop: tagHeight
|
16619
16625
|
}, ref: swiperRef, onSlideChange: () => {
|
@@ -16636,7 +16642,7 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
|
|
16636
16642
|
var _a;
|
16637
16643
|
setIsLoadMore(false);
|
16638
16644
|
if (res && ((_a = res === null || res === void 0 ? void 0 : res.recList) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
16639
|
-
setPageNum(
|
16645
|
+
setPageNum(pageNum + 1);
|
16640
16646
|
}
|
16641
16647
|
});
|
16642
16648
|
}
|
@@ -16645,7 +16651,7 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
|
|
16645
16651
|
renderLikeButton(visList[activeIndex], activeIndex, !!(globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.likeIconFixed)),
|
16646
16652
|
renderToggleButton(!!(globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.muteIconFixed)),
|
16647
16653
|
renderView),
|
16648
|
-
React.createElement(WaterFall$1, Object.assign({}, (
|
16654
|
+
React.createElement(WaterFall$1, Object.assign({}, (_j = (_h = (_g = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.hashTag) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.item) === null || _j === void 0 ? void 0 : _j.props))));
|
16649
16655
|
};
|
16650
16656
|
|
16651
16657
|
const PictureGroup = ({ imgUrls, width, height, imgUrlsPostConfig, rec, index }) => {
|