pb-sxp-ui 1.0.39 → 1.0.40
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 +10 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -2
- 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 +10 -2
- 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/index.js +6 -1
- package/lib/core/components/SxpPageRender/index.js +6 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -12562,7 +12562,7 @@ const Nudge = ({ nudge }) => {
|
|
12562
12562
|
* @Author: binruan@chatlabs.com
|
12563
12563
|
* @Date: 2024-01-15 19:03:09
|
12564
12564
|
* @LastEditors: binruan@chatlabs.com
|
12565
|
-
* @LastEditTime: 2024-04-
|
12565
|
+
* @LastEditTime: 2024-04-25 17:03:41
|
12566
12566
|
* @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\index.tsx
|
12567
12567
|
*
|
12568
12568
|
*/
|
@@ -12923,7 +12923,12 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
|
|
12923
12923
|
} })),
|
12924
12924
|
renderLogo,
|
12925
12925
|
isShowFingerTip ? React.createElement(FingerSwipeTip, { imageUrl: globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.swipeTipIcon }) : null,
|
12926
|
-
React.createElement(Swiper, { ref: swiperRef,
|
12926
|
+
React.createElement(Swiper, { ref: swiperRef, onSlideChange: () => {
|
12927
|
+
swiperRef.current.swiper.allowTouchMove = false;
|
12928
|
+
setTimeout(() => {
|
12929
|
+
swiperRef.current.swiper.allowTouchMove = true;
|
12930
|
+
}, 500);
|
12931
|
+
}, onActiveIndexChange: (swiper) => {
|
12927
12932
|
setActiveIndex(swiper.activeIndex);
|
12928
12933
|
if (openHashtag)
|
12929
12934
|
return;
|
@@ -12940,6 +12945,9 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
|
|
12940
12945
|
}
|
12941
12946
|
}
|
12942
12947
|
},
|
12948
|
+
// style={{
|
12949
|
+
// pointerEvents: canSwiper ? 'auto' : 'none'
|
12950
|
+
// }}
|
12943
12951
|
// onReachEnd={() => {
|
12944
12952
|
// // 由hashtaglist跳转过来时不执行下面的方法
|
12945
12953
|
// if (waterFallData) return;
|