wupengfei
2025-03-11 286f1b727856d6b32a8d237f353ae008f3076deb
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
<template>
  <FlexJobTopView
    :avatarUrl="avatarUrl"
    :name="name"
    :genderType="genderType"
    :isRealName="isRealName"
  >
    <template #detail>
      <div class="task-check-card-phone-container">
        <div class="task-check-card-phone-wrapper">
          <div class="task-check-card-phone-label">手机号:</div>
          <div class="task-check-card-phone">{{ contactPhone }}</div>
        </div>
        <slot name="actions"></slot>
      </div>
    </template>
  </FlexJobTopView>
</template>
 
<script setup lang="ts">
import { FlexJobTopView } from '@12333/components';
import { Gender } from '@12333/constants';
 
defineOptions({
  name: 'TaskCheckPersonalView',
});
 
type Props = {
  avatarUrl?: string;
  name?: string;
  genderType?: Gender;
  isRealName?: boolean;
  contactPhone?: string;
};
 
const props = withDefaults(defineProps<Props>(), {});
</script>
 
<style lang="scss">
@import '@/styles/common.scss';
 
.task-check-card-phone-container {
  display: flex;
  align-items: center;
  /* height: 52px; */
  margin-top: 14px;
 
  .task-check-card-phone-wrapper {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    flex: 1;
    min-width: 0;
 
    .flexJob-card-top-info {
      flex: 1;
      min-width: 0;
    }
 
    .task-check-card-phone-label {
      color: boleGetCssVar('text-color', 'regular');
    }
 
    .task-check-card-phone {
      color: boleGetCssVar('text-color', 'secondary');
    }
  }
 
  .task-check-card-phone-btn {
    width: 144px;
    height: 52px;
    font-size: 24px;
  }
}
</style>