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.
Files changed (80) hide show
  1. package/.babelrc +6 -6
  2. package/.editorconfig +9 -9
  3. package/index.html +22 -22
  4. package/index.js +222 -222
  5. package/package.json +1 -1
  6. package/src/App.vue +38 -38
  7. package/src/i18n/en-US.js +35 -35
  8. package/src/i18n/zh-CN.js +35 -35
  9. package/src/main.js +95 -87
  10. package/src/plugins/assets/ak.js +948 -948
  11. package/src/plugins/assets/callNative.js +490 -488
  12. package/src/plugins/assets/compressImg.js +75 -75
  13. package/src/plugins/assets/config.js +106 -106
  14. package/src/plugins/assets/fileServer.js +469 -469
  15. package/src/plugins/assets/http.js +343 -343
  16. package/src/plugins/assets/ua.js +27 -27
  17. package/src/plugins/components/BSButton.vue +61 -61
  18. package/src/plugins/components/BSCascader.vue +465 -465
  19. package/src/plugins/components/BSCell.vue +48 -48
  20. package/src/plugins/components/BSDatePicker.vue +167 -167
  21. package/src/plugins/components/BSImage.vue +42 -42
  22. package/src/plugins/components/BSInput.vue +140 -140
  23. package/src/plugins/components/BSList.vue +81 -81
  24. package/src/plugins/components/BSPicCode.vue +96 -96
  25. package/src/plugins/components/BSPopup.vue +43 -43
  26. package/src/plugins/components/BSRadio.vue +97 -97
  27. package/src/plugins/components/BSSearch.vue +109 -109
  28. package/src/plugins/components/BSSelect.vue +144 -144
  29. package/src/plugins/components/BSSign.vue +454 -454
  30. package/src/plugins/components/BSStepper.vue +115 -115
  31. package/src/plugins/components/BSUpload.vue +92 -92
  32. package/src/plugins/components/BSUpload2.vue +398 -398
  33. package/src/plugins/components/BSVerCode.vue +128 -129
  34. package/src/plugins/components/BSViewer.vue +92 -92
  35. package/src/plugins/components/base.js +496 -496
  36. package/src/plugins/components/base2.js +489 -489
  37. package/src/plugins/lib/weixin.js +20 -20
  38. package/src/plugins/platform/index.js +7 -7
  39. package/src/plugins/platform/isp_phone.js +310 -306
  40. package/src/plugins/route/index.js +140 -140
  41. package/src/plugins/selector/index.js +342 -342
  42. package/src/plugins/service/index.js +81 -81
  43. package/src/plugins/services/callCamera.js +53 -53
  44. package/src/plugins/services/exit.js +36 -36
  45. package/src/plugins/services/face.js +69 -69
  46. package/src/plugins/services/faceH5.js +49 -0
  47. package/src/plugins/services/faceInApp.js +31 -31
  48. package/src/plugins/services/faceTx.js +61 -61
  49. package/src/plugins/services/getFaceResult.js +104 -104
  50. package/src/plugins/services/getH5FaceResult.js +62 -0
  51. package/src/plugins/services/getMenus.js +40 -40
  52. package/src/plugins/services/getSystemData.js +128 -128
  53. package/src/plugins/services/getToken.js +79 -79
  54. package/src/plugins/services/getTxFaceResult.js +83 -83
  55. package/src/plugins/services/getUserInfo.js +47 -47
  56. package/src/plugins/services/goSetPage.js +40 -40
  57. package/src/plugins/services/hideFhoneTitle.js +36 -36
  58. package/src/plugins/services/index.js +45 -41
  59. package/src/plugins/services/init.js +35 -35
  60. package/src/plugins/services/jumpView.js +40 -40
  61. package/src/plugins/services/logout.js +43 -43
  62. package/src/plugins/services/share.js +113 -113
  63. package/src/plugins/services/statusBarHeight.js +39 -39
  64. package/src/plugins/session/index.js +32 -32
  65. package/src/services/getAuthInfo.js +22 -22
  66. package/src/services/index.js +9 -9
  67. package/src/services/sendVerCode.js +23 -23
  68. package/src/views/auth.vue +367 -367
  69. package/src/views/auth2.vue +90 -90
  70. package/src/views/auth3.vue +157 -157
  71. package/src/views/auth4.vue +8979 -8979
  72. package/src/views/auth5.vue +50 -50
  73. package/src/views/authh5.vue +369 -0
  74. package/src/views/components/BankSelect.vue +55 -55
  75. package/src/views/foot.vue +140 -140
  76. package/src/views/page.vue +222 -219
  77. package/src/views/shellFunc.vue +41 -41
  78. package/themes/basic.css +1 -1
  79. package/webpack.config.js +144 -144
  80. package/fstarter.iml +0 -9
