Coder Social home page Coder Social logo

xiaoxiazhihuweex's Introduction

XiaoxiaZhihuWeex


参考知乎日报,使用网络上的Api,仿写了一个知乎日报客户端。

由于使用非正常手段获取Api,若被告知需停止共享与使用,本人会及时删除此页面与整个项目。

客户端使用Alibaba开源的Weex进行开发。

其他客户端

XiaoxiaZhihu iOS客户端

XiaoxiaZhihu Android客户端Java版本

XiaoxiaZhihu Android客户端Kotlin版本

XiaoxiaZhihu Android客户端Android Architecture Components版本

XiaoxiaZhihu客户端ReactNative版本

XiaoxiaZhihu客户端Weex版本

XiaoxiaZhihu客户端微信小程序

效果图

使用

下载Weex源码,复制本项目中zhihu文件夹到weex examples目录中,然后修改examples/index.we文件。

根据index.we中的示例,然后添加如下代码,然后运行playground即可。

{name: 'zhihu/main', title: 'Zhihu'},

总结

Weex还有很多不足之处,比如不支持直接显示html文本、文本中不能包含表情,否则会奔溃。所以在知乎日报中的详情页面直接以webview的形式打开一个网页。 同样一份代码,在iOS、Android、H5上面运行效果很不一样,而且兼容困难,与所宣传的有所差异。

后续

  • 等待Weex成熟以后再行优化。

xiaoxiazhihuweex's People

Contributors

liushuixiaoxia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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