Commit 43027652 authored by co_dengxiongwen's avatar co_dengxiongwen

错别字

parent eb51ab51
...@@ -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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment