对碳排管理进行优化

This commit is contained in:
fks-xuxinyue
2024-09-03 17:01:10 +08:00
parent 0c822e6d29
commit 117db1c400
15 changed files with 370 additions and 85 deletions

View File

@@ -103,7 +103,7 @@
});
} else if (key === '5') {
tabId.value = 7;
energyType.value = 'CARBON_EMISSIONS';
energyType.value = 'HEAT_SUPPLY';
energyTypeName.value = '供热量';
nextTick(() => {
if (carbonEmissionsRef.value) {
@@ -113,7 +113,7 @@
});
} else if (key === '6') {
tabId.value = 8;
energyType.value = 'HEAT_SUPPLY';
energyType.value = 'CARBON_EMISSIONS';
energyTypeName.value = '碳排量';
nextTick(() => {
if (provideHotRef.value) {
@@ -124,3 +124,27 @@
}
};
</script>
<style scoped lang="less">
:deep(.ant-tabs-ink-bar) {
height: 3px !important;
border-radius: 2px !important;
background: rgba(67, 136, 251, 1);
}
//table 颜色
:deep(.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn) {
font-size: 14px !important;
font-weight: bolb !important;
color: #333333 !important;
}
:deep(.ant-tabs-tab-btn) {
font-size: 14px !important;
color: #666666 !important;
}
:deep(.ant-tabs-content) {
height: 100%;
}
:deep(.ant-tabs-tabpane) {
height: 100%;
}
</style>