Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
E
energyai_vue
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
葛齐林
energyai_vue
Commits
43027652
Commit
43027652
authored
Apr 08, 2021
by
co_dengxiongwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
错别字
parent
eb51ab51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
74 additions
and
77 deletions
+74
-77
index.vue
src/pages/kb/indoor/index.vue
+74
-77
No files found.
src/pages/kb/indoor/index.vue
View file @
43027652
...
@@ -33,7 +33,7 @@ card-warp(title="室内气象数据" height='45px' showBackground )
...
@@ -33,7 +33,7 @@ card-warp(title="室内气象数据" height='45px' showBackground )
el-table-column(:resizable="false" prop='visitorId' header-align='center' align='center' width='240' label='设备编号')
el-table-column(:resizable="false" prop='visitorId' header-align='center' align='center' width='240' label='设备编号')
el-table-column(:resizable="false" prop='visitorId' header-align='center' align='center' width='240' label='设备名称')
el-table-column(:resizable="false" prop='visitorId' header-align='center' align='center' width='240' label='设备名称')
el-table-column(:resizable="false" prop='visitorId' header-align='center' align='center' width='240' label='温度(℃)')
el-table-column(:resizable="false" prop='visitorId' header-align='center' align='center' width='240' label='温度(℃)')
el-table-column(:resizable="false" prop='visitorId' header-align='center' align='center' label='
混
度(%RH)')
el-table-column(:resizable="false" prop='visitorId' header-align='center' align='center' label='
湿
度(%RH)')
el-table-column(:resizable="false" prop='visitorId' header-align='center' align='center' )
el-table-column(:resizable="false" prop='visitorId' header-align='center' align='center' )
span(slot='header')
span(slot='header')
span CO
span CO
...
@@ -54,96 +54,93 @@ import tablePagination from '@/pages/components/tablePagination'
...
@@ -54,96 +54,93 @@ import tablePagination from '@/pages/components/tablePagination'
import
history
from
'./history'
import
history
from
'./history'
export
default
{
export
default
{
components
:
{
components
:
{
tablePagination
,
tablePagination
,
history
history
},
},
data
()
{
data
()
{
return
{
return
{
historyVisible
:
false
,
historyVisible
:
false
,
activeName
:
'1'
,
activeName
:
'1'
,
dataList
:
[{
id
:
1
}],
dataList
:
[{
id
:
1
}],
dataListLoading
:
false
,
dataListLoading
:
false
,
pageSize
:
50
,
pageSize
:
50
,
totalPage
:
0
totalPage
:
0
}
}
},
methods
:
{
tabClick
(
tab
,
event
)
{
console
.
log
(
tab
,
event
)
},
},
methods
:
{
getDataList
()
{},
tabClick
(
tab
,
event
)
{
showParams
(
data
,
type
)
{
console
.
log
(
tab
,
event
)
console
.
log
(
111
)
},
this
.
historyVisible
=
true
getDataList
()
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
history
.
init
(
data
,
type
)
},
})
showParams
(
data
,
type
)
{
console
.
log
(
111
)
this
.
historyVisible
=
true
this
.
$nextTick
(()
=>
{
this
.
$refs
.
history
.
init
(
data
,
type
)
})
}
}
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.myTabs
{
.myTabs
{
/
deep
/ .
el-tabs__nav-wrap
:
:
after
{
/
deep
/ .
el-tabs__nav-wrap
:
:
after
{
height
:
0
;
height
:
0
;
}
}
/
deep
/
.el-tabs__nav-wrap
{
/
deep
/
.el-tabs__nav-wrap
{
background
:
#f2f4f5
;
background
:
#f2f4f5
;
.el-tabs__nav
{
.el-tabs__nav
{
// background: #E5E9EC;
// background: #E5E9EC;
border-bottom
:
1px
solid
#e5e9ec
;
border-bottom
:
1px
solid
#e5e9ec
;
}
}
/
deep
/
.el-tabs__header
{
border
:
1px
solid
#e5e9ec
;
}
}
/
deep
/
.el-tabs__item
:nth-child
(
2
)
{
}
padding
:
0
20px
;
/
deep
/
.el-tabs__header
{
}
border
:
1px
solid
#e5e9ec
;
/
deep
/
.el-tabs__item
:last-child
{
}
padding
:
0
20px
;
/
deep
/
.el-tabs__item
:nth-child
(
2
)
{
padding
:
0
20px
;
}
/
deep
/
.el-tabs__item
:last-child
{
padding
:
0
20px
;
}
/
deep
/
.el-tabs__item.is-active
{
background
:
#fff
;
}
}
.data-warp
{
display
:
flex
;
justify-content
:
space-between
;
text-align
:
center
;
margin-bottom
:
20px
;
.data-item
{
width
:
32%
;
height
:
153px
;
background
:
#ffffff
;
border
:
1px
solid
#ececec
;
box-shadow
:
0px
0px
10px
0px
rgba
(
0
,
0
,
0
,
0
.08
);
.type
{
font-size
:
18px
;
font-family
:
Microsoft
YaHei
;
font-weight
:
400
;
color
:
#333333
;
padding-top
:
38px
;
}
}
/
deep
/
.el-tabs__item.is-active
{
.num
{
background
:
#fff
;
font-size
:
36px
;
font-family
:
PingFang
SC
;
font-weight
:
600
;
color
:
#21acfc
;
padding-top
:
12px
;
}
}
}
.unit
{
.data-warp
{
height
:
15px
;
display
:
flex
;
font-size
:
18px
;
justify-content
:
space-between
;
font-family
:
Microsoft
YaHei
;
text-align
:
center
;
font-weight
:
400
;
margin-bottom
:
20px
;
.data-item
{
width
:
32%
;
height
:
153px
;
background
:
#FFFFFF
;
border
:
1px
solid
#ECECEC
;
box-shadow
:
0px
0px
10px
0px
rgba
(
0
,
0
,
0
,
0
.08
);
.type
{
font-size
:
18px
;
font-family
:
Microsoft
YaHei
;
font-weight
:
400
;
color
:
#333333
;
padding-top
:
38px
;
}
.num
{
font-size
:
36px
;
font-family
:
PingFang
SC
;
font-weight
:
600
;
color
:
#21ACFC
;
padding-top
:
12px
;
}
.unit
{
height
:
15px
;
font-size
:
18px
;
font-family
:
Microsoft
YaHei
;
font-weight
:
400
;
}
}
}
}
}
}
</
style
>
</
style
>
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