feat:【商城】店铺装修-优惠劵:phoneWidth * 0.96 改成 * 1,避免左右边距不太对(不铺满)
This commit is contained in:
parent
73c665892d
commit
3b0ab0d78f
@ -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 = `${
|
||||||
|
Loading…
Reference in New Issue
Block a user