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/pb-ui.js CHANGED
@@ -12577,7 +12577,7 @@ Made in Italy` })));
12577
12577
  * @Author: binruan@chatlabs.com
12578
12578
  * @Date: 2024-01-15 19:03:09
12579
12579
  * @LastEditors: binruan@chatlabs.com
12580
- * @LastEditTime: 2024-04-18 19:27:03
12580
+ * @LastEditTime: 2024-04-25 17:03:41
12581
12581
  * @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\index.tsx
12582
12582
  *
12583
12583
  */
@@ -12938,7 +12938,12 @@ Made in Italy` })));
12938
12938
  } })),
12939
12939
  renderLogo,
12940
12940
  isShowFingerTip ? React.createElement(FingerSwipeTip, { imageUrl: globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.swipeTipIcon }) : null,
12941
- React.createElement(Swiper, { ref: swiperRef, onActiveIndexChange: (swiper) => {
12941
+ React.createElement(Swiper, { ref: swiperRef, onSlideChange: () => {
12942
+ swiperRef.current.swiper.allowTouchMove = false;
12943
+ setTimeout(() => {
12944
+ swiperRef.current.swiper.allowTouchMove = true;
12945
+ }, 500);
12946
+ }, onActiveIndexChange: (swiper) => {
12942
12947
  setActiveIndex(swiper.activeIndex);
12943
12948
  if (openHashtag)
12944
12949
  return;
@@ -12955,6 +12960,9 @@ Made in Italy` })));
12955
12960
  }
12956
12961
  }
12957
12962
  },
12963
+ // style={{
12964
+ // pointerEvents: canSwiper ? 'auto' : 'none'
12965
+ // }}
12958
12966
  // onReachEnd={() => {
12959
12967
  // // 由hashtaglist跳转过来时不执行下面的方法
12960
12968
  // if (waterFallData) return;