fstarter 2.10.52 → 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,398 +1,398 @@
1
- <template>
2
- <div class="uploadWrapper">
3
- <!-- v-if="model.preview" -->
4
- <van-uploader
5
-
6
- v-model="fileList"
7
- preview-size="100%"
8
- :after-read="afterRead"
9
- :max-count="model.preview ? 1 : 1000"
10
- :show-upload="true"
11
- :upload-icon="model.bgImage"
12
- :accept="model.accept"
13
- :preview-image="model.preview"
14
- @click-upload="clickUpload"
15
- capture="camera"
16
- @delete="deleteFn"
17
- >
18
- <van-image :src="model.bgImage"/>
19
- </van-uploader>
20
-
21
- <div
22
- v-show="showCooper"
23
- class="pop"
24
- closeable
25
- :overlay="false"
26
- :style="{
27
- width: '100%',
28
- height: '100%',
29
- zIndex: '999'
30
- }"
31
- @click-close-icon="cancel"
32
- >
33
- <vueCropper
34
- :img="cooperImage"
35
- :autoCrop="true"
36
- :canScale="false"
37
- :canMove="false"
38
- :canMoveBox="true"
39
- :fixedBox="false"
40
- :info="false"
41
- :autoCropWidth="270"
42
- :autoCropHeight="160"
43
- :fixed="true"
44
- :fixedNumber='[1.6,1]'
45
- :enlarge="1"
46
- :outputSize="1"
47
- :centerBox="false"
48
- class="cropper"
49
- ref="cropper"
50
- outputType="jpg"
51
-
52
- >
53
-
54
- </vueCropper>
55
- <div class="control">
56
- <div class="btnWrapper">
57
- <van-button
58
- type="primary"
59
- @click="right"
60
- >
61
- 旋转
62
- </van-button>
63
- </div>
64
- <div class="btnWrapper">
65
- <van-button
66
- type="info"
67
- loading-text="上传中..."
68
- :loading="loading"
69
- @click="copper"
70
- >
71
- 确定
72
- </van-button>
73
- </div>
74
- </div>
75
- </div>
76
- </div>
77
- </template>
78
-
79
- <script>
80
- import Vue from 'vue'
81
- import base2 from './base2.js'
82
- import config from '../assets/config'
83
- import { compressImg } from '../assets/compressImg'
84
-
85
- import vueCropper from 'vue-cropper' // 截图插件
86
- Vue.use(vueCropper)
87
-
88
- export default {
89
- name: "bs-upload2",
90
- mixins: [base2],
91
- props: {
92
-
93
- },
94
- data() {
95
- return {
96
- fileList:[],
97
- fileList2:[],
98
- showCooper: false,
99
- cooperImage: '',
100
- fileObj: null,
101
- loading: false,
102
- }
103
- },
104
- mounted() {
105
-
106
- },
107
- methods: {
108
- right() {
109
- this.$refs.cropper.rotateRight()
110
- },
111
- copper() {
112
- this.loading = true
113
- this.$refs.cropper.getCropData((file) => {
114
- let arr = file.split(",")
115
- let mime = arr[0].match(/:(.*?);/)[1]
116
-
117
- let bstr = atob(arr[1])
118
- let n = bstr.length
119
- let u8arr = new Uint8Array(n)
120
- while (n--) {
121
- u8arr[n] = bstr.charCodeAt(n)
122
- }
123
-
124
- var fileObj1 = new File([u8arr], this.file.file.name, { type: mime })
125
- this._upLoadFile(fileObj1)
126
- })
127
-
128
- },
129
- cancel() {
130
- debugger
131
- this.showCooper = false
132
- this.fileList.splice(0, this.fileList.length)
133
- },
134
- deleteFn() {
135
-
136
- //将废弃delete
137
- this.$emit('delete', this.model.actions)
138
- this.$emit('del',function(){
139
-
140
- },this.fullName)
141
- },
142
- createDefaultModel() {
143
- return {
144
- value:'',
145
- data:{},
146
- label:'点击上传',
147
- bgImage: 'https://img.yzcdn.cn/vant/cat.jpeg',
148
- remark:'只能上传jpg/png文件,且不超过500kb',
149
- expired : -1,
150
- buzId:'1111',
151
- buz:'SelfReturnVisit',
152
- domain:'capp',
153
- actions: '',
154
- preview:true,
155
- accept:'image/*',
156
- type:'BSUpload',
157
- needCooper: true,
158
- };
159
- },
160
- isGetRightInfo(data) {
161
- const actions = this.model.actions
162
- switch (actions) {
163
- case 'ocr_id0':
164
- if (data[actions].data.hasOwnProperty('issued_by')) {
165
- return false
166
- }
167
- break
168
- case 'ocr_id1':
169
- if (data[actions].data.hasOwnProperty('issued_by')) {
170
- return false
171
- }
172
- break
173
- case 'ocr_bc':
174
- if (data[actions].data.bank_cards.length === 0) {
175
- return false
176
- }
177
- break
178
- default: {
179
- return true
180
- }
181
- }
182
- return true
183
- },
184
- _upLoadFile(fileObj){
185
- let self = this
186
- this.$http.uploadFile(
187
- {
188
- process: function(msg){
189
-
190
- if(self.model.preview){
191
- self.fileList[0].message = msg
192
- }
193
- self.session.sys.loadmsg = msg
194
- },
195
- file: fileObj,
196
- name: this.file.file.name,
197
- domain: this.model.domain,
198
- buz: this.model.buz,
199
- buzId: this.model.buzId,
200
- expired: this.model.expired,
201
- actions: this.model.actions
202
- }, false, true, false).then((data) => {
203
-
204
- self.model.data = data
205
- self.model.value = data.fileId + '.' + data.ext
206
-
207
- this.showCooper = false
208
- if (this.isGetRightInfo(data.actions)) {
209
- self.$ak.msg.toast('上传成功')
210
- }
211
-
212
- this.loading = false
213
- self.$emit('done', function(){
214
-
215
- },self.fullName)
216
-
217
- }).catch(function(err) {
218
- console.log(err)
219
- this.loading = false
220
- self.fileList.splice(0,self.fileList.length)
221
- self.$emit('fail',function(){
222
-
223
- },self.fullName)
224
- })
225
- },
226
- clickUpload () {
227
- this.$emit('clickUpload', function(){
228
-
229
- },this.fullName)
230
- },
231
- async afterRead(file) {
232
-
233
- if(this.model.preview) this.fileList[0].status = 'uploading'
234
- this.file = file
235
- if (this.model.needCooper) {
236
- this.showCooper = true
237
- let arr = file.content.split(",")
238
- let mime = arr[0].match(/:(.*?);/)[1]
239
-
240
- // let bstr = atob(arr[1])
241
- // let n = bstr.length
242
- // let u8arr = new Uint8Array(n)
243
- // while (n--) {
244
- // u8arr[n] = bstr.charCodeAt(n)
245
- // }
246
-
247
- // var fileObj1 = new File([u8arr], file.file.name, { type: mime })
248
- console.log(file)
249
-
250
- // 下面两行为压缩代码
251
- var fileObj = await compressImg(file.file, file.file.name, mime)
252
- this.cooperImage = fileObj.base64
253
-
254
- // this.cooperImage = file.content
255
- } else {
256
- // 不需要裁剪
257
- let arr = file.content.split(",")
258
- let mime = arr[0].match(/:(.*?);/)[1]
259
-
260
- // let bstr = atob(arr[1])
261
- // let n = bstr.length
262
- // let u8arr = new Uint8Array(n)
263
- // while (n--) {
264
- // u8arr[n] = bstr.charCodeAt(n)
265
- // }
266
-
267
- // var fileObj1 = new File([u8arr], file.file.name, { type: mime })
268
- console.log(file)
269
- var fileObj = await compressImg(file.file, file.file.name, mime)
270
- this._upLoadFile(fileObj.file)
271
- }
272
-
273
-
274
- }
275
- },
276
- watch:{
277
-
278
- 'model.value':{
279
- handler(val,oldval){
280
-
281
- if(this.$ak.utils.isEmpty(val))
282
- return
283
-
284
- this.fileList.splice(0,this.fileList.length)
285
- this.fileList.push({
286
- url: config.file.baseURL + '/file/v1/hasl/fileAdmin/fileAdmin/get/' + this.model.data.fileId + "." + this.model.data.ext,
287
- status: 'done'
288
- })
289
-
290
-
291
- this.setEventString(this.fullName,this.sname,'value',val,oldval)
292
- },
293
- deep:false
294
- }
295
- }
296
- }
297
-
298
- </script>
299
-
300
- <style scoped lang="less">
301
- /deep/ .van-uploader__preview {
302
- margin: 0;
303
- }
304
- /deep/ .van-uploader__preview-delete-icon {
305
- font-size: 20px;
306
- }
307
- /deep/ .van-uploader__preview-delete {
308
- width: 18px;
309
- height: 18px;
310
- border-radius: 0 0 0 14px;
311
- }
312
- .uploadWrapper {
313
- width: 60%;
314
- margin: 0 auto;
315
- .cropper {
316
- margin: 40% auto 0 auto;
317
- width: 260px;
318
- height: 260px;
319
- }
320
- .cropper-container{
321
- width: 100vw;
322
- height: 100vh;
323
- div{
324
- width: 100%;
325
- height: 100%;
326
- }
327
- }
328
- .cropper > :nth-child(1) {
329
- background-color: #f6f6f6 !important;
330
- }
331
- .cropper-container .footer{
332
- width: 100%;
333
- height:88px;
334
- display: flex;
335
- position: fixed;
336
- bottom: 0px;
337
- left:0px;
338
- }
339
- .cropper {
340
- width: 100%;
341
- height: 260px;
342
- }
343
- .cropper-container{
344
- width: 100vw;
345
- height: 100vh;
346
- div{
347
- width: 100%;
348
- height: 100%;
349
- }
350
- }
351
- .cropper > :nth-child(1) {
352
- background-color: #f6f6f6 !important;
353
- }
354
- .cropper-container .footer{
355
- width: 100%;
356
- height:88px;
357
- display: flex;
358
- position: fixed;
359
- bottom: 0px;
360
- left:0px;
361
- }
362
- }
363
- .van-button {
364
- width: 100%;
365
- }
366
- .control {
367
- position: fixed;
368
- bottom: 0;
369
- display: flex;
370
- justify-content: space-between;
371
- width: 100%;
372
- .btnWrapper {
373
- width: 50%;
374
- }
375
- }
376
- .pop {
377
- position: fixed;
378
- top: 50%;
379
- left:0;
380
- transform: translate3d(0,-50%,0);
381
- max-height: 100%;
382
- overflow-y: auto;
383
- background-color: #fff;
384
- }
385
- </style>
386
- <style scoped>
387
- /* .cropper-container >>> .van-button--info{
388
- width: 50%;
389
- background:rgba(54,95,170,1);
390
- box-shadow:0px 9px 24px 0px rgba(54,95,170,0.39);
391
- border: 1px solid rgba(69,104,186,1);
392
- }
393
- .cropper-container >>> .van-button{
394
- height: 88px;
395
- line-height: 88px;
396
- } */
397
-
398
- </style>
1
+ <template>
2
+ <div class="uploadWrapper">
3
+ <!-- v-if="model.preview" -->
4
+ <van-uploader
5
+
6
+ v-model="fileList"
7
+ preview-size="100%"
8
+ :after-read="afterRead"
9
+ :max-count="model.preview ? 1 : 1000"
10
+ :show-upload="true"
11
+ :upload-icon="model.bgImage"
12
+ :accept="model.accept"
13
+ :preview-image="model.preview"
14
+ @click-upload="clickUpload"
15
+ capture="camera"
16
+ @delete="deleteFn"
17
+ >
18
+ <van-image :src="model.bgImage"/>
19
+ </van-uploader>
20
+
21
+ <div
22
+ v-show="showCooper"
23
+ class="pop"
24
+ closeable
25
+ :overlay="false"
26
+ :style="{
27
+ width: '100%',
28
+ height: '100%',
29
+ zIndex: '999'
30
+ }"
31
+ @click-close-icon="cancel"
32
+ >
33
+ <vueCropper
34
+ :img="cooperImage"
35
+ :autoCrop="true"
36
+ :canScale="false"
37
+ :canMove="false"
38
+ :canMoveBox="true"
39
+ :fixedBox="false"
40
+ :info="false"
41
+ :autoCropWidth="270"
42
+ :autoCropHeight="160"
43
+ :fixed="true"
44
+ :fixedNumber='[1.6,1]'
45
+ :enlarge="1"
46
+ :outputSize="1"
47
+ :centerBox="false"
48
+ class="cropper"
49
+ ref="cropper"
50
+ outputType="jpg"
51
+
52
+ >
53
+
54
+ </vueCropper>
55
+ <div class="control">
56
+ <div class="btnWrapper">
57
+ <van-button
58
+ type="primary"
59
+ @click="right"
60
+ >
61
+ 旋转
62
+ </van-button>
63
+ </div>
64
+ <div class="btnWrapper">
65
+ <van-button
66
+ type="info"
67
+ loading-text="上传中..."
68
+ :loading="loading"
69
+ @click="copper"
70
+ >
71
+ 确定
72
+ </van-button>
73
+ </div>
74
+ </div>
75
+ </div>
76
+ </div>
77
+ </template>
78
+
79
+ <script>
80
+ import Vue from 'vue'
81
+ import base2 from './base2.js'
82
+ import config from '../assets/config'
83
+ import { compressImg } from '../assets/compressImg'
84
+
85
+ import vueCropper from 'vue-cropper' // 截图插件
86
+ Vue.use(vueCropper)
87
+
88
+ export default {
89
+ name: "bs-upload2",
90
+ mixins: [base2],
91
+ props: {
92
+
93
+ },
94
+ data() {
95
+ return {
96
+ fileList:[],
97
+ fileList2:[],
98
+ showCooper: false,
99
+ cooperImage: '',
100
+ fileObj: null,
101
+ loading: false,
102
+ }
103
+ },
104
+ mounted() {
105
+
106
+ },
107
+ methods: {
108
+ right() {
109
+ this.$refs.cropper.rotateRight()
110
+ },
111
+ copper() {
112
+ this.loading = true
113
+ this.$refs.cropper.getCropData((file) => {
114
+ let arr = file.split(",")
115
+ let mime = arr[0].match(/:(.*?);/)[1]
116
+
117
+ let bstr = atob(arr[1])
118
+ let n = bstr.length
119
+ let u8arr = new Uint8Array(n)
120
+ while (n--) {
121
+ u8arr[n] = bstr.charCodeAt(n)
122
+ }
123
+
124
+ var fileObj1 = new File([u8arr], this.file.file.name, { type: mime })
125
+ this._upLoadFile(fileObj1)
126
+ })
127
+
128
+ },
129
+ cancel() {
130
+ debugger
131
+ this.showCooper = false
132
+ this.fileList.splice(0, this.fileList.length)
133
+ },
134
+ deleteFn() {
135
+
136
+ //将废弃delete
137
+ this.$emit('delete', this.model.actions)
138
+ this.$emit('del',function(){
139
+
140
+ },this.fullName)
141
+ },
142
+ createDefaultModel() {
143
+ return {
144
+ value:'',
145
+ data:{},
146
+ label:'点击上传',
147
+ bgImage: 'https://img.yzcdn.cn/vant/cat.jpeg',
148
+ remark:'只能上传jpg/png文件,且不超过500kb',
149
+ expired : -1,
150
+ buzId:'1111',
151
+ buz:'SelfReturnVisit',
152
+ domain:'capp',
153
+ actions: '',
154
+ preview:true,
155
+ accept:'image/*',
156
+ type:'BSUpload',
157
+ needCooper: true,
158
+ };
159
+ },
160
+ isGetRightInfo(data) {
161
+ const actions = this.model.actions
162
+ switch (actions) {
163
+ case 'ocr_id0':
164
+ if (data[actions].data.hasOwnProperty('issued_by')) {
165
+ return false
166
+ }
167
+ break
168
+ case 'ocr_id1':
169
+ if (data[actions].data.hasOwnProperty('issued_by')) {
170
+ return false
171
+ }
172
+ break
173
+ case 'ocr_bc':
174
+ if (data[actions].data.bank_cards.length === 0) {
175
+ return false
176
+ }
177
+ break
178
+ default: {
179
+ return true
180
+ }
181
+ }
182
+ return true
183
+ },
184
+ _upLoadFile(fileObj){
185
+ let self = this
186
+ this.$http.uploadFile(
187
+ {
188
+ process: function(msg){
189
+
190
+ if(self.model.preview){
191
+ self.fileList[0].message = msg
192
+ }
193
+ self.session.sys.loadmsg = msg
194
+ },
195
+ file: fileObj,
196
+ name: this.file.file.name,
197
+ domain: this.model.domain,
198
+ buz: this.model.buz,
199
+ buzId: this.model.buzId,
200
+ expired: this.model.expired,
201
+ actions: this.model.actions
202
+ }, false, true, false).then((data) => {
203
+
204
+ self.model.data = data
205
+ self.model.value = data.fileId + '.' + data.ext
206
+
207
+ this.showCooper = false
208
+ if (this.isGetRightInfo(data.actions)) {
209
+ self.$ak.msg.toast('上传成功')
210
+ }
211
+
212
+ this.loading = false
213
+ self.$emit('done', function(){
214
+
215
+ },self.fullName)
216
+
217
+ }).catch(function(err) {
218
+ console.log(err)
219
+ this.loading = false
220
+ self.fileList.splice(0,self.fileList.length)
221
+ self.$emit('fail',function(){
222
+
223
+ },self.fullName)
224
+ })
225
+ },
226
+ clickUpload () {
227
+ this.$emit('clickUpload', function(){
228
+
229
+ },this.fullName)
230
+ },
231
+ async afterRead(file) {
232
+
233
+ if(this.model.preview) this.fileList[0].status = 'uploading'
234
+ this.file = file
235
+ if (this.model.needCooper) {
236
+ this.showCooper = true
237
+ let arr = file.content.split(",")
238
+ let mime = arr[0].match(/:(.*?);/)[1]
239
+
240
+ // let bstr = atob(arr[1])
241
+ // let n = bstr.length
242
+ // let u8arr = new Uint8Array(n)
243
+ // while (n--) {
244
+ // u8arr[n] = bstr.charCodeAt(n)
245
+ // }
246
+
247
+ // var fileObj1 = new File([u8arr], file.file.name, { type: mime })
248
+ console.log(file)
249
+
250
+ // 下面两行为压缩代码
251
+ var fileObj = await compressImg(file.file, file.file.name, mime)
252
+ this.cooperImage = fileObj.base64
253
+
254
+ // this.cooperImage = file.content
255
+ } else {
256
+ // 不需要裁剪
257
+ let arr = file.content.split(",")
258
+ let mime = arr[0].match(/:(.*?);/)[1]
259
+
260
+ // let bstr = atob(arr[1])
261
+ // let n = bstr.length
262
+ // let u8arr = new Uint8Array(n)
263
+ // while (n--) {
264
+ // u8arr[n] = bstr.charCodeAt(n)
265
+ // }
266
+
267
+ // var fileObj1 = new File([u8arr], file.file.name, { type: mime })
268
+ console.log(file)
269
+ var fileObj = await compressImg(file.file, file.file.name, mime)
270
+ this._upLoadFile(fileObj.file)
271
+ }
272
+
273
+
274
+ }
275
+ },
276
+ watch:{
277
+
278
+ 'model.value':{
279
+ handler(val,oldval){
280
+
281
+ if(this.$ak.utils.isEmpty(val))
282
+ return
283
+
284
+ this.fileList.splice(0,this.fileList.length)
285
+ this.fileList.push({
286
+ url: config.file.baseURL + '/file/v1/hasl/fileAdmin/fileAdmin/get/' + this.model.data.fileId + "." + this.model.data.ext,
287
+ status: 'done'
288
+ })
289
+
290
+
291
+ this.setEventString(this.fullName,this.sname,'value',val,oldval)
292
+ },
293
+ deep:false
294
+ }
295
+ }
296
+ }
297
+
298
+ </script>
299
+
300
+ <style scoped lang="less">
301
+ /deep/ .van-uploader__preview {
302
+ margin: 0;
303
+ }
304
+ /deep/ .van-uploader__preview-delete-icon {
305
+ font-size: 20px;
306
+ }
307
+ /deep/ .van-uploader__preview-delete {
308
+ width: 18px;
309
+ height: 18px;
310
+ border-radius: 0 0 0 14px;
311
+ }
312
+ .uploadWrapper {
313
+ width: 60%;
314
+ margin: 0 auto;
315
+ .cropper {
316
+ margin: 40% auto 0 auto;
317
+ width: 260px;
318
+ height: 260px;
319
+ }
320
+ .cropper-container{
321
+ width: 100vw;
322
+ height: 100vh;
323
+ div{
324
+ width: 100%;
325
+ height: 100%;
326
+ }
327
+ }
328
+ .cropper > :nth-child(1) {
329
+ background-color: #f6f6f6 !important;
330
+ }
331
+ .cropper-container .footer{
332
+ width: 100%;
333
+ height:88px;
334
+ display: flex;
335
+ position: fixed;
336
+ bottom: 0px;
337
+ left:0px;
338
+ }
339
+ .cropper {
340
+ width: 100%;
341
+ height: 260px;
342
+ }
343
+ .cropper-container{
344
+ width: 100vw;
345
+ height: 100vh;
346
+ div{
347
+ width: 100%;
348
+ height: 100%;
349
+ }
350
+ }
351
+ .cropper > :nth-child(1) {
352
+ background-color: #f6f6f6 !important;
353
+ }
354
+ .cropper-container .footer{
355
+ width: 100%;
356
+ height:88px;
357
+ display: flex;
358
+ position: fixed;
359
+ bottom: 0px;
360
+ left:0px;
361
+ }
362
+ }
363
+ .van-button {
364
+ width: 100%;
365
+ }
366
+ .control {
367
+ position: fixed;
368
+ bottom: 0;
369
+ display: flex;
370
+ justify-content: space-between;
371
+ width: 100%;
372
+ .btnWrapper {
373
+ width: 50%;
374
+ }
375
+ }
376
+ .pop {
377
+ position: fixed;
378
+ top: 50%;
379
+ left:0;
380
+ transform: translate3d(0,-50%,0);
381
+ max-height: 100%;
382
+ overflow-y: auto;
383
+ background-color: #fff;
384
+ }
385
+ </style>
386
+ <style scoped>
387
+ /* .cropper-container >>> .van-button--info{
388
+ width: 50%;
389
+ background:rgba(54,95,170,1);
390
+ box-shadow:0px 9px 24px 0px rgba(54,95,170,0.39);
391
+ border: 1px solid rgba(69,104,186,1);
392
+ }
393
+ .cropper-container >>> .van-button{
394
+ height: 88px;
395
+ line-height: 88px;
396
+ } */
397
+
398
+ </style>