Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
3
3DWeb
Project
Project
Details
Activity
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
cms-cyx-永祥
3DWeb
Commits
04bf9251
Commit
04bf9251
authored
May 30, 2022
by
lixiaoyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add隐藏看板
parent
231752e3
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
1 deletion
+45
-1
index.css
css/index.css
+28
-0
hide.png
imgs/hide.png
+0
-0
show.png
imgs/show.png
+0
-0
index.html
index.html
+17
-1
No files found.
css/index.css
View file @
04bf9251
...
...
@@ -55,6 +55,34 @@ body {
box-sizing
:
border-box
;
}
.view-btn
{
position
:
absolute
;
top
:
80px
;
background-color
:
#283963
;
width
:
30px
;
height
:
30px
;
border
:
2px
solid
#4270e4
;
cursor
:
pointer
;
border-radius
:
4px
;
}
.view-btn
>
.icon
{
width
:
20px
;
height
:
20px
;
margin
:
5px
;
background
:
url(../imgs/hide.png)
no-repeat
;
background-size
:
100%
;
}
.view-btn.btn-active
>
.icon
{
background
:
url(../imgs/show.png)
no-repeat
;
background-size
:
100%
;
}
.view-btn.view-btn_left
{
left
:
5px
;
}
.view-btn.view-btn_right
{
right
:
5px
;
}
.view
{
width
:
320px
;
height
:
85%
;
...
...
imgs/hide.png
0 → 100644
View file @
04bf9251
2.15 KB
imgs/show.png
0 → 100644
View file @
04bf9251
1.48 KB
index.html
View file @
04bf9251
...
...
@@ -282,7 +282,7 @@
</thead>
</table>
<div
style=
"height: 270px;overflow: auto;"
>
<table
style=
""
>
<table>
<colgroup>
<col
style=
"width: 110px;"
>
<col
style=
"width: 150px;"
>
...
...
@@ -372,6 +372,9 @@
<div
class=
"main_header"
>
实时生产预警和安全预警
</div>
<div
id=
"webgl-output"
></div>
<!-- 左右两侧内容 -->
<div
class=
"view-btn view-btn_left btn-active"
>
<div
class=
"icon"
></div>
</div>
<div
class=
"view view_left"
>
<div
class=
"item"
>
<div
class=
"item_header"
>
...
...
@@ -415,6 +418,9 @@
<div
class=
"item_wrap"
id=
"torque"
></div>
</div>
</div>
<div
class=
"view-btn view-btn_right btn-active"
>
<div
class=
"icon"
></div>
</div>
<div
class=
"view view_right"
>
<div
class=
"item"
>
<div
class=
"item_header"
>
...
...
@@ -481,6 +487,16 @@
}]
var
twotable
=
[]
var
oldvararr
=
[]
$
(
".view-btn_left"
).
click
(
function
(){
let
viewDis
=
$
(
".view_left"
).
css
(
'display'
)
$
(
".view_left"
).
css
(
'display'
,
viewDis
===
'none'
?
'flex'
:
'none'
)
$
(
".view-btn_left"
).
toggleClass
(
'btn-active'
)
})
$
(
".view-btn_right"
).
click
(
function
(){
let
viewDis
=
$
(
".view_right"
).
css
(
'display'
)
$
(
".view_right"
).
css
(
'display'
,
viewDis
===
'none'
?
'flex'
:
'none'
)
$
(
".view-btn_right"
).
toggleClass
(
'btn-active'
)
})
</script>
<script
src=
"./new_file.js"
></script>
<script>
new
Ripple
({
...
...
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