<template>
  <div class="cointan">
    <div class="title1">
      <div style="margin-left:25px;line-height: 22px;">教学环境监测</div>
    </div>
    <!-- 空气质量图 -->
    <div class="zhiliangtu">30%</div>
    <div class="kongqi">空气质量</div>
    <div class="kongqizhuang">优</div>
    <div class="fuyang">负氧离子</div>
    <div class="fuyangzhuang">
      <span style="font-family : '优设标题黑';">2</span>
      <span style="font-size: 12px;">m³</span>
    </div>
    <!-- 温度 -->
    <div class="wendukuang">
      <div class="leftbg"></div>
      <div class="lefttu"></div>
      <div class="lefttxt">温度</div>
      <div class="leftbgdanwei">
        <span style="font-family : '优设标题黑';">21</span>
        <span style="font-size: 12px;">℃</span>
      </div>
    </div>
    <!-- 湿度 -->
    <div class="wendukuang" style="margin-left:241px">
      <div class="leftbg"></div>
      <div class="lefttu2"></div>
      <div class="lefttxt">湿度</div>
      <div class="leftbgdanwei">
        <span style="font-family : '优设标题黑';">71</span>
        <span style="font-size: 12px;">%RH</span>
      </div>
    </div>
    <!-- PM -->
    <div class="wendukuang" style="margin-top:224px">
      <div class="leftbg"></div>
      <div class="lefttu3"></div>
      <div class="lefttxt">PM2.5</div>
      <div class="leftbgdanwei">
        <span style="font-family : '优设标题黑';">51</span>
        <span style="font-size: 12px;">g/m³</span>
      </div>
    </div>
    <!-- co2 -->
    <div class="wendukuang" style="margin:224px 0 0 241px">
      <div class="leftbg"></div>
      <div class="lefttu4"></div>
      <div class="lefttxt">二氧化碳</div>
      <div class="leftbgdanwei">
        <span style="font-family : '优设标题黑';">61</span>
        <span style="font-size: 12px;">m³</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'rightbuttom',
  data() {
    return {
      
    }
  },
  props: {
    msg: String
  },
  created(){
    
  },
  mounted(){
    
  },
  methods:{
    
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">
.cointan{
  width: 450px;
  height: 302px;
  background-image: url('../assets/index/litterbackground.png');
  background-size: 100%;
}
.title1{
  position: absolute;
  margin: 9px 0 0 10px;
  font-size: 20px;
  font-family : '优设标题黑';
  color: rgba(255, 255, 255, 1);
  font-weight: 400;
}
// 空气质量图
.zhiliangtu{
  position: absolute;
  margin: 56px 0 0 53px;
  width: 75px;
  height: 79px;
  background-image: url('../assets/rightBottom/jiance.png');
  background-size: 100%;
  font-size: 18px;
  font-weight: 400;
  font-family : '优设标题黑';
  color: rgba(255, 255, 255, 1);
  text-align: center;
  line-height: 100px;
}
.kongqi{
  position: absolute;
  margin: 64px 0 0 158px;
  font-size: 16px;
  font-weight: 400;
  line-height: 23.17px;
  color: rgba(255, 255, 255, 1);
}
.kongqizhuang{
  position: absolute;
  margin: 95px 0 0 158px;
  width: 64px;
  font-size: 24px;
  font-weight: 400;
  line-height: 23.17px;
  color: rgba(255, 255, 255, 1);
  text-align: center;
  font-family : '优设标题黑';
}
.fuyang{
  position: absolute;
  margin: 64px 0 0 296px;
  font-size: 16px;
  font-weight: 400;
  line-height: 23.17px;
  color: rgba(255, 255, 255, 1);
}
.fuyangzhuang{
  position: absolute;
  margin: 95px 0 0 296px;
  width: 64px;
  font-size: 24px;
  font-weight: 400;
  line-height: 23.17px;
  color: rgba(255, 255, 255, 1);
  text-align: center;
}
// 温度
.wendukuang{
  position: absolute;
  margin: 154px 0 0 47px;
  width: 162px;
  height: 50px;
  border-radius: 4px;
  border: 1px solid rgba(40, 89, 60, 1);
}
.leftbg{
  position: absolute;
  margin: 0px 0 0 0px;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  background: rgba(67, 207, 124, 0.15);
  border: 1px solid rgba(40, 89, 60, 1);
}
.lefttu{
  position: absolute;
  margin: 6px 0 0 5px;
  width: 40px;
  height: 40px;
  background-image: url('../assets/rightBottom/wendu.png');
  background-size: 100%;
}
.lefttu2{
  position: absolute;
  margin: 6px 0 0 5px;
  width: 40px;
  height: 40px;
  background-image: url('../assets/rightBottom/shidu.png');
  background-size: 100%;
}
.lefttu3{
  position: absolute;
  margin: 6px 0 0 5px;
  width: 40px;
  height: 40px;
  background-image: url('../assets/rightBottom/pm.png');
  background-size: 100%;
}
.lefttu4{
  position: absolute;
  margin: 6px 0 0 5px;
  width: 40px;
  height: 40px;
  background-image: url('../assets/rightBottom/co2.png');
  background-size: 100%;
}
.lefttxt{
  position: absolute;
  margin: 3px 0 0 63px;
  font-size: 14px;
  line-height: 20.27px;
  color: rgba(255, 255, 255, 1);
}
.leftbgdanwei{
  position: absolute;
  margin: 23px 0 0 63px;
  font-size: 20px;
  line-height: 26px;
  color: rgba(255, 255, 255, 1);
}
</style>
