Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gk
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
micro_app
gk
Commits
c1aec8ae
Commit
c1aec8ae
authored
Aug 12, 2025
by
daniel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(index): 首页的弹框位置调整
parent
9f557bc0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
index.js
src/main/webapp/static/js/index.js
+1
-5
No files found.
src/main/webapp/static/js/index.js
View file @
c1aec8ae
...
@@ -133,12 +133,8 @@ function cmptBgColorChange() {
...
@@ -133,12 +133,8 @@ function cmptBgColorChange() {
function
changeLogoImg
(
imgDomNName
,
inputDomName
,
top
,
left
,
width
,
height
)
{
function
changeLogoImg
(
imgDomNName
,
inputDomName
,
top
,
left
,
width
,
height
)
{
var
reads
=
new
FileReader
();
var
reads
=
new
FileReader
();
logoFile
=
document
.
getElementById
(
inputDomName
).
files
[
0
];
logoFile
=
document
.
getElementById
(
inputDomName
).
files
[
0
];
if
(
logoFile
.
fileSize
/
1000
>
500
)
{
layer
.
msg
(
'上传的图片文件不能超过500KB。'
,
{
icon
:
5
,
time
:
1500
});
return
;
}
if
(
logoFile
.
size
/
1000
>
500
)
{
if
(
logoFile
.
size
/
1000
>
500
)
{
layer
.
alert
(
'上传的图片文件不能超过500KB。'
,
{
icon
:
5
});
layer
.
alert
(
'上传的图片文件不能超过500KB。'
,
{
icon
:
5
,
offset
:
[
'100px'
,
'50%'
]
});
return
;
return
;
}
}
reads
.
readAsDataURL
(
logoFile
);
reads
.
readAsDataURL
(
logoFile
);
...
...
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