Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kanban-nanjing-11
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
caolun
kanban-nanjing-11
Commits
6e2f2e8c
Commit
6e2f2e8c
authored
Jun 14, 2024
by
lc0527
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工控屏展示调整
parent
c9539187
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
page1.html
page1.html
+4
-2
No files found.
page1.html
View file @
6e2f2e8c
...
@@ -171,6 +171,7 @@
...
@@ -171,6 +171,7 @@
<script>
<script>
let
timer
=
null
;
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
window
.
addEventListener
(
'
message
'
,
function
(
event
=
{})
{
window
.
addEventListener
(
'
message
'
,
function
(
event
=
{})
{
...
@@ -211,7 +212,8 @@
...
@@ -211,7 +212,8 @@
if
(
_data
.
message
.
jph
){
if
(
_data
.
message
.
jph
){
clearInterval
(
timer
);
clearInterval
(
timer
);
$
(
"
#stopwatch
"
).
css
(
"
color
"
,
"
white
"
);
$
(
"
#stopwatch_s
"
).
css
(
"
color
"
,
"
white
"
);
// 定义计时器开始的时间
// 定义计时器开始的时间
var
startTime
=
new
Date
().
getTime
();
var
startTime
=
new
Date
().
getTime
();
...
@@ -236,7 +238,7 @@
...
@@ -236,7 +238,7 @@
}
}
// 每秒钟更新一次计时器
// 每秒钟更新一次计时器
var
timer
=
setInterval
(
updateStopwatch
,
1000
);
timer
=
setInterval
(
updateStopwatch
,
1000
);
}
else
{
}
else
{
isNull
(
'
is-null-text-5
'
);
isNull
(
'
is-null-text-5
'
);
}
}
...
...
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