From 8da434bf85d9bad4af9c85b88830ccf5b2bf6a9a Mon Sep 17 00:00:00 2001
From: liuqimichale <123456lq>
Date: Tue, 4 Dec 2018 16:16:00 +0800
Subject: [PATCH] 车场进出场支付
---
build/utils.js | 1 +
build/webpack.dev.conf.js | 3 ++-
favicon.ico | Bin 0 -> 13761 bytes
index.html | 1 +
package-lock.json | 5 +++++
package.json | 1 +
src/assets/ali-icon.png | Bin 0 -> 1991 bytes
src/assets/checked-icon.png | Bin 0 -> 990 bytes
src/assets/unchecked-icon.png | Bin 0 -> 874 bytes
src/assets/wechat-icon.png | Bin 0 -> 2051 bytes
src/components/home.vue | 13 +++++++++----
src/components/inout.vue | 11 ++++++-----
src/components/pay.vue | 127 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
src/main.js | 3 +++
14 files changed, 151 insertions(+), 14 deletions(-)
create mode 100644 favicon.ico
create mode 100644 src/assets/ali-icon.png
create mode 100644 src/assets/checked-icon.png
create mode 100644 src/assets/unchecked-icon.png
create mode 100644 src/assets/wechat-icon.png
diff --git a/build/utils.js b/build/utils.js
index a9d5791..a29be1e 100644
--- a/build/utils.js
+++ b/build/utils.js
@@ -18,6 +18,7 @@ exports.cssLoaders = function (options) {
const cssLoader = {
loader: 'css-loader',
options: {
+ minimize: process.env.NODE_ENV === 'production',
sourceMap: options.sourceMap
}
}
diff --git a/build/webpack.dev.conf.js b/build/webpack.dev.conf.js
index 070ae22..1e6ff51 100755
--- a/build/webpack.dev.conf.js
+++ b/build/webpack.dev.conf.js
@@ -55,7 +55,8 @@ const devWebpackConfig = merge(baseWebpackConfig, {
new HtmlWebpackPlugin({
filename: 'index.html',
template: 'index.html',
- inject: true
+ inject: true,
+ favicon: './favicon.ico'
}),
// copy custom static assets
new CopyWebpackPlugin([
diff --git a/favicon.ico b/favicon.ico
new file mode 100644
index 0000000..64b1c25
Binary files /dev/null and b/favicon.ico differ
diff --git a/index.html b/index.html
index 62f7b1f..1805b88 100644
--- a/index.html
+++ b/index.html
@@ -5,6 +5,7 @@
+
停车场进出场
diff --git a/package-lock.json b/package-lock.json
index 947a0fb..b9f0b00 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -4042,6 +4042,11 @@
"integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
"dev": true
},
+ "fastclick": {
+ "version": "1.0.6",
+ "resolved": "http://registry.npm.taobao.org/fastclick/download/fastclick-1.0.6.tgz",
+ "integrity": "sha1-FhYlsnsaWAZAWTa9qaLBkm0Gvmo="
+ },
"fastparse": {
"version": "1.1.2",
"resolved": "http://registry.npm.taobao.org/fastparse/download/fastparse-1.1.2.tgz",
diff --git a/package.json b/package.json
index 82338a0..d1beba2 100644
--- a/package.json
+++ b/package.json
@@ -12,6 +12,7 @@
},
"dependencies": {
"axios": "^0.18.0",
+ "fastclick": "^1.0.6",
"lib-flexible": "^0.3.2",
"px2rem-loader": "^0.1.9",
"qs": "^6.6.0",
diff --git a/src/assets/ali-icon.png b/src/assets/ali-icon.png
new file mode 100644
index 0000000..0d0dc52
Binary files /dev/null and b/src/assets/ali-icon.png differ
diff --git a/src/assets/checked-icon.png b/src/assets/checked-icon.png
new file mode 100644
index 0000000..638179e
Binary files /dev/null and b/src/assets/checked-icon.png differ
diff --git a/src/assets/unchecked-icon.png b/src/assets/unchecked-icon.png
new file mode 100644
index 0000000..6480cc5
Binary files /dev/null and b/src/assets/unchecked-icon.png differ
diff --git a/src/assets/wechat-icon.png b/src/assets/wechat-icon.png
new file mode 100644
index 0000000..07d23b2
Binary files /dev/null and b/src/assets/wechat-icon.png differ
diff --git a/src/components/home.vue b/src/components/home.vue
index a44b569..3cfc41a 100644
--- a/src/components/home.vue
+++ b/src/components/home.vue
@@ -1,7 +1,7 @@
@@ -10,18 +10,21 @@
-
diff --git a/src/main.js b/src/main.js
index a5716a8..9fa9737 100644
--- a/src/main.js
+++ b/src/main.js
@@ -5,8 +5,11 @@ import App from './App'
import router from './router'
import store from './store/store'
import 'lib-flexible/flexible.js'
+import fastclick from 'fastclick'
import './styles/reset.css'
+fastclick.attach(document.body)
+
Vue.config.productionTip = false
/* eslint-disable no-new */
--
libgit2 0.21.4