haoxuan
2023-10-28 d13f2db56f0a82b9324c19e48d41848e7f5909b3
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
<template>
  <div class="person-info">
    <div class="person-l">
      <el-icon>
        <UserFilled />
      </el-icon>
    </div>
    <div class="person-r">
      {{ person.workerName || '' }}
      <!-- <span>{{ person.phoneNum || "" }}</span> -->
      <span>
        <el-icon>
          <StarFilled />
        </el-icon>
        <el-icon>
          <StarFilled />
        </el-icon>
        <el-icon>
          <StarFilled />
        </el-icon>
        <el-icon>
          <StarFilled />
        </el-icon>
        <el-icon>
          <StarFilled />
        </el-icon>
      </span>
    </div>
  </div>
</template>
<script setup lang="ts">
import type { UserFilled } from '@element-plus/icons-vue'
import { computed, toRefs } from 'vue'
export interface PersonInfoProps {
  person: person
}
 
const props = defineProps<PersonInfoProps>()
const { person } = toRefs(props)
</script>
 
<style scoped lang="scss">
$status-default: #13235a;
$status-running: #f76c0f;
$status-ready: #13235a;
$status-done: #2c5dbb82;
$status-star: yellow;
 
.font_weight {
  font-weight: 600;
}
 
.person-info {
  width: 100%;
  height: 60px;
  line-height: 60px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: $status-default;
  color: #fff;
 
  .person-l {
    float: left;
    margin-right: 10px;
    font-size: 40px;
  }
 
  .person-r {
    font-size: 20px;
    font-weight: 600;
    margin-right: 10px;
    // background: pink;
    padding-top: 10px;
 
    span {
      color: $status-star;
    }
  }
}
</style>