Commit 43027652 authored by co_dengxiongwen's avatar co_dengxiongwen

错别字

parent eb51ab51
......@@ -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' 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' )
span(slot='header')
span CO
......@@ -54,96 +54,93 @@ import tablePagination from '@/pages/components/tablePagination'
import history from './history'
export default {
components: {
components: {
tablePagination,
history
},
data() {
return {
historyVisible: false,
activeName: '1',
dataList: [{ id: 1 }],
dataListLoading: false,
pageSize: 50,
totalPage: 0
}
data() {
return {
historyVisible: false,
activeName: '1',
dataList: [{ id: 1 }],
dataListLoading: false,
pageSize: 50,
totalPage: 0
}
},
methods: {
tabClick(tab, event) {
console.log(tab, event)
},
methods: {
tabClick(tab, event) {
console.log(tab, event)
},
getDataList() {
},
showParams(data, type) {
console.log(111)
this.historyVisible = true
this.$nextTick(() => {
this.$refs.history.init(data, type)
})
}
getDataList() {},
showParams(data, type) {
console.log(111)
this.historyVisible = true
this.$nextTick(() => {
this.$refs.history.init(data, type)
})
}
}
}
</script>
<style lang="scss" scoped>
.myTabs {
/deep/ .el-tabs__nav-wrap::after {
height: 0;
}
/deep/.el-tabs__nav-wrap {
background: #f2f4f5;
/deep/ .el-tabs__nav-wrap::after {
height: 0;
}
/deep/.el-tabs__nav-wrap {
background: #f2f4f5;
.el-tabs__nav {
// background: #E5E9EC;
border-bottom: 1px solid #e5e9ec;
}
}
/deep/ .el-tabs__header {
border: 1px solid #e5e9ec;
.el-tabs__nav {
// background: #E5E9EC;
border-bottom: 1px solid #e5e9ec;
}
/deep/ .el-tabs__item:nth-child(2) {
padding: 0 20px;
}
/deep/ .el-tabs__item:last-child {
padding: 0 20px;
}
/deep/ .el-tabs__header {
border: 1px solid #e5e9ec;
}
/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 {
background: #fff;
.num {
font-size: 36px;
font-family: PingFang SC;
font-weight: 600;
color: #21acfc;
padding-top: 12px;
}
}
.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;
}
.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;
}
.unit {
height: 15px;
font-size: 18px;
font-family: Microsoft YaHei;
font-weight: 400;
}
}
}
</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