Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
e-shield-h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 45195ca4
authored
Jul 20, 2022
by
张晓玮
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.9.0' into 'master'
调试 See merge request
!3
2 parents
b48e5a87
470e7dc3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
117 deletions
package-lock.json
package.json
src/views/replay.vue
vue.config.js
package-lock.json
View file @
45195ca
...
@@ -35,7 +35,6 @@
...
@@ -35,7 +35,6 @@
"prettier"
:
"^2.4.1"
,
"prettier"
:
"^2.4.1"
,
"sass"
:
"1.26.8"
,
"sass"
:
"1.26.8"
,
"sass-loader"
:
"^10.0.3"
,
"sass-loader"
:
"^10.0.3"
,
"unplugin-vue-components"
:
"^0.14.1"
,
"webpack-spritesmith"
:
"^0.5.2"
"webpack-spritesmith"
:
"^0.5.2"
}
}
},
},
...
@@ -1980,19 +1979,6 @@
...
@@ -1980,19 +1979,6 @@
"url"
:
"https://opencollective.com/popperjs"
"url"
:
"https://opencollective.com/popperjs"
}
}
},
},
"node_modules/@rollup/pluginutils"
:
{
"version"
:
"4.2.1"
,
"resolved"
:
"https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz"
,
"integrity"
:
"sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ=="
,
"dev"
:
true
,
"dependencies"
:
{
"estree-walker"
:
"^2.0.1"
,
"picomatch"
:
"^2.2.2"
},
"engines"
:
{
"node"
:
">= 8.0.0"
}
},
"node_modules/@sideway/address"
:
{
"node_modules/@sideway/address"
:
{
"version"
:
"4.1.4"
,
"version"
:
"4.1.4"
,
"resolved"
:
"https://registry.npmmirror.com/@sideway/address/-/address-4.1.4.tgz"
,
"resolved"
:
"https://registry.npmmirror.com/@sideway/address/-/address-4.1.4.tgz"
,
...
@@ -7152,15 +7138,6 @@
...
@@ -7152,15 +7138,6 @@
"node"
:
">=4"
"node"
:
">=4"
}
}
},
},
"node_modules/has-pkg"
:
{
"version"
:
"0.0.1"
,
"resolved"
:
"https://registry.npmjs.org/has-pkg/-/has-pkg-0.0.1.tgz"
,
"integrity"
:
"sha512-UuzsNxcEOdEwRsz4HtaceT7jg71L2gopEq8OMOGKtPLYhHhF4RJZtkcZ4Xn0jmAmBSNhm0xPhrywgZkLu4aMYQ=="
,
"dev"
:
true
,
"funding"
:
{
"url"
:
"https://github.com/sponsors/antfu"
}
},
"node_modules/has-property-descriptors"
:
{
"node_modules/has-property-descriptors"
:
{
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmmirror.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz"
,
"resolved"
:
"https://registry.npmmirror.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz"
,
...
@@ -12914,49 +12891,6 @@
...
@@ -12914,49 +12891,6 @@
"node"
:
">= 0.8"
"node"
:
">= 0.8"
}
}
},
},
"node_modules/unplugin"
:
{
"version"
:
"0.2.21"
,
"resolved"
:
"https://registry.npmjs.org/unplugin/-/unplugin-0.2.21.tgz"
,
"integrity"
:
"sha512-IJ15/L5XbhnV7J09Zjk0FT5HEkBjkXucWAXQWRsmEtUxmmxwh23yavrmDbCF6ZPxWiVB28+wnKIHePTRRpQPbQ=="
,
"dev"
:
true
,
"dependencies"
:
{
"webpack-virtual-modules"
:
"^0.4.3"
},
"peerDependencies"
:
{
"rollup"
:
"^2.50.0"
,
"vite"
:
"^2.3.0"
,
"webpack"
:
"4 || 5"
},
"peerDependenciesMeta"
:
{
"rollup"
:
{
"optional"
:
true
},
"vite"
:
{
"optional"
:
true
},
"webpack"
:
{
"optional"
:
true
}
}
},
"node_modules/unplugin-vue-components"
:
{
"version"
:
"0.14.1"
,
"resolved"
:
"https://registry.npmjs.org/unplugin-vue-components/-/unplugin-vue-components-0.14.1.tgz"
,
"integrity"
:
"sha512-MG6ecu0rQDZBgp0OIB5HLvFS9EQ26gymSEJM/uV+pXCvTZJlJPlHZjozHwO8n2xRWLr//kIfIORYW5oOHKk2tg=="
,
"dev"
:
true
,
"dependencies"
:
{
"@rollup/pluginutils"
:
"^4.1.1"
,
"debug"
:
"^4.3.2"
,
"fast-glob"
:
"^3.2.7"
,
"has-pkg"
:
"^0.0.1"
,
"magic-string"
:
"^0.25.7"
,
"minimatch"
:
"^3.0.4"
,
"unplugin"
:
"^0.2.3"
},
"funding"
:
{
"url"
:
"https://github.com/sponsors/antfu"
}
},
"node_modules/unset-value"
:
{
"node_modules/unset-value"
:
{
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz"
,
"resolved"
:
"https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz"
,
...
@@ -15502,16 +15436,6 @@
...
@@ -15502,16 +15436,6 @@
"resolved"
:
"https://registry.npmjs.org/@popperjs/core/-/core-2.11.5.tgz"
,
"resolved"
:
"https://registry.npmjs.org/@popperjs/core/-/core-2.11.5.tgz"
,
"integrity"
:
"sha512-9X2obfABZuDVLCgPK9aX0a/x4jaOEweTTWE2+9sr0Qqqevj2Uv5XorvusThmc9XGYpS9yI+fhh8RTafBtGposw=="
"integrity"
:
"sha512-9X2obfABZuDVLCgPK9aX0a/x4jaOEweTTWE2+9sr0Qqqevj2Uv5XorvusThmc9XGYpS9yI+fhh8RTafBtGposw=="
},
},
"@rollup/pluginutils"
:
{
"version"
:
"4.2.1"
,
"resolved"
:
"https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz"
,
"integrity"
:
"sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ=="
,
"dev"
:
true
,
"requires"
:
{
"estree-walker"
:
"^2.0.1"
,
"picomatch"
:
"^2.2.2"
}
},
"@sideway/address"
:
{
"@sideway/address"
:
{
"version"
:
"4.1.4"
,
"version"
:
"4.1.4"
,
"resolved"
:
"https://registry.npmmirror.com/@sideway/address/-/address-4.1.4.tgz"
,
"resolved"
:
"https://registry.npmmirror.com/@sideway/address/-/address-4.1.4.tgz"
,
...
@@ -19693,12 +19617,6 @@
...
@@ -19693,12 +19617,6 @@
"integrity"
:
"sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw=="
,
"integrity"
:
"sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw=="
,
"dev"
:
true
"dev"
:
true
},
},
"has-pkg"
:
{
"version"
:
"0.0.1"
,
"resolved"
:
"https://registry.npmjs.org/has-pkg/-/has-pkg-0.0.1.tgz"
,
"integrity"
:
"sha512-UuzsNxcEOdEwRsz4HtaceT7jg71L2gopEq8OMOGKtPLYhHhF4RJZtkcZ4Xn0jmAmBSNhm0xPhrywgZkLu4aMYQ=="
,
"dev"
:
true
},
"has-property-descriptors"
:
{
"has-property-descriptors"
:
{
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmmirror.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz"
,
"resolved"
:
"https://registry.npmmirror.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz"
,
...
@@ -24233,30 +24151,6 @@
...
@@ -24233,30 +24151,6 @@
"integrity"
:
"sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ=="
,
"integrity"
:
"sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ=="
,
"dev"
:
true
"dev"
:
true
},
},
"unplugin"
:
{
"version"
:
"0.2.21"
,
"resolved"
:
"https://registry.npmjs.org/unplugin/-/unplugin-0.2.21.tgz"
,
"integrity"
:
"sha512-IJ15/L5XbhnV7J09Zjk0FT5HEkBjkXucWAXQWRsmEtUxmmxwh23yavrmDbCF6ZPxWiVB28+wnKIHePTRRpQPbQ=="
,
"dev"
:
true
,
"requires"
:
{
"webpack-virtual-modules"
:
"^0.4.3"
}
},
"unplugin-vue-components"
:
{
"version"
:
"0.14.1"
,
"resolved"
:
"https://registry.npmjs.org/unplugin-vue-components/-/unplugin-vue-components-0.14.1.tgz"
,
"integrity"
:
"sha512-MG6ecu0rQDZBgp0OIB5HLvFS9EQ26gymSEJM/uV+pXCvTZJlJPlHZjozHwO8n2xRWLr//kIfIORYW5oOHKk2tg=="
,
"dev"
:
true
,
"requires"
:
{
"@rollup/pluginutils"
:
"^4.1.1"
,
"debug"
:
"^4.3.2"
,
"fast-glob"
:
"^3.2.7"
,
"has-pkg"
:
"^0.0.1"
,
"magic-string"
:
"^0.25.7"
,
"minimatch"
:
"^3.0.4"
,
"unplugin"
:
"^0.2.3"
}
},
"unset-value"
:
{
"unset-value"
:
{
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz"
,
"resolved"
:
"https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz"
,
...
...
package.json
View file @
45195ca
...
@@ -36,7 +36,6 @@
...
@@ -36,7 +36,6 @@
"prettier"
:
"^2.4.1"
,
"prettier"
:
"^2.4.1"
,
"sass"
:
"1.26.8"
,
"sass"
:
"1.26.8"
,
"sass-loader"
:
"^10.0.3"
,
"sass-loader"
:
"^10.0.3"
,
"unplugin-vue-components"
:
"^0.14.1"
,
"webpack-spritesmith"
:
"^0.5.2"
"webpack-spritesmith"
:
"^0.5.2"
},
},
"eslintConfig"
:
{
"eslintConfig"
:
{
...
...
src/views/replay.vue
View file @
45195ca
...
@@ -110,6 +110,7 @@ import { GET_REPLAY_DATA } from "@/api/index";
...
@@ -110,6 +110,7 @@ import { GET_REPLAY_DATA } from "@/api/index";
import
carPng
from
"@/assets/images/car.png"
;
import
carPng
from
"@/assets/images/car.png"
;
import
{
useRoute
}
from
"vue-router"
;
import
{
useRoute
}
from
"vue-router"
;
import
{
ElSlider
}
from
"element-plus"
;
import
{
ElSlider
}
from
"element-plus"
;
import
"element-plus/es/components/slider/style/css"
;
export
default
defineComponent
({
export
default
defineComponent
({
name
:
"ReplayPage"
,
name
:
"ReplayPage"
,
components
:
{
components
:
{
...
...
vue.config.js
View file @
45195ca
...
@@ -2,11 +2,11 @@ const { defineConfig } = require("@vue/cli-service");
...
@@ -2,11 +2,11 @@ const { defineConfig } = require("@vue/cli-service");
const
Spritesmith
=
require
(
"webpack-spritesmith"
);
const
Spritesmith
=
require
(
"webpack-spritesmith"
);
const
path
=
require
(
"path"
);
const
path
=
require
(
"path"
);
const
templateFunction
=
require
(
"./sprite"
);
const
templateFunction
=
require
(
"./sprite"
);
const
{
//
const {
VantResolver
,
//
VantResolver,
ElementPlusResolver
,
//
ElementPlusResolver,
}
=
require
(
"unplugin-vue-components/resolvers"
);
//
} = require("unplugin-vue-components/resolvers");
const
ComponentsPlugin
=
require
(
"unplugin-vue-components/webpack"
);
//
const ComponentsPlugin = require("unplugin-vue-components/webpack");
function
resolve
(
dir
)
{
function
resolve
(
dir
)
{
return
path
.
join
(
__dirname
,
"."
,
dir
);
return
path
.
join
(
__dirname
,
"."
,
dir
);
}
}
...
@@ -61,11 +61,11 @@ module.exports = defineConfig({
...
@@ -61,11 +61,11 @@ module.exports = defineConfig({
});
});
},
},
configureWebpack
:
{
configureWebpack
:
{
plugins
:
[
//
plugins: [
ComponentsPlugin
({
//
ComponentsPlugin({
resolvers
:
[
VantResolver
(),
ElementPlusResolver
()],
//
resolvers: [VantResolver(), ElementPlusResolver()],
}),
//
}),
],
//
],
externals
:
{
externals
:
{
wx
:
"wx"
,
wx
:
"wx"
,
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment