Giter Club home page Giter Club logo

wanandroid's Introduction

做最漂亮的[玩Android小程序]V3.0

相较于第二个版本的更新:

  1. 整体重构了API请求。因为写这个小程序的时间比较早了,那个时候的玩安卓开放API还未支持HTTPS,导致无法上线小程序,所以为了能够顺利上线,所有用到的API都是由自己的服务器做了中转的。现在的开放API早已支持了HTTPS,就没有理由不换回来了。

  2. 网络请求二次封装。最开始学习开发小程序时,都是使用的纯原生开发,导致写了很多重复代码,难以维护。现在逐步封装之后,便于统一管理维护。

  3. 重要是解决了小程序中打开文章详情问题。 大家都知道小程序是不允许打开外部的url链接的。所以第二版采用了第三方公众号推送消息的方式,但是这种方式的推送渠道随时都可能会被关闭,太不可靠了。

    最近又研究了一下小程序客服会话。利用客服会话的聊天界面可以打开文章详情的链接。具体方式在文章最后演示。

已实现的功能:

  • 首页banner
  • 首页文章
  • 热搜
  • 常用网站
  • 文章搜索
  • 体系分类
  • 体系分类文章
  • 公众号
  • 公众号文章及搜索
  • 个人中心
  • 个人积分排名
  • 最新项目列表
  • 我的收藏
  • 站内文章收藏与取消收藏
  • 登录、注册、退登
  • TODO

界面预览

首页 热搜 体系 公众号 我的 体系文章

怎么样?O(∩_∩)O 赶紧微信扫码体验吧!

小程序码

客服会话打开文章详情

  1. 再点击需要查看的文章时,会弹出提示框。提示文章链接已复制到剪切板,点击“立即发送”就会跳转到客服会话
  2. 进入客服会话后,将剪切板内容粘贴发送,就可以看到 【文章标题】+ 【文章链接】 此时直接点击链接即可查看文章详情。

在这里插入图片描述 在这里插入图片描述

关于我们

  • 该项目是我个人基于鸿洋大神的玩android开放API开发的一款高颜值的微信小程序。这个项目拥有漂亮的界面和实用的功能。如果你有一些更好的想法或建议,可以在GitHub里提交给我,我很欢迎大家一起维护。

  • 该项目使用了ColorUI组件库!在此非常感谢该开源库的作者‘文晓港’。同时也使用了部分有赞的开源库vant-weapp,在此表示感谢!当然也要感谢鸿洋大神提供的玩android开放API。

  • 项目是开源的,不收取任何费用,如果这个项目有帮到你,或者你觉得很赞,可以赞赏支持一下! 赞赏

  • 有什么问题也可以直接加我个人微信,记得备注一下!

微信

发现任何问题,记得过来提哦~ issues尽可能给我star

感谢 ColorUi 感谢 Vant-weapp 感谢 玩Android

wanandroid's People

Contributors

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