diff --git a/package-lock.json b/package-lock.json index 76a7b0e..86e31c6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -993,7 +993,6 @@ "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", - "dev": true, "requires": { "core-js": "2.5.1", "regenerator-runtime": "0.11.0" @@ -1059,6 +1058,14 @@ "integrity": "sha512-dwVUVIXsBZXwTuwnXI9RK8sBmgq09NDHzyR9SAph9eqk76gKK2JSQmZARC2zRC81JC2QTtxD0ARU5qTS25gIGw==", "dev": true }, + "better-scroll": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/better-scroll/-/better-scroll-1.3.1.tgz", + "integrity": "sha1-iS7MfjT2xMH8QxZo5eDWyyMVNVA=", + "requires": { + "babel-runtime": "6.26.0" + } + }, "big.js": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.1.3.tgz", @@ -1671,8 +1678,7 @@ "core-js": { "version": "2.5.1", "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.1.tgz", - "integrity": "sha1-rmh03GaTd4m4B1T/VCjfZoGcpQs=", - "dev": true + "integrity": "sha1-rmh03GaTd4m4B1T/VCjfZoGcpQs=" }, "core-util-is": { "version": "1.0.2", @@ -6853,8 +6859,7 @@ "regenerator-runtime": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.0.tgz", - "integrity": "sha512-/aA0kLeRb5N9K0d4fw7ooEbI+xDe+DKD499EQqygGqeS8N3xto15p09uY2xj7ixP81sNPXvRLnAQIqdVStgb1A==", - "dev": true + "integrity": "sha512-/aA0kLeRb5N9K0d4fw7ooEbI+xDe+DKD499EQqygGqeS8N3xto15p09uY2xj7ixP81sNPXvRLnAQIqdVStgb1A==" }, "regenerator-transform": { "version": "0.10.1", diff --git a/package.json b/package.json index 0e777c2..8b2ce0d 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ }, "dependencies": { "axios": "^0.16.2", + "better-scroll": "^1.3.1", "vue": "^2.4.2", "vue-router": "^2.7.0" }, diff --git a/src/components/goods/goods.vue b/src/components/goods/goods.vue index cb822f9..8a03b60 100644 --- a/src/components/goods/goods.vue +++ b/src/components/goods/goods.vue @@ -1,6 +1,6 @@