privacySettings.vue 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <div>
  3. <h3>{{ $t('setting.privacyPolicySettings') }}</h3>
  4. <v-divider class="mb-4"></v-divider>
  5. <v-radio-group v-model="radios">
  6. <v-radio v-for="k in items" :key="k.value" :label="k.label" :value="k.value" color="primary">
  7. <template v-slot:label>
  8. <div class="radio-text">{{ k.label }} <span class="radio-desc">{{ k.decs }}</span></div>
  9. </template>
  10. </v-radio>
  11. </v-radio-group>
  12. <v-divider class="mb-4"></v-divider>
  13. </div>
  14. </template>
  15. <script setup name="privacySettings">
  16. import { ref } from 'vue'
  17. const radios = ref(0)
  18. const items = [
  19. { label: '简历公开', decs: '正在找工作,企业可以看到我的简历', value: 0 },
  20. { label: '仅投递公司可见', decs: '可投递简历,仅投递可见', value: 1 },
  21. { label: '简历保密', decs: '没找工作,企业不能搜索到您的简历', value: 2 }
  22. ]
  23. </script>
  24. <style lang="scss" scoped>
  25. h3 {
  26. font-size: 20px;
  27. text-align: left;
  28. font-weight: 600;
  29. padding-bottom: 25px;
  30. }
  31. .radio-text {
  32. font-weight: 700;
  33. color: #000;
  34. }
  35. .radio-desc {
  36. color: var(--default-text);
  37. margin-left: 30px;
  38. }
  39. </style>