pb-sxp-ui 1.3.6 → 1.3.7
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 +20 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +20 -10
- 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 +20 -10
- 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/materials/sxp/popup/CommodityDetail/index.d.ts +1 -0
- package/es/materials/sxp/popup/CommodityDetail/index.js +3 -3
- package/es/materials/sxp/popup/CommodityDetail/settingRender.d.ts +7 -2
- package/es/materials/sxp/popup/CommodityDetail/settingRender.js +6 -1
- package/es/materials/sxp/popup/CommodityDetailDiroNew/index.d.ts +1 -0
- package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +3 -3
- package/es/materials/sxp/popup/CommodityDetailDiroNew/settingRender.d.ts +7 -2
- package/es/materials/sxp/popup/CommodityDetailDiroNew/settingRender.js +6 -1
- package/lib/materials/sxp/popup/CommodityDetail/index.d.ts +1 -0
- package/lib/materials/sxp/popup/CommodityDetail/index.js +3 -3
- package/lib/materials/sxp/popup/CommodityDetail/settingRender.d.ts +7 -2
- package/lib/materials/sxp/popup/CommodityDetail/settingRender.js +6 -1
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.d.ts +1 -0
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +3 -3
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/settingRender.d.ts +7 -2
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/settingRender.js +6 -1
- package/package.json +1 -1
package/dist/pb-ui.js
CHANGED
@@ -1992,7 +1992,12 @@
|
|
1992
1992
|
label: '弹窗按钮',
|
1993
1993
|
type: 'Upload',
|
1994
1994
|
name: ['props', 'iframeIcon'],
|
1995
|
-
text: '建议尺寸:72 *
|
1995
|
+
text: '建议尺寸:72 * 30'
|
1996
|
+
},
|
1997
|
+
{
|
1998
|
+
label: '背景色',
|
1999
|
+
type: 'Color',
|
2000
|
+
name: ['props', 'iframeBgColor']
|
1996
2001
|
}
|
1997
2002
|
]
|
1998
2003
|
}
|
@@ -9124,7 +9129,7 @@
|
|
9124
9129
|
|
9125
9130
|
const CommodityDetail$1 = (_a) => {
|
9126
9131
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
|
9127
|
-
var { content, style, bgImg, onClick, schema, isDefault, bottom_image, tipText, isPost, viewTime, rec, swiper, commodityStyles, buttonStyle, index, commodityGroup, popupBg, iframeIcon, commodityImgRatio, isTel } = _a, props = __rest(_a, ["content", "style", "bgImg", "onClick", "schema", "isDefault", "bottom_image", "tipText", "isPost", "viewTime", "rec", "swiper", "commodityStyles", "buttonStyle", "index", "commodityGroup", "popupBg", "iframeIcon", "commodityImgRatio", "isTel"]);
|
9132
|
+
var { content, style, bgImg, onClick, schema, isDefault, bottom_image, tipText, isPost, viewTime, rec, swiper, commodityStyles, buttonStyle, index, commodityGroup, popupBg, iframeIcon, commodityImgRatio, isTel, iframeBgColor } = _a, props = __rest(_a, ["content", "style", "bgImg", "onClick", "schema", "isDefault", "bottom_image", "tipText", "isPost", "viewTime", "rec", "swiper", "commodityStyles", "buttonStyle", "index", "commodityGroup", "popupBg", "iframeIcon", "commodityImgRatio", "isTel", "iframeBgColor"]);
|
9128
9133
|
const { sxpParameter, popupDetailData, isPreview, bffFbReport, popupCurTimeRef, checkCommodityIndexRef } = useSxpDataSource();
|
9129
9134
|
const { jumpToWeb, productView } = useEventReport();
|
9130
9135
|
const curTimeRef = React.useRef(null);
|
@@ -9298,10 +9303,10 @@
|
|
9298
9303
|
React.createElement("div", { style: { paddingBottom: '80px' } }, renderContent({ isPost: false })),
|
9299
9304
|
renderBtn()),
|
9300
9305
|
React.createElement(Modal$1, { visible: show3DModal, padding: 0, isFullScreen: true, onClose: () => setShow3DModal(false) },
|
9301
|
-
React.createElement("div", { style: { height:
|
9306
|
+
React.createElement("div", { style: { backgroundColor: iframeBgColor, height: '100%' } },
|
9302
9307
|
React.createElement("iframe", { src: iframeUrl, style: {
|
9303
9308
|
width: '100%',
|
9304
|
-
height:
|
9309
|
+
height: 'calc(100% - 50px)',
|
9305
9310
|
marginTop: '50px',
|
9306
9311
|
border: 'none'
|
9307
9312
|
} })))));
|
@@ -9643,7 +9648,7 @@
|
|
9643
9648
|
* @Author: binruan@chatlabs.com
|
9644
9649
|
* @Date: 2024-03-26 16:50:25
|
9645
9650
|
* @LastEditors: binruan@chatlabs.com
|
9646
|
-
* @LastEditTime: 2024-08-
|
9651
|
+
* @LastEditTime: 2024-08-23 10:58:38
|
9647
9652
|
* @FilePath: \pb-sxp-ui\src\materials\sxp\popup\CommodityDetailDiroNew\settingRender.tsx
|
9648
9653
|
*
|
9649
9654
|
*/
|
@@ -9950,7 +9955,12 @@
|
|
9950
9955
|
label: '弹窗按钮',
|
9951
9956
|
type: 'Upload',
|
9952
9957
|
name: ['props', 'iframeIcon'],
|
9953
|
-
text: '建议尺寸:72 *
|
9958
|
+
text: '建议尺寸:72 * 30'
|
9959
|
+
},
|
9960
|
+
{
|
9961
|
+
label: '背景色',
|
9962
|
+
type: 'Color',
|
9963
|
+
name: ['props', 'iframeBgColor']
|
9954
9964
|
}
|
9955
9965
|
]
|
9956
9966
|
}
|
@@ -9958,7 +9968,7 @@
|
|
9958
9968
|
|
9959
9969
|
const CommodityDetailDiroNew$1 = (_a) => {
|
9960
9970
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;
|
9961
|
-
var { style, isDefault, rec, viewTime, isPost, bottom_image, tipText, swiper, commodityStyles, buttonStyle, index, commodityGroup, popupBg, iframeIcon, commodityImgRatio, isTel } = _a, props = __rest(_a, ["style", "isDefault", "rec", "viewTime", "isPost", "bottom_image", "tipText", "swiper", "commodityStyles", "buttonStyle", "index", "commodityGroup", "popupBg", "iframeIcon", "commodityImgRatio", "isTel"]);
|
9971
|
+
var { style, isDefault, rec, viewTime, isPost, bottom_image, tipText, swiper, commodityStyles, buttonStyle, index, commodityGroup, popupBg, iframeIcon, commodityImgRatio, isTel, iframeBgColor } = _a, props = __rest(_a, ["style", "isDefault", "rec", "viewTime", "isPost", "bottom_image", "tipText", "swiper", "commodityStyles", "buttonStyle", "index", "commodityGroup", "popupBg", "iframeIcon", "commodityImgRatio", "isTel", "iframeBgColor"]);
|
9962
9972
|
React.useState(true);
|
9963
9973
|
const { sxpParameter, popupCurTimeRef, popupDetailData, isPreview, bffFbReport, checkCommodityIndexRef } = useSxpDataSource();
|
9964
9974
|
const { jumpToWeb, productView } = useEventReport();
|
@@ -10179,10 +10189,10 @@ Made in Italy` })));
|
|
10179
10189
|
productInfoText({ isPost }))),
|
10180
10190
|
React.createElement(Modal$1, { visible: showModal, onClose: () => setShowModal(false) }, productInfoText({ isPost: false })),
|
10181
10191
|
React.createElement(Modal$1, { visible: show3DModal, padding: 0, isFullScreen: true, onClose: () => setShow3DModal(false) },
|
10182
|
-
React.createElement("div", { style: { height:
|
10192
|
+
React.createElement("div", { style: { backgroundColor: iframeBgColor, height: '100%' } },
|
10183
10193
|
React.createElement("iframe", { src: iframeUrl, style: {
|
10184
10194
|
width: '100%',
|
10185
|
-
height:
|
10195
|
+
height: 'calc(100% - 50px)',
|
10186
10196
|
marginTop: '50px',
|
10187
10197
|
border: 'none'
|
10188
10198
|
} })))));
|
@@ -16019,7 +16029,7 @@ Made in Italy` })));
|
|
16019
16029
|
* @Author: binruan@chatlabs.com
|
16020
16030
|
* @Date: 2024-01-15 19:03:09
|
16021
16031
|
* @LastEditors: binruan@chatlabs.com
|
16022
|
-
* @LastEditTime: 2024-08-
|
16032
|
+
* @LastEditTime: 2024-08-23 11:35:02
|
16023
16033
|
* @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\index.tsx
|
16024
16034
|
*
|
16025
16035
|
*/
|