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.
Files changed (78) 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 +87 -87
  11. package/src/plugins/assets/ak.js +948 -948
  12. package/src/plugins/assets/callNative.js +488 -488
  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 +343 -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 -392
  34. package/src/plugins/components/BSVerCode.vue +129 -135
  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 +306 -306
  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/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/getMenus.js +40 -40
  51. package/src/plugins/services/getSystemData.js +128 -128
  52. package/src/plugins/services/getToken.js +79 -79
  53. package/src/plugins/services/getTxFaceResult.js +83 -83
  54. package/src/plugins/services/getUserInfo.js +47 -47
  55. package/src/plugins/services/goSetPage.js +40 -40
  56. package/src/plugins/services/hideFhoneTitle.js +36 -36
  57. package/src/plugins/services/index.js +41 -41
  58. package/src/plugins/services/init.js +35 -35
  59. package/src/plugins/services/jumpView.js +40 -40
  60. package/src/plugins/services/logout.js +43 -43
  61. package/src/plugins/services/share.js +113 -113
  62. package/src/plugins/services/statusBarHeight.js +39 -39
  63. package/src/plugins/session/index.js +32 -32
  64. package/src/services/getAuthInfo.js +22 -22
  65. package/src/services/index.js +9 -9
  66. package/src/services/sendVerCode.js +23 -23
  67. package/src/views/auth.vue +367 -361
  68. package/src/views/auth2.vue +90 -90
  69. package/src/views/auth3.vue +157 -157
  70. package/src/views/auth4.vue +8979 -8979
  71. package/src/views/auth5.vue +50 -50
  72. package/src/views/components/BankSelect.vue +55 -55
  73. package/src/views/foot.vue +140 -140
  74. package/src/views/page.vue +219 -219
  75. package/src/views/shellFunc.vue +41 -41
  76. package/themes/basic.css +1 -1
  77. package/webpack.config.js +144 -144
  78. package/README.md +0 -18