@@ -1,43 +1,43 @@
1
- <template>
2
-
3
- <van-popup v-model="model.show">
4
- <slot></slot>
5
- </van-popup>
6
-
7
- </template>
8
-
9
- <script>
10
-
11
- import base2 from './base2.js'
12
-
13
- export default {
14
- name: "bs-popup",
15
- mixins: [base2],
16
- props: {
17
-
18
- },
19
- data() {
20
- return {
21
-
22
- }
23
- },
24
- mounted() {
25
-
26
-
27
- },
28
- methods: {
29
- createDefaultModel() {
30
- return {
31
- type:'BSPopup',
32
- show:true
33
- };
34
- }
35
- }
36
-
37
- }
38
-
39
- </script>
40
-
41
- <style scoped>
42
-
43
- </style>
1
+ <template>
2
+
3
+ <van-popup v-model="model.show">
4
+ <slot></slot>
5
+ </van-popup>
6
+
7
+ </template>
8
+
9
+ <script>
10
+
11
+ import base2 from './base2.js'
12
+
13
+ export default {
14
+ name: "bs-popup",
15
+ mixins: [base2],
16
+ props: {
17
+
18
+ },
19
+ data() {
20
+ return {
21
+
22
+ }
23
+ },
24
+ mounted() {
25
+
26
+
27
+ },
28
+ methods: {
29
+ createDefaultModel() {
30
+ return {
31
+ type:'BSPopup',
32
+ show:true
33
+ };
34
+ }
35
+ }
36
+
37
+ }
38
+
39
+ </script>
40
+
41
+ <style scoped>
42
+
43
+ </style>
@@ -1,97 +1,97 @@
1
- <template>
2
-
3
- <van-cell-group :class="ctlClass">
4
- <van-cell :title="model.label">
5
- <van-row type="flex">
6
- <van-radio-group v-model="model.value" direction="horizontal">
7
- <div v-for="(item, i) in model.items" :key="item.key">
8
- <van-radio :name="item.key" >{{item.value}}</van-radio>
9
- </div>
10
- </van-radio-group>
11
- </van-row>
12
- </van-cell>
13
- </van-cell-group>
14
-
15
- </template>
16
-
17
- <script>
18
-
19
- import config from '../assets/config.js'
20
- import base2 from './base2.js'
21
-
22
- export default {
23
- name: "bs-radio",
24
- mixins: [base2],
25
- props: {
26
-
27
- },
28
- data() {
29
- return {
30
- validateCtl:true
31
- }
32
- },
33
- mounted() {
34
-
35
-
36
-
37
-
38
- },
39
- watch:{
40
- 'model.value':{
41
- handler(val,oldval){
42
-
43
- this.saveLocalValue(val)
44
-
45
- this.setEventString(this.fullName,this.sname,'value',val,oldval)
46
- },
47
- deep: false
48
- }
49
- },
50
- methods: {
51
- createDefaultModel() {
52
- return {
53
- type:'BSRadio',
54
- value:'',
55
- items:[],
56
- align:'left'
57
- };
58
- },
59
- blur(){
60
-
61
- if(!this.model.readonly)
62
- this.model.validateToken++
63
-
64
- this.$emit('blur',function(){
65
-
66
- },this.fullName)
67
-
68
- }
69
- },
70
- computed: {
71
-
72
- offset(){
73
-
74
- if(this.model.align=='left')
75
- return 0
76
- else if(this.model.align=='right')
77
- return 12
78
- },
79
- span(){
80
-
81
- if(this.model.align=='left')
82
- return 0
83
- else if(this.model.align=='right')
84
- return 12
85
- }
86
- }
87
- }
88
-
89
- </script>
90
-
91
- <style scoped>
92
-
93
- .BSRadio_readonly{
94
- color:#999999;
95
- }
96
-
97
- </style>
1
+ <template>
2
+
3
+ <van-cell-group :class="ctlClass">
4
+ <van-cell :title="model.label">
5
+ <van-row type="flex">
6
+ <van-radio-group v-model="model.value" direction="horizontal">
7
+ <div v-for="(item, i) in model.items" :key="item.key">
8
+ <van-radio :name="item.key" >{{item.value}}</van-radio>
9
+ </div>
10
+ </van-radio-group>
11
+ </van-row>
12
+ </van-cell>
13
+ </van-cell-group>
14
+
15
+ </template>
16
+
17
+ <script>
18
+
19
+ import config from '../assets/config.js'
20
+ import base2 from './base2.js'
21
+
22
+ export default {
23
+ name: "bs-radio",
24
+ mixins: [base2],
25
+ props: {
26
+
27
+ },
28
+ data() {
29
+ return {
30
+ validateCtl:true
31
+ }
32
+ },
33
+ mounted() {
34
+
35
+
36
+
37
+
38
+ },
39
+ watch:{
40
+ 'model.value':{
41
+ handler(val,oldval){
42
+
43
+ this.saveLocalValue(val)
44
+
45
+ this.setEventString(this.fullName,this.sname,'value',val,oldval)
46
+ },
47
+ deep: false
48
+ }
49
+ },
50
+ methods: {
51
+ createDefaultModel() {
52
+ return {
53
+ type:'BSRadio',
54
+ value:'',
55
+ items:[],
56
+ align:'left'
57
+ };
58
+ },
59
+ blur(){
60
+
61
+ if(!this.model.readonly)
62
+ this.model.validateToken++
63
+
64
+ this.$emit('blur',function(){
65
+
66
+ },this.fullName)
67
+
68
+ }
69
+ },
70
+ computed: {
71
+
72
+ offset(){
73
+
74
+ if(this.model.align=='left')
75
+ return 0
76
+ else if(this.model.align=='right')
77
+ return 12
78
+ },
79
+ span(){
80
+
81
+ if(this.model.align=='left')
82
+ return 0
83
+ else if(this.model.align=='right')
84
+ return 12
85
+ }
86
+ }
87
+ }
88
+
89
+ </script>
90
+
91
+ <style scoped>
92
+
93
+ .BSRadio_readonly{
94
+ color:#999999;
95
+ }
96
+
97
+ </style>
@@ -1,109 +1,109 @@
1
- <template>
2
- <van-search
3
- v-model="model.text"
4
- :placeholder="model.placeholder"
5
- :input-align="model.inputAlign"
6
- :disabled="model.disabled"
7
- :readonly="model.readonly"
8
- :shape="model.shape"
9
- :clearable="model.clearable"
10
- :show-action="model.showAction"
11
- :left-icon="model.leftIcon"
12
- :maxlength="model.maxlength"
13
- @search="search"
14
- @cancel="cancel"
15
- />
16
- </template>
17
-
18
- <script>
19
- import base2 from './base2.js'
20
-
21
- export default {
22
- name: "bs-search",
23
- mixins: [base2],
24
- props: {
25
-
26
- },
27
- data() {
28
- return {
29
- validateCtl:true
30
- }
31
- },
32
- mounted() {
33
-
34
- },
35
- watch:{
36
- 'model.text':{
37
- handler(val,oldval){
38
- let vc = this.$props.textRender
39
- if(Object.prototype.toString.call(vc) == "[object Function]"){
40
- this.model.value = vc('text',val)
41
- } else {
42
- this.model.value = val
43
- }
44
- },
45
- deep: false
46
- },
47
- 'model.value':{
48
- handler(val,oldval){
49
-
50
- this.setEventString(this.fullName,this.sname,'value',val,oldval)
51
- },
52
- deep: false
53
- }
54
- },
55
- computed:{
56
- placeholder2(){
57
- if(this.model.readonly){
58
- return ''
59
- }else{
60
- return this.model.placeholder
61
- }
62
- }
63
- },
64
- methods: {
65
- createDefaultModel() {
66
- return {
67
- maxlength: 100,
68
- type: 'BSSearch',
69
- text: '',
70
- value:'',
71
- placeholder: 'lang.ctl.BSSearch.placeholder',
72
- leftIcon: 'search',
73
- clearable: true,
74
- shape: 'square',
75
- inputAlign: 'left'
76
- };
77
- },
78
- search(){
79
-
80
- if(!this.model.readonly)
81
- this.model.validateToken++
82
-
83
- this.$emit('search',function(){
84
-
85
- },this.fullName)
86
-
87
- },
88
- cancel(){
89
-
90
- let self = this
91
- this.$emit('cancel',function(){
92
-
93
- },this.fullName)
94
-
95
- }
96
- }
97
- }
98
-
99
- </script>
100
-
101
- <style scoped>
102
-
103
-
104
- .BSInput_readonly{
105
- color:#999999;
106
- }
107
-
108
-
109
- </stylescoped>
1
+ <template>
2
+ <van-search
3
+ v-model="model.text"
4
+ :placeholder="model.placeholder"
5
+ :input-align="model.inputAlign"
6
+ :disabled="model.disabled"
7
+ :readonly="model.readonly"
8
+ :shape="model.shape"
9
+ :clearable="model.clearable"
10
+ :show-action="model.showAction"
11
+ :left-icon="model.leftIcon"
12
+ :maxlength="model.maxlength"
13
+ @search="search"
14
+ @cancel="cancel"
15
+ />
16
+ </template>
17
+
18
+ <script>
19
+ import base2 from './base2.js'
20
+
21
+ export default {
22
+ name: "bs-search",
23
+ mixins: [base2],
24
+ props: {
25
+
26
+ },
27
+ data() {
28
+ return {
29
+ validateCtl:true
30
+ }
31
+ },
32
+ mounted() {
33
+
34
+ },
35
+ watch:{
36
+ 'model.text':{
37
+ handler(val,oldval){
38
+ let vc = this.$props.textRender
39
+ if(Object.prototype.toString.call(vc) == "[object Function]"){
40
+ this.model.value = vc('text',val)
41
+ } else {
42
+ this.model.value = val
43
+ }
44
+ },
45
+ deep: false
46
+ },
47
+ 'model.value':{
48
+ handler(val,oldval){
49
+
50
+ this.setEventString(this.fullName,this.sname,'value',val,oldval)
51
+ },
52
+ deep: false
53
+ }
54
+ },
55
+ computed:{
56
+ placeholder2(){
57
+ if(this.model.readonly){
58
+ return ''
59
+ }else{
60
+ return this.model.placeholder
61
+ }
62
+ }
63
+ },
64
+ methods: {
65
+ createDefaultModel() {
66
+ return {
67
+ maxlength: 100,
68
+ type: 'BSSearch',
69
+ text: '',
70
+ value:'',
71
+ placeholder: 'lang.ctl.BSSearch.placeholder',
72
+ leftIcon: 'search',
73
+ clearable: true,
74
+ shape: 'square',
75
+ inputAlign: 'left'
76
+ };
77
+ },
78
+ search(){
79
+
80
+ if(!this.model.readonly)
81
+ this.model.validateToken++
82
+
83
+ this.$emit('search',function(){
84
+
85
+ },this.fullName)
86
+
87
+ },
88
+ cancel(){
89
+
90
+ let self = this
91
+ this.$emit('cancel',function(){
92
+
93
+ },this.fullName)
94
+
95
+ }
96
+ }
97
+ }
98
+
99
+ </script>
100
+
101
+ <style scoped>
102
+
103
+
104
+ .BSInput_readonly{
105
+ color:#999999;
106
+ }
107
+
108
+
109
+ </stylescoped>