whyczyk
2021-09-07 69f949b70f1cd2c80a9738afe602905b18e72e0b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<template>
  <div class="statusModule">
    <div class="item" v-for="(item,i) in statusList" :key="i">
      <div class="text">{{item.text}}</div>
      <div class="tai" :style="{'background':item.color}" v-if="item.status"></div>
      <div class="tai" v-else></div>
    </div>
  </div>
</template>
 
<script>
  export default {
    props: ['statusList'],
    data() {
      return {
 
      }
    },
  }
</script>
 
<style scoped>
  .statusModule {
    background-color: rgba(255, 255, 255, 0);
    box-sizing: border-box;
    border-width: 2px;
    border-style: solid;
    border-color: rgba(30, 159, 242, 1);
    border-radius: 5px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 10px;
    color: #02A7F0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8px 8px;
  }
 
  .statusModule .item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
 
  .statusModule .item .text {
    font-size: 10px;
    color: #ffffff;
    margin-bottom: 8px;
  }
 
  .statusModule .item .tai {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #999999;
  }
</style>