wupengfei
2025-03-10 6887129e91d32557c2b57178180329f46df09d12
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="taskDetail-company-wrapper">
    <div class="taskDetail-company-title-wrapper">
      <div class="taskDetail-company-title">宁波人力无忧</div>
      <RectRight v-if="showArrow" :size="8" class="taskDetail-company-arrow" />
    </div>
    <div class="taskDetail-company-info">
      <img :src="IconSafe" class="safe-company-info-icon" />
      <div class="taskDetail-company-info-text">已认证 | 4个岗位在招</div>
    </div>
  </div>
</template>
 
<script setup lang="ts">
import IconSafe from '@/assets/task/icon-safe.png';
import { RectRight } from '@nutui/icons-vue-taro';
 
defineOptions({
  name: 'CompanyDesc',
});
 
type Props = {
  showArrow?: boolean;
};
 
const props = withDefaults(defineProps<Props>(), {
  showArrow: true,
});
</script>
 
<style lang="scss">
@import '@/styles/common.scss';
 
.taskDetail-company-wrapper {
  padding: 28px 20px;
  background: #f9fbff;
  border-radius: 8px;
 
  .taskDetail-company-title-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
 
    .taskDetail-company-title {
      font-weight: 500;
      font-size: 28px;
      color: boleGetCssVar('text-color', 'primary');
      line-height: 42px;
      flex: 1;
      min-width: 0;
      @include ellipsis;
    }
 
    .taskDetail-company-arrow {
      color: boleGetCssVar('text-color', 'secondary');
      margin-left: 10px;
    }
  }
 
  .taskDetail-company-info {
    display: flex;
    align-items: center;
 
    .safe-company-info-icon {
      width: 24px;
      height: 24px;
      margin-right: 6px;
    }
 
    .taskDetail-company-info-text {
      font-size: 24px;
      color: boleGetCssVar('text-color', 'regular');
      line-height: 36px;
      flex: 1;
      min-width: 0;
      @include ellipsis;
    }
  }
}
</style>