Vue advanced (12:25): front end user experience improvement (2)

No Silver Bullet 2020-11-13 07:29:12
vue advanced end user experience


It's been a while since the front end , For the realization of a variety of requirements is already at ease , The quality and extensibility of the code can be controlled . What is lacking most at present is the so-called User experience .

  1. User experience is a relatively vague concept , But it really determines whether users are happy with it . Recently, I wrote a lot of background systems , Many people think that this kind of middle and back-end system has little technical content ( Use off-the-shelf UI Frame write form ,table Do something to add, delete, modify, check ), What I want to say is that if any product wants to do well , We must pay attention to the physical examination of users .
  2. Another disadvantage is that most of the companies are interested in this kind of product , All lack of product and ui Resources provide strong support , So , Most of the work to improve the user experience falls to the front end .

Form operation

Typical applications in the middle and back office , Most of them are additions, deletions, modifications, etc , There are the following improvements :

  1. Each of the most basic pages ui Components should be able to use correctly , reasonable , In the use of select Don't use input, In the use of aotucomplete Don't use selec etc. .

  2. Add menu at the head to explain , A menu title has just a few words , Users may not know what the menu function is at first , Adding explanation can help users understand the function of the page .

  3. Classification of operation buttons , Before that, it will generally add , Delete , modify , Export table , Search for , Search terms and so on are all put together , It's a very messy feeling , Now divide these controls into two categories ( Search criteria and search buttons , Add, delete, export, refresh, etc ). among Add, delete, export, refresh, etc Put it in the head menu , And the following Search criteria and search buttons Distinguish .

  4. For complex search conditions , It is divided into basic query conditions and all query conditions , The basic query criteria cover several search criteria commonly used by users , Other advanced search criteria are hidden first , adopt Show all Button to display all search criteria . This experience has a sense of hierarchy , And users don't get bored with a bunch of conditional input boxes .

  5. For forms , If the query data is empty , Is displayed Temporarily no data ; If it's a backstage error , Is displayed Network anomalies , Please click the button to refresh , In the past, the interface error was displayed through the prompt box . There are two advantages to this , One is that if users want to try to retrieve data, they don't need to refresh the whole page , Second, the prompt box will interrupt the user's focus , It's a bad experience for users .

  6. When the table has a large number of columns , The operation column should be fixed , Convenient for users to operate .

  7. Menu tree on the left , When there are too many menus , Add search box , You can quickly navigate to the menu page , Convenient for users to operate .

  8. Avoid all pages loading, Only local loading.

  9. Encapsulating repetitive logic , such as table paging , Lots of forms, etc .

User experience optimization points in big data projects

  1. Indicator card Add question mark icon , use tooltip Show the meaning of the indicator ; Including some copywriting on the page , What is difficult to understand can be added tooltip.
  2. The clickable element mouse becomes a hand type .
  3. Front end cache optimization ( The icon data that the user clicks is cached )
  4. Make the form as simple as possible , Complex forms can make users impatient .
  5. Drop down box if there are fewer options , It can be used directly radio Instead of , Users can save a step of clicking on the drop-down box .
  6. When you query the chart, you need to fill in the time interval , You can put some common time intervals for users to choose from , such as today / yesterday / Last week, / Last month, / The first three months , Avoid users having to manually select two time boxes .


  1. The current user is pushed out of the line by other users after logging in , Choose to use Full screen prompt box + OK button Prompt the user . Such notification is of primary importance , You have to make sure that the user is aware of the important notification , The OK button is used to force the user to browse the important notice .
  2. I said before Of table Show three states : There's data / nothing data (no data)/ Network anomalies , Click refresh , These three are actually suitable for a lot of data presentation components , For example, chart components .
  3. Now Internet product login is to jump directly to the registration page , Then the entry to the login page is shown below , Before, it was the reverse . The advantage of this is that it can improve the conversion rate of new users .
  4. Split the user registration process into multiple steps , Fill in a little at a time , Can effectively improve the registration conversion rate .
  5. For general ui Layout ( list / Forms, etc ), If there is no data , To show a Temporarily no data A hint of , Copywriters can be customized .
  6. For common functions , There should be a global entry , To ensure that all pages can be quickly accessed , Instead of having to go to a specific page .

