Browse Source

静态页面

xcx 4 years ago
parent
commit
d15f0bbf82
5 changed files with 20 additions and 1 deletions
  1. 0
    1
      index.html
  2. 5
    0
      package-lock.json
  3. 1
    0
      package.json
  4. 4
    0
      src/main.js
  5. 10
    0
      src/util/vconsole.min.js

+ 0
- 1
index.html View File

7
   <meta name="referrer" content="no-referrer">
7
   <meta name="referrer" content="no-referrer">
8
   <link rel="stylesheet" href="//at.alicdn.com/t/font_2022160_ekr8xwunv4j.css">
8
   <link rel="stylesheet" href="//at.alicdn.com/t/font_2022160_ekr8xwunv4j.css">
9
   <script src="//api.map.baidu.com/api?v=2.0&ak=NH4DjAzwLcPkHgwBLWcfeZfr3uUnTlwk"></script>
9
   <script src="//api.map.baidu.com/api?v=2.0&ak=NH4DjAzwLcPkHgwBLWcfeZfr3uUnTlwk"></script>
10
-  <script src="https://cdn.bootcss.com/vConsole/3.3.4/vconsole.min.js"></script>
11
   <title>牛彩</title>
10
   <title>牛彩</title>
12
   <script>
11
   <script>
13
     let Width = document.documentElement.clientWidth / 375 * 100
12
     let Width = document.documentElement.clientWidth / 375 * 100

+ 5
- 0
package-lock.json View File

15135
       "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=",
15135
       "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=",
15136
       "dev": true
15136
       "dev": true
15137
     },
15137
     },
15138
+    "vconsole": {
15139
+      "version": "3.3.4",
15140
+      "resolved": "https://registry.npm.taobao.org/vconsole/download/vconsole-3.3.4.tgz",
15141
+      "integrity": "sha1-p9rNiIez0+kC6NGEJc2lbDTnf1E="
15142
+    },
15138
     "vendors": {
15143
     "vendors": {
15139
       "version": "1.0.2",
15144
       "version": "1.0.2",
15140
       "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.2.tgz",
15145
       "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.2.tgz",

+ 1
- 0
package.json View File

27
     "qs": "^6.9.4",
27
     "qs": "^6.9.4",
28
     "script-loader": "^0.7.2",
28
     "script-loader": "^0.7.2",
29
     "vant": "^2.10.6",
29
     "vant": "^2.10.6",
30
+    "vconsole": "^3.3.4",
30
     "vue": "^2.5.2",
31
     "vue": "^2.5.2",
31
     "vue-amap": "^0.5.10",
32
     "vue-amap": "^0.5.10",
32
     "vue-awesome-swiper": "^3.1.3",
33
     "vue-awesome-swiper": "^3.1.3",

+ 4
- 0
src/main.js View File

1
 // The Vue build version to load with the `import` command
1
 // The Vue build version to load with the `import` command
2
 // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
2
 // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
3
+/* eslint-disable */
3
 import Vue from 'vue'
4
 import Vue from 'vue'
4
 import App from './App'
5
 import App from './App'
5
 import router from './router'
6
 import router from './router'
7
 import ToolClass from './util/PublicMethod'
8
 import ToolClass from './util/PublicMethod'
8
 import VueScroller from 'vue-scroller'
9
 import VueScroller from 'vue-scroller'
9
 import { Dialog, Toast } from 'vant'
10
 import { Dialog, Toast } from 'vant'
11
+import VConsole from 'vconsole'
10
 
12
 
11
 // import 'babel-polyfill'
13
 // import 'babel-polyfill'
12
 import Es6Promise from 'es6-promise'
14
 import Es6Promise from 'es6-promise'
16
 fundebug.apikey = '91ab367d913dae6ed41e672b50a93ece3cc57a3caa86df3adb80cf0b20345ea5'
18
 fundebug.apikey = '91ab367d913dae6ed41e672b50a93ece3cc57a3caa86df3adb80cf0b20345ea5'
17
 fundebugVue(fundebug, Vue)
19
 fundebugVue(fundebug, Vue)
18
 
20
 
21
+new VConsole()
22
+
19
 require('es6-promise').polyfill()
23
 require('es6-promise').polyfill()
20
 Es6Promise.polyfill()
24
 Es6Promise.polyfill()
21
 
25
 

+ 10
- 0
src/util/vconsole.min.js
File diff suppressed because it is too large
View File