Coder Social home page Coder Social logo

chat's Introduction

仿手机QQ

概述

本项目基于Vue2进行高仿手机QQ的webapp,UI上使用的是museUI,使用springMVC搭建的后台。聊天方面,使用WebSocket实现浏览器与服务器全双工通信,允许服务器主动发送信息给客户端。源码大部分有注释,如果不清楚的可以Issues我,我会尽量回复的。

项目已实现功能

  • 登录、注册——注册完成系统返回一个id,用id加密码即可登录

  • 添加好友——右上角加号点开,输入用户id即可完成添加(暂未实现用户验证添加)

  • 聊天功能——好友之间可以实时在线通信,无论你在哪个页面都能收到好友消息(退出不行)

  • 长按删除——长按删除已有的消息

  • 项目中数据流动由vuex进行控制

动图预览

gif有些失真,看官可以clone后本地查看。

--登录与注册--

登录与注册

--侧边栏与个人主页--

侧边栏与个人主页

--长按删除--

滑动删除

--添加好友--

添加好友

--好友聊天--

好友聊天

感谢

感谢您的来访 ,如果对于您有帮助 ,麻烦您给个Star吧 !

其他说明

  • 本项目还有很多bug,各位大佬如果发现了,可以通知我下,我会非常感激的

  • 本项目还有很多功能没实现,如果你发现点击没反应,那很可能是我只写了个ui在那

  • 项目暂不支持聊天记录缓存,一旦你退出系统,聊天记录将清空

  • 这是我使用vue做的第二个webapp,虽然还是不怎么样,有兴趣的可以去看下我的第一个webapp——医院管理信息系统 项目地址 https://github.com/linguoqiang001/his

  • 最近比较忙,暂时就做到这,后面有时间的话会继续完善项目,后台和数据库部分,有时间我整理下一并上传

技术栈

  • vue-cli
  • vue2
  • vue-router
  • vuex
  • axios
  • less
  • webpack2
  • muse-ui

Build Setup

# 安装
npm install

# 运行
npm run dev

# 发布
npm run build

chat's People

Contributors

linguoqiang001 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.