mOtherOrg.vue
26.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
<template>
<div class="mOtherOrg">
<div class="topTitle">
<h3>其它组织入驻</h3>
<p>请认真填写申请信息,以便我们为您提供更好的服务!</p>
</div>
<div class="centBox">
<el-steps :active="active" align-center>
<el-step @click.native="changeActive(index = 1)" title="店铺信息"></el-step>
<el-step @click.native="changeActive(index = 2)" title="主体信息"></el-step>
<el-step @click.native="changeActive(index = 3)" title="经营者信息"></el-step>
</el-steps>
<div class="mFormBox">
<div class="shopInfo" v-show="active === 1">
<div class="form">
<div class="inputItem">
<div class="labelTit"><label><i>*</i>店铺名称:</label></div>
<input type="text" v-model="personalForm.shopName" placeholder="请输入店铺名称">
</div>
<div class="inputItem">
<div class="labelTit"><label><i>*</i>客服电话:</label></div>
<input type="text" v-model="personalForm.servicePhone" placeholder="请输入客服电话">
</div>
<div class="inputItem">
<div class="labelTit"><label><i>*</i>店铺负责人:</label></div>
<input type="text" v-model="personalForm.chargePersonName" placeholder="请输入店铺负责人">
</div>
<div class="inputItem">
<div class="labelTit"><label><i>*</i>负责人电话:</label></div>
<input type="text" v-model="personalForm.chargePersonPhone" placeholder="请输入负责人电话">
</div>
<div class="inputItem arrow">
<div class="labelTit"><label><i>*</i>店铺地址:</label></div>
<input @click="showPopup" @focus="noBomBox" v-model="shopAdress" type="text" placeholder="请选择所在地区">
<span class="iconfont"></span>
<input type="text" v-model="personalForm.storeAddressDetail" placeholder="请输入详细地址">
</div>
</div>
</div>
<div class="subjectInfo" v-show="active === 2">
<div class="form">
<div class="inputItem">
<div class="labelTit"><label><i>*</i>组织名称:</label></div>
<input type="text" v-model="personalForm.otherName" placeholder="请输入组织名称">
</div>
<p class="describe">需与当地政府颁发的商业许可证书或企业注册证上的企业名称完全一致,信息审核审核
成功后,企业名称不可修改</p>
<div class="inputItem">
<div class="labelTit"><label><i>*</i>组织机构代码:</label></div>
<input type="text" v-model="personalForm.otherCode" placeholder="请输入组织机构代码">
</div>
<div class="inputItem arrow">
<div class="labelTit"><label><i>*</i>注册地址:</label></div>
<input @click="showRegionPopup" @focus="noBomBox" v-model="personalForm.otherRegion" type="text" placeholder="请选择注册地址">
<span class="iconfont"></span>
<input type="text" v-model="personalForm.otherAdress" placeholder="请输入详细地址">
</div>
<div class="inputItem arrow">
<div class="labelTit"><label><i>*</i>营业期限:</label></div>
<input type="text" @focus="noBomBox" v-model="personalForm.otherStartTime" placeholder="请选择营业开始时间" @click="selectStartDateBtn">
<span class="iconfont"></span>
</div>
<div class="inputItem arrowTime">
<input v-model="personalForm.otherEndTime" @focus="noBomBox" type="text" placeholder="请选择营业截止时间" @click="selectEndDateBtn">
<span class="iconfont"></span>
</div>
<p class="describe">
请填写营业执照上的营业期限 注意参照示例中的格式 结束时间需大于开始时间 有效期
必须大于60天
</p>
<div class="inputItem">
<div class="labelTit"><label><i>*</i>机构证明材料:</label></div>
<div class="businessLicense">
<van-uploader v-model="fileList" :max-count="1" :after-read="(file)=>{return afterRead(file, type = 'license')}" @oversize="onOversize">
<!-- <van-uploader v-model="fileList" :max-count="1" :after-read="afterRead" @oversize="onOversize">-->
<div icon="plus" type="primary">
<div class="updateLicense">
<div class="updateTop">
<img src="../../assets/images/yingyezhiz@2x.png" alt="">
</div>
<div class="updateBottom">添加机构证明材料</div>
</div>
</div>
<template #preview-cover="{ file }">
<div class="preview-cover van-ellipsis">机构证明材料</div>
</template>
</van-uploader>
</div>
</div>
<p class="describe">
此处提交机构证件及其他证明材料。仅支持在有效期内的中国大陆工商局或市场监督管理局颁发的工商营业执照。格式要求:原证照片、扫描件或者复印件加盖企业公章后的扫描件
</p>
</div>
</div>
<div class="subjectInfo" v-show="active === 3">
<div class="form">
<div class="inputItem">
<div class="labelTit"><label><i>*</i>负责人姓名:</label></div>
<input v-model="personalForm.otherOperator" type="text" placeholder="请输入负责人姓名">
</div>
<div class="inputItem arrow">
<div class="labelTit"><label><i>*</i>证件类型:</label></div>
<input v-model="idType" type="text" @focus="noBomBox" placeholder="请选择证件类型" @click="idTypeShowFn">
<span class="iconfont"></span>
</div>
<div class="inputItem">
<div class="labelTit"><label><i>*</i>身份证号码:</label></div>
<input v-model="personalForm.otherIdCard" type="text" placeholder="请输入居民身份证号">
</div>
<div class="inputItem arrow">
<div class="labelTit"><label><i>*</i>身份证有效期:</label></div>
<input v-model="personalForm.otherCardStartTime" @focus="noBomBox" type="text" placeholder="请选择身份证开始时间" @click="selectIdStartDateBtn">
<span class="iconfont"></span>
</div>
<div class="inputItem arrowTime">
<input v-model="personalForm.otherCardEndTime" @focus="noBomBox" type="text" placeholder="请选择身份证有效期结束时间" @click="selectIdEndDateBtn">
<span class="iconfont"></span>
</div>
<div class="inputItem">
<div class="labelTit"><label><i>*</i>证件照片:</label></div>
<div class="businessLicense">
<van-uploader v-model="positive" :max-count="1" :after-read="(file)=>{return afterRead(file, type = 'positive')}" @oversize="onOversize">
<div icon="plus" type="primary">
<div class="updateLicense">
<div class="updateTop">
<img src="../../assets/images/shouchishenfenz@2x.png" alt="">
</div>
<div class="updateBottom">身份证人像面</div>
</div>
</div>
<template #preview-cover="{ file }">
<div class="preview-cover van-ellipsis">身份证人像面</div>
</template>
</van-uploader>
</div>
<div class="businessLicense">
<van-uploader v-model="backIdImg" :max-count="1" :after-read="(file)=>{return afterRead(file, type = 'back')}" @oversize="onOversize">
<div icon="plus" type="primary">
<div class="updateLicense">
<div class="updateTop">
<img src="../../assets/images/shenfenzb@2x.png" alt="">
</div>
<div class="updateBottom">身份证国徽面</div>
</div>
</div>
<template #preview-cover="{ file }">
<div class="preview-cover van-ellipsis">身份证国徽面</div>
</template>
</van-uploader>
</div>
</div>
</div>
</div>
</div>
<button class="nextBtn" @click="next" v-show="active < 3">下一步</button>
<button class="nextBtn" @click="submitForm" v-show="active > 2">提交</button>
</div>
<van-popup v-model="show" round position="bottom" :style="{ height: '40%' }">
<van-area title="请选择地区" :area-list="areaList" @confirm="selectArea" @cancel="closeSelect"/>
</van-popup>
<van-popup v-model="regionShow" round position="bottom" :style="{ height: '40%' }">
<van-area title="请选择地区" :area-list="areaRegionList" @confirm="selectRegionArea" @cancel="closeRegionSelect"/>
</van-popup>
<van-popup v-model="startDateShow" round position="bottom" :style="{ height: '40%' }">
<van-datetime-picker
v-model="startDate"
type="date"
title="请选择营业执照开始时间"
:min-date="minDate"
:max-date="maxDate"
:formatter="formatter"
@confirm="selectStartTime"
@cancel="closeStartTime"
/>
</van-popup>
<van-popup v-model="endDateShow" round position="bottom" :style="{ height: '40%' }">
<van-datetime-picker
v-model="endDate"
type="date"
title="请选择营业执照到期时间"
:min-date="minDate"
:max-date="maxDate"
:formatter="formatter"
@confirm="selectEndTime"
@cancel="closeEndTime"
/>
</van-popup>
<van-popup v-model="idCardStartShow" round position="bottom" :style="{ height: '40%' }">
<van-datetime-picker
v-model="idCardStartDate"
type="date"
title="请选择身份证开始时间"
:min-date="minDate"
:max-date="maxDate"
:formatter="formatter"
@confirm="selectIdCardStartTime"
@cancel="closeIdCardStartTime"
/>
</van-popup>
<van-popup v-model="idCardEndShow" round position="bottom" :style="{ height: '40%' }">
<van-datetime-picker
v-model="idCardEndDate"
type="date"
title="请选择身份证到期时间"
:min-date="minDate"
:max-date="maxDate"
:formatter="formatter"
@confirm="selectIdCardEndTime"
@cancel="closeIdCardEndTime"
/>
</van-popup>
<van-popup v-model="idTypeShow" round position="bottom" :style="{ height: '40%' }">
<van-picker
title="请选择证件类型"
show-toolbar
:columns="columns"
@confirm="onConfirm"
@cancel="onCancel"
/>
</van-popup>
</div>
</template>
<script>
import { Area, Popup, DatetimePicker, Uploader, Toast, Picker } from 'vant'
import api from '@/api'
import { listSearchMixin } from '@/config/mixin'
import AreaList from '../../util/area'
export default {
mixins: [listSearchMixin],
name: 'mPersonalBusiness',
components: {
[Area.name]: Area,
[Popup.name]: Popup,
[DatetimePicker.name]: DatetimePicker,
[Uploader.name]: Uploader,
[Toast.name]: Toast,
[Picker.name]: Picker
},
data () {
return {
active: 1,
areaList: AreaList,
areaRegionList: AreaList,
show: false,
regionShow: false,
minDate: new Date(1960, 1, 1),
maxDate: new Date(2077, 12, 31),
startDate: '',
endDate: '',
idCardStartDate: '',
idCardEndDate: '',
startDateShow: false,
endDateShow: false,
idCardStartShow: false,
idCardEndShow: false,
idTypeShow: false,
idType: '',
fileList: [],
backIdImg: [],
positive: [],
shopAdress: '', // 店铺地区
subjectRegion: '', // 注册地址地区
personalForm: {
shopName: '', // 店铺名称
shopPhone: '', // 手机号
servicePhone: '', // 客服电话
chargePersonName: '', // 店铺负责人
chargePersonPhone: '', // 负责人电话
shopAdress: '', // 店铺地址
shopAdressProvince: '', // 店铺地址省
shopAdressCity: '', // 店铺地址市
storeAddressDetail: '', // 店铺详细地址
otherName: '', // 组织名称
otherCode: '', // 组织机构代码
otherRegion: '', // 注册地址 省-市-区
otherAdress: '', // 注册地址详细
otherStartTime: '', // 营业期限开始时间
otherEndTime: '', // 营业期限结束时间
otherLicense: '', // 机构证件或其他证明材料图片地址
otherOperator: '', // 负责人姓名
otherCardType: '', // 身份证类型
otherIdCard: '', // 负责人身份证号码
otherCardStartTime: '', // 证件有效开始时间
otherCardEndTime: '', // 证件有效结束时间
otherCardPositive: '', // 身份证正面照
otherCardSide: '' ,// 身份证反面照
merchantType: '线上商家'
},
idCardList: [],
dictName: '证件类型',
columns: []
}
},
mounted () {
this.getDictList()
},
methods: {
getDictList () {
let self = this
let params = {
url: api.getByName + '?dictName=' + self.dictName,
method: 'GET'
}
self.sendReq(params, (res) => {
if (res.code === '') {
self.idCardList = res.data
self.idCardList.forEach((item) => {
var dictData = {}
dictData['text'] = item.dictName
dictData['value'] = item.dictId
self.columns.push(dictData)
console.log(self.columns, 'idList')
})
}
})
},
showPopup () {
this.show = true
},
showRegionPopup () {
this.regionShow = true
},
next () {
this.active++
if (this.active === 4) {
}
},
selectArea (address) {
this.shopAdress = `${address[0].name}-${address[1].name}-${address[2].name}`
this.personalForm.shopAdressProvince = address[0].name
this.personalForm.shopAdressCity = address[1].name
console.log(address)
this.show = false
},
selectRegionArea (address) {
this.personalForm.otherRegion = `${address[0].name}-${address[1].name}-${address[2].name}`
this.regionShow = false
},
closeRegionSelect () {
this.regionShow = false
},
closeSelect () {
this.show = false
},
selectStartDateBtn () {
this.startDateShow = true
},
selectEndDateBtn () {
this.endDateShow = true
},
selectIdStartDateBtn () {
this.idCardStartShow = true
},
selectIdEndDateBtn () {
this.idCardEndShow = true
},
dateTime (value) {
let date = value
let m = date.getMonth() + 1
let d = date.getDate()
if (m >= 1 && m <= 9) {
m = '0' + m
}
if (d >= 0 && d <= 9) {
d = '0' + d
}
return date.getFullYear() + '年-' + m + '月-' + d + '日'
},
idTypeShowFn () {
this.idTypeShow = true
},
// 选择证件类型
onConfirm (type) {
this.idType = type.text
this.personalForm.otherCardType = type.value
this.idTypeShow = false
},
onCancel () {
this.personalForm.otherCardType = ''
this.idTypeShow = false
},
// 选择开始时间
selectStartTime (value) {
this.personalForm.otherStartTime = this.dateTime(value)
this.startDateShow = false
},
// 取消选择开始时间
closeStartTime () {
this.startDateShow = false
},
// 选择截止时间
selectEndTime (value) {
this.personalForm.otherEndTime = this.dateTime(value)
this.endDateShow = false
},
// 取消选择截止时间
closeEndTime () {
this.endDateShow = false
},
// 选择证件日期开始时间
selectIdCardStartTime (value) {
this.personalForm.otherCardStartTime = this.dateTime(value)
this.idCardStartShow = false
},
// 取消选择身份证开始时间
closeIdCardStartTime () {
this.idCardStartShow = false
},
// 证件到期时间
selectIdCardEndTime (value) {
this.personalForm.otherCardEndTime = this.dateTime(value)
this.idCardEndShow = false
},
// 取消选择身份证到期时间
closeIdCardEndTime () {
this.idCardEndShow = false
},
changeActive (index) {
this.active = index
},
// 禁止弹出键盘
noBomBox (Event) {
document.activeElement.blur()
},
formatter (type, val) {
if (type === 'year') {
return `${val}年`
} else if (type === 'month') {
return `${val}月`
} else if (type === 'day') {
return `${val}日`
}
return val
},
afterRead (file, type) {
// console.log(file.content, file.file.name)
// let fileData = this.dataURLtoFileFun(file.content, file.file.name)
let formData = new FormData()
formData.append('file', this.dataURLtoFileFun(file.content, file.file.name))
// console.log(fileData, 'fileData')
let self = this
let params = {
url: api.upload,
method: 'POST',
contentType: 'multipart/form-data',
data: formData
}
self.sendReq(params, (res) => {
if (res.code === '200') {
if (type === 'license') {
self.personalForm.otherLicense = res.data
} else if (type === 'positive') {
self.personalForm.otherCardPositive = res.data
} else if (type === 'back') {
self.personalForm.otherCardSide = res.data
}
} else {
Toast.fail(res.message)
}
})
// file.status = 'uploading'
// file.message = '上传中...'
// setTimeout(() => {
// file.status = 'failed'
// file.message = '上传失败'
// }, 1000)
},
dataURLtoFileFun (dataurl, filename) {
// 将base64转换为文件,dataurl为base64字符串,filename为文件名(必须带后缀名,如.jpg,.png)
let arr = dataurl.split(',')
let mime = arr[0].match(/:(.*?);/)[1]
let bstr = atob(arr[1])
let n = bstr.length
let u8arr = new Uint8Array(n)
while (n--) {
u8arr[n] = bstr.charCodeAt(n)
}
return new File([u8arr], filename, { type: mime })
},
onOversize (file) {
console.log(file)
Toast.fail('文件大小不能超过 500kb')
},
// 提交申请
submitForm () {
let self = this
self.personalForm.shopAdress = ''
let reg = /^1[13456789]\d{9}$/
var idReg = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/
self.personalForm.shopPhone = self.personalForm.servicePhone
self.personalForm.shopAdress = `${self.shopAdress},${self.personalForm.storeAddressDetail}`
// alert('submit!')
if (self.personalForm.shopName === '') {
Toast.fail('请输入店铺名称')
return false
}
if (self.personalForm.servicePhone === '') {
Toast.fail('请输入客服电话')
return false
} else if (!reg.test(self.personalForm.servicePhone)) {
Toast.fail('客服电话号格式错误')
return false
}
if (self.personalForm.chargePersonName === '') {
Toast.fail('请输入店铺负责人')
return false
}
if (self.personalForm.chargePersonPhone === '') {
Toast.fail('请输入负责人电话')
return false
} else if (!reg.test(self.personalForm.chargePersonPhone)) {
Toast.fail('负责人电话式错误')
return false
}
if (self.personalForm.shopAdress === '') {
Toast.fail('请选择所在地区')
return false
}
if (self.personalForm.storeAddressDetail === '') {
Toast.fail('请输入详细地址')
return false
}
if (self.personalForm.otherName === '') {
Toast.fail('请输入商户名称')
return false
}
if (self.personalForm.otherCode === '') {
Toast.fail('请输入社会信用代码')
return false
}
if (self.personalForm.otherRegion === '') {
Toast.fail('请输入注册地址')
return false
}
if (self.personalForm.otherAdress === '') {
Toast.fail('请输入注册详情地址')
return false
}
if (self.personalForm.otherStartTime === '') {
Toast.fail('请选择营业开始时间')
return false
}
if (self.personalForm.otherEndTime === '') {
Toast.fail('请选择营业截止时间')
return false
}
if (self.personalForm.otherLicense === '') {
Toast.fail('请上传机构证件或其他证明材料')
return false
}
if (self.personalForm.otherOperator === '') {
Toast.fail('请输入负责人姓名')
return false
}
if (self.personalForm.otherCardType === '') {
Toast.fail('请选择证件类型')
return false
}
if (self.personalForm.otherIdCard === '') {
Toast.fail('请输入居民身份证号')
return false
} else if (!idReg.test(self.personalForm.otherIdCard)) {
Toast.fail('身份证号码格式错误')
return false
}
if (self.personalForm.otherCardStartTime === '') {
Toast.fail('请选择身份证开始时间')
return false
}
if (self.personalForm.otherCardEndTime === '') {
Toast.fail('请选择身份证有效期结束时间')
return false
}
if (self.personalForm.otherCardPositive === '') {
Toast.fail('请上传身份证正面照')
return false
}
if (self.personalForm.otherCardSide === '') {
Toast.fail('请上传身份证背面照')
return false
}
let params = {
url: api.organizationsCheck,
method: 'POST',
data: self.personalForm
}
self.sendReq(params, (res) => {
if (res.code === '200') {
Toast.success('提交成功')
self.$router.push({path: '/mStatus'})
} else {
Toast.fail(res.message)
}
})
}
}
}
</script>
<style lang="scss" scoped>
.mOtherOrg {
padding-bottom: 60px;
.topTitle {
padding: 0 5%;
h3 {
font-size: 21px;
color: #333333;
margin-bottom: 22px;
}
p {
font-size: 12px;
color: #676870;
}
margin:50px 0 28px 0;
}
.el-step__head {
color: #E9EAEB;
.el-step__icon {
background: #FFFFFF;
width: 50px;
height: 50px;
border-radius: 0;
border: 1px solid #F3F4F5;
}
}
.el-step__head.is-process {
border-color: #CDCDCD
}
.el-step__line {
background-color: #F3F4F5;
height: 1px !important;
top: 50% !important;
overflow: hidden;
}
.is-finish {
border-color: #C5AA7B;
color: #FFFFFF;
font-weight: 500 !important;
.el-step__icon {
background: #FFFFFF;
height: 50px;
width: 50px;
color: #C5AA7B;
border: 1px solid #C5AA7B;
border-radius: 0;
}
}
.el-step__main {
.is-finish {
color: #333333;
}
}
.el-step__title.is-process {
font-size: 14px;
color: #999999;
font-weight: 500;
}
.el-step__title.is-wait {
font-size: 14px;
color: #999999;
font-weight: 500;
}
.el-step__main {
.el-step__title {
font-size: 14px;
}
.is-success {
color: $mainColor;
}
}
.mFormBox {
padding: 0 5%;
margin-top: 41px;
.formTit {
span {
font-size: 17px;
font-weight: bold;
color: #444444;
line-height: 18px;
position: relative;
i {
background: linear-gradient(267deg, #FF8F25 0%, rgba(254, 179, 24, 0.48) 52%, rgba(255, 255, 255, 0) 100%);
opacity: 0.7;
display: block;
height: 11px;
width: 100%;
bottom: -2px;
position: absolute;
}
}
}
.form {
margin-top: 25px;
.inputItem {
margin-top: 20px;
.labelTit {
display: flex;
label {
color: #333333;
font-weight: 500;
font-size: 14px;
i {
color: $mainColor;
font-size: 15px;
margin-right: 5px;
}
}
}
input {
width: 100%;
border-bottom: 1px solid #F6F4F7;
height: 50px;
line-height: 50px;
font-size: 14px;
color: #666666;
padding-left: 10px;
}
input::placeholder {
color: #999999;
}
}
.arrow {
position: relative;
span {
position: absolute;
right: 5px;
top: 30px;
color: #999999;
}
}
.arrowTime {
position: relative;
span {
position: absolute;
right: 5px;
top: 20px;
color: #999999;
}
}
.describe {
color: #BBBBBB;
font-size: 12px;
margin-top: 10px;
line-height: 20px;
padding-left: 10px;
}
}
}
.nextBtn {
display: block;
margin: 50px auto 0 auto;
width: 315px;
height: 42px;
background: #333333;
color: $mainColor;
}
.businessLicense {
width: 100%;
background: #F3F4F5;
margin-top: 10px;
display: flex;
.van-uploader {
margin: 10px auto;
}
.van-uploader__preview-image {
width: 162px;
height: 135px;
}
.updateLicense {
width: 162px;
height: 135px;
.updateTop {
display: flex;
justify-content: center;
height: 110px;
align-items: center;
img {
width: 169px;
height: 100px;
}
}
.updateBottom {
width: 162px;
height: 25px;
font-size: 13px;
line-height: 25px;
color: #999999;
text-align: center;
}
}
}
}
.preview-cover {
position: absolute;
bottom: 0;
box-sizing: border-box;
width: 100%;
padding: 4px;
color: #fff;
font-size: 12px;
text-align: center;
background: rgba(0, 0, 0, 0.3);
}
</style>