<template>
  <div class="CovidServe">
    <div class="title">
      <span class="title-t">缙云县疫情</span>
      <span class="updatetime" id="time">更新时间：2022-03-14 10:00:00</span>
    </div>

    <!-- 详细数据 -->
    <div class="message">
      <div class="message-bt">
        <span>确诊新增</span>
        <span class="message-bt-add">0</span>
      </div>
      <div class="message-bt">
        <span>历史确诊</span>
        <span class="message-bt-his">2</span>
      </div>
      <div class="message-bt">
        <span>死亡病例</span>
        <span class="message-bt-die">1</span>
      </div>
      <div class="message-bt">
        <span>治愈病例</span>
        <span class="message-bt-rec">1</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "CovidServe",
  components: {},
  created(){

  },

  methods: {},
  props: {},
};
</script>


<style scoped>
.CovidServe{
    margin-top: 3vw;
}
.title {
  display: grid;
}
.updatetime {
  color: rgb(153, 153, 153);
  font-size: 14px;
  padding-bottom: 2vw;
}
.title-t {
  font-size: 22px;
  padding-bottom: 2vw;
}
.message {
  background-color: #fff;
  height: 20vw;
  display: flex;
  justify-content: space-evenly;
  text-align: center;
}
.message-bt{
    display: grid;
}
.message-bt span{
    line-height: 10vw;
}
/* 颜色 */
.message-bt-add{
    color:rgb(232, 44, 44);
}
.message-bt-his{
    color:rgb(255, 128, 77);
}
.message-bt-die{
    color: rgb(177, 73, 243);
}
.message-bt-rec{
    color: rgb(28, 182, 96);
}
</style>