Interface data cache

  1. When presenting the data, first find out whether there is a cache , If there is a cache, use the cache directly ; No, just ask for data . The problem is how to set the expiration time of cache .
  2. When presenting the data, first find out whether there is a cache , If there is a cache, use the cache directly , And request data while using cache , Return new data and overlay old data ; No, just ask for data .
本文为[No Silver Bullet]所创,转载请带上原文链接,感谢

  1. [front end -- JavaScript] knowledge point (IV) -- memory leakage in the project (I)
  2. This mechanism in JS
  3. Vue 3.0 source code learning 1 --- rendering process of components
  4. Learning the realization of canvas and simple drawing
  5. gin里获取http请求过来的参数
  6. vue3的新特性
  7. Get the parameters from HTTP request in gin
  8. New features of vue3
  9. vue-cli 引入腾讯地图(最新 api,rocketmq原理面试
  10. Vue 学习笔记(3,免费Java高级工程师学习资源
  11. Vue 学习笔记(2,Java编程视频教程
  12. Vue cli introduces Tencent maps (the latest API, rocketmq)
  13. Vue learning notes (3, free Java senior engineer learning resources)
  14. Vue learning notes (2, Java programming video tutorial)
  15. 【Vue】—props属性
  16. 【Vue】—创建组件
  17. [Vue] - props attribute
  18. [Vue] - create component
  19. 浅谈vue响应式原理及发布订阅模式和观察者模式
  20. On Vue responsive principle, publish subscribe mode and observer mode
  21. 浅谈vue响应式原理及发布订阅模式和观察者模式
  22. On Vue responsive principle, publish subscribe mode and observer mode
  23. Xiaobai can understand it. It only takes 4 steps to solve the problem of Vue keep alive cache component
  24. Publish, subscribe and observer of design patterns
  25. Summary of common content added in ES6 + (II)
  26. No.8 Vue element admin learning (III) vuex learning and login method analysis
  27. Write a mini webpack project construction tool
  28. Shopping cart (front-end static page preparation)
  29. Introduction to the fluent platform
  30. Webpack5 cache
  31. The difference between drop-down box select option and datalist
  32. CSS review (III)
  33. Node.js学习笔记【七】
  34. Node.js learning notes [VII]
  35. Vue Router根据后台数据加载不同的组件(思考->实现->不止于实现)
  36. Vue router loads different components according to background data (thinking - & gt; Implementation - & gt; (more than implementation)
  37. 【JQuery框架,Java编程教程视频下载
  38. [jQuery framework, Java programming tutorial video download
  39. Vue Router根据后台数据加载不同的组件(思考->实现->不止于实现)
  40. Vue router loads different components according to background data (thinking - & gt; Implementation - & gt; (more than implementation)
  41. 【Vue,阿里P8大佬亲自教你
  42. 【Vue基础知识总结 5,字节跳动算法工程师面试经验
  43. [Vue, Ali P8 teaches you personally
  44. [Vue basic knowledge summary 5. Interview experience of byte beating Algorithm Engineer
  45. 【问题记录】- 谷歌浏览器 Html生成PDF
  46. [problem record] - PDF generated by Google browser HTML
  47. 【问题记录】- 谷歌浏览器 Html生成PDF
  48. [problem record] - PDF generated by Google browser HTML
  49. 【JavaScript】查漏补缺 —数组中reduce()方法
  50. [JavaScript] leak checking and defect filling - reduce() method in array
  51. 【重识 HTML (3),350道Java面试真题分享
  52. 【重识 HTML (2),Java并发编程必会的多线程你竟然还不会
  53. 【重识 HTML (1),二本Java小菜鸟4面字节跳动被秒成渣渣
  54. [re recognize HTML (3) and share 350 real Java interview questions
  55. [re recognize HTML (2). Multithreading is a must for Java Concurrent Programming. How dare you not
  56. [re recognize HTML (1), two Java rookies' 4-sided bytes beat and become slag in seconds
  57. 【重识 HTML ,nginx面试题阿里
  58. 【重识 HTML (4),ELK原来这么简单
  59. [re recognize HTML, nginx interview questions]
  60. [re recognize HTML (4). Elk is so simple