pb-sxp-ui 1.0.51 → 1.0.53
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.css +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.cjs
CHANGED
@@ -12403,7 +12403,7 @@ const FingerSwipeTip = ({ imageUrl }) => {
|
|
12403
12403
|
* @Author: binruan@chatlabs.com
|
12404
12404
|
* @Date: 2024-03-20 10:27:31
|
12405
12405
|
* @LastEditors: binruan@chatlabs.com
|
12406
|
-
* @LastEditTime: 2024-04-
|
12406
|
+
* @LastEditTime: 2024-04-30 18:36:47
|
12407
12407
|
* @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\PictureGroup\Picture.tsx
|
12408
12408
|
*
|
12409
12409
|
*/
|
@@ -12433,7 +12433,7 @@ const Picture = (props) => {
|
|
12433
12433
|
return isBgColor && (imgUrlsPostConfig === null || imgUrlsPostConfig === void 0 ? void 0 : imgUrlsPostConfig.bgColor) ? { backgroundColor: imgUrlsPostConfig === null || imgUrlsPostConfig === void 0 ? void 0 : imgUrlsPostConfig.bgColor } : {};
|
12434
12434
|
}, [imgUrlsPostConfig, isBgColor]);
|
12435
12435
|
return (React.createElement("div", { style: Object.assign({ overflow: 'hidden', height, width: '100%', position: 'relative' }, bgStyle) },
|
12436
|
-
!isBgColor && (React.createElement(FormatImage$1, { src: src, style: Object.assign({ height: '100%', width: '100%', objectFit: 'cover' }, blurStyle) })),
|
12436
|
+
(!blur || !isBgColor) && (React.createElement(FormatImage$1, { src: src, style: Object.assign({ height: '100%', width: '100%', objectFit: 'cover' }, blurStyle) })),
|
12437
12437
|
blur && (React.createElement(FormatImage$1, { src: src, style: {
|
12438
12438
|
width: '100%',
|
12439
12439
|
height: '100%',
|