zhengyiming
2025-02-19 df7c6af1c1cfd2e9bda249e381aecb5482120d14
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
<template>
  <div class="model-content-phone-wrapper">
    <img :src="IconPhone" class="model-content-phone-icon" />
    <div class="model-content-phone-content">
      电话号码:<span class="phone-content">{{ phoneNumber }}</span>
    </div>
  </div>
</template>
 
<script setup lang="ts">
import IconPhone from '@/assets/components/icon-phone.png';
 
defineOptions({
  name: 'ModelContentPhone',
});
 
type Props = {
  phoneNumber?: string;
};
 
const props = withDefaults(defineProps<Props>(), {});
</script>
 
<style lang="scss">
@import '@/styles/common.scss';
 
.model-content-phone-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200%;
 
  .model-content-phone-icon {
    width: 41px;
    height: 40px;
    margin-right: 18px;
  }
 
  .model-content-phone-content {
    font-size: 30px;
    color: boleGetCssVar('text-color', 'primary');
    font-weight: 400;
 
    .phone-content {
      display: inline;
      color: #ef9c00;
    }
  }
}
</style>