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.
- 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 +95 -95
- package/src/plugins/assets/ak.js +948 -948
- package/src/plugins/assets/callNative.js +490 -490
- 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 +344 -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 -128
- 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 -310
- 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 +54 -54
- 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 -62
- 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 -45
- 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 -369
- package/src/views/components/BankSelect.vue +55 -55
- package/src/views/foot.vue +140 -140
- package/src/views/page.vue +222 -222
- package/src/views/shellFunc.vue +41 -41
- package/themes/basic.css +1 -1
- package/webpack.config.js +144 -144
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<van-cell>
|
|
3
|
-
<template #title>
|
|
4
|
-
<slot name="title"></slot>
|
|
5
|
-
</template>
|
|
6
|
-
<template #default>
|
|
7
|
-
<van-stepper
|
|
8
|
-
v-model="model.text"
|
|
9
|
-
:min="model.min"
|
|
10
|
-
:max="model.max"
|
|
11
|
-
:integer="model.integer"
|
|
12
|
-
/>
|
|
13
|
-
</template>
|
|
14
|
-
</van-cell>
|
|
15
|
-
</template>
|
|
16
|
-
|
|
17
|
-
<script>
|
|
18
|
-
import base2 from './base2.js'
|
|
19
|
-
|
|
20
|
-
export default {
|
|
21
|
-
name: "bs-stepper",
|
|
22
|
-
mixins: [base2],
|
|
23
|
-
props: {
|
|
24
|
-
|
|
25
|
-
},
|
|
26
|
-
data() {
|
|
27
|
-
return {
|
|
28
|
-
validateCtl:true
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
mounted() {
|
|
32
|
-
|
|
33
|
-
},
|
|
34
|
-
watch:{
|
|
35
|
-
'model.value':{
|
|
36
|
-
handler(val,oldval){
|
|
37
|
-
|
|
38
|
-
this.saveLocalValue(val)
|
|
39
|
-
|
|
40
|
-
let vc = this.$props.textRender
|
|
41
|
-
if(Object.prototype.toString.call(vc) == "[object Function]"){
|
|
42
|
-
this.model.text = vc('value',val)
|
|
43
|
-
}else{
|
|
44
|
-
this.model.text = val
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
this.setEventString(this.fullName,this.sname,'value',val,oldval)
|
|
48
|
-
},
|
|
49
|
-
deep: false
|
|
50
|
-
},
|
|
51
|
-
'model.text':{
|
|
52
|
-
handler(val,oldval){
|
|
53
|
-
|
|
54
|
-
let vc = this.$props.textRender
|
|
55
|
-
if(Object.prototype.toString.call(vc) == "[object Function]"){
|
|
56
|
-
this.model.value = vc('text',val)
|
|
57
|
-
}else{
|
|
58
|
-
this.model.value = val
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
},
|
|
62
|
-
deep: false
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
computed:{
|
|
66
|
-
},
|
|
67
|
-
methods: {
|
|
68
|
-
createDefaultModel() {
|
|
69
|
-
return {
|
|
70
|
-
min: undefined,
|
|
71
|
-
max: undefined,
|
|
72
|
-
type: 'BSStepper',
|
|
73
|
-
value: '',
|
|
74
|
-
text: '',
|
|
75
|
-
integer: false,
|
|
76
|
-
placeholder:'lang.ctl.BSStepper.placeholder',
|
|
77
|
-
};
|
|
78
|
-
},
|
|
79
|
-
// blur(){
|
|
80
|
-
|
|
81
|
-
// if(!this.model.readonly)
|
|
82
|
-
// this.model.validateToken++
|
|
83
|
-
|
|
84
|
-
// this.$emit('blur',function(){
|
|
85
|
-
|
|
86
|
-
// },this.fullName)
|
|
87
|
-
|
|
88
|
-
// },
|
|
89
|
-
// input(value) {
|
|
90
|
-
|
|
91
|
-
// //将废弃input
|
|
92
|
-
// this.$emit('input', value)
|
|
93
|
-
// this.$emit('typein',function(){
|
|
94
|
-
|
|
95
|
-
// },this.fullName)
|
|
96
|
-
// },
|
|
97
|
-
// clear() {
|
|
98
|
-
// this.$emit('clear',function(){
|
|
99
|
-
|
|
100
|
-
// },this.fullName)
|
|
101
|
-
// },
|
|
102
|
-
// handleRightIcon () {
|
|
103
|
-
// this.$emit('handleRightIcon',function(){
|
|
104
|
-
|
|
105
|
-
// },this.fullName)
|
|
106
|
-
// }
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
</script>
|
|
111
|
-
|
|
112
|
-
<style scoped>
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<van-cell>
|
|
3
|
+
<template #title>
|
|
4
|
+
<slot name="title"></slot>
|
|
5
|
+
</template>
|
|
6
|
+
<template #default>
|
|
7
|
+
<van-stepper
|
|
8
|
+
v-model="model.text"
|
|
9
|
+
:min="model.min"
|
|
10
|
+
:max="model.max"
|
|
11
|
+
:integer="model.integer"
|
|
12
|
+
/>
|
|
13
|
+
</template>
|
|
14
|
+
</van-cell>
|
|
15
|
+
</template>
|
|
16
|
+
|
|
17
|
+
<script>
|
|
18
|
+
import base2 from './base2.js'
|
|
19
|
+
|
|
20
|
+
export default {
|
|
21
|
+
name: "bs-stepper",
|
|
22
|
+
mixins: [base2],
|
|
23
|
+
props: {
|
|
24
|
+
|
|
25
|
+
},
|
|
26
|
+
data() {
|
|
27
|
+
return {
|
|
28
|
+
validateCtl:true
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
mounted() {
|
|
32
|
+
|
|
33
|
+
},
|
|
34
|
+
watch:{
|
|
35
|
+
'model.value':{
|
|
36
|
+
handler(val,oldval){
|
|
37
|
+
|
|
38
|
+
this.saveLocalValue(val)
|
|
39
|
+
|
|
40
|
+
let vc = this.$props.textRender
|
|
41
|
+
if(Object.prototype.toString.call(vc) == "[object Function]"){
|
|
42
|
+
this.model.text = vc('value',val)
|
|
43
|
+
}else{
|
|
44
|
+
this.model.text = val
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
this.setEventString(this.fullName,this.sname,'value',val,oldval)
|
|
48
|
+
},
|
|
49
|
+
deep: false
|
|
50
|
+
},
|
|
51
|
+
'model.text':{
|
|
52
|
+
handler(val,oldval){
|
|
53
|
+
|
|
54
|
+
let vc = this.$props.textRender
|
|
55
|
+
if(Object.prototype.toString.call(vc) == "[object Function]"){
|
|
56
|
+
this.model.value = vc('text',val)
|
|
57
|
+
}else{
|
|
58
|
+
this.model.value = val
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
},
|
|
62
|
+
deep: false
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
computed:{
|
|
66
|
+
},
|
|
67
|
+
methods: {
|
|
68
|
+
createDefaultModel() {
|
|
69
|
+
return {
|
|
70
|
+
min: undefined,
|
|
71
|
+
max: undefined,
|
|
72
|
+
type: 'BSStepper',
|
|
73
|
+
value: '',
|
|
74
|
+
text: '',
|
|
75
|
+
integer: false,
|
|
76
|
+
placeholder:'lang.ctl.BSStepper.placeholder',
|
|
77
|
+
};
|
|
78
|
+
},
|
|
79
|
+
// blur(){
|
|
80
|
+
|
|
81
|
+
// if(!this.model.readonly)
|
|
82
|
+
// this.model.validateToken++
|
|
83
|
+
|
|
84
|
+
// this.$emit('blur',function(){
|
|
85
|
+
|
|
86
|
+
// },this.fullName)
|
|
87
|
+
|
|
88
|
+
// },
|
|
89
|
+
// input(value) {
|
|
90
|
+
|
|
91
|
+
// //将废弃input
|
|
92
|
+
// this.$emit('input', value)
|
|
93
|
+
// this.$emit('typein',function(){
|
|
94
|
+
|
|
95
|
+
// },this.fullName)
|
|
96
|
+
// },
|
|
97
|
+
// clear() {
|
|
98
|
+
// this.$emit('clear',function(){
|
|
99
|
+
|
|
100
|
+
// },this.fullName)
|
|
101
|
+
// },
|
|
102
|
+
// handleRightIcon () {
|
|
103
|
+
// this.$emit('handleRightIcon',function(){
|
|
104
|
+
|
|
105
|
+
// },this.fullName)
|
|
106
|
+
// }
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
</script>
|
|
111
|
+
|
|
112
|
+
<style scoped>
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
</style>
|
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="uploadWrapper">
|
|
3
|
-
<!-- v-if="model.preview" -->
|
|
4
|
-
<div
|
|
5
|
-
@click="upload"
|
|
6
|
-
>
|
|
7
|
-
<van-image :src="model.bgImage"/>
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|
|
10
|
-
</template>
|
|
11
|
-
|
|
12
|
-
<script>
|
|
13
|
-
|
|
14
|
-
import base2 from './base2.js'
|
|
15
|
-
import config from '../assets/config'
|
|
16
|
-
import { FileServerPkg } from '../assets/fileServer'
|
|
17
|
-
|
|
18
|
-
export default {
|
|
19
|
-
name: "bs-upload",
|
|
20
|
-
mixins: [base2],
|
|
21
|
-
props: {
|
|
22
|
-
|
|
23
|
-
},
|
|
24
|
-
data() {
|
|
25
|
-
return {
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
mounted() {
|
|
29
|
-
this.$on('getPic', (res) => {
|
|
30
|
-
this.model.value = res
|
|
31
|
-
})
|
|
32
|
-
this.$on('getIDcard', (res) => {
|
|
33
|
-
this.model.value = res
|
|
34
|
-
})
|
|
35
|
-
},
|
|
36
|
-
beforeDestroy() {
|
|
37
|
-
this.$off('getPic')
|
|
38
|
-
this.$off('getIDcard')
|
|
39
|
-
},
|
|
40
|
-
methods: {
|
|
41
|
-
createDefaultModel() {
|
|
42
|
-
return {
|
|
43
|
-
value: null,
|
|
44
|
-
bgImage: 'https://img.yzcdn.cn/vant/cat.jpeg',
|
|
45
|
-
remark:'只能上传jpg/png文件,且不超过500kb',
|
|
46
|
-
expired : -1,
|
|
47
|
-
buzId: '1111',
|
|
48
|
-
buz: 'SelfReturnVisit',
|
|
49
|
-
domain:'capp',
|
|
50
|
-
actions: '',
|
|
51
|
-
preview: true,
|
|
52
|
-
accept: 'image/*',
|
|
53
|
-
type: 'BSUpload',
|
|
54
|
-
uploadType: 'IdCard_Front'
|
|
55
|
-
};
|
|
56
|
-
},
|
|
57
|
-
upload() {
|
|
58
|
-
const buzId = this.model.buzId
|
|
59
|
-
const personKey = '' // 这个参数还需研究
|
|
60
|
-
const param = FileServerPkg.getCallerParam(buzId, personKey)
|
|
61
|
-
param.maxSizeKB = '200'
|
|
62
|
-
const uploadType = this.model.uploadType // 就写成这样
|
|
63
|
-
FileServerPkg.pictureUploadSaveShow(uploadType, this, param)
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
watch:{
|
|
67
|
-
'model.value':{
|
|
68
|
-
handler(val){
|
|
69
|
-
if(this.$ak.utils.isEmpty(val)) return
|
|
70
|
-
this.model.bgImage = config.file.baseURL + '/file/v1/hasl/fileAdmin/fileAdmin/get/' + val.fileName
|
|
71
|
-
},
|
|
72
|
-
deep:false
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
</script>
|
|
78
|
-
|
|
79
|
-
<style scoped>
|
|
80
|
-
.uploadWrapper {
|
|
81
|
-
width: 60%;
|
|
82
|
-
margin: 0 auto;
|
|
83
|
-
}
|
|
84
|
-
.uploadWrapper /deep/ .van-uploader__upload-icon {
|
|
85
|
-
width: 100%;
|
|
86
|
-
height: auto;
|
|
87
|
-
}
|
|
88
|
-
.uploadWrapper /deep/ .van-uploader__upload-icon img {
|
|
89
|
-
width: 100%;
|
|
90
|
-
height: auto;
|
|
91
|
-
}
|
|
92
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="uploadWrapper">
|
|
3
|
+
<!-- v-if="model.preview" -->
|
|
4
|
+
<div
|
|
5
|
+
@click="upload"
|
|
6
|
+
>
|
|
7
|
+
<van-image :src="model.bgImage"/>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script>
|
|
13
|
+
|
|
14
|
+
import base2 from './base2.js'
|
|
15
|
+
import config from '../assets/config'
|
|
16
|
+
import { FileServerPkg } from '../assets/fileServer'
|
|
17
|
+
|
|
18
|
+
export default {
|
|
19
|
+
name: "bs-upload",
|
|
20
|
+
mixins: [base2],
|
|
21
|
+
props: {
|
|
22
|
+
|
|
23
|
+
},
|
|
24
|
+
data() {
|
|
25
|
+
return {
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
mounted() {
|
|
29
|
+
this.$on('getPic', (res) => {
|
|
30
|
+
this.model.value = res
|
|
31
|
+
})
|
|
32
|
+
this.$on('getIDcard', (res) => {
|
|
33
|
+
this.model.value = res
|
|
34
|
+
})
|
|
35
|
+
},
|
|
36
|
+
beforeDestroy() {
|
|
37
|
+
this.$off('getPic')
|
|
38
|
+
this.$off('getIDcard')
|
|
39
|
+
},
|
|
40
|
+
methods: {
|
|
41
|
+
createDefaultModel() {
|
|
42
|
+
return {
|
|
43
|
+
value: null,
|
|
44
|
+
bgImage: 'https://img.yzcdn.cn/vant/cat.jpeg',
|
|
45
|
+
remark:'只能上传jpg/png文件,且不超过500kb',
|
|
46
|
+
expired : -1,
|
|
47
|
+
buzId: '1111',
|
|
48
|
+
buz: 'SelfReturnVisit',
|
|
49
|
+
domain:'capp',
|
|
50
|
+
actions: '',
|
|
51
|
+
preview: true,
|
|
52
|
+
accept: 'image/*',
|
|
53
|
+
type: 'BSUpload',
|
|
54
|
+
uploadType: 'IdCard_Front'
|
|
55
|
+
};
|
|
56
|
+
},
|
|
57
|
+
upload() {
|
|
58
|
+
const buzId = this.model.buzId
|
|
59
|
+
const personKey = '' // 这个参数还需研究
|
|
60
|
+
const param = FileServerPkg.getCallerParam(buzId, personKey)
|
|
61
|
+
param.maxSizeKB = '200'
|
|
62
|
+
const uploadType = this.model.uploadType // 就写成这样
|
|
63
|
+
FileServerPkg.pictureUploadSaveShow(uploadType, this, param)
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
watch:{
|
|
67
|
+
'model.value':{
|
|
68
|
+
handler(val){
|
|
69
|
+
if(this.$ak.utils.isEmpty(val)) return
|
|
70
|
+
this.model.bgImage = config.file.baseURL + '/file/v1/hasl/fileAdmin/fileAdmin/get/' + val.fileName
|
|
71
|
+
},
|
|
72
|
+
deep:false
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
</script>
|
|
78
|
+
|
|
79
|
+
<style scoped>
|
|
80
|
+
.uploadWrapper {
|
|
81
|
+
width: 60%;
|
|
82
|
+
margin: 0 auto;
|
|
83
|
+
}
|
|
84
|
+
.uploadWrapper /deep/ .van-uploader__upload-icon {
|
|
85
|
+
width: 100%;
|
|
86
|
+
height: auto;
|
|
87
|
+
}
|
|
88
|
+
.uploadWrapper /deep/ .van-uploader__upload-icon img {
|
|
89
|
+
width: 100%;
|
|
90
|
+
height: auto;
|
|
91
|
+
}
|
|
92
|
+
</style>
|