consultant.vue 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <template>
  2. <div style="color: #4c4c4e;">
  3. <div class="mt-5">
  4. <v-breadcrumbs :items="paths" class="pa-0 ma-0"></v-breadcrumbs>
  5. </div>
  6. <div class="d-flex mt-10 justify-space-between">
  7. <div>
  8. <v-img :src="data.avatar" width="250" height="350"></v-img>
  9. <p class="title-job">{{ data.job }}</p>
  10. </div>
  11. <div class="mt-10">
  12. <h1 class="name">{{ data.title }}</h1>
  13. <p class="tips mt-3">Consultant</p>
  14. <p class="country">{{ data.country }}</p>
  15. <ul v-if="data?.edu" class="mt-5">
  16. <li v-for="(edu, index) in data.edu" :key="index">{{ edu }}</li>
  17. </ul>
  18. </div>
  19. </div>
  20. <div class="mt-10" style="flex: 1;">
  21. <p v-for="(k, i) in data.desc" :key="i" class="desc">{{ k }}</p>
  22. </div>
  23. </div>
  24. </template>
  25. <script setup>
  26. defineOptions({ name: 'headhunting-drill-consultant'})
  27. import { ref } from 'vue'
  28. import { consultantData } from '@/utils/headhuntingData'
  29. const props = defineProps({
  30. id: {
  31. type: String,
  32. default: ''
  33. }
  34. })
  35. const data = ref(consultantData.find(e => e.id === props.id))
  36. const paths = [
  37. { title: '主页', disabled: false, href: '/headhunting' },
  38. { title: '我们的顾问', disabled: true, href: '' },
  39. { title: data.value.title, disabled: true, href: '' }
  40. ]
  41. </script>
  42. <style scoped lang="scss">
  43. .info {
  44. width: 400px;
  45. }
  46. .desc {
  47. margin-bottom: 20px;
  48. }
  49. li {
  50. list-style-type: none;
  51. }
  52. .title-name {
  53. font-family: FFScalaWebBold, Georgia, Utopia, Charter, serif;
  54. font-weight: 700;
  55. }
  56. .title-job {
  57. font-family: FFScalaWebItalic, Georgia, Utopia, Charter, sans-serif;
  58. font-style: italic;
  59. font-weight: 400;
  60. }
  61. .name {
  62. font-family: FFScalaWebBold, Georgia, Utopia, Charter, sans-serif;
  63. font-style: normal;
  64. font-weight: 700;
  65. color: #00695C;
  66. }
  67. .tips {
  68. font-family: FFScalaWebItalic, Georgia, Utopia, Charter, serif;
  69. font-style: italic;
  70. font-weight: 400;
  71. }
  72. .country {
  73. font-family: FFScalaWebItalic, Georgia, Utopia, Charter, sans-serif;
  74. font-style: italic;
  75. font-weight: 400;
  76. color: #00695C;
  77. }
  78. </style>