YunaiV
2025-04-27 21:47:39 +08:00
parent b532985e84
commit b62f2ccd21
2 changed files with 7 additions and 13 deletions
@@ -505,7 +505,6 @@
import { PromotionActivityTypeEnum } from '@/sheep/util/const';
// 数据
const state = reactive({});
let defaultImgWidth = ref(0);
// 接收参数
@@ -605,10 +604,6 @@
type: Boolean,
default: false,
},
imgHeight: {
type: String,
default: '',
},
});
// 优惠文案
@@ -692,10 +687,8 @@
totalHeight =
(goodsPriceCard.width / props.data.image_wh.w) * props.data.image_wh.h +
goodsPriceCard.height;
console.log(totalHeight, 'totalHeight');
} else {
totalHeight = goodsPriceCard.width + goodsPriceCard.height;
console.log(totalHeight, 'totalHeight2');
}
emits('getHeight', totalHeight);
});