|
@@ -0,0 +1,183 @@
|
|
|
+<template>
|
|
|
+ <div class="evTwoContainer">
|
|
|
+ <div class="evTwoContainer-out">
|
|
|
+ <Head :headText="headText"></Head>
|
|
|
+ <div class="count-top">
|
|
|
+ <ul>
|
|
|
+ <div class="count-top-left">
|
|
|
+ <div class="count-top-left-select"></div>
|
|
|
+ <span>首页</span>
|
|
|
+ <span>></span>
|
|
|
+ <span>单日运行评价</span>
|
|
|
+ </div>
|
|
|
+ <div style="margin:0 auto">
|
|
|
+ <li :class="{current: num == 1}" @click="change(1)">室内温度</li>
|
|
|
+ <li :class="{current: num==2}" @click="change(2)">节能率</li>
|
|
|
+ <li :class="{current: num==3}" @click="change(3)">执行率</li>
|
|
|
+ </div>
|
|
|
+ <div class="count-top-right">
|
|
|
+ <el-date-picker v-model="value1" type="date"></el-date-picker>
|
|
|
+ </div>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+ <div class="count-bottom">
|
|
|
+ <div v-show="num == 1">
|
|
|
+ <div class="count-bottom-title">
|
|
|
+ <span class="span1"></span>
|
|
|
+ <span class="span2">室内温度满足率</span>
|
|
|
+ <span class="span3">90.2%</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div v-show="num == 2">
|
|
|
+ <div class="count-bottom-title">
|
|
|
+ <span class="span1"></span>
|
|
|
+ <span class="span2">节能率</span>
|
|
|
+ <span class="span4">22.6%</span>
|
|
|
+ <span class="span5">准确率</span>
|
|
|
+ <span class="span6">90%</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div v-show="num == 3">
|
|
|
+ <div class="count-bottom-title">
|
|
|
+ <span class="span1"></span>
|
|
|
+ <span class="span2">执行率</span>
|
|
|
+ <img class="span7" src="../../assets/finish.png" alt />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+<script>
|
|
|
+import Head from "../main/index";
|
|
|
+
|
|
|
+export default {
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ headText: "运行评价",
|
|
|
+ num: 1,
|
|
|
+ value1: ""
|
|
|
+ };
|
|
|
+ },
|
|
|
+ components: {
|
|
|
+ Head
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ change: function(index) {
|
|
|
+ this.num = index;
|
|
|
+ }
|
|
|
+ }
|
|
|
+};
|
|
|
+</script>
|
|
|
+<style lang="scss" scoped>
|
|
|
+.evTwoContainer {
|
|
|
+ background: #fff;
|
|
|
+ // padding: 0 24px;
|
|
|
+ .count-top {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ background: rgba(247, 249, 250, 1);
|
|
|
+
|
|
|
+ ul {
|
|
|
+ display: flex;
|
|
|
+ padding: 0 24px;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ // padding: 0;
|
|
|
+ margin: 0;
|
|
|
+
|
|
|
+ text-align: center;
|
|
|
+ .count-top-left {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ .count-top-left-select {
|
|
|
+ width: 202px;
|
|
|
+ height: 39px;
|
|
|
+ background: rgba(255, 255, 255, 1);
|
|
|
+ border-radius: 20px;
|
|
|
+ border: 1px solid rgba(195, 199, 203, 1);
|
|
|
+ margin-right: 16px;
|
|
|
+ }
|
|
|
+ span {
|
|
|
+ display: inline-block;
|
|
|
+ font-family: MicrosoftYaHei;
|
|
|
+ }
|
|
|
+ span:nth-of-type(1) {
|
|
|
+ height: 31px;
|
|
|
+ font-size: 20px;
|
|
|
+ color: #8d9399;
|
|
|
+ line-height: 31px;
|
|
|
+ }
|
|
|
+ span:nth-of-type(2) {
|
|
|
+ color: #c3c6cb;
|
|
|
+ margin: 0 6px;
|
|
|
+ }
|
|
|
+ span:nth-of-type(3) {
|
|
|
+ height: 31px;
|
|
|
+ font-size: 20px;
|
|
|
+ color: #1f2429;
|
|
|
+ line-height: 31px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .count-top-right {
|
|
|
+ width: 208px;
|
|
|
+ height: 45px;
|
|
|
+ background: rgba(255, 255, 255, 1);
|
|
|
+ border-radius: 6px;
|
|
|
+ margin: 10px 0;
|
|
|
+ border: 1px solid rgba(195, 198, 203, 1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ ul li {
|
|
|
+ list-style: none;
|
|
|
+ cursor: pointer;
|
|
|
+ height: 21px;
|
|
|
+ float: left;
|
|
|
+ font-size: 16px;
|
|
|
+ font-family: MicrosoftYaHei;
|
|
|
+ color: rgba(31, 35, 41, 1);
|
|
|
+ line-height: 21px;
|
|
|
+ padding: 18px 22px;
|
|
|
+ margin-right: 22px;
|
|
|
+ }
|
|
|
+ .count-bottom {
|
|
|
+ height: 100%;
|
|
|
+ padding: 0 24px;
|
|
|
+ background: #fff;
|
|
|
+ .count-bottom-title {
|
|
|
+ display: inline-block;
|
|
|
+ // display: flex;
|
|
|
+ height: 90px;
|
|
|
+ background: rgba(248, 249, 250, 1);
|
|
|
+ border-radius: 6px;
|
|
|
+ border: 1px solid rgba(238, 238, 238, 1);
|
|
|
+ span{
|
|
|
+ display: inline-block;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .current {
|
|
|
+ font-size: 16px;
|
|
|
+ font-family: MicrosoftYaHei;
|
|
|
+ color: #0091ff;
|
|
|
+ line-height: 21px;
|
|
|
+ border-bottom: 3px solid#0091FF;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|
|
|
+<style lang="scss">
|
|
|
+.count-top-right {
|
|
|
+ .el-input__inner {
|
|
|
+ width: 132px;
|
|
|
+ margin: 7px 10px;
|
|
|
+ height: 30px;
|
|
|
+ line-height: 30px;
|
|
|
+ }
|
|
|
+ .el-input__icon {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|