consultant.vue 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. <ContactPage style="margin-top: 50px;"></ContactPage>
  24. </div>
  25. </template>
  26. <script setup>
  27. defineOptions({ name: 'headhunting-drill-consultant'})
  28. import { ref } from 'vue'
  29. import { consultantData } from '@/utils/headhuntingData'
  30. import ContactPage from '../components/contact.vue'
  31. const props = defineProps({
  32. id: {
  33. type: String,
  34. default: ''
  35. }
  36. })
  37. const data = ref(consultantData.find(e => e.id === props.id))
  38. const paths = [
  39. { title: '主页', disabled: false, href: '/headhunting' },
  40. { title: '我们的顾问', disabled: true, href: '' },
  41. { title: data.value.title, disabled: true, href: '' }
  42. ]
  43. </script>
  44. <style scoped lang="scss">
  45. .info {
  46. width: 400px;
  47. }
  48. .desc {
  49. margin-bottom: 20px;
  50. }
  51. li {
  52. list-style-type: none;
  53. }
  54. .title-name {
  55. font-family: FFScalaWebBold, Georgia, Utopia, Charter, serif;
  56. font-weight: 700;
  57. }
  58. .title-job {
  59. font-family: FFScalaWebItalic, Georgia, Utopia, Charter, sans-serif;
  60. font-style: italic;
  61. font-weight: 400;
  62. }
  63. .name {
  64. font-family: FFScalaWebBold, Georgia, Utopia, Charter, sans-serif;
  65. font-style: normal;
  66. font-weight: 700;
  67. color: #00695C;
  68. }
  69. .tips {
  70. font-family: FFScalaWebItalic, Georgia, Utopia, Charter, serif;
  71. font-style: italic;
  72. font-weight: 400;
  73. }
  74. .country {
  75. font-family: FFScalaWebItalic, Georgia, Utopia, Charter, sans-serif;
  76. font-style: italic;
  77. font-weight: 400;
  78. color: #00695C;
  79. }
  80. </style>