pb-sxp-ui 1.0.51 → 1.0.52
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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +1 -1
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/pb-ui.js +2 -2
- package/dist/pb-ui.js.map +1 -1
- package/dist/pb-ui.min.js +1 -1
- package/dist/pb-ui.min.js.map +1 -1
- package/es/core/components/SxpPageRender/PictureGroup/Picture.js +1 -1
- package/lib/core/components/SxpPageRender/PictureGroup/Picture.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -12380,7 +12380,7 @@ const FingerSwipeTip = ({ imageUrl }) => {
|
|
12380
12380
|
* @Author: binruan@chatlabs.com
|
12381
12381
|
* @Date: 2024-03-20 10:27:31
|
12382
12382
|
* @LastEditors: binruan@chatlabs.com
|
12383
|
-
* @LastEditTime: 2024-04-
|
12383
|
+
* @LastEditTime: 2024-04-30 18:36:47
|
12384
12384
|
* @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\PictureGroup\Picture.tsx
|
12385
12385
|
*
|
12386
12386
|
*/
|
@@ -12410,7 +12410,7 @@ const Picture = (props) => {
|
|
12410
12410
|
return isBgColor && (imgUrlsPostConfig === null || imgUrlsPostConfig === void 0 ? void 0 : imgUrlsPostConfig.bgColor) ? { backgroundColor: imgUrlsPostConfig === null || imgUrlsPostConfig === void 0 ? void 0 : imgUrlsPostConfig.bgColor } : {};
|
12411
12411
|
}, [imgUrlsPostConfig, isBgColor]);
|
12412
12412
|
return (React.createElement("div", { style: Object.assign({ overflow: 'hidden', height, width: '100%', position: 'relative' }, bgStyle) },
|
12413
|
-
!isBgColor && (React.createElement(FormatImage$1, { src: src, style: Object.assign({ height: '100%', width: '100%', objectFit: 'cover' }, blurStyle) })),
|
12413
|
+
(!blur || !isBgColor) && (React.createElement(FormatImage$1, { src: src, style: Object.assign({ height: '100%', width: '100%', objectFit: 'cover' }, blurStyle) })),
|
12414
12414
|
blur && (React.createElement(FormatImage$1, { src: src, style: {
|
12415
12415
|
width: '100%',
|
12416
12416
|
height: '100%',
|