customization.vue 2.0 KB

1234567891011121314151617181920212223242526272829303132
  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>Consistent with real life: in line with the process and logic of real life, and comply with languages and habits that the users are used to;</div>
  11. <div>Consistent within interface: all elements should be consistent, such as: design style, icons and texts, position of elements, etc.</div>
  12. </el-collapse-item>
  13. <el-collapse-item title="Feedback" name="2">
  14. <div>Operation feedback: enable the users to clearly perceive their operations by style updates and interactive effects;</div>
  15. <div>Visual feedback: reflect current state by updating or rearranging elements of the page.</div>
  16. </el-collapse-item>
  17. <el-collapse-item title="Efficiency" name="3">
  18. <div>Simplify the process: keep operating process simple and intuitive;</div>
  19. <div>Definite and clear: enunciate your intentions clearly so that the users can quickly understand and make decisions;</div>
  20. <div>Easy to identify: the interface should be straightforward, which helps the users to identify and frees them from memorizing and recalling.</div>
  21. </el-collapse-item>
  22. <el-collapse-item title="Controllability" name="4">
  23. <div>Decision making: giving advices about operations is acceptable, but do not make decisions for the users;</div>
  24. <div>Controlled consequences: users should be granted the freedom to operate, including canceling, aborting or terminating current operation.</div>
  25. </el-collapse-item>
  26. </el-collapse>
  27. </div>
  28. </template>
  29. <script setup lang="ts">
  30. import { InfoFilled } from '@element-plus/icons-vue'
  31. </script>