├── .editorconfig ├── .eslintrc ├── .gitignore ├── README.md ├── config ├── dev.js ├── index.js └── prod.js ├── global.d.ts ├── package.json ├── project.config.json ├── scripts ├── component.js ├── template.js └── upload.js ├── src ├── app-shim.d.ts ├── app.scss ├── app.tsx ├── assets │ └── scss │ │ └── variables.scss ├── config │ ├── index.ts │ ├── requestConfig.ts │ └── taroConfig.ts ├── index.html ├── models │ └── index.ts ├── pages │ └── index │ │ ├── config.ts │ │ ├── index.interface.ts │ │ ├── index.scss │ │ ├── index.tsx │ │ ├── model.ts │ │ └── service.ts └── utils │ ├── common.ts │ ├── dva.ts │ ├── logger.ts │ ├── request.ts │ └── tips.ts ├── tsconfig.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/README.md -------------------------------------------------------------------------------- /config/dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/config/dev.js -------------------------------------------------------------------------------- /config/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/config/index.js -------------------------------------------------------------------------------- /config/prod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/config/prod.js -------------------------------------------------------------------------------- /global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/global.d.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/package.json -------------------------------------------------------------------------------- /project.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/project.config.json -------------------------------------------------------------------------------- /scripts/component.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/scripts/component.js -------------------------------------------------------------------------------- /scripts/template.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/scripts/template.js -------------------------------------------------------------------------------- /scripts/upload.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/scripts/upload.js -------------------------------------------------------------------------------- /src/app-shim.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/src/app-shim.d.ts -------------------------------------------------------------------------------- /src/app.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/src/app.tsx -------------------------------------------------------------------------------- /src/assets/scss/variables.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/src/assets/scss/variables.scss -------------------------------------------------------------------------------- /src/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/src/config/index.ts -------------------------------------------------------------------------------- /src/config/requestConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/src/config/requestConfig.ts -------------------------------------------------------------------------------- /src/config/taroConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/src/config/taroConfig.ts -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/src/index.html -------------------------------------------------------------------------------- /src/models/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/src/models/index.ts -------------------------------------------------------------------------------- /src/pages/index/config.ts: -------------------------------------------------------------------------------- 1 | 2 | export default { 3 | getLists: '/japi/toh', // 获取历史上的今天接口 4 | } 5 | -------------------------------------------------------------------------------- /src/pages/index/index.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/src/pages/index/index.interface.ts -------------------------------------------------------------------------------- /src/pages/index/index.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/src/pages/index/index.scss -------------------------------------------------------------------------------- /src/pages/index/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/src/pages/index/index.tsx -------------------------------------------------------------------------------- /src/pages/index/model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/src/pages/index/model.ts -------------------------------------------------------------------------------- /src/pages/index/service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/src/pages/index/service.ts -------------------------------------------------------------------------------- /src/utils/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/src/utils/common.ts -------------------------------------------------------------------------------- /src/utils/dva.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/src/utils/dva.ts -------------------------------------------------------------------------------- /src/utils/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/src/utils/logger.ts -------------------------------------------------------------------------------- /src/utils/request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/src/utils/request.ts -------------------------------------------------------------------------------- /src/utils/tips.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/src/utils/tips.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenfangsheng/taro-dva-master/HEAD/yarn.lock --------------------------------------------------------------------------------