@@ -1,144 +1,144 @@
1
- <template>
2
- <div>
3
-
4
- <van-field
5
- :label="model.label"
6
- v-model="model.text"
7
- :placeholder="placeholder2"
8
- :input-align="model.inputAlign"
9
- @click="popUp"
10
- readonly
11
- :error-message="model.hiddenValidate ? '': model.validateResult.message"
12
- :class="ctlClass"
13
- @blur="blur"
14
- right-icon="arrow-down"
15
- >
16
-
17
- </van-field>
18
-
19
- <van-popup v-model="isPopup" position="bottom" :overlay="true">
20
- <van-picker
21
- :title="model.placeholder"
22
- :columns="model.items"
23
- show-toolbar @confirm="confirm" @cancel='cancel'
24
- value-key="value"
25
- />
26
- </van-popup>
27
-
28
- </div>
29
- </template>
30
-
31
- <script>
32
-
33
- import config from '../assets/config.js'
34
- import base2 from './base2.js'
35
-
36
- export default {
37
- name: "bs-select",
38
- mixins: [base2],
39
- components: { },
40
- props: {
41
-
42
- },
43
- data() {
44
- return {
45
- validateCtl:true,
46
- isPopup:false
47
- }
48
- },
49
- mounted() {
50
-
51
-
52
- },
53
- methods: {
54
- createDefaultModel() {
55
- return {
56
- value:'',
57
- text:'',
58
- inputAlign: 'left',
59
- type:'BSSelect',
60
- placeholder:'lang.ctl.BSSelect.placeholder',
61
- items: []
62
- };
63
- },
64
- popUp(){
65
-
66
- this.isPopup = true && !this.model.readonly
67
- },
68
- cancel(){
69
-
70
- this.isPopup = false
71
- },
72
- confirm(value){
73
-
74
- this.model.value = value.key;
75
- this.model.validateToken++
76
- this.isPopup = false
77
-
78
- //将废弃change
79
- this.$emit('change', value)
80
- this.$emit('changed',function(){
81
-
82
- },this.fullName)
83
- },
84
- blur(){
85
-
86
- if(!this.model.readonly)
87
- this.model.validateToken++
88
-
89
- this.$emit('blur',function(){
90
-
91
- },this.fullName)
92
-
93
- },
94
- },
95
- watch: {
96
-
97
- 'model.value':{
98
-       handler(val,oldval){
99
-
100
- this.saveLocalValue(val)
101
-
102
- this.model.items.forEach((item, index) => {
103
- if (item.key == val) {
104
- this.model.text = item.value
105
- }
106
- })
107
-
108
- this.setEventString(this.fullName,this.sname,'value',val,oldval)
109
-       },
110
-       deep:false
111
-      },
112
- 'model.items':{
113
- handler(val,oldval){
114
-
115
-
116
-
117
- },
118
- deep:false
119
- }
120
- },
121
- computed: {
122
-
123
- placeholder2(){
124
-
125
- if(this.model.readonly){
126
- return ''
127
- }else{
128
- return this.model.placeholder
129
- }
130
-
131
- }
132
-
133
- }
134
- }
135
-
136
- </script>
137
-
138
- <style scoped>
139
-
140
- .BSSelect_readonly{
141
- color:#999999;
142
- }
143
-
144
- </style>
1
+ <template>
2
+ <div>
3
+
4
+ <van-field
5
+ :label="model.label"
6
+ v-model="model.text"
7
+ :placeholder="placeholder2"
8
+ :input-align="model.inputAlign"
9
+ @click="popUp"
10
+ readonly
11
+ :error-message="model.hiddenValidate ? '': model.validateResult.message"
12
+ :class="ctlClass"
13
+ @blur="blur"
14
+ right-icon="arrow-down"
15
+ >
16
+
17
+ </van-field>
18
+
19
+ <van-popup v-model="isPopup" position="bottom" :overlay="true">
20
+ <van-picker
21
+ :title="model.placeholder"
22
+ :columns="model.items"
23
+ show-toolbar @confirm="confirm" @cancel='cancel'
24
+ value-key="value"
25
+ />
26
+ </van-popup>
27
+
28
+ </div>
29
+ </template>
30
+
31
+ <script>
32
+
33
+ import config from '../assets/config.js'
34
+ import base2 from './base2.js'
35
+
36
+ export default {
37
+ name: "bs-select",
38
+ mixins: [base2],
39
+ components: { },
40
+ props: {
41
+
42
+ },
43
+ data() {
44
+ return {
45
+ validateCtl:true,
46
+ isPopup:false
47
+ }
48
+ },
49
+ mounted() {
50
+
51
+
52
+ },
53
+ methods: {
54
+ createDefaultModel() {
55
+ return {
56
+ value:'',
57
+ text:'',
58
+ inputAlign: 'left',
59
+ type:'BSSelect',
60
+ placeholder:'lang.ctl.BSSelect.placeholder',
61
+ items: []
62
+ };
63
+ },
64
+ popUp(){
65
+
66
+ this.isPopup = true && !this.model.readonly
67
+ },
68
+ cancel(){
69
+
70
+ this.isPopup = false
71
+ },
72
+ confirm(value){
73
+
74
+ this.model.value = value.key;
75
+ this.model.validateToken++
76
+ this.isPopup = false
77
+
78
+ //将废弃change
79
+ this.$emit('change', value)
80
+ this.$emit('changed',function(){
81
+
82
+ },this.fullName)
83
+ },
84
+ blur(){
85
+
86
+ if(!this.model.readonly)
87
+ this.model.validateToken++
88
+
89
+ this.$emit('blur',function(){
90
+
91
+ },this.fullName)
92
+
93
+ },
94
+ },
95
+ watch: {
96
+
97
+ 'model.value':{
98
+       handler(val,oldval){
99
+
100
+ this.saveLocalValue(val)
101
+
102
+ this.model.items.forEach((item, index) => {
103
+ if (item.key == val) {
104
+ this.model.text = item.value
105
+ }
106
+ })
107
+
108
+ this.setEventString(this.fullName,this.sname,'value',val,oldval)
109
+       },
110
+       deep:false
111
+      },
112
+ 'model.items':{
113
+ handler(val,oldval){
114
+
115
+
116
+
117
+ },
118
+ deep:false
119
+ }
120
+ },
121
+ computed: {
122
+
123
+ placeholder2(){
124
+
125
+ if(this.model.readonly){
126
+ return ''
127
+ }else{
128
+ return this.model.placeholder
129
+ }
130
+
131
+ }
132
+
133
+ }
134
+ }
135
+
136
+ </script>
137
+
138
+ <style scoped>
139
+
140
+ .BSSelect_readonly{
141
+ color:#999999;
142
+ }
143
+
144
+ </style>