fstarter 2.10.45 → 2.10.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +6 -6
- package/.editorconfig +9 -9
- package/fstarter.iml +9 -0
- package/index.html +22 -22
- package/index.js +222 -222
- package/package.json +104 -104
- package/src/App.vue +38 -38
- package/src/i18n/en-US.js +35 -35
- package/src/i18n/zh-CN.js +35 -35
- package/src/main.js +87 -87
- package/src/plugins/assets/ak.js +948 -948
- package/src/plugins/assets/callNative.js +488 -488
- package/src/plugins/assets/compressImg.js +75 -75
- package/src/plugins/assets/config.js +106 -106
- package/src/plugins/assets/fileServer.js +469 -469
- package/src/plugins/assets/http.js +343 -343
- package/src/plugins/assets/ua.js +27 -27
- package/src/plugins/components/BSButton.vue +61 -61
- package/src/plugins/components/BSCascader.vue +465 -465
- package/src/plugins/components/BSCell.vue +48 -48
- package/src/plugins/components/BSDatePicker.vue +167 -167
- package/src/plugins/components/BSImage.vue +42 -42
- package/src/plugins/components/BSInput.vue +140 -140
- package/src/plugins/components/BSList.vue +81 -81
- package/src/plugins/components/BSPicCode.vue +96 -96
- package/src/plugins/components/BSPopup.vue +43 -43
- package/src/plugins/components/BSRadio.vue +97 -97
- package/src/plugins/components/BSSearch.vue +109 -109
- package/src/plugins/components/BSSelect.vue +144 -144
- package/src/plugins/components/BSSign.vue +454 -454
- package/src/plugins/components/BSStepper.vue +115 -115
- package/src/plugins/components/BSUpload.vue +92 -92
- package/src/plugins/components/BSUpload2.vue +398 -392
- package/src/plugins/components/BSVerCode.vue +129 -135
- package/src/plugins/components/BSViewer.vue +92 -92
- package/src/plugins/components/base.js +496 -496
- package/src/plugins/components/base2.js +489 -489
- package/src/plugins/lib/weixin.js +20 -20
- package/src/plugins/platform/index.js +7 -7
- package/src/plugins/platform/isp_phone.js +306 -306
- package/src/plugins/route/index.js +140 -140
- package/src/plugins/selector/index.js +342 -342
- package/src/plugins/service/index.js +81 -81
- package/src/plugins/services/callCamera.js +53 -53
- package/src/plugins/services/exit.js +36 -36
- package/src/plugins/services/face.js +69 -69
- package/src/plugins/services/faceInApp.js +31 -31
- package/src/plugins/services/faceTx.js +61 -61
- package/src/plugins/services/getFaceResult.js +104 -104
- package/src/plugins/services/getMenus.js +40 -40
- package/src/plugins/services/getSystemData.js +128 -128
- package/src/plugins/services/getToken.js +79 -79
- package/src/plugins/services/getTxFaceResult.js +83 -83
- package/src/plugins/services/getUserInfo.js +47 -47
- package/src/plugins/services/goSetPage.js +40 -40
- package/src/plugins/services/hideFhoneTitle.js +36 -36
- package/src/plugins/services/index.js +41 -41
- package/src/plugins/services/init.js +35 -35
- package/src/plugins/services/jumpView.js +40 -40
- package/src/plugins/services/logout.js +43 -43
- package/src/plugins/services/share.js +113 -113
- package/src/plugins/services/statusBarHeight.js +39 -39
- package/src/plugins/session/index.js +32 -32
- package/src/services/getAuthInfo.js +22 -22
- package/src/services/index.js +9 -9
- package/src/services/sendVerCode.js +23 -23
- package/src/views/auth.vue +367 -361
- package/src/views/auth2.vue +90 -90
- package/src/views/auth3.vue +157 -157
- package/src/views/auth4.vue +8979 -8979
- package/src/views/auth5.vue +50 -50
- package/src/views/components/BankSelect.vue +55 -55
- package/src/views/foot.vue +140 -140
- package/src/views/page.vue +219 -219
- package/src/views/shellFunc.vue +41 -41
- package/themes/basic.css +1 -1
- package/webpack.config.js +144 -144
- package/README.md +0 -18
package/package.json
CHANGED
|
@@ -1,104 +1,104 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "fstarter",
|
|
3
|
-
"description": "A Vue.js project",
|
|
4
|
-
"version": "2.10.
|
|
5
|
-
"author": "han.zhang <zhanghan810810@163.com>",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"private": false,
|
|
8
|
-
"main": "./dist/build.js",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
|
|
11
|
-
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules"
|
|
12
|
-
},
|
|
13
|
-
"dependencies": {
|
|
14
|
-
"axios": "^0.18.0",
|
|
15
|
-
"better-scroll": "1.10.2",
|
|
16
|
-
"fastclick": "^1.0.6",
|
|
17
|
-
"js-cookie": "^2.2.0",
|
|
18
|
-
"js-md5": "^0.7.3",
|
|
19
|
-
"js-model": "^1.6.2",
|
|
20
|
-
"lodash": "^4.17.10",
|
|
21
|
-
"mockjs": "^1.0.1-beta3",
|
|
22
|
-
"pdfh5": "^1.3.19",
|
|
23
|
-
"qs": "^6.5.2",
|
|
24
|
-
"rxjs": "^5.4.0",
|
|
25
|
-
"signature_pad": "^3.0.0-beta.4",
|
|
26
|
-
"style-loader": "^0.23.0",
|
|
27
|
-
"vant": "2.
|
|
28
|
-
"vconsole": "^3.3.0",
|
|
29
|
-
"vue": "^2.6.11",
|
|
30
|
-
"vue-bus": "^1.2.0",
|
|
31
|
-
"vue-cropper": "^0.5.6",
|
|
32
|
-
"vue-i18n": "^8.22.2",
|
|
33
|
-
"vue-lazyload": "1.2.3",
|
|
34
|
-
"vue-markdown": "^2.2.4",
|
|
35
|
-
"vue-mq": "^0.2.1",
|
|
36
|
-
"vue-router": "^3.0.1",
|
|
37
|
-
"vuelidate": "^0.7.4",
|
|
38
|
-
"vuex": "^3.0.1",
|
|
39
|
-
"vuex-router-sync": "^5.0.0",
|
|
40
|
-
"vux": "^2.9.2",
|
|
41
|
-
"weixin-js-sdk": "^1.3.2"
|
|
42
|
-
},
|
|
43
|
-
"browserslist": [
|
|
44
|
-
"> 1%",
|
|
45
|
-
"last 2 versions",
|
|
46
|
-
"not ie <= 8"
|
|
47
|
-
],
|
|
48
|
-
"devDependencies": {
|
|
49
|
-
"autoprefixer": "^7.1.2",
|
|
50
|
-
"babel-core": "^6.22.1",
|
|
51
|
-
"babel-eslint": "8.0.3",
|
|
52
|
-
"babel-helper-vue-jsx-merge-props": "^2.0.3",
|
|
53
|
-
"babel-jest": "^21.0.2",
|
|
54
|
-
"babel-loader": "^7.1.1",
|
|
55
|
-
"babel-plugin-dynamic-import-node": "^1.2.0",
|
|
56
|
-
"babel-plugin-import": "^1.12.2",
|
|
57
|
-
"babel-plugin-syntax-jsx": "^6.18.0",
|
|
58
|
-
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
|
|
59
|
-
"babel-plugin-transform-runtime": "^6.22.0",
|
|
60
|
-
"babel-plugin-transform-vue-jsx": "^3.5.0",
|
|
61
|
-
"babel-preset-env": "^1.3.2",
|
|
62
|
-
"babel-preset-es2015": "^6.24.1",
|
|
63
|
-
"babel-preset-stage-2": "^6.22.0",
|
|
64
|
-
"chalk": "^2.0.1",
|
|
65
|
-
"copy-webpack-plugin": "^4.0.1",
|
|
66
|
-
"cross-env": "^7.0.3",
|
|
67
|
-
"css-loader": "^0.28.11",
|
|
68
|
-
"eslint": "4.13.1",
|
|
69
|
-
"eslint-friendly-formatter": "3.0.0",
|
|
70
|
-
"eslint-loader": "1.9.0",
|
|
71
|
-
"eslint-plugin-html": "4.0.1",
|
|
72
|
-
"extract-text-webpack-plugin": "^3.0.0",
|
|
73
|
-
"file-loader": "^1.1.4",
|
|
74
|
-
"friendly-errors-webpack-plugin": "^1.6.1",
|
|
75
|
-
"html-webpack-plugin": "^2.30.1",
|
|
76
|
-
"jest": "^22.0.4",
|
|
77
|
-
"jest-serializer-vue": "^0.3.0",
|
|
78
|
-
"less": "^3.8.1",
|
|
79
|
-
"less-loader": "^4.1.0",
|
|
80
|
-
"node-notifier": "^5.1.2",
|
|
81
|
-
"normalize.css": "^8.0.0",
|
|
82
|
-
"optimize-css-assets-webpack-plugin": "^3.2.0",
|
|
83
|
-
"ora": "^1.2.0",
|
|
84
|
-
"portfinder": "^1.0.13",
|
|
85
|
-
"postcss-import": "^11.0.0",
|
|
86
|
-
"postcss-loader": "^2.0.8",
|
|
87
|
-
"postcss-url": "^7.2.1",
|
|
88
|
-
"rimraf": "^2.6.0",
|
|
89
|
-
"semver": "^5.3.0",
|
|
90
|
-
"shelljs": "^0.7.6",
|
|
91
|
-
"uglifyjs-webpack-plugin": "^1.1.1",
|
|
92
|
-
"url-loader": "^0.5.8",
|
|
93
|
-
"vconsole": "^3.3.0",
|
|
94
|
-
"vue-jest": "^1.0.2",
|
|
95
|
-
"vue-loader": "^13.3.0",
|
|
96
|
-
"vue-style-loader": "^3.1.2",
|
|
97
|
-
"vue-template-compiler": "^2.5.21",
|
|
98
|
-
"vux-loader": "^1.2.9",
|
|
99
|
-
"webpack": "^3.6.0",
|
|
100
|
-
"webpack-bundle-analyzer": "^2.9.0",
|
|
101
|
-
"webpack-dev-server": "^2.9.1",
|
|
102
|
-
"webpack-merge": "^4.1.0"
|
|
103
|
-
}
|
|
104
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "fstarter",
|
|
3
|
+
"description": "A Vue.js project",
|
|
4
|
+
"version": "2.10.48",
|
|
5
|
+
"author": "han.zhang <zhanghan810810@163.com>",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"private": false,
|
|
8
|
+
"main": "./dist/build.js",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
|
|
11
|
+
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules"
|
|
12
|
+
},
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"axios": "^0.18.0",
|
|
15
|
+
"better-scroll": "1.10.2",
|
|
16
|
+
"fastclick": "^1.0.6",
|
|
17
|
+
"js-cookie": "^2.2.0",
|
|
18
|
+
"js-md5": "^0.7.3",
|
|
19
|
+
"js-model": "^1.6.2",
|
|
20
|
+
"lodash": "^4.17.10",
|
|
21
|
+
"mockjs": "^1.0.1-beta3",
|
|
22
|
+
"pdfh5": "^1.3.19",
|
|
23
|
+
"qs": "^6.5.2",
|
|
24
|
+
"rxjs": "^5.4.0",
|
|
25
|
+
"signature_pad": "^3.0.0-beta.4",
|
|
26
|
+
"style-loader": "^0.23.0",
|
|
27
|
+
"vant": "2.12.39",
|
|
28
|
+
"vconsole": "^3.3.0",
|
|
29
|
+
"vue": "^2.6.11",
|
|
30
|
+
"vue-bus": "^1.2.0",
|
|
31
|
+
"vue-cropper": "^0.5.6",
|
|
32
|
+
"vue-i18n": "^8.22.2",
|
|
33
|
+
"vue-lazyload": "1.2.3",
|
|
34
|
+
"vue-markdown": "^2.2.4",
|
|
35
|
+
"vue-mq": "^0.2.1",
|
|
36
|
+
"vue-router": "^3.0.1",
|
|
37
|
+
"vuelidate": "^0.7.4",
|
|
38
|
+
"vuex": "^3.0.1",
|
|
39
|
+
"vuex-router-sync": "^5.0.0",
|
|
40
|
+
"vux": "^2.9.2",
|
|
41
|
+
"weixin-js-sdk": "^1.3.2"
|
|
42
|
+
},
|
|
43
|
+
"browserslist": [
|
|
44
|
+
"> 1%",
|
|
45
|
+
"last 2 versions",
|
|
46
|
+
"not ie <= 8"
|
|
47
|
+
],
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"autoprefixer": "^7.1.2",
|
|
50
|
+
"babel-core": "^6.22.1",
|
|
51
|
+
"babel-eslint": "8.0.3",
|
|
52
|
+
"babel-helper-vue-jsx-merge-props": "^2.0.3",
|
|
53
|
+
"babel-jest": "^21.0.2",
|
|
54
|
+
"babel-loader": "^7.1.1",
|
|
55
|
+
"babel-plugin-dynamic-import-node": "^1.2.0",
|
|
56
|
+
"babel-plugin-import": "^1.12.2",
|
|
57
|
+
"babel-plugin-syntax-jsx": "^6.18.0",
|
|
58
|
+
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
|
|
59
|
+
"babel-plugin-transform-runtime": "^6.22.0",
|
|
60
|
+
"babel-plugin-transform-vue-jsx": "^3.5.0",
|
|
61
|
+
"babel-preset-env": "^1.3.2",
|
|
62
|
+
"babel-preset-es2015": "^6.24.1",
|
|
63
|
+
"babel-preset-stage-2": "^6.22.0",
|
|
64
|
+
"chalk": "^2.0.1",
|
|
65
|
+
"copy-webpack-plugin": "^4.0.1",
|
|
66
|
+
"cross-env": "^7.0.3",
|
|
67
|
+
"css-loader": "^0.28.11",
|
|
68
|
+
"eslint": "4.13.1",
|
|
69
|
+
"eslint-friendly-formatter": "3.0.0",
|
|
70
|
+
"eslint-loader": "1.9.0",
|
|
71
|
+
"eslint-plugin-html": "4.0.1",
|
|
72
|
+
"extract-text-webpack-plugin": "^3.0.0",
|
|
73
|
+
"file-loader": "^1.1.4",
|
|
74
|
+
"friendly-errors-webpack-plugin": "^1.6.1",
|
|
75
|
+
"html-webpack-plugin": "^2.30.1",
|
|
76
|
+
"jest": "^22.0.4",
|
|
77
|
+
"jest-serializer-vue": "^0.3.0",
|
|
78
|
+
"less": "^3.8.1",
|
|
79
|
+
"less-loader": "^4.1.0",
|
|
80
|
+
"node-notifier": "^5.1.2",
|
|
81
|
+
"normalize.css": "^8.0.0",
|
|
82
|
+
"optimize-css-assets-webpack-plugin": "^3.2.0",
|
|
83
|
+
"ora": "^1.2.0",
|
|
84
|
+
"portfinder": "^1.0.13",
|
|
85
|
+
"postcss-import": "^11.0.0",
|
|
86
|
+
"postcss-loader": "^2.0.8",
|
|
87
|
+
"postcss-url": "^7.2.1",
|
|
88
|
+
"rimraf": "^2.6.0",
|
|
89
|
+
"semver": "^5.3.0",
|
|
90
|
+
"shelljs": "^0.7.6",
|
|
91
|
+
"uglifyjs-webpack-plugin": "^1.1.1",
|
|
92
|
+
"url-loader": "^0.5.8",
|
|
93
|
+
"vconsole": "^3.3.0",
|
|
94
|
+
"vue-jest": "^1.0.2",
|
|
95
|
+
"vue-loader": "^13.3.0",
|
|
96
|
+
"vue-style-loader": "^3.1.2",
|
|
97
|
+
"vue-template-compiler": "^2.5.21",
|
|
98
|
+
"vux-loader": "^1.2.9",
|
|
99
|
+
"webpack": "^3.6.0",
|
|
100
|
+
"webpack-bundle-analyzer": "^2.9.0",
|
|
101
|
+
"webpack-dev-server": "^2.9.1",
|
|
102
|
+
"webpack-merge": "^4.1.0"
|
|
103
|
+
}
|
|
104
|
+
}
|
package/src/App.vue
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<page></page>
|
|
3
|
-
</template>
|
|
4
|
-
|
|
5
|
-
<script>
|
|
6
|
-
|
|
7
|
-
import page from './views/page.vue'
|
|
8
|
-
|
|
9
|
-
export default {
|
|
10
|
-
name: 'App',
|
|
11
|
-
components: {page},
|
|
12
|
-
data() {
|
|
13
|
-
return {
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
mounted() {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
},
|
|
21
|
-
methods:{
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
</script>
|
|
28
|
-
|
|
29
|
-
<style>
|
|
30
|
-
#app {
|
|
31
|
-
font-family: 'Avenir', Helvetica, Arial, sans-serif;
|
|
32
|
-
-webkit-font-smoothing: antialiased;
|
|
33
|
-
-moz-osx-font-smoothing: grayscale;
|
|
34
|
-
text-align: center;
|
|
35
|
-
color: #2c3e50;
|
|
36
|
-
margin-top: 0px;
|
|
37
|
-
}
|
|
38
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<page></page>
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script>
|
|
6
|
+
|
|
7
|
+
import page from './views/page.vue'
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
name: 'App',
|
|
11
|
+
components: {page},
|
|
12
|
+
data() {
|
|
13
|
+
return {
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
mounted() {
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
},
|
|
21
|
+
methods:{
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<style>
|
|
30
|
+
#app {
|
|
31
|
+
font-family: 'Avenir', Helvetica, Arial, sans-serif;
|
|
32
|
+
-webkit-font-smoothing: antialiased;
|
|
33
|
+
-moz-osx-font-smoothing: grayscale;
|
|
34
|
+
text-align: center;
|
|
35
|
+
color: #2c3e50;
|
|
36
|
+
margin-top: 0px;
|
|
37
|
+
}
|
|
38
|
+
</style>
|
package/src/i18n/en-US.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
'base':{
|
|
3
|
-
'validate':{
|
|
4
|
-
'validating':'正在验证中...',
|
|
5
|
-
'validateTypeError':'不支持的校验类型'
|
|
6
|
-
}
|
|
7
|
-
},
|
|
8
|
-
'ctl':{
|
|
9
|
-
'BSInput':{
|
|
10
|
-
'placeholder':'请输入'
|
|
11
|
-
},
|
|
12
|
-
'BSSearch':{
|
|
13
|
-
'placeholder':'请输入关键词'
|
|
14
|
-
},
|
|
15
|
-
'BSDatePicker':{
|
|
16
|
-
'placeholder':'请选择'
|
|
17
|
-
},
|
|
18
|
-
'BSList':{
|
|
19
|
-
'finishedText':'没有更多了'
|
|
20
|
-
},
|
|
21
|
-
'BSVerCode':{
|
|
22
|
-
'placeholder':'请输入',
|
|
23
|
-
'sendButtonLabel':'发送短信'
|
|
24
|
-
},
|
|
25
|
-
'BSSelect':{
|
|
26
|
-
'placeholder':'请选择'
|
|
27
|
-
},
|
|
28
|
-
'BSCascader':{
|
|
29
|
-
'placeholder':'请选择',
|
|
30
|
-
'searchPlaceholder':'请输入搜索关键词',
|
|
31
|
-
'hotTitle':'常用选项'
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
}
|
|
1
|
+
export default {
|
|
2
|
+
'base':{
|
|
3
|
+
'validate':{
|
|
4
|
+
'validating':'正在验证中...',
|
|
5
|
+
'validateTypeError':'不支持的校验类型'
|
|
6
|
+
}
|
|
7
|
+
},
|
|
8
|
+
'ctl':{
|
|
9
|
+
'BSInput':{
|
|
10
|
+
'placeholder':'请输入'
|
|
11
|
+
},
|
|
12
|
+
'BSSearch':{
|
|
13
|
+
'placeholder':'请输入关键词'
|
|
14
|
+
},
|
|
15
|
+
'BSDatePicker':{
|
|
16
|
+
'placeholder':'请选择'
|
|
17
|
+
},
|
|
18
|
+
'BSList':{
|
|
19
|
+
'finishedText':'没有更多了'
|
|
20
|
+
},
|
|
21
|
+
'BSVerCode':{
|
|
22
|
+
'placeholder':'请输入',
|
|
23
|
+
'sendButtonLabel':'发送短信'
|
|
24
|
+
},
|
|
25
|
+
'BSSelect':{
|
|
26
|
+
'placeholder':'请选择'
|
|
27
|
+
},
|
|
28
|
+
'BSCascader':{
|
|
29
|
+
'placeholder':'请选择',
|
|
30
|
+
'searchPlaceholder':'请输入搜索关键词',
|
|
31
|
+
'hotTitle':'常用选项'
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
}
|
package/src/i18n/zh-CN.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
'base':{
|
|
3
|
-
'validate':{
|
|
4
|
-
'validating':'正在验证中...',
|
|
5
|
-
'validateTypeError':'不支持的校验类型'
|
|
6
|
-
}
|
|
7
|
-
},
|
|
8
|
-
'ctl':{
|
|
9
|
-
'BSInput':{
|
|
10
|
-
'placeholder':'请输入'
|
|
11
|
-
},
|
|
12
|
-
'BSSearch':{
|
|
13
|
-
'placeholder':'请输入关键词'
|
|
14
|
-
},
|
|
15
|
-
'BSDatePicker':{
|
|
16
|
-
'placeholder':'请选择'
|
|
17
|
-
},
|
|
18
|
-
'BSList':{
|
|
19
|
-
'finishedText':'没有更多了'
|
|
20
|
-
},
|
|
21
|
-
'BSVerCode':{
|
|
22
|
-
'placeholder':'请输入',
|
|
23
|
-
'sendButtonLabel':'发送短信'
|
|
24
|
-
},
|
|
25
|
-
'BSSelect':{
|
|
26
|
-
'placeholder':'请选择'
|
|
27
|
-
},
|
|
28
|
-
'BSCascader':{
|
|
29
|
-
'placeholder':'请选择',
|
|
30
|
-
'searchPlaceholder':'请输入搜索关键词',
|
|
31
|
-
'hotTitle':'常用选项'
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
}
|
|
1
|
+
export default {
|
|
2
|
+
'base':{
|
|
3
|
+
'validate':{
|
|
4
|
+
'validating':'正在验证中...',
|
|
5
|
+
'validateTypeError':'不支持的校验类型'
|
|
6
|
+
}
|
|
7
|
+
},
|
|
8
|
+
'ctl':{
|
|
9
|
+
'BSInput':{
|
|
10
|
+
'placeholder':'请输入'
|
|
11
|
+
},
|
|
12
|
+
'BSSearch':{
|
|
13
|
+
'placeholder':'请输入关键词'
|
|
14
|
+
},
|
|
15
|
+
'BSDatePicker':{
|
|
16
|
+
'placeholder':'请选择'
|
|
17
|
+
},
|
|
18
|
+
'BSList':{
|
|
19
|
+
'finishedText':'没有更多了'
|
|
20
|
+
},
|
|
21
|
+
'BSVerCode':{
|
|
22
|
+
'placeholder':'请输入',
|
|
23
|
+
'sendButtonLabel':'发送短信'
|
|
24
|
+
},
|
|
25
|
+
'BSSelect':{
|
|
26
|
+
'placeholder':'请选择'
|
|
27
|
+
},
|
|
28
|
+
'BSCascader':{
|
|
29
|
+
'placeholder':'请选择',
|
|
30
|
+
'searchPlaceholder':'请输入搜索关键词',
|
|
31
|
+
'hotTitle':'常用选项'
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
}
|
package/src/main.js
CHANGED
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import services from './services'
|
|
3
|
-
import config from './plugins/assets/config'
|
|
4
|
-
import auth from './views/auth'
|
|
5
|
-
import auth2 from './views/auth2'
|
|
6
|
-
import auth3 from './views/auth3'
|
|
7
|
-
import auth4 from './views/auth4'
|
|
8
|
-
import auth5 from './views/auth5'
|
|
9
|
-
import shell from './views/shellFunc'
|
|
10
|
-
import fstarter from '../index.js'
|
|
11
|
-
import '../themes/basic.css';
|
|
12
|
-
import Vconsole from 'vconsole'
|
|
13
|
-
const vConsole = new Vconsole()
|
|
14
|
-
export default vConsole
|
|
15
|
-
Vue.config.productionTip = false
|
|
16
|
-
import {ua} from './plugins/assets/ua'
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
ua.isIspPhone = false
|
|
20
|
-
ua.mobile = false
|
|
21
|
-
ua.microMsg = true
|
|
22
|
-
ua.iPhone = false
|
|
23
|
-
ua.iPad = false
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
let routes = []
|
|
27
|
-
|
|
28
|
-
let routeOne = {}
|
|
29
|
-
routeOne['path'] = '/'
|
|
30
|
-
routeOne['name'] = '/'
|
|
31
|
-
routeOne['component'] = auth
|
|
32
|
-
routeOne['needLogin'] = false
|
|
33
|
-
routes.push(routeOne)
|
|
34
|
-
|
|
35
|
-
routeOne = {}
|
|
36
|
-
routeOne['path'] = '/auth'
|
|
37
|
-
routeOne['name'] = 'auth'
|
|
38
|
-
routeOne['component'] = auth
|
|
39
|
-
routeOne['needLogin'] = false
|
|
40
|
-
routes.push(routeOne)
|
|
41
|
-
|
|
42
|
-
routeOne = {}
|
|
43
|
-
routeOne['path'] = '/auth2'
|
|
44
|
-
routeOne['name'] = 'auth2'
|
|
45
|
-
routeOne['component'] = auth2
|
|
46
|
-
routeOne['needLogin'] = true
|
|
47
|
-
routes.push(routeOne)
|
|
48
|
-
|
|
49
|
-
routeOne = {}
|
|
50
|
-
routeOne['path'] = '/auth3'
|
|
51
|
-
routeOne['name'] = 'auth3'
|
|
52
|
-
routeOne['component'] = auth3
|
|
53
|
-
routeOne['needLogin'] = false
|
|
54
|
-
routes.push(routeOne)
|
|
55
|
-
|
|
56
|
-
routeOne = {}
|
|
57
|
-
routeOne['path'] = '/auth4'
|
|
58
|
-
routeOne['name'] = 'auth4'
|
|
59
|
-
routeOne['component'] = auth4
|
|
60
|
-
routeOne['needLogin'] = false
|
|
61
|
-
routes.push(routeOne)
|
|
62
|
-
|
|
63
|
-
routeOne = {}
|
|
64
|
-
routeOne['path'] = '/auth5'
|
|
65
|
-
routeOne['name'] = 'auth5'
|
|
66
|
-
routeOne['component'] = auth5
|
|
67
|
-
routeOne['needLogin'] = false
|
|
68
|
-
routes.push(routeOne)
|
|
69
|
-
// H5与 壳交互 方法示例页面
|
|
70
|
-
routeOne = {}
|
|
71
|
-
routeOne['path'] = '/shell'
|
|
72
|
-
routeOne['name'] = 'shell'
|
|
73
|
-
routeOne['component'] = shell
|
|
74
|
-
routeOne['needLogin'] = true
|
|
75
|
-
routes.push(routeOne)
|
|
76
|
-
|
|
77
|
-
fstarter.setConfig(config)
|
|
78
|
-
fstarter.setRoutes(routes)
|
|
79
|
-
fstarter.setServices(services)
|
|
80
|
-
|
|
81
|
-
Vue.use(fstarter)
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import services from './services'
|
|
3
|
+
import config from './plugins/assets/config'
|
|
4
|
+
import auth from './views/auth'
|
|
5
|
+
import auth2 from './views/auth2'
|
|
6
|
+
import auth3 from './views/auth3'
|
|
7
|
+
import auth4 from './views/auth4'
|
|
8
|
+
import auth5 from './views/auth5'
|
|
9
|
+
import shell from './views/shellFunc'
|
|
10
|
+
import fstarter from '../index.js'
|
|
11
|
+
import '../themes/basic.css';
|
|
12
|
+
import Vconsole from 'vconsole'
|
|
13
|
+
const vConsole = new Vconsole()
|
|
14
|
+
export default vConsole
|
|
15
|
+
Vue.config.productionTip = false
|
|
16
|
+
import {ua} from './plugins/assets/ua'
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
ua.isIspPhone = false
|
|
20
|
+
ua.mobile = false
|
|
21
|
+
ua.microMsg = true
|
|
22
|
+
ua.iPhone = false
|
|
23
|
+
ua.iPad = false
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
let routes = []
|
|
27
|
+
|
|
28
|
+
let routeOne = {}
|
|
29
|
+
routeOne['path'] = '/'
|
|
30
|
+
routeOne['name'] = '/'
|
|
31
|
+
routeOne['component'] = auth
|
|
32
|
+
routeOne['needLogin'] = false
|
|
33
|
+
routes.push(routeOne)
|
|
34
|
+
|
|
35
|
+
routeOne = {}
|
|
36
|
+
routeOne['path'] = '/auth'
|
|
37
|
+
routeOne['name'] = 'auth'
|
|
38
|
+
routeOne['component'] = auth
|
|
39
|
+
routeOne['needLogin'] = false
|
|
40
|
+
routes.push(routeOne)
|
|
41
|
+
|
|
42
|
+
routeOne = {}
|
|
43
|
+
routeOne['path'] = '/auth2'
|
|
44
|
+
routeOne['name'] = 'auth2'
|
|
45
|
+
routeOne['component'] = auth2
|
|
46
|
+
routeOne['needLogin'] = true
|
|
47
|
+
routes.push(routeOne)
|
|
48
|
+
|
|
49
|
+
routeOne = {}
|
|
50
|
+
routeOne['path'] = '/auth3'
|
|
51
|
+
routeOne['name'] = 'auth3'
|
|
52
|
+
routeOne['component'] = auth3
|
|
53
|
+
routeOne['needLogin'] = false
|
|
54
|
+
routes.push(routeOne)
|
|
55
|
+
|
|
56
|
+
routeOne = {}
|
|
57
|
+
routeOne['path'] = '/auth4'
|
|
58
|
+
routeOne['name'] = 'auth4'
|
|
59
|
+
routeOne['component'] = auth4
|
|
60
|
+
routeOne['needLogin'] = false
|
|
61
|
+
routes.push(routeOne)
|
|
62
|
+
|
|
63
|
+
routeOne = {}
|
|
64
|
+
routeOne['path'] = '/auth5'
|
|
65
|
+
routeOne['name'] = 'auth5'
|
|
66
|
+
routeOne['component'] = auth5
|
|
67
|
+
routeOne['needLogin'] = false
|
|
68
|
+
routes.push(routeOne)
|
|
69
|
+
// H5与 壳交互 方法示例页面
|
|
70
|
+
routeOne = {}
|
|
71
|
+
routeOne['path'] = '/shell'
|
|
72
|
+
routeOne['name'] = 'shell'
|
|
73
|
+
routeOne['component'] = shell
|
|
74
|
+
routeOne['needLogin'] = true
|
|
75
|
+
routes.push(routeOne)
|
|
76
|
+
|
|
77
|
+
fstarter.setConfig(config)
|
|
78
|
+
fstarter.setRoutes(routes)
|
|
79
|
+
fstarter.setServices(services)
|
|
80
|
+
|
|
81
|
+
Vue.use(fstarter)
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|