1 Star 0 Fork 0

Hosing / zhihu-applet

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

zhihu-applet

GitHub stars GitHub issues GitHub forks GitHub license

该仿知乎小程序基于 Taro + Taro-UI 进行构建应用程序开发
该仿知乎小程序的 API 接口数据来自 Mock 服务器(yapi)部署后能运行,而且页面代码来自微信仿知乎小程序

项目技术栈

前端技术: Taro + Taro-router
UI 组件库: Taro-ui
前端脚手架: Taro-cli

该项目采用前后端分离技术,前端使用 Taro 二次开发来自 React 框架,暂时不使用相关状态管理,而且 API 接口从 Mock 服务器获取返回数据得到渲染,方便项目配置以及代码管理

实现功能

首页: 主要功能

  • 顶部切换标签页
  • 自定义下拉刷新
  • 触底上拉加载更多
  • 可复用搜索栏组件

首页

想法: 主要功能

  • 顶部轮播图
  • 单个及全部关注
  • 滑动 tab 条吸顶
  • 文字超出被折叠

想法

市场: 主要功能

  • 顶部轮播图
  • 横向滑动图片列表
  • 触底上拉加载更多

市场

消息: 主要功能

  • 滑动列表 tab 条吸顶
  • 从 Mock 返回假数据排版

消息

我的: 主要功能

  • 从 Mock 返回假数据排版

我的

执行命令

installing

# 克隆项目
git clone https://github.com/MoonCheung/zhihu-applet.git

# 进入目录
cd zhihu-applet

# 执行yarn命令会进行安装
yarn

Run the application

# 指定平台的开发时构建微信小程序
yarn dev:weapp

# 指定平台的打包构建
yarn build:weapp

Demo 用于学习交流, 喜欢的话,请点击Star ,转载请注明出处

MIT License Copyright (c) 2019 Moon Cheung Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

仿知乎小程序基于Taro框架构建应用程序 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/hosing23/zhihu-applet.git
git@gitee.com:hosing23/zhihu-applet.git
hosing23
zhihu-applet
zhihu-applet
master

搜索帮助