init
Showing
.gitignore
0 → 100644
config/webpack.dev.js
0 → 100644
config/webpack.prod.js
0 → 100644
dist/app.195e856e.js
0 → 100644
This diff is collapsed.
Click to expand it.
dist/app.5d542828.css
0 → 100644
This diff is collapsed.
Click to expand it.
dist/img/safe-bg@2x.639ee009.png
0 → 100644
31.6 KB
dist/index.html
0 → 100644
dist/runtime~app.558836ef.js
0 → 100644
dist/runtime~vendor.2d1aae0e.js
0 → 100644
dist/service-worker.js
0 → 100644
dist/vendor.291365be.js
0 → 100644
dist/vendors~app.8ec15845.js
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
dist/vendors~app.b1ea6b3e.css
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dist/workbox-v4.3.1/workbox-core.dev.js
0 → 100644
This diff is collapsed.
Click to expand it.
dist/workbox-v4.3.1/workbox-core.dev.js.map
0 → 100644
This diff is collapsed.
Click to expand it.
dist/workbox-v4.3.1/workbox-core.prod.js
0 → 100644
dist/workbox-v4.3.1/workbox-core.prod.js.map
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dist/workbox-v4.3.1/workbox-routing.dev.js
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dist/workbox-v4.3.1/workbox-routing.prod.js
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dist/workbox-v4.3.1/workbox-streams.dev.js
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dist/workbox-v4.3.1/workbox-streams.prod.js
0 → 100644
This diff is collapsed.
Click to expand it.
dist/workbox-v4.3.1/workbox-sw.js
0 → 100644
dist/workbox-v4.3.1/workbox-sw.js.map
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dist/workbox-v4.3.1/workbox-window.dev.mjs
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
dist/workbox-v4.3.1/workbox-window.prod.mjs
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
package-lock.json
0 → 100644
package.json
0 → 100644
{ | |||
"name": "webpack", | |||
"version": "1.0.0", | |||
"main": "index.js", | |||
"license": "MIT", | |||
"dependencies": { | |||
"@babel/core": "^7.4.4", | |||
"@babel/plugin-proposal-class-properties": "^7.4.4", | |||
"@babel/plugin-transform-runtime": "^7.4.4", | |||
"@babel/preset-env": "^7.4.4", | |||
"@babel/preset-react": "^7.0.0", | |||
"@babel/runtime-corejs2": "^7.4.4", | |||
"antd-mobile": "^2.2.13", | |||
"autoprefixer": "^9.5.1", | |||
"axios": "^0.18.0", | |||
"babel-loader": "^8.0.5", | |||
"babel-plugin-import": "^1.11.0", | |||
"babel-plugin-syntax-dynamic-import": "^6.18.0", | |||
"babel-plugin-transform-runtime": "^6.23.0", | |||
"babel-polyfill": "^6.26.0", | |||
"better-scroll": "^1.15.2", | |||
"classnames": "^2.2.6", | |||
"clean-webpack-plugin": "^2.0.2", | |||
"core-js": "2", | |||
"css-loader": "^2.1.1", | |||
"eslint": "^4.13.1", | |||
"eslint-loader": "^2.1.2", | |||
"file-loader": "^3.0.1", | |||
"html-loader": "^0.5.5", | |||
"html-webpack-plugin": "^3.2.0", | |||
"imagemin": "^6.1.0", | |||
"imagemin-gifsicle": "^6.0.1", | |||
"imagemin-mozjpeg": "^8.0.0", | |||
"imagemin-pngquant": "^7.0.0", | |||
"imagemin-svgo": "^7.0.0", | |||
"img-loader": "^3.0.1", | |||
"less": "^3.9.0", | |||
"less-loader": "^5.0.0", | |||
"mini-css-extract-plugin": "^0.6.0", | |||
"mockjs": "^1.0.1-beta3", | |||
"moment": "^2.24.0", | |||
"optimize-css-assets-webpack-plugin": "^5.0.1", | |||
"photoswipe": "^4.1.3", | |||
"postcss-loader": "^3.0.0", | |||
"prerender-spa-plugin": "^3.4.0", | |||
"prop-types": "^15.7.2", | |||
"pubsub-js": "^1.7.0", | |||
"qiniu-js": "^2.5.4", | |||
"react": "^16.8.6", | |||
"react-dom": "^16.8.6", | |||
"react-hot-loader": "^4.8.4", | |||
"react-lazy-load": "^3.0.13", | |||
"react-lazyload": "^2.5.0", | |||
"react-lazyload-fadein": "^1.1.0", | |||
"react-loadable": "^5.5.0", | |||
"react-photoswipe": "^1.3.0", | |||
"react-redux": "^7.0.3", | |||
"react-router": "^5.0.0", | |||
"react-router-dom": "^5.0.0", | |||
"react-scroll": "^1.7.11", | |||
"redux": "^4.0.1", | |||
"redux-devtools-extension": "^2.13.8", | |||
"redux-thunk": "^2.3.0", | |||
"style-loader": "^0.23.1", | |||
"thread-loader": "^2.1.2", | |||
"url-loader": "^1.1.2", | |||
"webpack": "^4.30.0", | |||
"webpack-cli": "^3.3.2", | |||
"webpack-dev-server": "^3.3.1", | |||
"workbox-webpack-plugin": "^4.3.1" | |||
}, | |||
"scripts": { | |||
"start": "webpack-dev-server --config ./config/webpack.dev.js", | |||
"dev": "webpack-dev-server --config ./config/webpack.dev.js", | |||
"build": "webpack --config ./config/webpack.prod.js " | |||
}, | |||
"devDependencies": { | |||
"@babel/plugin-syntax-dynamic-import": "^7.2.0", | |||
"preload-webpack-plugin": "^3.0.0-beta.3" | |||
}, | |||
"theme": { | |||
"brand-primary": "red", | |||
"color-text-base": "#333" | |||
} | |||
} |
postcss.config.js
0 → 100644
public/favicon.ico
0 → 100644
File added
public/index.html
0 → 100644
src/App.jsx
0 → 100644
src/Components/Index.js
0 → 100644
src/Components/common/Loading/Loading.js
0 → 100644
src/Components/common/Tips/Tips.js
0 → 100644
src/Components/common/Upload/Upload.js
0 → 100644
src/Components/common/Upload/api/index.js
0 → 100644
src/Components/common/UploadFile/file.js
0 → 100644
src/Components/page/user/TabBar.js
0 → 100644
src/Components/page/user/TrainItem.js
0 → 100644
src/Components/page/user/Upload.js
0 → 100644
src/Components/static/Footer/Footer.js
0 → 100644
src/Components/static/Header/Header.js
0 → 100644
src/Components/static/Layout/Layout.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/Components/static/TitleBar/TitleBar.js
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/api/apis.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/api/fetch.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/assets/index.less
0 → 100644
This diff is collapsed.
Click to expand it.
src/config/config.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/index.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/mock/category.json
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
src/mock/categoryList.json
0 → 100644
This diff is collapsed.
Click to expand it.
src/mock/homeData.json
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
src/mock/index.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/404.jsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/deposit/DepositPay.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/deposit/DepositUser.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/home/index.jsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/home/index.less
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/user/JobList.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/user/Train.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/user/TrainList.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/pages/user/addMaterial.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/redux-file/actions-creators.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/redux-file/actions-types.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/redux-file/reducers.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/redux-file/store.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/static/images/icon/icon-answer.png
0 → 100644
This diff is collapsed.
Click to expand it.
src/static/images/icon/icon-close-border.png
0 → 100644
This diff is collapsed.
Click to expand it.
src/static/images/train/icon-add2@2x.png
0 → 100644
This diff is collapsed.
Click to expand it.
src/static/images/train/icon-add@2x.png
0 → 100644
This diff is collapsed.
Click to expand it.
src/static/images/train/icon-del2@2x.png
0 → 100644
This diff is collapsed.
Click to expand it.
src/static/images/train/icon-del@2x.png
0 → 100644
This diff is collapsed.
Click to expand it.
src/static/images/train/icon_collate.png
0 → 100644
This diff is collapsed.
Click to expand it.
src/static/images/train/safe-bg@2x.png
0 → 100644
This diff is collapsed.
Click to expand it.
src/static/images/train/tit_pop.png
0 → 100644
This diff is collapsed.
Click to expand it.
src/static/js/constant.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/static/js/getImageRealWidthH.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/static/js/native.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/static/styles/base.less
0 → 100644
This diff is collapsed.
Click to expand it.
src/static/styles/deposit/deposit.less
0 → 100644
This diff is collapsed.
Click to expand it.
src/static/styles/global.less
0 → 100644
This diff is collapsed.
Click to expand it.
src/static/styles/user/add-material.less
0 → 100644
This diff is collapsed.
Click to expand it.
src/static/styles/user/train-list.less
0 → 100644
This diff is collapsed.
Click to expand it.
src/utils/common.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/utils/eventProxy.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/utils/history.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/utils/storage.plugin.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/utils/tools.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/utils/vconsole.js
0 → 100644
This diff is collapsed.
Click to expand it.