GithubHelp home page GithubHelp logo

contacts-web's Introduction

contacts-web

实现一个 Web 版通讯录功能

Demo

Demo

Features

To do list

  • 列表支持查询
  • 可以记录用户的查询记录(最近一天)
  • 列表支持基于用户首字母的查询功能
  • 点击某个条目时,弹出一个详情界面
  • 详情界面模式下可点击上下箭头进行用户切换

Requirements

  • 考虑模块化
    • 项目基于前端模块化**编写,在组件及通用的方法上都有体现,但仍有优化,解耦的空间。
  • 考虑性能问题
    • 性能的优化体现在:
      • 1、加载数据过程中的骨架屏,给用户提供良好的体验;
      • 2、加载数据完成后,考虑到懒加载对长列表的体验以及跳转功能的影响,包括DOM节点多导致的滚动不流畅,故采用虚拟渲染的方式做处理;
      • 3、现数据由mock获得,后期有接口的加持,会获得进一步的优化。
      • 4、基于用户首字母的查询涉及DOM的滚动,在这里还做了一个节流

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

contacts-web's People

Contributors

kevintada avatar

Watchers

Kevin Zhang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.