This commit is contained in:
2023-12-29 09:26:07 +08:00
parent 9690ab4f70
commit 35bcb23920
23 changed files with 809 additions and 282 deletions

View File

@@ -31,8 +31,8 @@
justify-content: space-between;
">
<SelectorBtnGroup
:options="['电耗能', '天然气I', '天然气II']" />
<SelectorBtnGroup :options="['周', '月', '年']" />
:options="['电耗能', '天然气I', '天然气II']" @emitFun='toggleType'/>
<SelectorBtnGroup :options="['周', '月', '年']" @emitFun='toggleDate'/>
</div>
<div class="chart" style="height: 200px; margin-top: 8px;">
<GasChart />
@@ -65,7 +65,16 @@ export default {
return {};
},
computed: {},
methods: {},
methods: {
// 切换能源
toggleType() {
},
// 切换时间
toggleDate() {
}
},
};
</script>