fstarter 2.10.53 → 2.10.54

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.
Files changed (80) hide show
  1. package/.babelrc +6 -6
  2. package/.editorconfig +9 -9
  3. package/fstarter.iml +9 -0
  4. package/index.html +22 -22
  5. package/index.js +222 -222
  6. package/package.json +104 -104
  7. package/src/App.vue +38 -38
  8. package/src/i18n/en-US.js +35 -35
  9. package/src/i18n/zh-CN.js +35 -35
  10. package/src/main.js +95 -95
  11. package/src/plugins/assets/ak.js +948 -948
  12. package/src/plugins/assets/callNative.js +490 -490
  13. package/src/plugins/assets/compressImg.js +75 -75
  14. package/src/plugins/assets/config.js +106 -106
  15. package/src/plugins/assets/fileServer.js +469 -469
  16. package/src/plugins/assets/http.js +344 -343
  17. package/src/plugins/assets/ua.js +27 -27
  18. package/src/plugins/components/BSButton.vue +61 -61
  19. package/src/plugins/components/BSCascader.vue +465 -465
  20. package/src/plugins/components/BSCell.vue +48 -48
  21. package/src/plugins/components/BSDatePicker.vue +167 -167
  22. package/src/plugins/components/BSImage.vue +42 -42
  23. package/src/plugins/components/BSInput.vue +140 -140
  24. package/src/plugins/components/BSList.vue +81 -81
  25. package/src/plugins/components/BSPicCode.vue +96 -96
  26. package/src/plugins/components/BSPopup.vue +43 -43
  27. package/src/plugins/components/BSRadio.vue +97 -97
  28. package/src/plugins/components/BSSearch.vue +109 -109
  29. package/src/plugins/components/BSSelect.vue +144 -144
  30. package/src/plugins/components/BSSign.vue +454 -454
  31. package/src/plugins/components/BSStepper.vue +115 -115
  32. package/src/plugins/components/BSUpload.vue +92 -92
  33. package/src/plugins/components/BSUpload2.vue +398 -398
  34. package/src/plugins/components/BSVerCode.vue +128 -128
  35. package/src/plugins/components/BSViewer.vue +92 -92
  36. package/src/plugins/components/base.js +496 -496
  37. package/src/plugins/components/base2.js +489 -489
  38. package/src/plugins/lib/weixin.js +20 -20
  39. package/src/plugins/platform/index.js +7 -7
  40. package/src/plugins/platform/isp_phone.js +310 -310
  41. package/src/plugins/route/index.js +140 -140
  42. package/src/plugins/selector/index.js +342 -342
  43. package/src/plugins/service/index.js +81 -81
  44. package/src/plugins/services/callCamera.js +53 -53
  45. package/src/plugins/services/exit.js +36 -36
  46. package/src/plugins/services/face.js +69 -69
  47. package/src/plugins/services/faceH5.js +54 -54
  48. package/src/plugins/services/faceInApp.js +31 -31
  49. package/src/plugins/services/faceTx.js +61 -61
  50. package/src/plugins/services/getFaceResult.js +104 -104
  51. package/src/plugins/services/getH5FaceResult.js +62 -62
  52. package/src/plugins/services/getMenus.js +40 -40
  53. package/src/plugins/services/getSystemData.js +128 -128
  54. package/src/plugins/services/getToken.js +79 -79
  55. package/src/plugins/services/getTxFaceResult.js +83 -83
  56. package/src/plugins/services/getUserInfo.js +47 -47
  57. package/src/plugins/services/goSetPage.js +40 -40
  58. package/src/plugins/services/hideFhoneTitle.js +36 -36
  59. package/src/plugins/services/index.js +45 -45
  60. package/src/plugins/services/init.js +35 -35
  61. package/src/plugins/services/jumpView.js +40 -40
  62. package/src/plugins/services/logout.js +43 -43
  63. package/src/plugins/services/share.js +113 -113
  64. package/src/plugins/services/statusBarHeight.js +39 -39
  65. package/src/plugins/session/index.js +32 -32
  66. package/src/services/getAuthInfo.js +22 -22
  67. package/src/services/index.js +9 -9
  68. package/src/services/sendVerCode.js +23 -23
  69. package/src/views/auth.vue +367 -367
  70. package/src/views/auth2.vue +90 -90
  71. package/src/views/auth3.vue +157 -157
  72. package/src/views/auth4.vue +8979 -8979
  73. package/src/views/auth5.vue +50 -50
  74. package/src/views/authh5.vue +369 -369
  75. package/src/views/components/BankSelect.vue +55 -55
  76. package/src/views/foot.vue +140 -140
  77. package/src/views/page.vue +222 -222
  78. package/src/views/shellFunc.vue +41 -41
  79. package/themes/basic.css +1 -1
  80. package/webpack.config.js +144 -144
