Skip to content

Commit 3b0ab0d

Browse files
committed
feat:【商城】店铺装修-优惠劵:phoneWidth * 0.96 改成 * 1,避免左右边距不太对(不铺满)
1 parent 73c6658 commit 3b0ab0d

File tree

1 file changed

+1
-1
lines changed
  • src/components/DiyEditor/components/mobile/CouponCard

1 file changed

+1
-1
lines changed

src/components/DiyEditor/components/mobile/CouponCard/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ watch(
124124
() => {
125125
// 每列的宽度为:(总宽度 - 间距 * (列数 - 1))/ 列数
126126
couponWidth.value =
127-
(phoneWidth.value * 0.95 - props.property.space * (props.property.columns - 1)) /
127+
(phoneWidth.value - props.property.space * (props.property.columns - 1)) /
128128
props.property.columns
129129
// 显示滚动条
130130
scrollbarWidth.value = `${

0 commit comments

Comments
 (0)