Giter Club home page Giter Club logo

uni-app-moments's Introduction

uni-app-moments

uni-app朋友圈模版 uniapp初期写的模版, 时间比较久远, 目前不再维护

历次更新说明

1.2.1.20190519
  • 修复 H5下上传图片时的plus is not defined错误
  • 优化 App下编译模式由template模板模式改为新的自定义组件模式
1.2.0.20190425
  • 优化 取消选择图片按钮
  • 修复 发布时内容为空时未正确拦截
1.1.0.20190417
  • 优化 发送按钮触发位置,现在只有刚好点击到发送才触发
  • 新增 发布评论和发布'朋友圈'内容为空的验证
  • 新增 发布moment图片上传服务端示例
1.0.2.20190322
  • 修复 H5下使用本地数据测试时,预览图片总是第一张的bug,将index.post.data.js中的图片路径均改为绝对路径,线上环境中使用网路路径,故不存在此问题
1.0.1.20190305
  • 新增 下拉刷新和加载更多
  • 修改目录结构,dcloud插件市场下载解压后直接为项目目录,可直接运行;github下载后需将根目录下的uni-app-moments目录拖到HbuilderX中才可直接运行

功能简介

  • 点赞
  • 评论 + 回复评论
  • 图片预览
  • 发布页
  • 图片上传
  • 图片压缩(app端)
  • 发布页侧滑返回(app端体验效果更佳)
  • 评论和回复时输入框自动定位到当前内容下(导致输入框闪烁,体验不好,待完善,可直接删除adjust函数第一行的return测试)
  • 下拉刷新 + 加载更多

使用方法

dcloud插件市场
  1. 解压下载文件
  2. 将项目目录,直接拖到HbuilderX中运行
github
  1. 下载后需要将根目录下的uni-app-moments目录拖到HbuilderX中才能直接运行

dir.jpg

运行截图

index.jpg comment+like.jpg upload.png showimg.jpg showimg02.jpg

如果觉得对您有用,烦请给个好评或者star

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.