fstarter 2.10.56 → 2.11.1
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 +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 -344
- 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 +397 -397
- 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/plugins/README.md +560 -0
- package/src/plugins/plugins/browserUtils.js +925 -0
- package/src/plugins/plugins/components/imageCropper.vue +299 -0
- package/src/plugins/plugins/components/images/bz.png +0 -0
- package/src/plugins/plugins/components/images/correct.png +0 -0
- package/src/plugins/plugins/components/images/error.png +0 -0
- package/src/plugins/plugins/components/images/mohu.png +0 -0
- package/src/plugins/plugins/components/images/qs.png +0 -0
- package/src/plugins/plugins/components/images/zd.png +0 -0
- package/src/plugins/plugins/components/pdfPreview.vue +688 -0
- package/src/plugins/plugins/demo.vue +832 -0
- package/src/plugins/plugins/native-js-sdk.js +360 -0
- package/src/plugins/plugins/nativeUtils.js +1444 -0
- 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 +37 -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 +144 -128
- package/src/plugins/services/getToken.js +93 -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 +42 -40
- package/src/plugins/services/logout.js +44 -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
- package/fstarter.iml +0 -9
package/src/plugins/assets/ua.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
export const ua = (function() {
|
|
2
|
-
const u = (navigator.userAgent ? navigator.userAgent : navigator.appVersion).toLowerCase()
|
|
3
|
-
console.log('agent', u)
|
|
4
|
-
return {
|
|
5
|
-
|
|
6
|
-
isIspPhone: u.indexOf('
|
|
7
|
-
mobile: !!u.match(/.*applewebkit.*mobile.*/),
|
|
8
|
-
microMsg: u.indexOf('micromessenger') > -1,
|
|
9
|
-
|
|
10
|
-
iPhone: u.indexOf('iphone') > -1,
|
|
11
|
-
iPad: u.indexOf('ipad') > -1
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
})()
|
|
15
|
-
export const ua2 = function() {
|
|
16
|
-
const u = (navigator.userAgent ? navigator.userAgent : navigator.appVersion).toLowerCase()
|
|
17
|
-
console.log('agent', u)
|
|
18
|
-
return {
|
|
19
|
-
|
|
20
|
-
isIspPhone: u.indexOf('
|
|
21
|
-
mobile: !!u.match(/.*applewebkit.*mobile.*/),
|
|
22
|
-
microMsg: u.indexOf('micromessenger') > -1,
|
|
23
|
-
|
|
24
|
-
iPhone: u.indexOf('iphone') > -1,
|
|
25
|
-
iPad: u.indexOf('ipad') > -1
|
|
26
|
-
|
|
27
|
-
}
|
|
1
|
+
export const ua = (function() {
|
|
2
|
+
const u = (navigator.userAgent ? navigator.userAgent : navigator.appVersion).toLowerCase()
|
|
3
|
+
console.log('agent', u)
|
|
4
|
+
return {
|
|
5
|
+
|
|
6
|
+
isIspPhone: u.indexOf('hengan_app') > -1 || !!u.match(/mobile.*ios/),
|
|
7
|
+
mobile: !!u.match(/.*applewebkit.*mobile.*/),
|
|
8
|
+
microMsg: u.indexOf('micromessenger') > -1,
|
|
9
|
+
|
|
10
|
+
iPhone: u.indexOf('iphone') > -1,
|
|
11
|
+
iPad: u.indexOf('ipad') > -1
|
|
12
|
+
|
|
13
|
+
}
|
|
14
|
+
})()
|
|
15
|
+
export const ua2 = function() {
|
|
16
|
+
const u = (navigator.userAgent ? navigator.userAgent : navigator.appVersion).toLowerCase()
|
|
17
|
+
console.log('agent', u)
|
|
18
|
+
return {
|
|
19
|
+
|
|
20
|
+
isIspPhone: u.indexOf('hengan_app') > -1 || !!u.match(/mobile.*ios/),
|
|
21
|
+
mobile: !!u.match(/.*applewebkit.*mobile.*/),
|
|
22
|
+
microMsg: u.indexOf('micromessenger') > -1,
|
|
23
|
+
|
|
24
|
+
iPhone: u.indexOf('iphone') > -1,
|
|
25
|
+
iPad: u.indexOf('ipad') > -1
|
|
26
|
+
|
|
27
|
+
}
|
|
28
28
|
}
|
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<van-button
|
|
3
|
-
:type="model.btnType"
|
|
4
|
-
:size="model.size"
|
|
5
|
-
:disabled="model.disabled"
|
|
6
|
-
block
|
|
7
|
-
@click="click"
|
|
8
|
-
>
|
|
9
|
-
{{model.label}}
|
|
10
|
-
</van-button>
|
|
11
|
-
</template>
|
|
12
|
-
|
|
13
|
-
<script>
|
|
14
|
-
|
|
15
|
-
import base2 from './base2.js'
|
|
16
|
-
|
|
17
|
-
export default {
|
|
18
|
-
name: "bs-button",
|
|
19
|
-
mixins: [base2],
|
|
20
|
-
props: {
|
|
21
|
-
|
|
22
|
-
},
|
|
23
|
-
data() {
|
|
24
|
-
return {
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
mounted() {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
},
|
|
32
|
-
methods: {
|
|
33
|
-
createDefaultModel() {
|
|
34
|
-
return {
|
|
35
|
-
type: 'BSButton',
|
|
36
|
-
value: '',
|
|
37
|
-
btnType: 'primary',
|
|
38
|
-
size: 'large'
|
|
39
|
-
};
|
|
40
|
-
},
|
|
41
|
-
click(){
|
|
42
|
-
|
|
43
|
-
this.model.disabled = true
|
|
44
|
-
let self = this
|
|
45
|
-
this.$emit('click',function(){
|
|
46
|
-
|
|
47
|
-
self.model.disabled = false
|
|
48
|
-
},this.fullName)
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
computed:{
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
</script>
|
|
58
|
-
|
|
59
|
-
<style scoped>
|
|
60
|
-
|
|
61
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<van-button
|
|
3
|
+
:type="model.btnType"
|
|
4
|
+
:size="model.size"
|
|
5
|
+
:disabled="model.disabled"
|
|
6
|
+
block
|
|
7
|
+
@click="click"
|
|
8
|
+
>
|
|
9
|
+
{{model.label}}
|
|
10
|
+
</van-button>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script>
|
|
14
|
+
|
|
15
|
+
import base2 from './base2.js'
|
|
16
|
+
|
|
17
|
+
export default {
|
|
18
|
+
name: "bs-button",
|
|
19
|
+
mixins: [base2],
|
|
20
|
+
props: {
|
|
21
|
+
|
|
22
|
+
},
|
|
23
|
+
data() {
|
|
24
|
+
return {
|
|
25
|
+
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
mounted() {
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
},
|
|
32
|
+
methods: {
|
|
33
|
+
createDefaultModel() {
|
|
34
|
+
return {
|
|
35
|
+
type: 'BSButton',
|
|
36
|
+
value: '',
|
|
37
|
+
btnType: 'primary',
|
|
38
|
+
size: 'large'
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
click(){
|
|
42
|
+
|
|
43
|
+
this.model.disabled = true
|
|
44
|
+
let self = this
|
|
45
|
+
this.$emit('click',function(){
|
|
46
|
+
|
|
47
|
+
self.model.disabled = false
|
|
48
|
+
},this.fullName)
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
computed:{
|
|
52
|
+
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
</script>
|
|
58
|
+
|
|
59
|
+
<style scoped>
|
|
60
|
+
|
|
61
|
+
</style>
|