pb-sxp-ui 1.19.20 → 1.20.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/pb-ui.js CHANGED
@@ -10364,7 +10364,7 @@
10364
10364
  const h = screenHeight >= 900 ? screenHeight * 0.8 : screenHeight * 0.79;
10365
10365
  // 当内容高度占屏幕高度90%以上时,使用按比例计算的高度
10366
10366
  // 否则使用实际内容高度
10367
- const isRatio = ratio >= threshold;
10367
+ const isRatio = ratio >= threshold && ratio !== 1;
10368
10368
  const finalHeight = isRatio ? Math.round(h) : visibleHeight;
10369
10369
  const b = screenHeight - Math.round(h);
10370
10370
  if (isRatio) {
@@ -10392,19 +10392,6 @@
10392
10392
  else {
10393
10393
  setBottomHeight(0);
10394
10394
  }
10395
- if ('fundebug' in window) {
10396
- const systemInfo = {
10397
- ratio,
10398
- h,
10399
- finalHeight,
10400
- visibleHeight,
10401
- screenHeight,
10402
- isInstagram,
10403
- isFacebook,
10404
- ua
10405
- };
10406
- window === null || window === void 0 ? void 0 : window.fundebug.notify('Collect_Info', 'resize', { metaData: { systemInfo, otherInfo: {} } });
10407
- }
10408
10395
  setVisibleHeight(finalHeight);
10409
10396
  }, [getVisibleContentHeight]);
10410
10397
  React.useEffect(() => {
@@ -19416,7 +19403,7 @@ Made in Italy` })));
19416
19403
  }
19417
19404
  const value = tempMap === null || tempMap === void 0 ? void 0 : tempMap[cta];
19418
19405
  const isNineProduct = (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.nineProductEnable) &&
19419
- index === ((rtcList === null || rtcList === void 0 ? void 0 : rtcList[0]) === 'organic menu' ? 2 : 1) &&
19406
+ index === ((rtcList === null || rtcList === void 0 ? void 0 : rtcList[0]) === 'organic menu' ? 1 : 0) &&
19420
19407
  ((_f = ['MultiCommodity', 'MultiCommodityDiro', 'MultiCommodityDiroNew']) === null || _f === void 0 ? void 0 : _f.includes((_g = value === null || value === void 0 ? void 0 : value.item) === null || _g === void 0 ? void 0 : _g.type));
19421
19408
  return (React.createElement(React.Fragment, null,
19422
19409
  isNineProduct && (React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, isActive: index === activeIndex, isNineProduct: isNineProduct })),