Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
‘superliu’
3 years ago
Commit
35b2b270bcf3104663812c91e0aefa79aa26500f
1 parent
a7a14d92
杭州-故障弹框-样式修改
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
hg-monitor-web-base/src/main/resources/static/src/lib/extend/msgTips.js
hg-monitor-web-base/src/main/resources/static/src/lib/extend/msgTips.js
View file @
35b2b27
...
...
@@ -138,7 +138,10 @@ layui.define(['layer', 'laytpl', 'form'], function (exports) {
$
(
newContainer
).
addClass
(
'active length1'
);
break
;
}
else
if
(
!
$
(
'.fault_ez_tips'
).
hasClass
(
'length'
+
(
i
+
1
)))
{
$
(
newContainer
).
css
(
lastDirection
,
i
*
height
+
options
.
space
*
i
+
options
.
firstSpace
+
'px'
);
$
(
newContainer
).
css
(
lastDirection
,
30
+
options
.
space
*
i
+
options
.
firstSpace
+
'px'
);
var
rightVal
=
parseInt
(
$
(
newContainer
).
css
(
'right'
).
split
(
'px'
)[
0
]);
// $(newContainer).css('right',30 + rightVal + 'px');
$
(
newContainer
).
css
(
'right'
,
30
*
i
+
'px'
);
$
(
newContainer
).
addClass
(
'active length'
+
(
i
+
1
));
break
;
// break一定要加,否则每次点击都会循环到结束,导致一个目标div可能同时有length1 length2.....等多个类名
}
...
...
Please
register
or
login
to post a comment