fstarter 2.10.48 → 2.10.51
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/index.html +22 -22
- package/index.js +222 -222
- package/package.json +1 -1
- 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 +95 -87
- package/src/plugins/assets/ak.js +948 -948
- package/src/plugins/assets/callNative.js +490 -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 -398
- package/src/plugins/components/BSVerCode.vue +128 -129
- 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 +310 -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/faceH5.js +49 -0
- 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/getH5FaceResult.js +62 -0
- 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 +45 -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 -367
- 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/authh5.vue +369 -0
- package/src/views/components/BankSelect.vue +55 -55
- package/src/views/foot.vue +140 -140
- package/src/views/page.vue +222 -219
- package/src/views/shellFunc.vue +41 -41
- package/themes/basic.css +1 -1
- package/webpack.config.js +144 -144
- package/fstarter.iml +0 -9
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,95 @@
|
|
|
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
|
|
10
|
-
import
|
|
11
|
-
import '../
|
|
12
|
-
import
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
ua.
|
|
21
|
-
ua.
|
|
22
|
-
ua.
|
|
23
|
-
ua.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
routeOne
|
|
30
|
-
routeOne['
|
|
31
|
-
routeOne['
|
|
32
|
-
routeOne['
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
routeOne
|
|
37
|
-
routeOne['
|
|
38
|
-
routeOne['
|
|
39
|
-
routeOne['
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
routeOne
|
|
44
|
-
routeOne['
|
|
45
|
-
routeOne['
|
|
46
|
-
routeOne['
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
routeOne
|
|
51
|
-
routeOne['
|
|
52
|
-
routeOne['
|
|
53
|
-
routeOne['
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
routeOne
|
|
58
|
-
routeOne['
|
|
59
|
-
routeOne['
|
|
60
|
-
routeOne['
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
routeOne
|
|
65
|
-
routeOne['
|
|
66
|
-
routeOne['
|
|
67
|
-
routeOne['
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
routeOne
|
|
72
|
-
routeOne['
|
|
73
|
-
routeOne['
|
|
74
|
-
routeOne['
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
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 authH5 from './views/authH5'
|
|
10
|
+
import shell from './views/shellFunc'
|
|
11
|
+
import fstarter from '../index.js'
|
|
12
|
+
import '../themes/basic.css';
|
|
13
|
+
import Vconsole from 'vconsole'
|
|
14
|
+
const vConsole = new Vconsole()
|
|
15
|
+
export default vConsole
|
|
16
|
+
Vue.config.productionTip = false
|
|
17
|
+
import {ua} from './plugins/assets/ua'
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
ua.isIspPhone = false
|
|
21
|
+
ua.mobile = false
|
|
22
|
+
ua.microMsg = true
|
|
23
|
+
ua.iPhone = false
|
|
24
|
+
ua.iPad = false
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
let routes = []
|
|
28
|
+
|
|
29
|
+
let routeOne = {}
|
|
30
|
+
routeOne['path'] = '/'
|
|
31
|
+
routeOne['name'] = '/'
|
|
32
|
+
routeOne['component'] = auth
|
|
33
|
+
routeOne['needLogin'] = false
|
|
34
|
+
routes.push(routeOne)
|
|
35
|
+
|
|
36
|
+
routeOne = {}
|
|
37
|
+
routeOne['path'] = '/auth'
|
|
38
|
+
routeOne['name'] = 'auth'
|
|
39
|
+
routeOne['component'] = auth
|
|
40
|
+
routeOne['needLogin'] = false
|
|
41
|
+
routes.push(routeOne)
|
|
42
|
+
|
|
43
|
+
routeOne = {}
|
|
44
|
+
routeOne['path'] = '/auth2'
|
|
45
|
+
routeOne['name'] = 'auth2'
|
|
46
|
+
routeOne['component'] = auth2
|
|
47
|
+
routeOne['needLogin'] = true
|
|
48
|
+
routes.push(routeOne)
|
|
49
|
+
|
|
50
|
+
routeOne = {}
|
|
51
|
+
routeOne['path'] = '/auth3'
|
|
52
|
+
routeOne['name'] = 'auth3'
|
|
53
|
+
routeOne['component'] = auth3
|
|
54
|
+
routeOne['needLogin'] = false
|
|
55
|
+
routes.push(routeOne)
|
|
56
|
+
|
|
57
|
+
routeOne = {}
|
|
58
|
+
routeOne['path'] = '/auth4'
|
|
59
|
+
routeOne['name'] = 'auth4'
|
|
60
|
+
routeOne['component'] = auth4
|
|
61
|
+
routeOne['needLogin'] = false
|
|
62
|
+
routes.push(routeOne)
|
|
63
|
+
|
|
64
|
+
routeOne = {}
|
|
65
|
+
routeOne['path'] = '/auth5'
|
|
66
|
+
routeOne['name'] = 'auth5'
|
|
67
|
+
routeOne['component'] = auth5
|
|
68
|
+
routeOne['needLogin'] = false
|
|
69
|
+
routes.push(routeOne)
|
|
70
|
+
|
|
71
|
+
routeOne = {}
|
|
72
|
+
routeOne['path'] = '/authH5'
|
|
73
|
+
routeOne['name'] = 'authH5'
|
|
74
|
+
routeOne['component'] = authH5
|
|
75
|
+
routeOne['needLogin'] = false
|
|
76
|
+
routes.push(routeOne)
|
|
77
|
+
// H5与 壳交互 方法示例页面
|
|
78
|
+
routeOne = {}
|
|
79
|
+
routeOne['path'] = '/shell'
|
|
80
|
+
routeOne['name'] = 'shell'
|
|
81
|
+
routeOne['component'] = shell
|
|
82
|
+
routeOne['needLogin'] = true
|
|
83
|
+
routes.push(routeOne)
|
|
84
|
+
|
|
85
|
+
fstarter.setConfig(config)
|
|
86
|
+
fstarter.setRoutes(routes)
|
|
87
|
+
fstarter.setServices(services)
|
|
88
|
+
|
|
89
|
+
Vue.use(fstarter)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|