Code Monkey home page Code Monkey logo

weapp-chatdemo's Introduction

weapp-chatDemo

偶尔在群里看到有同学求助小程序聊天的问题,刚好之前开发过聊天功能,在这里做一下分享,也做一个记录,方便以后完善。

测试机型: iphone 11 pro


已完成

  • 满足基本聊天的功能:文字、表情、图片
  • 支持下拉加载上一页聊天内容
  • 对新增消息的append增加动画效果(参考微信)
  • 底部适配iphone X以上机型
  • 对聊天图片等比压缩
  • 聊天消息展示图片边框
  • 聊天中增加发送语音、语音播放功能

待完成

  • 增加发送微信文件功能
  • ios端底部高度动态变化时,input内容抖动的问题

优化

  • 聊天消息中文字+表情错位的问题

欢迎提出意见及建议。如果帮到了你,欢迎 🌟


预览图

表情选择图片、文件发送

weapp-chatdemo's People

Contributors

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