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/index.cjs
CHANGED
@@ -1999,7 +1999,12 @@ var settingRender$9 = [
|
|
1999
1999
|
label: '弹窗按钮',
|
2000
2000
|
type: 'Upload',
|
2001
2001
|
name: ['props', 'iframeIcon'],
|
2002
|
-
text: '建议尺寸:72 *
|
2002
|
+
text: '建议尺寸:72 * 30'
|
2003
|
+
},
|
2004
|
+
{
|
2005
|
+
label: '背景色',
|
2006
|
+
type: 'Color',
|
2007
|
+
name: ['props', 'iframeBgColor']
|
2003
2008
|
}
|
2004
2009
|
]
|
2005
2010
|
}
|
@@ -9131,7 +9136,7 @@ var CommodityGroup$1 = React.memo(CommodityGroup);
|
|
9131
9136
|
|
9132
9137
|
const CommodityDetail$1 = (_a) => {
|
9133
9138
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
|
9134
|
-
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"]);
|
9139
|
+
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"]);
|
9135
9140
|
const { sxpParameter, popupDetailData, isPreview, bffFbReport, popupCurTimeRef, checkCommodityIndexRef } = useSxpDataSource();
|
9136
9141
|
const { jumpToWeb, productView } = useEventReport();
|
9137
9142
|
const curTimeRef = React.useRef(null);
|
@@ -9305,10 +9310,10 @@ const CommodityDetail$1 = (_a) => {
|
|
9305
9310
|
React.createElement("div", { style: { paddingBottom: '80px' } }, renderContent({ isPost: false })),
|
9306
9311
|
renderBtn()),
|
9307
9312
|
React.createElement(Modal$1, { visible: show3DModal, padding: 0, isFullScreen: true, onClose: () => setShow3DModal(false) },
|
9308
|
-
React.createElement("div", { style: { height:
|
9313
|
+
React.createElement("div", { style: { backgroundColor: iframeBgColor, height: '100%' } },
|
9309
9314
|
React.createElement("iframe", { src: iframeUrl, style: {
|
9310
9315
|
width: '100%',
|
9311
|
-
height:
|
9316
|
+
height: 'calc(100% - 50px)',
|
9312
9317
|
marginTop: '50px',
|
9313
9318
|
border: 'none'
|
9314
9319
|
} })))));
|
@@ -9650,7 +9655,7 @@ const Prompt = createMaterial(PromptComponent, {
|
|
9650
9655
|
* @Author: binruan@chatlabs.com
|
9651
9656
|
* @Date: 2024-03-26 16:50:25
|
9652
9657
|
* @LastEditors: binruan@chatlabs.com
|
9653
|
-
* @LastEditTime: 2024-08-
|
9658
|
+
* @LastEditTime: 2024-08-23 10:58:38
|
9654
9659
|
* @FilePath: \pb-sxp-ui\src\materials\sxp\popup\CommodityDetailDiroNew\settingRender.tsx
|
9655
9660
|
*
|
9656
9661
|
*/
|
@@ -9957,7 +9962,12 @@ var settingRender$7 = [
|
|
9957
9962
|
label: '弹窗按钮',
|
9958
9963
|
type: 'Upload',
|
9959
9964
|
name: ['props', 'iframeIcon'],
|
9960
|
-
text: '建议尺寸:72 *
|
9965
|
+
text: '建议尺寸:72 * 30'
|
9966
|
+
},
|
9967
|
+
{
|
9968
|
+
label: '背景色',
|
9969
|
+
type: 'Color',
|
9970
|
+
name: ['props', 'iframeBgColor']
|
9961
9971
|
}
|
9962
9972
|
]
|
9963
9973
|
}
|
@@ -9965,7 +9975,7 @@ var settingRender$7 = [
|
|
9965
9975
|
|
9966
9976
|
const CommodityDetailDiroNew$1 = (_a) => {
|
9967
9977
|
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;
|
9968
|
-
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"]);
|
9978
|
+
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"]);
|
9969
9979
|
React.useState(true);
|
9970
9980
|
const { sxpParameter, popupCurTimeRef, popupDetailData, isPreview, bffFbReport, checkCommodityIndexRef } = useSxpDataSource();
|
9971
9981
|
const { jumpToWeb, productView } = useEventReport();
|
@@ -10186,10 +10196,10 @@ Made in Italy` })));
|
|
10186
10196
|
productInfoText({ isPost }))),
|
10187
10197
|
React.createElement(Modal$1, { visible: showModal, onClose: () => setShowModal(false) }, productInfoText({ isPost: false })),
|
10188
10198
|
React.createElement(Modal$1, { visible: show3DModal, padding: 0, isFullScreen: true, onClose: () => setShow3DModal(false) },
|
10189
|
-
React.createElement("div", { style: { height:
|
10199
|
+
React.createElement("div", { style: { backgroundColor: iframeBgColor, height: '100%' } },
|
10190
10200
|
React.createElement("iframe", { src: iframeUrl, style: {
|
10191
10201
|
width: '100%',
|
10192
|
-
height:
|
10202
|
+
height: 'calc(100% - 50px)',
|
10193
10203
|
marginTop: '50px',
|
10194
10204
|
border: 'none'
|
10195
10205
|
} })))));
|
@@ -16026,7 +16036,7 @@ var Tagbar$1 = React.memo(Tagbar);
|
|
16026
16036
|
* @Author: binruan@chatlabs.com
|
16027
16037
|
* @Date: 2024-01-15 19:03:09
|
16028
16038
|
* @LastEditors: binruan@chatlabs.com
|
16029
|
-
* @LastEditTime: 2024-08-
|
16039
|
+
* @LastEditTime: 2024-08-23 11:35:02
|
16030
16040
|
* @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\index.tsx
|
16031
16041
|
*
|
16032
16042
|
*/
|