Giter VIP home page Giter VIP logo

liyuechun / comicbook Goto Github PK

View Code? Open in Web Editor NEW
207.0 11.0 74.0 190.06 MB

React-Native跨平台漫画App免费视频:http://www.kongyixueyuan.com/course/3528

Home Page: http://www.kongyixueyuan.com/course/3528

JavaScript 2.85% Python 0.11% Java 38.99% Objective-C 22.84% C 1.76% Makefile 33.29% Shell 0.04% C++ 0.11%
react react-native reactnative react-navigation redux react-native-scrollable-tab-view react-native-sglistview react-native-viewpager react-redux react-static-container

comicbook's Introduction

基于iOS和Android的react-native跨平台漫画App

ComicBook

ComicBook项目参考了ComicApp的部分设计和部分代码,ComicBookComicApp的重构版。本项目架构清晰,代码简洁,还配套完整的视频

项目使用须知

  1. $ git clone https://github.com/liyuechun/ComicBook.git

  2. $ cd ComicBook

  3. $ npm install

  4. 如下图打开项目配置文件 配置

  5. 配置说明

import {  
    Platform
} from 'react-native';

/**
 * 运行项目注意事项
 * 1、请移步:https://www.juhe.cn/docs/api/id/163
 * 2、注册账号
 * 3、申请数据,免费可以访问1000次,如果想花钱,可以花99元买20000次,
 * 不想花钱,直接换个手机号再注册申请即可
 * 4、把申请的key替换掉下面的key
*/

/**
 * 备用key
 * 8f28c126609a563c7ce16f6a83369459
 * ed273dc45c5042836181c2356b81db63
*/

/**
 * 将你申请的key替换掉下面的key
 */
export const KEY = "8f28c126609a563c7ce16f6a83369459";


/**
 * Android端是否以抽屉样式展示
 */
const SHOW_ANDROID_DRAWER = true;
// const SHOW_ANDROID_DRAWER = false;

/**
 * iOS端是否以抽屉样式展示
 */
const SHOW_IOS_DRAWER = true;
// const SHOW_IOS_DRAWER = false;

export const IS_TAB_STYLE = Platform.OS === 'ios' && !SHOW_IOS_DRAWER || Platform.OS !== 'ios' && ! SHOW_ANDROID_DRAWER;
  1. 运行项目
$ react-native start
$ react-native run-ios
$ android avd //启动android模拟器
$ react-native run-android

效果图

iOS Android
配置 配置
配置 配置
配置 配置
配置 配置

第三方库

  1. StackNavigator
  2. TabNavigator
  3. DrawerNavigator
  4. Redux
  5. redux-thunk
  6. react-static-container
  7. react-native-viewpager
  8. react-native-sglistview
  9. react-native-scrollable-tab-view

TODOS

  1. mobx版本的ComicBook
  2. Weex版本的ComicBook

联系我

联系我

comicbook's People

Contributors

liyuechun avatar

Stargazers

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

Watchers

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