Commit 3b0ab0d7 by YunaiV

feat:【商城】店铺装修-优惠劵:phoneWidth * 0.96 改成 * 1,避免左右边距不太对(不铺满)

parent 73c66589
...@@ -124,7 +124,7 @@ watch( ...@@ -124,7 +124,7 @@ watch(
() => { () => {
// 每列的宽度为:(总宽度 - 间距 * (列数 - 1))/ 列数 // 每列的宽度为:(总宽度 - 间距 * (列数 - 1))/ 列数
couponWidth.value = couponWidth.value =
(phoneWidth.value * 0.95 - props.property.space * (props.property.columns - 1)) / (phoneWidth.value - props.property.space * (props.property.columns - 1)) /
props.property.columns props.property.columns
// 显示滚动条 // 显示滚动条
scrollbarWidth.value = `${ scrollbarWidth.value = `${
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment