right.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <template>
  2. <div>
  3. <div class="resume d-flex">
  4. <div v-for="val in resumeList" :key="val.title" class="topping white-bgc radius">
  5. <v-icon color="primary">{{ val.icon }}</v-icon>
  6. <div class="ml-1">
  7. <div class="title-text">{{ val.title }}</div>
  8. <div class="tip-text">{{ val.desc }}</div>
  9. </div>
  10. </div>
  11. </div>
  12. <div class="attachment white-bgc radius mt-3">
  13. <div>
  14. <span class="title">附件简历</span>
  15. <span class="more-text">最多上传5份</span>
  16. <span class="upload--text">上传</span>
  17. </div>
  18. <div class="d-flex attachment-item my-2 cursor-pointer" v-for="(k, i) in attachmentList" :key="i">
  19. <v-icon color="primary">mdi-file-account</v-icon>
  20. <div class="file-name ellipsis ml-2">{{ k.file_name }}</div>
  21. <v-icon class="ml-8" color="error">mdi-trash-can-outline</v-icon>
  22. </div>
  23. <div class="border-bottom-dashed my-3"></div>
  24. <div class="last-update">最后更新于2024-05-23 12:20:25</div>
  25. </div>
  26. </div>
  27. </template>
  28. <script setup>
  29. defineOptions({ name: 'personal-center-right'})
  30. const resumeList = [
  31. { icon: 'mdi-upload', title: '置顶简历', desc: '增加更多曝光度' },
  32. { icon: 'mdi-refresh', title: '刷新简历', desc: '提升简历活跃度' }
  33. ]
  34. const attachmentList = [
  35. { file_name: '陈芊芊-Web前端开发工程师-15425236412' },
  36. { file_name: '陈芊芊-Web前端开发工程师-15425236412' },
  37. { file_name: '陈芊芊-Web前端开发工程师-15425236412' },
  38. { file_name: '陈芊芊-Web前端开发工程师-15425236412' },
  39. { file_name: '陈芊芊-Web前端开发工程师-15425236412' }
  40. ]
  41. </script>
  42. <style scoped lang="scss">
  43. .radius {
  44. border-radius: 8px
  45. }
  46. .title {
  47. font-weight: 600;
  48. font-size: 17px;
  49. }
  50. .resume {
  51. width: 100%;
  52. .topping {
  53. display: flex;
  54. align-items: center;
  55. width: 50%;
  56. height: 60px;
  57. padding: 12px;
  58. margin-right: 12px;
  59. cursor: pointer;
  60. &:nth-child(2n) {
  61. margin-right: 0;
  62. }
  63. .tip-text {
  64. font-size: 12px;
  65. color: #666;
  66. }
  67. .title-text {
  68. font-weight: 600;
  69. &:hover {
  70. color: var(--v-primary-base);
  71. }
  72. }
  73. }
  74. }
  75. .attachment {
  76. padding: 12px;
  77. .more-text {
  78. font-size: 12px;
  79. color: #666;
  80. margin-left: 4px;
  81. }
  82. .upload--text {
  83. float: right;
  84. color: var(--v-primary-base);
  85. font-size: 12px;
  86. }
  87. .last-update {
  88. font-size: 12px;
  89. color: #666;
  90. }
  91. .attachment-item {
  92. color: #555;
  93. font-size: 14px;
  94. .file-name {
  95. width: 180px;
  96. &:hover {
  97. color: var(--v-primary-base);
  98. }
  99. }
  100. }
  101. }
  102. </style>