71 lines
1.4 KiB
Vue
Raw Normal View History

2022-10-17 10:13:22 +08:00
<template>
<!-- 空气分析 -->
<Card title="双碳管理">
<div class="contentBox">
<div class="leftWeather">
<div class="image"><img src="../assets/images/carbon/right1.png" /></div>
<div class="text"><p>今日发电</p></div>
<div class="bottomNumber"><span>259</span>kwh</div>
</div>
<div class="rightWeather">
<div class="image"><img src="@/views/projectAdmin/fourEngin/assets/images/carbon/sunnytwo.png" /></div>
<div class="text"><p>历史发电量</p></div>
<div class="bottomNumber"><span>17900</span>kwh</div>
</div>
2022-10-17 10:13:22 +08:00
</div>
</Card>
</template>
<script>
import Card from '../components/Card'
2022-10-17 10:13:22 +08:00
export default {
components: { Card },
2022-10-17 10:13:22 +08:00
data() {
return {}
2022-10-17 10:13:22 +08:00
},
mounted() {},
methods: {}
}
2022-10-17 10:13:22 +08:00
</script>
<style lang="less" scoped>
.contentBox {
display: flex;
justify-content: space-between;
2022-10-17 10:13:22 +08:00
width: 100%;
height: 100%;
color: #fff;
.leftWeather,.rightWeather{
box-sizing: border-box;
padding-top: 5%;
width: 50%;
height: 100%;
display: flex;
flex-flow: column;
margin-top: 15px;
text-align: center;
}
.image{
width: 60px;
height: 55px;
margin-bottom: 20px;
margin-left: 80px;
}
.text{
margin-bottom: 20px;
font-size: 10px;
}
.bottomNumber{
margin-bottom: 20px;
}
span{
font-size: 36px;
}
2022-10-17 10:13:22 +08:00
}
2022-10-17 10:13:22 +08:00
</style>