uniapp路由生成demo
parents
Showing
.gitignore
0 → 100644
.hbuilderx/launch.json
0 → 100644
README.md
0 → 100644
babel.config.js
0 → 100644
package-lock.json
0 → 100644
This diff is collapsed.
package.json
0 → 100644
| { | ||
| "name": "my-project", | ||
| "version": "0.1.0", | ||
| "private": true, | ||
| "scripts": { | ||
| "pages": "node ./src/routers/build.js", | ||
| "serve": "npm run dev:h5", | ||
| "build": "npm run build:h5", | ||
| "build:app-plus": "cross-env NODE_ENV=production UNI_PLATFORM=app-plus vue-cli-service uni-build", | ||
| "build:custom": "cross-env NODE_ENV=production uniapp-cli custom", | ||
| "build:h5": "cross-env NODE_ENV=production UNI_PLATFORM=h5 vue-cli-service uni-build", | ||
| "build:mp-360": "cross-env NODE_ENV=production UNI_PLATFORM=mp-360 vue-cli-service uni-build", | ||
| "build:mp-alipay": "cross-env NODE_ENV=production UNI_PLATFORM=mp-alipay vue-cli-service uni-build", | ||
| "build:mp-baidu": "cross-env NODE_ENV=production UNI_PLATFORM=mp-baidu vue-cli-service uni-build", | ||
| "build:mp-qq": "cross-env NODE_ENV=production UNI_PLATFORM=mp-qq vue-cli-service uni-build", | ||
| "build:mp-toutiao": "cross-env NODE_ENV=production UNI_PLATFORM=mp-toutiao vue-cli-service uni-build", | ||
| "build:mp-weixin": "cross-env NODE_ENV=production UNI_PLATFORM=mp-weixin vue-cli-service uni-build", | ||
| "build:quickapp-native": "cross-env NODE_ENV=production UNI_PLATFORM=quickapp-native vue-cli-service uni-build", | ||
| "build:quickapp-webview": "cross-env NODE_ENV=production UNI_PLATFORM=quickapp-webview vue-cli-service uni-build", | ||
| "build:quickapp-webview-huawei": "cross-env NODE_ENV=production UNI_PLATFORM=quickapp-webview-huawei vue-cli-service uni-build", | ||
| "build:quickapp-webview-union": "cross-env NODE_ENV=production UNI_PLATFORM=quickapp-webview-union vue-cli-service uni-build", | ||
| "dev:app-plus": "cross-env NODE_ENV=development UNI_PLATFORM=app-plus vue-cli-service uni-build --watch", | ||
| "dev:custom": "cross-env NODE_ENV=development uniapp-cli custom", | ||
| "dev:h5": "cross-env NODE_ENV=development UNI_PLATFORM=h5 vue-cli-service uni-serve", | ||
| "dev:mp-360": "cross-env NODE_ENV=development UNI_PLATFORM=mp-360 vue-cli-service uni-build --watch", | ||
| "dev:mp-alipay": "cross-env NODE_ENV=development UNI_PLATFORM=mp-alipay vue-cli-service uni-build --watch", | ||
| "dev:mp-baidu": "cross-env NODE_ENV=development UNI_PLATFORM=mp-baidu vue-cli-service uni-build --watch", | ||
| "dev:mp-qq": "cross-env NODE_ENV=development UNI_PLATFORM=mp-qq vue-cli-service uni-build --watch", | ||
| "dev:mp-toutiao": "cross-env NODE_ENV=development UNI_PLATFORM=mp-toutiao vue-cli-service uni-build --watch", | ||
| "dev:mp-weixin": "cross-env NODE_ENV=development UNI_PLATFORM=mp-weixin vue-cli-service uni-build --watch", | ||
| "dev:quickapp-native": "cross-env NODE_ENV=development UNI_PLATFORM=quickapp-native vue-cli-service uni-build --watch", | ||
| "dev:quickapp-webview": "cross-env NODE_ENV=development UNI_PLATFORM=quickapp-webview vue-cli-service uni-build --watch", | ||
| "dev:quickapp-webview-huawei": "cross-env NODE_ENV=development UNI_PLATFORM=quickapp-webview-huawei vue-cli-service uni-build --watch", | ||
| "dev:quickapp-webview-union": "cross-env NODE_ENV=development UNI_PLATFORM=quickapp-webview-union vue-cli-service uni-build --watch", | ||
| "info": "node node_modules/@dcloudio/vue-cli-plugin-uni/commands/info.js", | ||
| "serve:quickapp-native": "node node_modules/@dcloudio/uni-quickapp-native/bin/serve.js", | ||
| "test:android": "cross-env UNI_PLATFORM=app-plus UNI_OS_NAME=android jest -i", | ||
| "test:h5": "cross-env UNI_PLATFORM=h5 jest -i", | ||
| "test:ios": "cross-env UNI_PLATFORM=app-plus UNI_OS_NAME=ios jest -i", | ||
| "test:mp-baidu": "cross-env UNI_PLATFORM=mp-baidu jest -i", | ||
| "test:mp-weixin": "cross-env UNI_PLATFORM=mp-weixin jest -i" | ||
| }, | ||
| "dependencies": { | ||
| "@dcloudio/uni-app-plus": "^2.0.0-28820200820001", | ||
| "@dcloudio/uni-h5": "^2.0.0-28820200820001", | ||
| "@dcloudio/uni-helper-json": "*", | ||
| "@dcloudio/uni-mp-360": "^2.0.0-28820200820001", | ||
| "@dcloudio/uni-mp-alipay": "^2.0.0-28820200820001", | ||
| "@dcloudio/uni-mp-baidu": "^2.0.0-28820200820001", | ||
| "@dcloudio/uni-mp-qq": "^2.0.0-28820200820001", | ||
| "@dcloudio/uni-mp-toutiao": "^2.0.0-28820200820001", | ||
| "@dcloudio/uni-mp-vue": "^2.0.0-28820200820001", | ||
| "@dcloudio/uni-mp-weixin": "^2.0.0-28820200820001", | ||
| "@dcloudio/uni-quickapp-native": "^2.0.0-28820200820001", | ||
| "@dcloudio/uni-quickapp-webview": "^2.0.0-28820200820001", | ||
| "@dcloudio/uni-stat": "^2.0.0-28820200820001", | ||
| "@vue/shared": "^3.0.0-rc.4", | ||
| "core-js": "^3.6.5", | ||
| "flyio": "^0.6.2", | ||
| "regenerator-runtime": "^0.12.1", | ||
| "vue": "^2.6.11", | ||
| "vuex": "^3.2.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@dcloudio/types": "*", | ||
| "@dcloudio/uni-automator": "^2.0.0-28820200820001", | ||
| "@dcloudio/uni-cli-shared": "^2.0.0-28820200820001", | ||
| "@dcloudio/uni-migration": "^2.0.0-28820200820001", | ||
| "@dcloudio/uni-template-compiler": "^2.0.0-28820200820001", | ||
| "@dcloudio/vue-cli-plugin-hbuilderx": "^2.0.0-28820200820001", | ||
| "@dcloudio/vue-cli-plugin-uni": "^2.0.0-28820200820001", | ||
| "@dcloudio/vue-cli-plugin-uni-optimize": "^2.0.0-28820200820001", | ||
| "@dcloudio/webpack-uni-mp-loader": "^2.0.0-28820200820001", | ||
| "@dcloudio/webpack-uni-pages-loader": "^2.0.0-28820200820001", | ||
| "@vue/cli-plugin-babel": "~4.5.0", | ||
| "@vue/cli-service": "~4.5.0", | ||
| "babel-plugin-import": "^1.11.0", | ||
| "cross-env": "^7.0.2", | ||
| "jest": "^25.4.0", | ||
| "mini-types": "*", | ||
| "miniprogram-api-typings": "*", | ||
| "postcss-comment": "^2.0.0", | ||
| "vue-template-compiler": "^2.6.11", | ||
| "less": "^3.9.0", | ||
| "less-loader": "^4.1.0", | ||
| "node-sass": "^4.11.0", | ||
| "sass-loader": "^7.1.0" | ||
| }, | ||
| "browserslist": [ | ||
| "Android >= 4", | ||
| "ios >= 8" | ||
| ], | ||
| "uni-app": { | ||
| "scripts": {} | ||
| } | ||
| } |
postcss.config.js
0 → 100644
public/index.html
0 → 100644
src/App.vue
0 → 100644
src/api/account.js
0 → 100644
src/api/activity.js
0 → 100644
src/api/grade.js
0 → 100644
src/api/login.js
0 → 100644
src/api/merchants.js
0 → 100644
src/api/sample.js
0 → 100644
src/api/sign.js
0 → 100644
src/api/user.js
0 → 100644
src/assets/font/demo.css
0 → 100644
This diff is collapsed.
src/assets/font/iconfont.css
0 → 100644
This diff is collapsed.
src/assets/font/iconfont.eot
0 → 100644
File added
src/assets/font/iconfont.js
0 → 100644
This diff is collapsed.
This diff is collapsed.
src/assets/font/iconfont.svg
0 → 100644
This diff is collapsed.
src/assets/font/iconfont.ttf
0 → 100644
File added
File added
File added
src/assets/images/404.png
0 → 100644
44.1 KB
44 KB
src/assets/images/check.png
0 → 100644
518 Bytes
src/assets/images/clock.png
0 → 100644
728 Bytes
19.4 KB
src/assets/images/error.png
0 → 100644
657 Bytes
1.37 KB
1.16 KB
1.03 KB
2.03 KB
531 Bytes
434 Bytes
1.24 KB
688 Bytes
893 Bytes
715 Bytes
795 Bytes
1.16 KB
641 Bytes
714 Bytes
636 Bytes
531 Bytes
567 Bytes
894 Bytes
497 Bytes
357 Bytes
401 Bytes
649 Bytes
206 Bytes
1008 Bytes
651 Bytes
765 Bytes
2.8 KB
539 Bytes
653 Bytes
1.72 KB
1.71 KB
1.24 KB
1.42 KB
1.66 KB
src/assets/images/fail.png
0 → 100644
33.3 KB
740 Bytes
17 KB
src/assets/images/lines.png
0 → 100644
458 Bytes
src/assets/images/logo.png
0 → 100644
3.25 KB
67.8 KB
37.9 KB
694 Bytes
415 Bytes
2.5 KB
3.01 KB
1.22 KB
1.58 KB
915 Bytes
837 Bytes
992 Bytes
src/assets/styles/base.css
0 → 100644
This diff is collapsed.
src/components/btn-code.vue
0 → 100644
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
src/components/empty.vue
0 → 100644
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
src/components/up-modal.vue
0 → 100644
This diff is collapsed.
This diff is collapsed.
src/configs/env.js
0 → 100644
This diff is collapsed.
src/jslibs/dk-flyio.js
0 → 100644
This diff is collapsed.
src/main.js
0 → 100644
This diff is collapsed.
src/manifest.json
0 → 100644
This diff is collapsed.
src/mixin/common.js
0 → 100644
This diff is collapsed.
src/mixin/painting.js
0 → 100644
This diff is collapsed.
src/package.json
0 → 100644
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
src/pages copy.json
0 → 100644
This diff is collapsed.
src/pages.json
0 → 100644
This diff is collapsed.
This diff is collapsed.
src/pages/course/details.vue
0 → 100644
This diff is collapsed.
src/pages/course/index.vue
0 → 100644
This diff is collapsed.
src/pages/example.vue
0 → 100644
This diff is collapsed.
src/pages/example/button.vue
0 → 100644
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
src/pages/home/index.vue
0 → 100644
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
src/pages/index.vue
0 → 100644
This diff is collapsed.
src/pages/login/index.vue
0 → 100644
This diff is collapsed.
src/pages/printing/index.vue
0 → 100644
This diff is collapsed.
This diff is collapsed.
src/pages/user/index.vue
0 → 100644
This diff is collapsed.
src/routers/build.js
0 → 100644
This diff is collapsed.
src/routers/index.js
0 → 100644
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
src/static/arrow.png
0 → 100644
This diff is collapsed.
src/static/bg.png
0 → 100644
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
src/static/index.js
0 → 100644
This diff is collapsed.
src/static/logo-bg.png
0 → 100644
This diff is collapsed.
src/static/logo.png
0 → 100644
This diff is collapsed.
src/static/more.png
0 → 100644
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
src/static/userimg.png
0 → 100644
This diff is collapsed.
src/store/index.js
0 → 100644
This diff is collapsed.
src/uni.scss
0 → 100644
This diff is collapsed.
src/utils/global-data.js
0 → 100644
This diff is collapsed.
src/utils/index.js
0 → 100644
This diff is collapsed.
src/utils/routers/build.js
0 → 100644
This diff is collapsed.
src/utils/routers/index.js
0 → 100644
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
tsconfig.json
0 → 100644
This diff is collapsed.
yarn.lock
0 → 100644
This diff is collapsed.