@@ -1,113 +1,113 @@
1
- import ak from '../assets/ak.js'
2
- import isp_phone from '../platform/isp_phone.js'
3
- import { ua, ua2 } from '../assets/ua.js'
4
- import { SHARE_CHANNEL, SHARE_TYPE, PARAM_FIELD } from "../assets/callNative";
5
-
6
- var service = {
7
-
8
- getData(params){
9
- return params
10
- },
11
- invoke(params){
12
- const ua2Res = ua2()
13
- if(ua2Res.isIspPhone){
14
- return this.invoke2_isp(params)
15
- }else if(ua2Res.microMsg){
16
- return this.invoke2_microMsg(params)
17
- }else{
18
- return Promise.resolve()
19
- }
20
-
21
- },
22
- invoke2_isp(params){
23
-
24
- // let requestJson = {
25
- // 'functionName': 'share',
26
- // 'jsData':{"operType":1},
27
- // 'dataObject': {
28
- // 'shareChannel': params.shareChannel,
29
- // 'jsFunction': ''
30
- // }
31
- // }
32
- let requestJson = {
33
- shareChannel: this.formatParams(params)
34
- }
35
- let self = this
36
- isp_phone.callShell('SHARE', requestJson, null)
37
- return Promise.resolve({})
38
- },
39
- invoke2_microMsg(params){
40
-
41
- return Promise.resolve({
42
-
43
- })
44
-
45
- },
46
- formatParams(params) {
47
- const btns = [
48
- {
49
- channel: SHARE_CHANNEL.WEIXIN_SPACE,
50
- type: params.shareType ,
51
- param: {
52
- [PARAM_FIELD.BTNTITLE]: '微信朋友圈',
53
- [PARAM_FIELD.TEXT]: params.text,
54
- [PARAM_FIELD.TITLE]: params.title,
55
- [PARAM_FIELD.IMAGE]: params.imgurl,
56
- [PARAM_FIELD.DESCRIPTION]: '11111111111',
57
- [PARAM_FIELD.URL]: params.url,
58
- [PARAM_FIELD.SHARE_TYPE]: params.shareType
59
- }
60
- },
61
- // {
62
- // channel: SHARE_CHANNEL.COPYURL,
63
- // param: {
64
- // [PARAM_FIELD.TEXT]: params.text,
65
- // [PARAM_FIELD.BTNTITLE]: '复制链接'
66
- // }
67
- // }
68
- ]
69
- btns.push({
70
- channel: SHARE_CHANNEL.WEIXIN_FRIEND,
71
- type: params.shareType,
72
- param: {
73
- [PARAM_FIELD.BTNTITLE]: '微信好友',
74
- [PARAM_FIELD.TEXT]: params.text,
75
- [PARAM_FIELD.TITLE]: params.title,
76
- [PARAM_FIELD.IMAGE]: params.imgurl,
77
- [PARAM_FIELD.DESCRIPTION]: params.description,
78
- [PARAM_FIELD.URL]: params.url,
79
- [PARAM_FIELD.SHARE_TYPE]: params.shareType
80
- }
81
- })
82
- const ret = []
83
- btns.map(({ channel, type, param }) => {
84
- const btn = this.shareSingleBtn(channel, type, param)
85
- if (typeof btn === 'string') {
86
- alert(btn)
87
- } else {
88
- ret.push(btn)
89
- }
90
- })
91
- return ret
92
- },
93
- // 分享渠道说明
94
- _getDescription(channel) {
95
- switch (channel) {
96
- case SHARE_CHANNEL.WEIXIN_FRIEND: return ['微信好友', '../weibo_logo.png']
97
- case SHARE_CHANNEL.WEIXIN_SPACE: return ['朋友圈', '../weibo_logo.png']
98
- case SHARE_CHANNEL.QQ_FRIEND: return ['QQ好友', '../weibo_logo.png']
99
- case SHARE_CHANNEL.QQ_SPACE: return ['QQ空间', '../weibo_logo.png']
100
- case SHARE_CHANNEL.WB: return ['微博', '../weibo_logo.png']
101
- case SHARE_CHANNEL.MESSAGE: return ['短信', '../weibo_logo.png']
102
- case SHARE_CHANNEL.COPYURL: return ['复制链接', '../weibo_logo.png']
103
- }
104
- },
105
- // 单个分享按钮
106
- shareSingleBtn(channel, type, param) {
107
- const des = this._getDescription(channel)
108
- const btnName = des && des[0]
109
- return Object.assign({}, { type: channel, shareType: type, btnTitle: btnName }, param)
110
- }
111
- }
112
-
113
- export default service;
1
+ import ak from '../assets/ak.js'
2
+ import isp_phone from '../platform/isp_phone.js'
3
+ import { ua, ua2 } from '../assets/ua.js'
4
+ import { SHARE_CHANNEL, SHARE_TYPE, PARAM_FIELD } from "../assets/callNative";
5
+
6
+ var service = {
7
+
8
+ getData(params){
9
+ return params
10
+ },
11
+ invoke(params){
12
+ const ua2Res = ua2()
13
+ if(ua2Res.isIspPhone){
14
+ return this.invoke2_isp(params)
15
+ }else if(ua2Res.microMsg){
16
+ return this.invoke2_microMsg(params)
17
+ }else{
18
+ return Promise.resolve()
19
+ }
20
+
21
+ },
22
+ invoke2_isp(params){
23
+
24
+ // let requestJson = {
25
+ // 'functionName': 'share',
26
+ // 'jsData':{"operType":1},
27
+ // 'dataObject': {
28
+ // 'shareChannel': params.shareChannel,
29
+ // 'jsFunction': ''
30
+ // }
31
+ // }
32
+ let requestJson = {
33
+ shareChannel: this.formatParams(params)
34
+ }
35
+ let self = this
36
+ isp_phone.callShell('SHARE', requestJson, null)
37
+ return Promise.resolve({})
38
+ },
39
+ invoke2_microMsg(params){
40
+
41
+ return Promise.resolve({
42
+
43
+ })
44
+
45
+ },
46
+ formatParams(params) {
47
+ const btns = [
48
+ {
49
+ channel: SHARE_CHANNEL.WEIXIN_SPACE,
50
+ type: params.shareType ,
51
+ param: {
52
+ [PARAM_FIELD.BTNTITLE]: '微信朋友圈',
53
+ [PARAM_FIELD.TEXT]: params.text,
54
+ [PARAM_FIELD.TITLE]: params.title,
55
+ [PARAM_FIELD.IMAGE]: params.imgurl,
56
+ [PARAM_FIELD.DESCRIPTION]: '11111111111',
57
+ [PARAM_FIELD.URL]: params.url,
58
+ [PARAM_FIELD.SHARE_TYPE]: params.shareType
59
+ }
60
+ },
61
+ // {
62
+ // channel: SHARE_CHANNEL.COPYURL,
63
+ // param: {
64
+ // [PARAM_FIELD.TEXT]: params.text,
65
+ // [PARAM_FIELD.BTNTITLE]: '复制链接'
66
+ // }
67
+ // }
68
+ ]
69
+ btns.push({
70
+ channel: SHARE_CHANNEL.WEIXIN_FRIEND,
71
+ type: params.shareType,
72
+ param: {
73
+ [PARAM_FIELD.BTNTITLE]: '微信好友',
74
+ [PARAM_FIELD.TEXT]: params.text,
75
+ [PARAM_FIELD.TITLE]: params.title,
76
+ [PARAM_FIELD.IMAGE]: params.imgurl,
77
+ [PARAM_FIELD.DESCRIPTION]: params.description,
78
+ [PARAM_FIELD.URL]: params.url,
79
+ [PARAM_FIELD.SHARE_TYPE]: params.shareType
80
+ }
81
+ })
82
+ const ret = []
83
+ btns.map(({ channel, type, param }) => {
84
+ const btn = this.shareSingleBtn(channel, type, param)
85
+ if (typeof btn === 'string') {
86
+ alert(btn)
87
+ } else {
88
+ ret.push(btn)
89
+ }
90
+ })
91
+ return ret
92
+ },
93
+ // 分享渠道说明
94
+ _getDescription(channel) {
95
+ switch (channel) {
96
+ case SHARE_CHANNEL.WEIXIN_FRIEND: return ['微信好友', '../weibo_logo.png']
97
+ case SHARE_CHANNEL.WEIXIN_SPACE: return ['朋友圈', '../weibo_logo.png']
98
+ case SHARE_CHANNEL.QQ_FRIEND: return ['QQ好友', '../weibo_logo.png']
99
+ case SHARE_CHANNEL.QQ_SPACE: return ['QQ空间', '../weibo_logo.png']
100
+ case SHARE_CHANNEL.WB: return ['微博', '../weibo_logo.png']
101
+ case SHARE_CHANNEL.MESSAGE: return ['短信', '../weibo_logo.png']
102
+ case SHARE_CHANNEL.COPYURL: return ['复制链接', '../weibo_logo.png']
103
+ }
104
+ },
105
+ // 单个分享按钮
106
+ shareSingleBtn(channel, type, param) {
107
+ const des = this._getDescription(channel)
108
+ const btnName = des && des[0]
109
+ return Object.assign({}, { type: channel, shareType: type, btnTitle: btnName }, param)
110
+ }
111
+ }
112
+
113
+ export default service;
@@ -1,39 +1,39 @@
1
- import ak from '../assets/ak.js'
2
- import isp_phone from '../platform/isp_phone.js'
3
- import { ua, ua2 } from '../assets/ua.js'
4
- import { SHARE_CHANNEL, SHARE_TYPE, PARAM_FIELD } from "../assets/callNative";
5
-
6
- var service = {
7
-
8
- getData(params){
9
- return params
10
- },
11
- invoke(params){
12
- const ua2Res = ua2()
13
- if(ua2Res.isIspPhone){
14
- // if(true){
15
- return this.invoke2_isp(params)
16
- }else if(ua2Res.microMsg){
17
- return this.invoke2_microMsg(params)
18
- }else{
19
- return Promise.resolve()
20
- }
21
-
22
- },
23
- invoke2_isp(params){
24
- let requestJson = {
25
- }
26
- debugger
27
- isp_phone.callShell('STATUS_BAR_HEIGHT', requestJson, null, params.vnode)
28
- return Promise.resolve({})
29
- },
30
- invoke2_microMsg(params){
31
-
32
- return Promise.resolve({
33
-
34
- })
35
-
36
- },
37
- }
38
-
39
- export default service;
1
+ import ak from '../assets/ak.js'
2
+ import isp_phone from '../platform/isp_phone.js'
3
+ import { ua, ua2 } from '../assets/ua.js'
4
+ import { SHARE_CHANNEL, SHARE_TYPE, PARAM_FIELD } from "../assets/callNative";
5
+
6
+ var service = {
7
+
8
+ getData(params){
9
+ return params
10
+ },
11
+ invoke(params){
12
+ const ua2Res = ua2()
13
+ if(ua2Res.isIspPhone){
14
+ // if(true){
15
+ return this.invoke2_isp(params)
16
+ }else if(ua2Res.microMsg){
17
+ return this.invoke2_microMsg(params)
18
+ }else{
19
+ return Promise.resolve()
20
+ }
21
+
22
+ },
23
+ invoke2_isp(params){
24
+ let requestJson = {
25
+ }
26
+ debugger
27
+ isp_phone.callShell('STATUS_BAR_HEIGHT', requestJson, null, params.vnode)
28
+ return Promise.resolve({})
29
+ },
30
+ invoke2_microMsg(params){
31
+
32
+ return Promise.resolve({
33
+
34
+ })
35
+
36
+ },
37
+ }
38
+
39
+ export default service;
@@ -1,32 +1,32 @@
1
-
2
- var session = {
3
- userInfo: {
4
- userId: '',
5
- userName: '',
6
- roles:[],
7
- attrs:{}
8
- },
9
- sys: {
10
- isLogined:false,
11
- loadcnt: 0,
12
- showLoading:true,
13
- loadmsg:'',
14
- title:'--',
15
- toolbar:{
16
- isShow: true,
17
- title:'--',
18
- isShowLeft:true,
19
- isShowRight:true,
20
- goBackUrl:''
21
- },
22
- uuid:'',
23
- startTime:'',
24
- menu:{
25
- isShow: true,
26
- }
27
- },
28
- regedit:{},
29
- regeditc:'',
30
- }
31
-
32
- export default session;
1
+
2
+ var session = {
3
+ userInfo: {
4
+ userId: '',
5
+ userName: '',
6
+ roles:[],
7
+ attrs:{}
8
+ },
9
+ sys: {
10
+ isLogined:false,
11
+ loadcnt: 0,
12
+ showLoading:true,
13
+ loadmsg:'',
14
+ title:'--',
15
+ toolbar:{
16
+ isShow: true,
17
+ title:'--',
18
+ isShowLeft:true,
19
+ isShowRight:true,
20
+ goBackUrl:''
21
+ },
22
+ uuid:'',
23
+ startTime:'',
24
+ menu:{
25
+ isShow: true,
26
+ }
27
+ },
28
+ regedit:{},
29
+ regeditc:'',
30
+ }
31
+
32
+ export default session;
@@ -1,22 +1,22 @@
1
- import http from '../plugins/assets/http.js'
2
- import ak from '../plugins/assets/ak.js'
3
-
4
- var authInfo = {
5
-
6
- getData(){
7
-
8
-
9
- let name = ak.utils.selector('#name').getValue()
10
-
11
- return {name:name}
12
- },
13
-
14
- invoke(params){
15
-
16
- return http.post('/mock/23/api/v1/hasl/auth/auth/queryAuthInfo',params)
17
-
18
- }
19
-
20
- }
21
-
22
- export default authInfo;
1
+ import http from '../plugins/assets/http.js'
2
+ import ak from '../plugins/assets/ak.js'
3
+
4
+ var authInfo = {
5
+
6
+ getData(){
7
+
8
+
9
+ let name = ak.utils.selector('#name').getValue()
10
+
11
+ return {name:name}
12
+ },
13
+
14
+ invoke(params){
15
+
16
+ return http.post('/mock/23/api/v1/hasl/auth/auth/queryAuthInfo',params)
17
+
18
+ }
19
+
20
+ }
21
+
22
+ export default authInfo;
@@ -1,9 +1,9 @@
1
- import getAuthInfo from './getAuthInfo'
2
- import sendVerCode from './sendVerCode'
3
-
4
- var services = services || {}
5
-
6
- services['getAuthInfo'] = getAuthInfo
7
- services['sendVerCode'] = sendVerCode
8
-
9
- export default services;
1
+ import getAuthInfo from './getAuthInfo'
2
+ import sendVerCode from './sendVerCode'
3
+
4
+ var services = services || {}
5
+
6
+ services['getAuthInfo'] = getAuthInfo
7
+ services['sendVerCode'] = sendVerCode
8
+
9
+ export default services;
@@ -1,23 +1,23 @@
1
- import http from '../plugins/assets/http.js'
2
- import ak from '../plugins/assets/ak.js'
3
-
4
- var sendVerCode = {
5
-
6
- getData(){
7
-
8
- let name = ak.utils.selector('#name').getValue()
9
- let bank = ak.utils.selector('#bank').getValue()
10
- let cardno = ak.utils.selector('#cardno').getValue()
11
-
12
- return {name:name,bank:bank,cardno:cardno}
13
- },
14
-
15
- invoke(params){
16
-
17
- return http.post('/mock/23/api/v1/hasl/auth/auth/sendVerCode',params)
18
-
19
- }
20
-
21
- }
22
-
23
- export default sendVerCode;
1
+ import http from '../plugins/assets/http.js'
2
+ import ak from '../plugins/assets/ak.js'
3
+
4
+ var sendVerCode = {
5
+
6
+ getData(){
7
+
8
+ let name = ak.utils.selector('#name').getValue()
9
+ let bank = ak.utils.selector('#bank').getValue()
10
+ let cardno = ak.utils.selector('#cardno').getValue()
11
+
12
+ return {name:name,bank:bank,cardno:cardno}
13
+ },
14
+
15
+ invoke(params){
16
+
17
+ return http.post('/mock/23/api/v1/hasl/auth/auth/sendVerCode',params)
18
+
19
+ }
20
+
21
+ }
22
+
23
+ export default sendVerCode;