diff --git a/.gitignore b/.gitignore
index d60f8bb..a70bc78 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,2 @@
-unpackage
-unpackage/*
-node_modules
-unpackage/*/**
\ No newline at end of file
+/unpackage
+/node_modules
diff --git a/apis/interfaces/coupons.js b/apis/interfaces/coupons.js
index 11ac44a..483d47d 100644
--- a/apis/interfaces/coupons.js
+++ b/apis/interfaces/coupons.js
@@ -56,11 +56,20 @@ const magCouponsRecommend = id => {
})
}
+// 优惠券删除
+const magCouponsDel = (coupon_id) => {
+ return request({
+ url: 'coupons/tools/coupons/' + coupon_id,
+ method: 'DELETE'
+ })
+}
+
export {
toolsCoupons,
pushCoupons,
couponsGoods,
magCouponsInfo,
magCouponsStatus,
- magCouponsRecommend
+ magCouponsRecommend,
+ magCouponsDel
}
diff --git a/apis/interfaces/user.js b/apis/interfaces/user.js
index 068aca7..ace7b25 100644
--- a/apis/interfaces/user.js
+++ b/apis/interfaces/user.js
@@ -58,6 +58,37 @@ const userPartne = (data) => {
})
}
+// 我的优惠券
+const userCoupon = (data) => {
+ return request({
+ url: 'coupons/user/coupons',
+ data: data
+ })
+}
+
+// 我的优惠券-详情
+const couponsInfo = (coupon_grant_id) => {
+ return request({
+ url: 'coupons/user/coupons/' + coupon_grant_id
+ })
+}
+
+// 我的优惠券-二维码
+const getQrcodeByGrantId = (data) => {
+ return request({
+ url: 'coupons/user/coupons/qrcode',
+ data: data
+ })
+}
+
+// 我的优惠券-列表
+const userCouponList = (coupon_id, data) => {
+ return request({
+ url: 'coupons/user/coupons/' + coupon_id + '/list',
+ data: data
+ })
+}
+
export {
userIndex,
userNotice,
@@ -65,5 +96,9 @@ export {
userHelp,
userClause,
userInvite,
- userPartne
+ userPartne,
+ userCoupon,
+ couponsInfo,
+ getQrcodeByGrantId,
+ userCouponList
}
diff --git a/manifest.json b/manifest.json
index b9518f5..749d5f9 100644
--- a/manifest.json
+++ b/manifest.json
@@ -174,7 +174,12 @@
"uniStatistics" : {
"enable" : false
},
- "vueVersion" : "2"
+ "vueVersion" : "2",
+ "h5" : {
+ "router" : {
+ "mode" : "history"
+ }
+ }
}
/* SDK配置 */
diff --git a/node_modules/uni-read-pages/README.md b/node_modules/uni-read-pages/README.md
deleted file mode 100644
index 9552873..0000000
--- a/node_modules/uni-read-pages/README.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# uni-read-pages
-
-   
-
-通过 [vue.config.js](https://cli.vuejs.org/zh/config/) 配合此库,可以随心所欲的读取 `pages.json` 下的所有配置
-
-## 安装
-
-您可以使用 `Yarn` 或 `npm` 安装该软件包(选择一个):
-
-##### Yarn
-
-```sh
-yarn add uni-read-pages
-```
-##### npm
-
-```sh
-npm install uni-read-pages
-```
-## 开始
-配置 `vue.config.js` 通过 `webpack` 注入全局变量 [查看文档](https://www.webpackjs.com/plugins/define-plugin/)
-
-#### 配置 `vue.config.js`
-```js
-//vue.config.js
-const TransformPages = require('uni-read-pages')
-const tfPages = new TransformPages()
-module.exports = {
- configureWebpack: {
- plugins: [
- new tfPages.webpack.DefinePlugin({
- ROUTES: JSON.stringify(tfPages.routes)
- })
- ]
- }
-}
-```
-借助`webpack.DefinePlugin` 轻松注入全局变量。`ROUTES` 及可全局使用
-
-#### 使用
-```js
-// xxx.vue
-
-```
-## API
-#### options
-```js
-//默认值
-const CONFIG={
- cli:false, //当前是否为脚手架初始化的项目
- includes:['path','aliasPath','name'] //需要获取包涵的字段
-}
-```
-
-#### Instance method
-
-* **getPagesRoutes**
- * 通过读取 `pages.json` 文件 生成直接可用的routes
-
-* **parsePages(pageCallback, subPageCallback)**
- * 单条page对象解析
-
-* **resolvePath(dir)**
- * 解析绝对路径
-
-#### Instance attr
-
-* **CONFIG**
- * 当前配置项
-
-* **webpack**
- * 当前工程下需要用到 `webpack`
-
-* **uniPagesJSON**
- * 当前 `uni-app` 内置对象,可以通过此属性调用一些内置方法
-
-* **routes**
- * 通过 **includes** 解析后得到的路由表 **可直接使用**
-
-#### getter
-
-* **pagesJson**
- * 获取所有 `pages.json` 下的内容 返回 `json`
-
-
-#### uniPagesJSON method
-
-* getMainEntry()
-* getNVueMainEntry()
-* parsePages (pagesJson, pageCallback, subPageCallback)
-* parseEntry (pagesJson)
-* getPagesJson()
-* parsePagesJson (content, loader)
-
-#### uniPagesJSON attr
-* pagesJsonJsFileName //默认值 pages.js
\ No newline at end of file
diff --git a/node_modules/uni-read-pages/index.js b/node_modules/uni-read-pages/index.js
deleted file mode 100644
index a938961..0000000
--- a/node_modules/uni-read-pages/index.js
+++ /dev/null
@@ -1,83 +0,0 @@
-const path = require('path')
-const CONFIG = {
- includes: ['path', 'aliasPath', 'name']
-}
-const rootPath = path.resolve(process.cwd(), 'node_modules');
-
-/** 解析绝对路径
- * @param {Object} dir
- */
-function resolvePath(dir) {
- return path.resolve(rootPath, dir);
-}
-
-class TransformPages {
- constructor(config) {
- config = {
- ...CONFIG,
- ...config
- };
- this.CONFIG = config;
- this.webpack = require(resolvePath('webpack'));
- this.uniPagesJSON = require(resolvePath('@dcloudio/uni-cli-shared/lib/pages.js'));
- this.routes = this.getPagesRoutes().concat(this.getNotMpRoutes());
- }
- /**
- * 获取所有pages.json下的内容 返回json
- */
- get pagesJson() {
- return this.uniPagesJSON.getPagesJson();
- }
- /**
- * 通过读取pages.json文件 生成直接可用的routes
- */
- getPagesRoutes(pages = this.pagesJson.pages, rootPath = null) {
- const routes = [];
- for (let i = 0; i < pages.length; i++) {
- const item = pages[i];
- const route = {};
- for (let j = 0; j < this.CONFIG.includes.length; j++) {
- const key = this.CONFIG.includes[j];
- let value = item[key];
- if (key === 'path') {
- value = rootPath ? `/${rootPath}/${value}` : `/${value}`
- }
- if (key === 'aliasPath' && i == 0 && rootPath == null) {
- route[key] = route[key] || '/'
- } else if (value !== undefined) {
- route[key] = value;
- }
- }
- routes.push(route);
- }
- return routes;
- }
- /**
- * 解析小程序分包路径
- */
- getNotMpRoutes() {
- const {
- subPackages
- } = this.pagesJson;
- let routes = [];
- if (subPackages == null || subPackages.length == 0) {
- return [];
- }
- for (let i = 0; i < subPackages.length; i++) {
- const subPages = subPackages[i].pages;
- const root = subPackages[i].root;
- const subRoutes = this.getPagesRoutes(subPages, root);
- routes = routes.concat(subRoutes)
- }
- return routes
- }
- /**
- * 单条page对象解析
- * @param {Object} pageCallback
- * @param {Object} subPageCallback
- */
- parsePages(pageCallback, subPageCallback) {
- this.uniPagesJSON.parsePages(this.pagesJson, pageCallback, subPageCallback)
- }
-}
-module.exports = TransformPages
\ No newline at end of file
diff --git a/node_modules/uni-read-pages/package.json b/node_modules/uni-read-pages/package.json
deleted file mode 100644
index 110ee7d..0000000
--- a/node_modules/uni-read-pages/package.json
+++ /dev/null
@@ -1,51 +0,0 @@
-{
- "_from": "uni-read-pages",
- "_id": "uni-read-pages@1.0.5",
- "_inBundle": false,
- "_integrity": "sha512-GkrrZ0LX0vn9R5k6RKEi0Ez3Q3e2vUpjXQ8Z6/K/d28KudI9ajqgt8WEjQFlG5EPm1K6uTArN8LlqmZTEixDUA==",
- "_location": "/uni-read-pages",
- "_phantomChildren": {},
- "_requested": {
- "type": "tag",
- "registry": true,
- "raw": "uni-read-pages",
- "name": "uni-read-pages",
- "escapedName": "uni-read-pages",
- "rawSpec": "",
- "saveSpec": null,
- "fetchSpec": "latest"
- },
- "_requiredBy": [
- "#USER",
- "/"
- ],
- "_resolved": "https://registry.npmjs.org/uni-read-pages/-/uni-read-pages-1.0.5.tgz",
- "_shasum": "452c8dcaa8977bbaef600909be926c8d9704387c",
- "_spec": "uni-read-pages",
- "_where": "/Users/WebTmm/Desktop/BlockChainH5",
- "author": "",
- "bugs": {
- "url": "https://github.com/SilurianYang/uni-read-pages/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "read `pages.json` file to generate the routes table",
- "directories": {
- "example": "examples"
- },
- "homepage": "https://github.com/SilurianYang/uni-read-pages#readme",
- "keywords": [],
- "license": "ISC",
- "main": "index.js",
- "name": "uni-read-pages",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/SilurianYang/uni-read-pages.git"
- },
- "scripts": {
- "build": "webpack --progress --config webpack/webpack.prod.js",
- "dev": "webpack --watch --progress --config webpack/webpack.dev.js",
- "postinstall": "node -e \"console.log('\\x1b[91m','\\n\\n uni-simple-router 垫脚片,欢迎下载!\\n \\n 开源不易,需要鼓励。去给 uni-read-pages 项目 点个 star 吧 \\n\\n')\""
- },
- "version": "1.0.5"
-}
diff --git a/node_modules/uni-simple-router/.eslintignore b/node_modules/uni-simple-router/.eslintignore
deleted file mode 100644
index 3661113..0000000
--- a/node_modules/uni-simple-router/.eslintignore
+++ /dev/null
@@ -1,6 +0,0 @@
-dist
-/node_modules
-/webpack
-/src/global.d.ts
-/test
-/jest.config.js
\ No newline at end of file
diff --git a/node_modules/uni-simple-router/.eslintrc.js b/node_modules/uni-simple-router/.eslintrc.js
deleted file mode 100644
index e792a31..0000000
--- a/node_modules/uni-simple-router/.eslintrc.js
+++ /dev/null
@@ -1,257 +0,0 @@
-module.exports = {
- root: true,
- env: {
- browser: true,
- node: true,
- es6: true
- },
- globals: {
- uni: true,
- plus: true,
- getCurrentPages: true,
- getApp: true,
- __uniConfig: true,
- __uniRoutes: true,
- $npm_package_name: true
- },
- parser: '@typescript-eslint/parser',
- extends: ['eslint:recommended'],
- plugins: ['@typescript-eslint'],
- rules: {
- '@typescript-eslint/consistent-type-definitions': [
- 'error',
- 'interface'
- ],
- 'accessor-pairs': 2,
- 'arrow-spacing': [
- 2,
- {
- before: true,
- after: true
- }
- ],
- 'block-spacing': [2, 'always'],
- 'brace-style': [
- 2,
- '1tbs',
- {
- allowSingleLine: true
- }
- ],
- camelcase: [
- 0,
- {
- properties: 'always'
- }
- ],
- 'comma-dangle': [2, 'never'],
- 'comma-spacing': [
- 2,
- {
- before: false,
- after: true
- }
- ],
- 'comma-style': [2, 'last'],
- 'constructor-super': 2,
- curly: [2, 'multi-line'],
- 'dot-location': [2, 'property'],
- 'eol-last': 2,
- eqeqeq: ['error', 'always', {null: 'ignore'}],
- 'generator-star-spacing': [
- 2,
- {
- before: true,
- after: true
- }
- ],
- 'handle-callback-err': [2, '^(err|error)$'],
- indent: ['error', 4],
- 'jsx-quotes': [2, 'prefer-single'],
- 'key-spacing': [
- 2,
- {
- beforeColon: false,
- afterColon: true
- }
- ],
- 'keyword-spacing': [
- 2,
- {
- before: true,
- after: true
- }
- ],
- 'new-cap': [
- 2,
- {
- newIsCap: true,
- capIsNew: false
- }
- ],
- 'new-parens': 2,
- 'no-array-constructor': 2,
- 'no-caller': 2,
- 'no-console': 'off',
- 'no-class-assign': 2,
- 'no-cond-assign': 2,
- 'no-const-assign': 2,
- 'no-control-regex': 0,
- 'no-delete-var': 2,
- 'no-dupe-args': 2,
- 'no-dupe-class-members': 2,
- 'no-dupe-keys': 2,
- 'no-duplicate-case': 2,
- 'no-empty-character-class': 2,
- 'no-empty-pattern': 2,
- 'no-eval': 2,
- 'no-ex-assign': 2,
- 'no-extend-native': 2,
- 'no-extra-bind': 2,
- 'no-extra-boolean-cast': 2,
- 'no-extra-parens': [2, 'functions'],
- 'no-fallthrough': 2,
- 'no-floating-decimal': 2,
- 'no-func-assign': 2,
- 'no-implied-eval': 2,
- 'no-inner-declarations': [2, 'functions'],
- 'no-invalid-regexp': 2,
- 'no-irregular-whitespace': 2,
- 'no-iterator': 2,
- 'no-label-var': 2,
- 'no-labels': [
- 2,
- {
- allowLoop: false,
- allowSwitch: false
- }
- ],
- 'no-lone-blocks': 2,
- 'no-mixed-spaces-and-tabs': 2,
- 'no-multi-spaces': 2,
- 'no-multi-str': 2,
- 'no-multiple-empty-lines': [
- 2,
- {
- max: 1
- }
- ],
- 'no-native-reassign': 2,
- 'no-negated-in-lhs': 2,
- 'no-new-object': 2,
- 'no-new-require': 2,
- 'no-new-symbol': 2,
- 'no-new-wrappers': 2,
- 'no-obj-calls': 2,
- 'no-octal': 2,
- 'no-octal-escape': 2,
- 'no-path-concat': 2,
- 'no-proto': 2,
- 'no-redeclare': 2,
- 'no-regex-spaces': 2,
- 'no-return-assign': [2, 'except-parens'],
- 'no-self-assign': 2,
- 'no-self-compare': 2,
- 'no-sequences': 2,
- 'no-shadow-restricted-names': 2,
- 'no-spaced-func': 2,
- 'no-sparse-arrays': 2,
- 'no-this-before-super': 2,
- 'no-throw-literal': 2,
- 'no-trailing-spaces': 2,
- 'no-undef': 2,
- 'no-undef-init': 2,
- 'no-unexpected-multiline': 2,
- 'no-unmodified-loop-condition': 2,
- 'no-unneeded-ternary': [
- 2,
- {
- defaultAssignment: false
- }
- ],
- 'no-unreachable': 2,
- 'no-unsafe-finally': 2,
- 'no-unused-vars': [
- 2,
- {
- vars: 'all',
- args: 'none'
- }
- ],
- 'no-useless-call': 2,
- 'no-useless-computed-key': 2,
- 'no-useless-constructor': 2,
- 'no-useless-escape': 0,
- 'no-whitespace-before-property': 2,
- 'no-with': 2,
- 'one-var': [
- 2,
- {
- initialized: 'never'
- }
- ],
- 'operator-linebreak': [
- 2,
- 'after',
- {
- overrides: {
- '?': 'before',
- ':': 'before'
- }
- }
- ],
- 'padded-blocks': [2, 'never'],
- quotes: [
- 2,
- 'single',
- {
- avoidEscape: true,
- allowTemplateLiterals: true
- }
- ],
- semi: 'off',
- 'semi-spacing': [
- 2,
- {
- before: false,
- after: true
- }
- ],
- 'space-before-blocks': [2, 'always'],
- 'space-before-function-paren': [2, 'never'],
- 'space-in-parens': [2, 'never'],
- 'space-infix-ops': 2,
- 'space-unary-ops': [
- 2,
- {
- words: true,
- nonwords: false
- }
- ],
- 'spaced-comment': [
- 2,
- 'always',
- {
- markers: [
- 'global',
- 'globals',
- 'eslint',
- 'eslint-disable',
- '*package',
- '!',
- ','
- ]
- }
- ],
- 'template-curly-spacing': [2, 'never'],
- 'use-isnan': 2,
- 'valid-typeof': 2,
- 'wrap-iife': [2, 'any'],
- 'yield-star-spacing': [2, 'both'],
- yoda: [2, 'never'],
- 'prefer-const': 2,
- 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
- 'object-curly-spacing': 'off',
- 'array-bracket-spacing': [2, 'never']
- }
-};
diff --git a/node_modules/uni-simple-router/.github/ISSUE_TEMPLATE/bug_report.md b/node_modules/uni-simple-router/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644
index ac848ad..0000000
--- a/node_modules/uni-simple-router/.github/ISSUE_TEMPLATE/bug_report.md
+++ /dev/null
@@ -1,39 +0,0 @@
----
-name: 报告问题(Bug report)
-about: 详细描述你遇到的问题并寻求社区帮助
-title: ''
-labels: ''
-assignees: ''
-
----
-
-**问题描述**
-[问题描述:尽可能简洁清晰地把问题描述清楚]
-
-**复现步骤**
-[复现问题的步骤]
-1. 启动 '...'
-2. 点击 '....'
-3. 查看
-
-[或者可以直接贴源代码]
-
-**预期结果**
-[使用简洁清晰的语言描述你希望生效的预期结果]
-
-**实际结果**
-[这里请贴上你的报错截图或文字]
-
-
-**系统信息:**
- - 发行平台: [如 微信小程序、H5平台、5+ App等]
- - 操作系统 [如 iOS 12.1.2、Android 7.0]
- - HBuilderX版本 [如使用HBuilderX,则需提供 HBuilderX 版本号]
- - 项目创建方法 [如使用Vue-cli创建/HBuilderX]
- - 设备信息 [如 iPhone8 Plus]
- - uni-simple-router版本 [如 v1.5.4]
-
-
-**补充信息**
-[可选]
-[根据你的分析,出现这个问题的原因可能在哪里?]
diff --git a/node_modules/uni-simple-router/.github/ISSUE_TEMPLATE/feature_request.md b/node_modules/uni-simple-router/.github/ISSUE_TEMPLATE/feature_request.md
deleted file mode 100644
index 6559ac3..0000000
--- a/node_modules/uni-simple-router/.github/ISSUE_TEMPLATE/feature_request.md
+++ /dev/null
@@ -1,21 +0,0 @@
----
-name: 建议新功能(Feature Request)
-about: 对 uni-simple-router 提出改善建议
-title: ''
-labels: ''
-assignees: ''
-
----
-
-**新功能描述**
-简洁描述你希望补充完善的增强功能
-
-**现状及问题**
-[当前现状及由此导致的不便]
-
-**尝试方案**
-[如果你有尝试绕开或其它解决方案,在这里描述你的建议方案]
-
-**补充信息**
-[其它你认为有参考价值的信息]
-
diff --git a/node_modules/uni-simple-router/CODE_OF_CONDUCT.md b/node_modules/uni-simple-router/CODE_OF_CONDUCT.md
deleted file mode 100644
index d8f066b..0000000
--- a/node_modules/uni-simple-router/CODE_OF_CONDUCT.md
+++ /dev/null
@@ -1,76 +0,0 @@
-# Contributor Covenant Code of Conduct
-
-## Our Pledge
-
-In the interest of fostering an open and welcoming environment, we as
-contributors and maintainers pledge to making participation in our project and
-our community a harassment-free experience for everyone, regardless of age, body
-size, disability, ethnicity, sex characteristics, gender identity and expression,
-level of experience, education, socio-economic status, nationality, personal
-appearance, race, religion, or sexual identity and orientation.
-
-## Our Standards
-
-Examples of behavior that contributes to creating a positive environment
-include:
-
-* Using welcoming and inclusive language
-* Being respectful of differing viewpoints and experiences
-* Gracefully accepting constructive criticism
-* Focusing on what is best for the community
-* Showing empathy towards other community members
-
-Examples of unacceptable behavior by participants include:
-
-* The use of sexualized language or imagery and unwelcome sexual attention or
- advances
-* Trolling, insulting/derogatory comments, and personal or political attacks
-* Public or private harassment
-* Publishing others' private information, such as a physical or electronic
- address, without explicit permission
-* Other conduct which could reasonably be considered inappropriate in a
- professional setting
-
-## Our Responsibilities
-
-Project maintainers are responsible for clarifying the standards of acceptable
-behavior and are expected to take appropriate and fair corrective action in
-response to any instances of unacceptable behavior.
-
-Project maintainers have the right and responsibility to remove, edit, or
-reject comments, commits, code, wiki edits, issues, and other contributions
-that are not aligned to this Code of Conduct, or to ban temporarily or
-permanently any contributor for other behaviors that they deem inappropriate,
-threatening, offensive, or harmful.
-
-## Scope
-
-This Code of Conduct applies both within project spaces and in public spaces
-when an individual is representing the project or its community. Examples of
-representing a project or community include using an official project e-mail
-address, posting via an official social media account, or acting as an appointed
-representative at an online or offline event. Representation of a project may be
-further defined and clarified by project maintainers.
-
-## Enforcement
-
-Instances of abusive, harassing, or otherwise unacceptable behavior may be
-reported by contacting the project team at 1606726660@qq.com. All
-complaints will be reviewed and investigated and will result in a response that
-is deemed necessary and appropriate to the circumstances. The project team is
-obligated to maintain confidentiality with regard to the reporter of an incident.
-Further details of specific enforcement policies may be posted separately.
-
-Project maintainers who do not follow or enforce the Code of Conduct in good
-faith may face temporary or permanent repercussions as determined by other
-members of the project's leadership.
-
-## Attribution
-
-This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
-available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
-
-[homepage]: https://www.contributor-covenant.org
-
-For answers to common questions about this code of conduct, see
-https://www.contributor-covenant.org/faq
diff --git a/node_modules/uni-simple-router/LICENSE b/node_modules/uni-simple-router/LICENSE
deleted file mode 100644
index 7eddf4c..0000000
--- a/node_modules/uni-simple-router/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2019 hhyang
-
-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.
diff --git a/node_modules/uni-simple-router/README.md b/node_modules/uni-simple-router/README.md
deleted file mode 100644
index 1dbb5d8..0000000
--- a/node_modules/uni-simple-router/README.md
+++ /dev/null
@@ -1,49 +0,0 @@
-# uni-simple-router
-
-> 一个更为简洁的[Vue-router](https://router.vuejs.org/zh/),专为 [uni-app](https://uniapp.dcloud.io/) 量身打造
-
-## 介绍
-
-`uni-simple-router` 是专为 [uni-app](https://uniapp.dcloud.io/) 打造的路由器。它与 [uni-app](https://uniapp.dcloud.io/) 核心深度集成,使使用 [uni-app](https://uniapp.dcloud.io/) 轻松构建单页应用程序变得轻而易举。功能包括:
-
-* `H5端` 能完全使用 `vue-router` 进行开发。
-
-* 模块化,基于组件的路由器配置。
-
-* 路由参数,查询,通配符。
-
-* `H5端` 查看由 `uni-simple-router` 过渡系统提供动力的过渡效果。
-
-* 更细粒度的导航控制。
-
-* `H端`自动控制活动的CSS类链接。
-
-* 通配小程序端、APP端、H5端。
-
-
-开始使用 [查看文档](http://hhyang.cn),或 [使用示例](https://github.com/SilurianYang/uni-simple-router/tree/master/examples)(请参见下面的示例)。
-
-## 问题
-在提交问题的之前,请确保阅读 [“问题报告清单”](https://github.com/SilurianYang/uni-simple-router/issues/new?assignees=&labels=&template=bug_report.md&title=) 。不符合准则的问题可能会立即被解决。
-
-## 贡献
-提出拉取请求之前,请务必先阅读 [查看文档](http://hhyang.cn)(请参见下面的示例)。。
-
-## 变更日志
-[发行说明](https://github.com/SilurianYang/uni-simple-router/releases) 中记录了每个发行版的详细信息更改。
-
-## 特别感谢
-
-特别感谢 [markrgba](https://github.com/markrgba) 一直以来对文档和相关测试的维护。
-
-## 技术交流
-
-
-
-
-## 成品预览
-
-
-
uni-simple-router@2.0+ts+uni-app
-

-
\ No newline at end of file
diff --git a/node_modules/uni-simple-router/RFC.md b/node_modules/uni-simple-router/RFC.md
deleted file mode 100644
index d96f6e8..0000000
--- a/node_modules/uni-simple-router/RFC.md
+++ /dev/null
@@ -1,38 +0,0 @@
-```flow
-
-st=>start: 开始跳转
-e=>end: 跳转结束
-platform=>operation: 平台选择
-H5=>condition: H5
-APP=>condition: APP
-applets=>condition: 小程序
-routerBeforeEach=>operation: routerBeforeEach
-lock=>condition: 跳转加锁
-
-runH5=>operation: H5
-runAPP=>parallel: APP
-runapplets=>parallel: 小程序
-
-beforeRouteLeave=>condition: beforeRouteLeave
-beforeEach=>condition: beforeEach
-beforeEnter=>condition: beforeEnter
-afterEach=>operation: afterEach
-runJump=>condition: 执行跳转成功或者失败
-stopJump=>operation: next(false) 停止跳转
-errorJump=>operation: 跳转失败
-routerErrorEach=>operation: routerErrorEach
-routerAfterEach=>operation: routerAfterEach
-
-st->platform(right)->applets(yes)->routerBeforeEach
-applets(no)->APP(yes)->routerBeforeEach
-APP(no)->H5(yes)->routerBeforeEach
-routerBeforeEach->lock(yes)->runAPP(path1)->runapplets(path1)->beforeRouteLeave
-lock(no)->runH5->beforeRouteLeave(no)->stopJump->routerErrorEach
-beforeRouteLeave(yes)->beforeEach(no)->stopJump->routerErrorEach
-beforeEach(yes)->beforeEnter(no)->stopJump->routerErrorEach
-beforeEnter(yes)->runJump(no)->errorJump->routerErrorEach
-runJump(yes)->afterEach->routerAfterEach
-routerAfterEach->e
-routerErrorEach->e
-
-```
\ No newline at end of file
diff --git a/node_modules/uni-simple-router/api-extractor.json b/node_modules/uni-simple-router/api-extractor.json
deleted file mode 100644
index 5458aab..0000000
--- a/node_modules/uni-simple-router/api-extractor.json
+++ /dev/null
@@ -1,50 +0,0 @@
-// this the shared base config for all packages.
-{
- "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
-
- "mainEntryPointFilePath": "./dist/src/index.d.ts",
-
- "apiReport": {
- "enabled": true,
- "reportFolder": "./temp/"
- },
-
- "docModel": {
- "enabled": true
- },
-
- "dtsRollup": {
- "enabled": true,
- "untrimmedFilePath": "./dist/.d.ts"
- },
-
- "tsdocMetadata": {
- "enabled": false
- },
-
- "messages": {
- "compilerMessageReporting": {
- "default": {
- "logLevel": "warning"
- }
- },
-
- "extractorMessageReporting": {
- "default": {
- "logLevel": "warning",
- "addToApiReportFile": true
- },
-
- "ae-missing-release-tag": {
- "logLevel": "none"
- }
- },
-
- "tsdocMessageReporting": {
- "default": {
- "logLevel": "warning"
- }
- }
- }
- }
-
\ No newline at end of file
diff --git a/node_modules/uni-simple-router/dist/link.vue b/node_modules/uni-simple-router/dist/link.vue
deleted file mode 100644
index 873f412..0000000
--- a/node_modules/uni-simple-router/dist/link.vue
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-
diff --git a/node_modules/uni-simple-router/dist/uni-simple-router.d.ts b/node_modules/uni-simple-router/dist/uni-simple-router.d.ts
deleted file mode 100644
index a5769eb..0000000
--- a/node_modules/uni-simple-router/dist/uni-simple-router.d.ts
+++ /dev/null
@@ -1,312 +0,0 @@
-
-export declare interface AppConfig {
- registerLoadingPage?: boolean;
- loadingPageStyle?: () => object;
- loadingPageHook?: (view: any) => void;
- launchedHook?: () => void;
- animation?: startAnimationRule;
-}
-
-export declare interface appletConfig {
- animationDuration?: number;
-}
-
-export declare type backTypeRule = 'backbutton' | 'navigateBack';
-
-export declare function createRouter(params: InstantiateConfig): Router;
-
-export declare interface debuggerArrayConfig {
- error?: boolean;
- warn?: boolean;
- log?: boolean;
-}
-
-export declare type debuggerConfig = boolean | debuggerArrayConfig;
-
-export declare interface endAnimationRule {
- animationType?: endAnimationType;
- animationDuration?: number;
-}
-
-export declare type endAnimationType = 'slide-out-right' | 'slide-out-left' | 'slide-out-top' | 'slide-out-bottom' | 'pop-out' | 'fade-out' | 'zoom-in' | 'zoom-fade-in' | 'none';
-
-export declare type guardHookRule = (to: totalNextRoute, from: totalNextRoute, next: (rule?: navtoRule | false) => void) => void;
-
-export declare interface H5Config {
- paramsToQuery?: boolean;
- vueRouterDev?: boolean;
- vueNext?: boolean;
- mode?: string;
- base?: string;
- linkActiveClass?: string;
- linkExactActiveClass?: string;
- scrollBehavior?: Function;
- fallback?: boolean;
-}
-
-export declare interface h5NextRule {
- fullPath?: string | undefined;
- hash?: string | undefined;
- matched?: Array