customization.vue 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <template>
  2. <div class="demo-collapse">
  3. <el-collapse accordion>
  4. <el-collapse-item name="1">
  5. <template #title>
  6. Consistency<el-icon class="header-icon">
  7. <info-filled />
  8. </el-icon>
  9. </template>
  10. <div>
  11. Consistent with real life: in line with the process and logic of real
  12. life, and comply with languages and habits that the users are used to;
  13. </div>
  14. <div>
  15. Consistent within interface: all elements should be consistent, such
  16. as: design style, icons and texts, position of elements, etc.
  17. </div>
  18. </el-collapse-item>
  19. <el-collapse-item title="Feedback" name="2">
  20. <div>
  21. Operation feedback: enable the users to clearly perceive their
  22. operations by style updates and interactive effects;
  23. </div>
  24. <div>
  25. Visual feedback: reflect current state by updating or rearranging
  26. elements of the page.
  27. </div>
  28. </el-collapse-item>
  29. <el-collapse-item title="Efficiency" name="3">
  30. <div>
  31. Simplify the process: keep operating process simple and intuitive;
  32. </div>
  33. <div>
  34. Definite and clear: enunciate your intentions clearly so that the
  35. users can quickly understand and make decisions;
  36. </div>
  37. <div>
  38. Easy to identify: the interface should be straightforward, which helps
  39. the users to identify and frees them from memorizing and recalling.
  40. </div>
  41. </el-collapse-item>
  42. <el-collapse-item title="Controllability" name="4">
  43. <div>
  44. Decision making: giving advices about operations is acceptable, but do
  45. not make decisions for the users;
  46. </div>
  47. <div>
  48. Controlled consequences: users should be granted the freedom to
  49. operate, including canceling, aborting or terminating current
  50. operation.
  51. </div>
  52. </el-collapse-item>
  53. </el-collapse>
  54. </div>
  55. </template>
  56. <script setup lang="ts">
  57. import { InfoFilled } from '@element-plus/icons-vue'
  58. </script>