Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
glsx-AIot-website
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9dd5edfa
authored
Jan 29, 2021
by
liwk
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
39bf218c
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
42 additions
and
34 deletions
css/common.css
css/common.scss
css/index.css
css/index.scss
images/logo.png
images/off_on.png
index.html
css/common.css
View file @
9dd5edf
img
{
width
:
100%
;
height
:
100%
;
vertical-align
:
top
}
a
{
text-decoration
:
none
}
::-webkit-scrollbar-track-piece
{
background-color
:
#fff
}
::-webkit-scrollbar
{
width
:
6px
;
height
:
6px
}
::-webkit-scrollbar-thumb
{
background-color
:
#c2c2c2
;
background-clip
:
padding-box
;
min-height
:
28px
}
::-webkit-scrollbar-thumb:hover
{
background-color
:
#a0a0a0
}
.flex-center
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
}
.wrapper
{
margin
:
0
auto
}
.header
{
width
:
100%
;
background-color
:
#
202020
;
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.05
);
color
:
#fff
}
.header
.wrapper
{
height
:
80px
;
display
:
flex
;
justify-content
:
space-between
}
.header
.wrapper
.logo
{
font-size
:
30px
;
height
:
100%
;
display
:
flex
;
align-items
:
center
;
letter-spacing
:
-0.72px
;
padding-left
:
110px
}
.header
.wrapper
.control
{
display
:
flex
;
justify-content
:
flex-end
;
align-items
:
center
;
font-size
:
22px
;
margin-right
:
96px
}
.header
.wrapper
.control
a
{
color
:
#fff
}
.header
.wrapper
.control
.tabs
{
display
:
flex
;
align-items
:
center
}
.header
.wrapper
.control
.tabs
.tab
{
background
:
#008BF4
}
.header
.wrapper
.control
.item
{
width
:
120px
;
height
:
40px
;
box-sizing
:
border-box
;
border
:
1px
solid
#008BF4
}
.header
.wrapper
.control-btn
{
margin-left
:
52
px
}
.header
.wrapper
.control-btn
a
{
color
:
#008BF4
}
.page
{
max-width
:
980px
;
padding
:
0
0
100px
40px
}
.page
.title
{
padding
:
39px
0
20px
0
;
border-bottom
:
1px
solid
#999999
;
font-size
:
22px
;
color
:
#008BF4
;
letter-spacing
:
-0.53px
;
font-weight
:
700
;
position
:
sticky
;
top
:
0
;
z-index
:
99
;
background
:
#fff
}
.page
.page-main
{
padding-top
:
30px
}
.page
.page-main
.sub-title
{
font-size
:
16px
;
color
:
#333333
;
margin
:
10px
0
}
.page
.page-main
.text
{
font-size
:
14px
;
color
:
#999999
}
.page
.page-main
pre
{
padding
:
30px
0
;
background
:
#F7F7F7
;
border-left
:
5px
solid
#D6D6D6
;
font-size
:
14px
;
color
:
#999999
;
white-space
:
pre-wrap
;
white-space
:
-moz-pre-wrap
;
white-space
:
-pre-wrap
;
white-space
:
-o-pre-wrap
;
word-wrap
:
break-word
}
.page
.page-main
pre
div
{
padding-left
:
30px
}
.page
.page-main
.table
{
width
:
100%
;
display
:
grid
;
box-sizing
:
border-box
;
border
:
1px
solid
#979797
;
grid-template-rows
:
40px
1
fr
}
.page
.page-main
.table
.thead
,
.page
.page-main
.table
.tr
{
border-bottom
:
1px
solid
#979797
}
.page
.page-main
.table
.tbody
{
display
:
grid
}
.page
.page-main
.table
.tbody
.tr
:last-of-type
{
border-bottom
:
none
}
.page
.page-main
.table
.tbody
.td
:last-of-type
{
padding
:
10px
20px
}
.page
.page-main
.table
.thead
,
.page
.page-main
.table
.tr
{
display
:
grid
;
height
:
100%
}
.page
.page-main
.table
.td
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
border-right
:
1px
solid
#979797
}
.page
.page-main
.table
.tr
.td
:last-of-type
,
.page
.page-main
.table
.thead
.td
:last-of-type
{
border-right
:
none
;
justify-content
:
left
;
padding-left
:
20px
}
.page
.page-main
.row-1
{
grid-template-rows
:
repeat
(
1
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-2
{
grid-template-rows
:
repeat
(
2
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-3
{
grid-template-rows
:
repeat
(
3
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-4
{
grid-template-rows
:
repeat
(
4
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-5
{
grid-template-rows
:
repeat
(
5
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-6
{
grid-template-rows
:
repeat
(
6
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-7
{
grid-template-rows
:
repeat
(
7
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-8
{
grid-template-rows
:
repeat
(
8
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-9
{
grid-template-rows
:
repeat
(
9
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-10
{
grid-template-rows
:
repeat
(
10
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-11
{
grid-template-rows
:
repeat
(
11
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-12
{
grid-template-rows
:
repeat
(
12
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-13
{
grid-template-rows
:
repeat
(
13
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-14
{
grid-template-rows
:
repeat
(
14
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-15
{
grid-template-rows
:
repeat
(
15
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-16
{
grid-template-rows
:
repeat
(
16
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-17
{
grid-template-rows
:
repeat
(
17
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-18
{
grid-template-rows
:
repeat
(
18
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-19
{
grid-template-rows
:
repeat
(
19
,
minmax
(
40px
,
1
fr
))}
.thead-4
,
.thead-4
~
.tbody
.tr
{
grid-template-columns
:
100px
100px
100px
1
fr
}
.thead-3
,
.thead-3
~
.tbody
.tr
{
grid-template-columns
:
100px
200px
1
fr
}
img
{
width
:
100%
;
height
:
100%
;
vertical-align
:
top
}
a
{
text-decoration
:
none
}
::-webkit-scrollbar-track-piece
{
background-color
:
#fff
}
::-webkit-scrollbar
{
width
:
6px
;
height
:
6px
}
::-webkit-scrollbar-thumb
{
background-color
:
#c2c2c2
;
background-clip
:
padding-box
;
min-height
:
28px
}
::-webkit-scrollbar-thumb:hover
{
background-color
:
#a0a0a0
}
.flex-center
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
}
.wrapper
{
margin
:
0
auto
}
.header
{
width
:
100%
;
background-color
:
#
F6F6F8
;
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.05
);
color
:
#fff
}
.header
.wrapper
{
height
:
42px
;
display
:
flex
;
justify-content
:
space-between
}
.header
.wrapper
.logo
{
display
:
flex
;
align-items
:
center
;
margin-left
:
85px
}
.header
.wrapper
.logo
img
{
width
:
94px
;
height
:
22px
}
.header
.wrapper
.control
{
display
:
flex
;
justify-content
:
flex-end
;
align-items
:
center
;
font-size
:
12px
;
margin-right
:
85px
}
.header
.wrapper
.control
a
{
color
:
#fff
}
.header
.wrapper
.control
.tabs
{
display
:
flex
;
align-items
:
center
}
.header
.wrapper
.control
.tabs
.tab
{
background
:
#008BF4
}
.header
.wrapper
.control
.item
{
width
:
72px
;
height
:
28px
;
box-sizing
:
border-box
;
border
:
1px
solid
#008BF4
;
border-radius
:
14px
}
.header
.wrapper
.control-btn
{
margin-left
:
24
px
}
.header
.wrapper
.control-btn
a
{
color
:
#008BF4
}
.page
{
max-width
:
980px
;
padding
:
0
0
100px
40px
}
.page
.title
{
padding
:
39px
0
20px
0
;
border-bottom
:
1px
solid
#999999
;
font-size
:
22px
;
color
:
#008BF4
;
letter-spacing
:
-0.53px
;
font-weight
:
700
;
position
:
sticky
;
top
:
0
;
z-index
:
99
;
background
:
#fff
}
.page
.page-main
{
padding-top
:
30px
}
.page
.page-main
.sub-title
{
font-size
:
16px
;
color
:
#333333
;
margin
:
10px
0
}
.page
.page-main
.text
{
font-size
:
14px
;
color
:
#999999
}
.page
.page-main
pre
{
padding
:
30px
0
;
background
:
#F7F7F7
;
border-left
:
5px
solid
#D6D6D6
;
font-size
:
14px
;
color
:
#999999
;
white-space
:
pre-wrap
;
white-space
:
-moz-pre-wrap
;
white-space
:
-pre-wrap
;
white-space
:
-o-pre-wrap
;
word-wrap
:
break-word
}
.page
.page-main
pre
div
{
padding-left
:
30px
}
.page
.page-main
.table
{
width
:
100%
;
display
:
grid
;
box-sizing
:
border-box
;
border
:
1px
solid
#979797
;
grid-template-rows
:
40px
1
fr
}
.page
.page-main
.table
.thead
,
.page
.page-main
.table
.tr
{
border-bottom
:
1px
solid
#979797
}
.page
.page-main
.table
.tbody
{
display
:
grid
}
.page
.page-main
.table
.tbody
.tr
:last-of-type
{
border-bottom
:
none
}
.page
.page-main
.table
.tbody
.td
:last-of-type
{
padding
:
10px
20px
}
.page
.page-main
.table
.thead
,
.page
.page-main
.table
.tr
{
display
:
grid
;
height
:
100%
}
.page
.page-main
.table
.td
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
border-right
:
1px
solid
#979797
}
.page
.page-main
.table
.tr
.td
:last-of-type
,
.page
.page-main
.table
.thead
.td
:last-of-type
{
border-right
:
none
;
justify-content
:
left
;
padding-left
:
20px
}
.page
.page-main
.row-1
{
grid-template-rows
:
repeat
(
1
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-2
{
grid-template-rows
:
repeat
(
2
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-3
{
grid-template-rows
:
repeat
(
3
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-4
{
grid-template-rows
:
repeat
(
4
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-5
{
grid-template-rows
:
repeat
(
5
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-6
{
grid-template-rows
:
repeat
(
6
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-7
{
grid-template-rows
:
repeat
(
7
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-8
{
grid-template-rows
:
repeat
(
8
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-9
{
grid-template-rows
:
repeat
(
9
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-10
{
grid-template-rows
:
repeat
(
10
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-11
{
grid-template-rows
:
repeat
(
11
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-12
{
grid-template-rows
:
repeat
(
12
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-13
{
grid-template-rows
:
repeat
(
13
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-14
{
grid-template-rows
:
repeat
(
14
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-15
{
grid-template-rows
:
repeat
(
15
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-16
{
grid-template-rows
:
repeat
(
16
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-17
{
grid-template-rows
:
repeat
(
17
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-18
{
grid-template-rows
:
repeat
(
18
,
minmax
(
40px
,
1
fr
))}
.page
.page-main
.row-19
{
grid-template-rows
:
repeat
(
19
,
minmax
(
40px
,
1
fr
))}
.thead-4
,
.thead-4
~
.tbody
.tr
{
grid-template-columns
:
100px
100px
100px
1
fr
}
.thead-3
,
.thead-3
~
.tbody
.tr
{
grid-template-columns
:
100px
200px
1
fr
}
css/common.scss
View file @
9dd5edf
$windowWidth
:
1220px
;
$windowWidth
:
1220px
;
$navHeight
:
80
px
;
$navHeight
:
42
px
;
img
{
img
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
...
@@ -42,7 +42,8 @@ a {
...
@@ -42,7 +42,8 @@ a {
.header
{
.header
{
width
:
100%
;
width
:
100%
;
background-color
:
#202020
;
background-color
:
#F6F6F8
;
;
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.05
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
.05
);
color
:
#fff
;
color
:
#fff
;
.wrapper
{
.wrapper
{
...
@@ -50,19 +51,20 @@ a {
...
@@ -50,19 +51,20 @@ a {
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
.logo
{
.logo
{
font-size
:
30px
;
height
:
100%
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
letter-spacing
:
-0
.72px
;
margin-left
:
85px
;
padding-left
:
110px
;
img
{
width
:
94px
;
height
:
22px
;
}
}
}
.control
{
.control
{
display
:
flex
;
display
:
flex
;
justify-content
:
flex-end
;
justify-content
:
flex-end
;
align-items
:
center
;
align-items
:
center
;
font-size
:
2
2px
;
font-size
:
1
2px
;
margin-right
:
96
px
;
margin-right
:
85
px
;
a
{
a
{
color
:
#fff
;
color
:
#fff
;
}
}
...
@@ -74,13 +76,14 @@ a {
...
@@ -74,13 +76,14 @@ a {
}
}
}
}
.item
{
.item
{
width
:
120
px
;
width
:
72
px
;
height
:
40
px
;
height
:
28
px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
border
:
1px
solid
#008BF4
;
border
:
1px
solid
#008BF4
;
border-radius
:
14px
;
}
}
&
-btn
{
&
-btn
{
margin-left
:
52
px
;
margin-left
:
24
px
;
a
{
a
{
color
:
#008BF4
;
color
:
#008BF4
;
}
}
...
...
css/index.css
View file @
9dd5edf
.main
{
display
:
grid
;
grid-template-columns
:
297px
1
fr
;
height
:
calc
(
100vh
-
80px
)}
.main
.tabs
{
background
:
#202020
;
overflow-y
:
scroll
;
color
:
#fff
;
user-select
:
none
}
.main
.tabs
.title
{
border-bottom
:
1px
solid
#FDFEFF
;
height
:
49px
;
line-height
:
49px
;
text-indent
:
40px
;
font-size
:
22px
}
.main
.tabs
.tab-text
{
display
:
flex
;
align-items
:
center
;
padding-left
:
20px
;
height
:
50px
;
line-height
:
50px
}
.main
.tabs
.tab-text
:hover
{
cursor
:
pointer
}
.main
.tabs
.tab-text
.icon
{
width
:
7px
;
height
:
12px
;
margin-right
:
8px
;
transition
:
all
.5s
}
.main
.tabs
.tab
.item-list
{
display
:
none
}
.main
.tabs
.tab
.on
.icon
{
transform
:
rotate
(
90deg
)}
.main
.tabs
.tab
.on
~
.item-list
{
display
:
block
}
.main
.tabs
.tab
.item
{
height
:
50px
;
line-height
:
50px
;
padding-left
:
60px
;
font-size
:
14px
}
.main
.tabs
.tab
.item
:hover
{
cursor
:
pointer
;
background
:
#008BF4
}
.main
.tabs
.tab
.active
{
background
:
#008BF4
}
.main
.content
{
overflow-y
:
scroll
}
.main
{
display
:
grid
;
grid-template-columns
:
minmax
(
330px
,
22.9%
)
1
fr
;
height
:
calc
(
100vh
-
42px
)}
.main
.tabs
{
overflow-y
:
scroll
;
font-size
:
16px
;
color
:
#1F1F1F
;
user-select
:
none
;
background
:
#FFFFFF
;
border
:
1px
solid
#EEEEEE
;
box-sizing
:
border-box
}
.main
.tabs-box
{
padding
:
0
20px
40px
84px
}
.main
.tabs-box
.tab-text
{
display
:
flex
;
align-items
:
center
;
padding-left
:
20px
;
height
:
40px
;
line-height
:
40px
;
color
:
#008BF4
;
font-weight
:
700
}
.main
.tabs-box
.tab-text
:hover
{
cursor
:
pointer
}
.main
.tabs-box
.tab-text
.icon
{
width
:
10px
;
height
:
28px
;
margin-right
:
8px
;
transition
:
all
.5s
}
.main
.tabs-box
.tab
.item-list
{
display
:
none
}
.main
.tabs-box
.tab
.on
.icon
{
transform
:
rotate
(
90deg
)}
.main
.tabs-box
.tab
.on
~
.item-list
{
display
:
block
}
.main
.tabs-box
.tab
.item
{
height
:
50px
;
line-height
:
50px
;
padding-left
:
40px
;
font-size
:
14px
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
}
.main
.tabs-box
.tab
.item
:hover
{
cursor
:
pointer
;
background
:
#EEEEEE
;
border-radius
:
20px
}
.main
.tabs-box
.tab
.active
{
background
:
#EEEEEE
;
border-radius
:
20px
}
.main
.content
{
overflow-y
:
scroll
}
css/index.scss
View file @
9dd5edf
.main
{
.main
{
display
:
grid
;
display
:
grid
;
grid-template-columns
:
297px
1fr
;
grid-template-columns
:
minmax
(
330px
,
22
.9%
)
1fr
;
height
:
calc
(
100vh
-
80
px
);
height
:
calc
(
100vh
-
42
px
);
.tabs
{
.tabs
{
background
:
#202020
;
overflow-y
:
scroll
;
overflow-y
:
scroll
;
color
:
#fff
;
font-size
:
16px
;
color
:
#1F1F1F
;
user-select
:
none
;
user-select
:
none
;
.title
{
background
:
#FFFFFF
;
border-bottom
:
1px
solid
#FDFEFF
;
border
:
1px
solid
#EEEEEE
;
height
:
49px
;
box-sizing
:
border-box
;
line-height
:
49px
;
&
-box
{
text-indent
:
40px
;
padding
:
0
20px
40px
84px
;
font-size
:
22px
;
}
.tab
{
.tab
{
&
-text
{
&
-text
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
padding-left
:
20px
;
padding-left
:
20px
;
height
:
50px
;
height
:
40px
;
line-height
:
50px
;
line-height
:
40px
;
color
:
#008BF4
;
font-weight
:
700
;
&
:hover
{
&
:hover
{
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.icon
{
.icon
{
width
:
7
px
;
width
:
10
px
;
height
:
12
px
;
height
:
28
px
;
margin-right
:
8px
;
margin-right
:
8px
;
transition
:
all
.5s
;
transition
:
all
.5s
;
}
}
...
@@ -45,15 +45,21 @@
...
@@ -45,15 +45,21 @@
.item
{
.item
{
height
:
50px
;
height
:
50px
;
line-height
:
50px
;
line-height
:
50px
;
padding-left
:
6
0px
;
padding-left
:
4
0px
;
font-size
:
14px
;
font-size
:
14px
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
&
:hover
{
&
:hover
{
cursor
:
pointer
;
cursor
:
pointer
;
background
:
#008BF4
;
background
:
#EEEEEE
;
border-radius
:
20px
;
}
}
}
}
.active
{
.active
{
background
:
#008BF4
;
background
:
#EEEEEE
;
border-radius
:
20px
;
}
}
}
}
}
}
}
...
...
images/logo.png
0 → 100644
View file @
9dd5edf
7.22 KB
images/off_on.png
View file @
9dd5edf
406 Bytes
|
W:
|
H:
290 Bytes
|
W:
|
H:
2-up
Swipe
Onion skin
index.html
View file @
9dd5edf
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<div
class=
"header"
>
<div
class=
"header"
>
<div
class=
"wrapper"
>
<div
class=
"wrapper"
>
<div
class=
"logo"
>
<div
class=
"logo"
>
轨交物联云
<img
src=
"./images/logo.png"
alt=
"车家物联"
>
</div>
</div>
<div
class=
"control"
>
<div
class=
"control"
>
<div
class=
"tabs"
>
<div
class=
"tabs"
>
...
@@ -30,14 +30,13 @@
...
@@ -30,14 +30,13 @@
</div>
</div>
</div>
</div>
<div
class=
"control-btn item flex-center "
>
<div
class=
"control-btn item flex-center "
>
<a
href=
""
>
控制台
</a>
<a
href=
"
http://aiot.glsx.com.cn/AIoT-developer/#/login"
target=
"_blank
"
>
控制台
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"main"
>
<div
class=
"main"
>
<div
class=
"tabs"
>
<div
class=
"tabs"
>
<div
class=
"title"
>
文档中心
</div>
<ul
class=
"tabs-box"
>
<ul
class=
"tabs-box"
>
<li
class=
"tab"
>
<li
class=
"tab"
>
<div
class=
"tab-text on"
>
<div
class=
"tab-text on"
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment