Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3b0ab0d7
authored
May 01, 2025
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:【商城】店铺装修-优惠劵:phoneWidth * 0.96 改成 * 1,避免左右边距不太对(不铺满)
parent
73c66589
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/components/DiyEditor/components/mobile/CouponCard/index.vue
+1
-1
No files found.
src/components/DiyEditor/components/mobile/CouponCard/index.vue
View file @
3b0ab0d7
...
@@ -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
=
`
${
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment