记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
2e29584a
Commit
2e29584a
authored
Aug 18, 2026
by
wangyifan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
admin-设置新版banner 提示、大小限制
parent
2822d4ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
topBanner.html
...resources/templates/zhengzai/store/homeSet/topBanner.html
+7
-4
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/homeSet/topBanner.html
View file @
2e29584a
...
...
@@ -198,7 +198,7 @@
type
=
3
;
$
(
"#tags"
).
show
();
$
(
"#activeTags"
).
hide
();
$
(
"#tall"
).
html
(
'
新版顶部BANNER(bannerType=3)
'
);
$
(
"#tall"
).
html
(
'
(最多允许添加10张图,宽度为764像素,高度为192像素,宽高比4:1)
'
);
}
else
{
type
=
1
;
$
(
"#tags"
).
show
();
...
...
@@ -562,12 +562,12 @@
autoReplace
:
true
,
minImageWidth
:
'764'
,
maxImageWidth
:
'764'
,
minImageHeight
:
'1018'
,
maxImageHeight
:
'1018'
,
minImageHeight
:
type
==
3
?
'192'
:
'1018'
,
maxImageHeight
:
type
==
3
?
'192'
:
'1018'
,
previewSettings
:
{
image
:
{
width
:
'764px'
,
height
:
'1018px'
height
:
type
==
3
?
'192px'
:
'1018px'
}
},
dropZoneTitle
:
"请上传文件"
,
...
...
@@ -583,6 +583,9 @@
console
.
log
(
$
(
"#testImg"
).
height
(),
$
(
"#testImg"
).
width
())
if
(
$
(
"#testImg"
).
height
()
!=
1018
)
return
layer
.
msg
(
'图片规格不符合要求'
);
if
(
$
(
"#testImg"
).
width
()
!=
764
)
return
layer
.
msg
(
'图片规格不符合要求'
);
}
else
if
(
type
==
3
)
{
if
(
$
(
"#testImg"
).
width
()
!=
764
)
return
layer
.
msg
(
'图片规格不符合要求,需764×192'
);
if
(
$
(
"#testImg"
).
height
()
!=
192
)
return
layer
.
msg
(
'图片规格不符合要求,需764×192'
);
}
else
{
if
(
$
(
"#testImg"
).
width
()
!=
382
)
return
layer
.
msg
(
'图片规格不符合要求'
);
}
...
...
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