haoxuan
2023-08-31 401524fb5661d57ffb2229d683fe4de85b65fd1c
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<template>
  <div class="board-card flex-center">
    <div style="width:40%;">
      <div class="top-text">
        <em>{{title}}</em>
      </div>
      <div class="mid-text">
        <em>{{total}}</em>
      </div>
    </div>
    <div style="height:86px;">
      <el-divider class="divider-css" direction="vertical"></el-divider>
    </div>
    <div style="width:59%;height:100%;" class="flex-center">
      <div class="out-div-33">
        <div class="txt-css">
          <span>视频</span>
        </div>
        <el-tooltip v-if="total" effect="dark" placement="top" content="忙碌">
          <div class="icon-css">
            <i class="iconfont iconmanglu"></i>
          </div>
        </el-tooltip>
        <el-tooltip v-else effect="dark" placement="top" content="等待">
          <div class="icon-css">
            <i class="iconfont icondengdai1"></i>
          </div>
        </el-tooltip>
      </div>
      <div style="height:86px;">
        <el-divider class="divider-css" direction="vertical"></el-divider>
      </div>
      <div class="out-div-33">
        <div class="txt-css">
          <span>图片</span>
        </div>
        <el-tooltip effect="dark" placement="top" content="等待">
          <div class="icon-css">
            <i class="iconfont icondengdai1"></i>
          </div>
        </el-tooltip>
      </div>
      <div style="height:86px;">
        <el-divider class="divider-css" direction="vertical"></el-divider>
      </div>
      <div class="out-div-33">
        <div class="txt-css">
          <span>音频</span>
        </div>
        <el-tooltip effect="dark" placement="top" content="等待">
          <div class="icon-css">
            <i class="iconfont icondengdai1"></i>
          </div>
        </el-tooltip>
      </div>
    </div>
  </div>
</template>
 
<script>
export default {
  name: "BoardCard",
  props: {
    title: { type: String, default: "" },
    total: { type: String, default: "" },
    success: { type: String, default: "" },
    warning: { type: String, default: "" }
  }
}
</script>
<style lang="scss">
.board-card {
  height: 120px;
  width: 100%;
  display: inline-block;
  margin: 10px;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.07);
  border-radius: 4px;
  cursor: pointer;
  .top-text {
    line-height: 30px;
    font-family: PingFangSC-Medium;
    font-size: 14px;
    color: #222222;
  }
  .mid-text {
    margin-bottom: 18px;
    font-family: PingFangSC-Medium;
    font-size: 18px;
    color: #ff7733;
  }
  .bottom-text {
    position: relative;
    top: 3px;
    left: 1px;
    color: #666666;
    font-size: 13px;
  }
  em {
    font-weight: 700;
  }
  hr {
    background: rgb(226, 226, 226);
    border: 0;
    height: 1px;
  }
  i {
    font-size: 20px;
  }
  .divider-css{
    height: 100%;
    margin: 0;
  }
  .el-divider--horizontal {
    display: block;
    height: 1px;
    width: 100%;
    margin: 3px 0;
  }
  .out-div-33{
    width: 33%;
    height: 100%;
    .txt-css{
      width: 100%;
      height: 50%;
      position: relative;
      top: 30px;
    }
    .icon-css{
      width: 100%;
      height: 30%;
      margin-top: 10px;
      position: relative;
    }
  } 
}
</style>