This commit is contained in:
YunaiV
2025-04-27 21:52:27 +08:00
parent b62f2ccd21
commit 5dfa496998
@@ -683,7 +683,7 @@
const goodsPriceCard = data[0]; const goodsPriceCard = data[0];
defaultImgWidth.value = data[0].width; defaultImgWidth.value = data[0].width;
if (props.data.image_wh) { if (props.data.image_wh && Number(props.data.image_wh.w)) {
totalHeight = totalHeight =
(goodsPriceCard.width / props.data.image_wh.w) * props.data.image_wh.h + (goodsPriceCard.width / props.data.image_wh.w) * props.data.image_wh.h +
goodsPriceCard.height; goodsPriceCard.height;