GithubHelp home page GithubHelp logo

red4cn / cnode- Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nanhupatar/cnode-

0.0 2.0 0.0 2.09 MB

cnode社区第三方客户端,小程序端,组件化开发,目前正在迭代中【暂时已经弃坑,有时间会使用mpvue重写】

JavaScript 100.00%

cnode-'s Introduction

cnode-

cnode社区第三方客户端,小程序端 小程序码:cnode微助手
cnode微助手

简介:原生开发,使用towxml解析markdown,小程序存在着一些问题,比如不支持滑动侧边栏等,将在后期迭代中实现,同时,欢迎提交bug反馈。

感谢https://github.com/coolfishstudio/wechat-webapp-cnode 提供的教程
感谢 https://github.com/web-L/wxCNode 提供的组件
感谢 https://github.com/TakWolf/CNode-Material-Design 提供的界面样式参考

功能:

扫码登录
查看用户信息
收藏 点赞 五种不同文章类目切换

主页效果,用户详情:

侧边栏效果:

登录,关于:

文档结构:

├─components  
│  ├─bar-slider  -------------------------- 侧边栏组件
│  ├─go-top      -------------------------- 返回顶部组件
│  ├─login       -------------------------- 登录组件
│  ├─n-mask      -------------------------- 蒙层组件
│  ├─topics      --------------------------列表组件
│  └─touch-gesture --------------------------手势
├─pages
│  ├─about  --------------------------关于页面
│  ├─content   --------------------------文章详情页面
│  │  └─component
│  │      ├─replies --------------------------回复列表组件
│  │      └─topic-header--------------------------详情头部文件
│  ├─index    -------------------------- 首页(入口)
│  └─user     -------------------------- 用户详情
│      └─component        
│          ├─topic-list  --------------------------收藏列表组件
│          └─topic-swiper -------------------------- swiper组件
├─static
│  ├─css      --------------------------公共样式
│  └─images   --------------------------静态文件
├─towxml      --------------------------towxml库
│  ├─lib      
│  ├─plugins
│  │  └─hljs
│  │      ├─languages
│  │      └─style
│  └─style
│      └─theme
└─utils     --------------------------工具库  

qa:

  1. Q:为什么不用wxparse?
    A:wxparse渲染代码时会有bug,不能完整渲染

  2. Q:非原创?
    A:绝大部分组件来自于github开源的一些代码,我觉得写的很好了,只对一部分细节做了更改,然后重新将ui部分修改了,使之样式和cnode社区安卓版基本类似。

  3. Q:有bug? A:是的,包括滑动穿透,蒙层层级问题的一系列bug,虽然不影响使用,将会在后期迭代中解决

cnode-'s People

Contributors

jonham avatar nanhupatar avatar

Watchers

 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.