evaluteThree.vue
25.1 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
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
<template>
<div class="evalute_one evalute_three">
<div class="evalute_main">
<!-- 标题 -->
<div class="evalute_title_wrap layout flex_row align_left">
<div class="evalute_title_l"></div>
<div class="evalute_title_c">
<span class="evalute_title">
测评
<!-- Evaluation -->
</span>
</div>
<div class="evalute_title_r"></div>
</div>
<!-- 测试内容 -->
<div class="test_content">
<!-- 步骤条 -->
<!-- 步骤条 -->
<div class="step_bar layout align_left">
<div class="step_single ">
第一步:国家选择
<!-- FIRST: Select country -->
</div>
<div class="step_img">
<img src="@/assets/img_12.png" alt />
</div>
<div class="step_single">
第二步:基本调查
<!-- SECOND: Questionnaire -->
</div>
<div class="step_img">
<img src="@/assets/img_11.png" alt />
</div>
<div class="step_single active_step">
第三步:客户信息
<!-- THIRD: Customer Information -->
</div>
</div>
<!-- 客户信息 -->
<div class="test_question_wrap third_form">
<!-- 客户信息 -->
<div class="customer_infor">
<!-- 标题 -->
<div class="customer_title_wrap">
<div class="customer_title">
客户信息
<!-- Customer Information -->
</div>
<div class="customer_infor_tips">
信息的准确性将影响到移民的成功率,请务必如实填写。
<!-- The accuracy of the information will affect the success rate of immigrants.Please fill in the information truly and correctly -->
</div>
</div>
<!-- 表单 -->
<!-- 中文 -->
<el-form
class="layout flex_row align_left"
label-position="left"
label-width="150px"
:model="formLabelChinese"
:rules="rules"
ref="formLabelChinese"
>
<div class="chinese_form">
<el-form-item label="中文姓名:" prop="name">
<el-input v-model="formLabelChinese.name"></el-input>
</el-form-item>
<el-form-item label="性别:" prop="gender">
<el-select v-model="formLabelChinese.gender" placeholder="请选择">
<el-option label="男" value="1"></el-option>
<el-option label="女" value="2"></el-option>
</el-select>
</el-form-item>
<el-form-item label="身份证号:" prop="card_number">
<el-input v-model="formLabelChinese.card_number" maxlength="18"></el-input>
</el-form-item>
<el-form-item label="护照号码:" prop="passport_number">
<el-input v-model="formLabelChinese.passport_number"></el-input>
</el-form-item>
<el-form-item label="国籍:" prop="nation">
<el-select
v-model="formLabelChinese.nation"
placeholder="请选择"
>
<el-option
v-for="item in countryList"
:key="item.id"
:label="item.name_en"
:value="item.name_en"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="联系电话:" prop="phone">
<el-input v-model="formLabelChinese.phone" maxlength="11"></el-input>
</el-form-item>
</div>
<div class="english_form">
<div class="layout flex_row">
<el-form-item
label="English name:"
class="input_single first_name"
prop="first_name"
>
<el-input placeholder="First/Given Name" v-model="formLabelChinese.first_name"></el-input>
</el-form-item>
<el-form-item label class="input_single second_name" prop="middle_name">
<el-input placeholder="Middle Name" v-model="formLabelChinese.middle_name"></el-input>
</el-form-item>
<el-form-item label class="input_single second_name" prop="last_name">
<el-input placeholder="Last/Family Name" v-model="formLabelChinese.last_name"></el-input>
</el-form-item>
</div>
<el-form-item label="Address1:" prop="add1">
<el-input v-model="formLabelChinese.add1"></el-input>
</el-form-item>
<el-form-item label="Address2:">
<el-input v-model="formLabelChinese.add2"></el-input>
</el-form-item>
<el-form-item label="Address3:">
<el-input v-model="formLabelChinese.add3"></el-input>
</el-form-item>
<el-form-item label="Postcode:" prop="postCode">
<el-input v-model="formLabelChinese.postCode" maxlength="6"></el-input>
</el-form-item>
</div>
</el-form>
<!-- </div> -->
</div>
<!-- 其它加分项 -->
<div class="other_option">
<!-- 标题 -->
<div class="customer_title_wrap">
<div class="customer_title">
其他加分项
<!-- The extra point column -->
</div>
<div class="customer_infor_tips">
以下项均为非必填
<!-- The following items are optional -->
</div>
</div>
<!-- 上传文件 -->
<div class="personal_property" v-for="(item,index) in uploadList" :key="index">
<!-- 表头 -->
<div class="table_wrap_title">
<div class="table_title">{{item.question_name}}</div>
<div class="table_tips">{{item.upload_explain}}</div>
<!-- 上传文件 -->
<el-upload
class="upload-demo"
action="http://yiminadmin.zishike.cn/api/common/upload"
:headers="headers"
:on-success="uploadSuccProperty"
>
<!-- <el-upload
class="upload-demo"
action="http://yiminadmin.zishike.com/api/common/upload"
:headers="headers"
:on-success="uploadSuccProperty"
> -->
<!-- http://yiminadmin.zishike.com -->
<div class="table_upload" @click="getItem(item)">
<img src="@/assets/img_25.png" alt />
</div>
</el-upload>
</div>
<!-- 表格 -->
<div class="personal_table_wrap">
<el-table
v-if="item.tableData.length>0"
ref="singleTable"
:data="item.tableData"
highlight-current-row
:row-class-name="getRowIndex"
@cell-mouse-enter="enterTable"
@cell-mouse-leave="leaveTable"
style="width: 100%"
:cell-style="cellStyle"
:header-row-style="changeHeader"
>
<el-table-column property="file_name" label="文件名" align="center"></el-table-column>
<el-table-column property="file_size" label="文件大小" align="center"></el-table-column>
<el-table-column property="state" label="状态" align="center"></el-table-column>
<el-table-column property="opertion" label="操作" align="center">
<template slot-scope="scope">
<div class="layout justify_center align_center">
<div class="layout flex_row align_center">
<div class="watch_pdf">
<a :href="scope.row.url" target="_blank" rel="noopener noreferrer">
<img :src="scope.row.showIcon == true?watchImg2:watchImg1" alt />
</a>
</div>
<div class="delete_pdf" @click="deleteDialog(item,scope.row)">
<img :src="scope.row.showIcon == true?deleteImg2:deleteImg1" alt />
</div>
</div>
</div>
</template>
</el-table-column>
</el-table>
<div class="no_upload" v-else>
请上传文件
<!-- Please upload the file -->
</div>
<!-- 删除确认弹窗 -->
<el-dialog
lock-scroll
:visible.sync="dialogVisible"
width="498px"
:before-close="handleClose"
>
<div class="capion_title">提示</div>
<div class="capion_tips">确认要删除吗?</div>
<div slot="footer" class="dialog-footer clearfix">
<div class="dialog_btn_l dialog_btn_r" @click="deleteSure()">确认</div>
<div class="dialog_btn_l" @click="dialogVisible = false">取消</div>
</div>
</el-dialog>
</div>
</div>
</div>
<!-- 上一页 提交 撤销 -->
<div class="btn_group">
<div class="layout align_center justify_center flex_row">
<div class="btn_l" @click="prevPage()">
上一步
<!-- Back -->
</div>
<div class="btn_l btn_c" @click="submitNow('formLabelChinese')">
提交
<!-- Submit -->
</div>
<div class="btn_l" @click="cancelSubmit()">
取消
<!-- Cancel -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
import { Message } from "element-ui";
import { post } from "../../../api/http";
let uploadObj = {};
let uploadObjk={};
export default {
data() {
// 身份证号正则
var validateIdNum = (rule, value, callback) => {
if (
!/^(([1][1-5])|([2][1-3])|([3][1-7])|([4][1-6])|([5][0-4])|([6][1-5])|([7][1])|([8][1-2]))\d{4}(([1][9]\d{2})|([2]\d{3}))(([0][1-9])|([1][0-2]))(([0][1-9])|([1-2][0-9])|([3][0-1]))\d{3}[0-9xX]$/.test(
value
)
) {
callback(new Error("请输入身份证号"));
} else {
callback();
}
};
// 手机号码正则
var validatePhone = (reule, value, callback) => {
if (!/^1\d{10}$/.test(value)) {
callback(new Error("请输入手机号码"));
} else {
callback();
}
};
// 邮编正则
var validatePostCode = (resule, value, callback) => {
if (!/^[0-9]{6}$/.test(value)) {
callback(new Error("请输入邮编"));
} else {
callback();
}
};
return {
// 国家选择
countryList: [],
countryId: "",
// 选中答案
isChoice: -1,
// 中文表单
formLabelChinese: {
name: "",
gender: "",
card_number: "",
passport_number: "",
nation: "",
phone: "",
first_name: "",
middle_name: "",
last_name: "",
add1: "",
add2: "",
add3: "",
postCode: ""
},
rules: {
name: [
{
required: true,
message: "请输入您的名字",
trigger: "blur"
}
],
gender: [
{
required: true,
message: "请选择您的性别",
trigger: "change"
}
],
card_number: [
{
required: true,
validator: validateIdNum,
trigger: "blur"
}
],
passport_number: [
{
required: true,
message: "请输入您的护照号码",
trigger: "blur"
}
],
nation: [
{
required: true,
message: "请选择您的国籍",
trigger: "change"
}
],
phone: [
{
required: true,
validator: validatePhone,
trigger: "blur"
}
],
first_name: [
{
required: true,
message: "Please enter first name",
trigger: "blur"
}
],
last_name: [
{
required: true,
message: "Please enter last name",
trigger: "blur"
}
],
add1: [
{
required: true,
message: "Please enter address",
trigger: "blur"
}
]
},
currentRow: null,
// 删除弹窗
dialogVisible: false,
deleteId: "",
// 删除的表格
deleteList: "",
// 删除的下标
deleteIndex: "",
// 查看icon
watchImg1: require("../../../assets/img_7.png"),
watchImg2: require("../../../assets/img_6.png"),
// 删除icon
deleteImg1: require("../../../assets/img_24.png"),
deleteImg2: require("../../../assets/img_23.png"),
// 国家id
countryId: "",
uploadList: [],
// 上传文件请求头
headers: {
token: ""
},
// 当前点击的上传
tableId: "",
tableData: [],
tableDatak:[],
// 第二步答案
choiceAns: "",
// 文件是否为必传
requireObj: {}
};
},
methods: {
// 表格
// 修改表头样式
changeHeader({ row, rowIndex }) {
return "color:#333;font-size:16px";
},
// 修改第一列样式
cellStyle({ row, column, rowIndex, columnIndex }) {
if (columnIndex == 0) {
return "color:#003CFF";
}
},
// 获取国家列表
getCountryList() {
let url = "/api/sundry/get_country";
post(url).then(res => {
this.countryList = res;
});
},
// 上传证明
// 上传成功回调
uploadSuccProperty(response, file, fileList) {
if (response.code == 1) {
// 上传成功
var obj = {};
var objk={};
const fileSize = (file.size / 1024 / 1024).toFixed(2) + "M";
obj["file_name"] = file.name;
obj["file_size"] = fileSize;
obj["state"] = "上传成功";
obj["url"] = response.data.url;
obj["showIcon"] = false;
obj["id"] = this.tableId;
this.tableData.push(obj);
objk["file_name"] = file.name;
objk["file_size"] = fileSize;
objk["state"] = "上传成功";
objk["url"] = response.data.relative_url;
objk["showIcon"] = false;
objk["id"] = this.tableId;
this.tableDatak.push(objk);
for (let obj of this.uploadList) {
if (this.tableId == obj.id) {
obj.tableData = this.tableData;
}
}
uploadObj[this.tableId] = this.tableData;
uploadObjk[this.tableId] = this.tableDatak;
localStorage.setItem("uploadAnswer", JSON.stringify(uploadObj));
localStorage.setItem("uploadAnswerk", JSON.stringify(uploadObjk));
console.log('3443734',uploadObjk)
} else if (response.code == 0) {
// 上传失败
this.$message.error(response.msg);
}
},
// 上传对应的表格
getItem(item) {
this.tableId = item.id;
this.tableData = item.tableData;
},
// 获取该行的下标
getRowIndex({ row, rowIndex }) {
row.index = rowIndex;
},
// 删除弹窗
deleteDialog(item, row) {
this.dialogVisible = true;
this.deleteList = item.tableData;
this.deleteIndex = row.index;
this.deleteId = row.id;
},
// 确认删除
deleteSure() {
// 删除缓存中对应的数据
let uploadAnswer = JSON.parse(localStorage.getItem("uploadAnswer"));
for (let i in uploadAnswer) {
if (i == this.deleteId) {
uploadAnswer[i].splice(this.deleteIndex, 1);
}
}
localStorage.setItem("uploadAnswer", JSON.stringify(uploadAnswer));
let uploadAnswerk = JSON.parse(localStorage.getItem("uploadAnswerk"));
for (let i in uploadAnswerk) {
if (i == this.deleteId) {
uploadAnswerk[i].splice(this.deleteIndex, 1);
}
}
localStorage.setItem("uploadAnswerk", JSON.stringify(uploadAnswerk));
// 删除表格中的数据
this.deleteList.splice(this.deleteIndex, 1);
this.dialogVisible = false;
},
// 删除之前
handleClose(done) {
this.dialogVisible = false;
},
// 返回上一页
prevPage() {
this.$router.push({ path: "/evaluteTwo" });
},
// 提交
submitNow(formName) {
// 判断文件是否为必传
let isRequire = "";
// console.log(this.requireObj,uploadObj,"提交")
for (let item in this.requireObj) {
// 所有文件都为非必传
if (this.requireObj[item] == 0) {
isRequire = true;
}
// console.log(this.requireObj[item] == 0)
}
if (isRequire) {
// JSON.stringify(uploadObj) != "{}"
this.$refs[formName].validate(valid => {
if (valid) {
localStorage.setItem(
"formMsg",
JSON.stringify(this.formLabelChinese)
);
let url = "/api/template/get_result";
let params = {
country_id: this.countryId,
name: this.formLabelChinese.name,
gender: this.formLabelChinese.gender,
card_number: this.formLabelChinese.card_number,
passport_number: this.formLabelChinese.passport_number,
country: this.formLabelChinese.nation,
mobile: this.formLabelChinese.phone,
first_name: this.formLabelChinese.first_name,
middle_name: this.formLabelChinese.middle_name,
last_name: this.formLabelChinese.last_name,
postcode: this.formLabelChinese.postCode,
address1: this.formLabelChinese.add1,
address2: this.formLabelChinese.add2,
address3: this.formLabelChinese.add3,
content1: this.choiceAns,
content2: JSON.parse(localStorage.getItem("uploadAnswerk"))
};
post(url, params).then(res => {
localStorage.setItem("evalute_result", JSON.stringify(res));
uploadObj = {};
this.$router.push({ path: "/evaluteResult" });
});
} else {
this.$message({
showClose: true,
message: "请填写完整信息",
type: "warning"
});
}
});
} else {
this.$message({
showClose: true,
message: "请上传",
type: "warning"
});
}
},
// 取消
cancelSubmit() {
localStorage.removeItem("uploadAnswer");
localStorage.removeItem("choicedAnswer");
localStorage.removeItem("countryId");
localStorage.removeItem("formMsg");
localStorage.removeItem("evalute_result");
this.$router.push({ path: "/indexMid" });
},
// 操作
// 划过单元格
enterTable(row, column, cell, event) {
row.showIcon = true;
},
leaveTable(row, column, cell, event) {
row.showIcon = false;
},
// 获取文件上传问题
getUpload() {
let url = "/api/template/get_question3";
let params = {
country_id: this.countryId
};
post(url, params).then(res => {
for (let obj of res) {
obj.tableData = [];
}
// 数据回显
let uploadAnswer = JSON.parse(localStorage.getItem("uploadAnswer"));
if (uploadAnswer) {
uploadObj = uploadAnswer;
}
for (let i in uploadObj) {
for (let obj of res) {
if (i == obj.id) {
obj.tableData = uploadObj[i];
}
}
}
this.uploadList = res;
console.log(this.uploadList, "文件上传");
// let requireObj = {};
res.forEach(ele => {
this.requireObj[ele.id] = ele.is_required;
});
});
}
},
mounted() {
this.headers.token = localStorage.getItem("token");
// 国家id
this.countryId = localStorage.getItem("countryId");
// 获取国家列表
this.getCountryList();
// 第二步答案
this.choiceAns = JSON.parse(localStorage.getItem("choicedAnswer"));
// 个人信息 回显
if (localStorage.getItem("formMsg")) {
this.formLabelChinese = JSON.parse(localStorage.getItem("formMsg"));
}
this.getUpload();
}
};
</script>
<style>
.third_form .el-form-item__label {
font-weight: bold;
color: #666;
font-size: 16px;
}
.third_form .el-input__inner {
height: 35px;
line-height: 35px;
border-radius: 3px;
font-size: 12px;
}
/* 中文表单 输入框 */
.chinese_form .el-input__inner {
width: 302px;
}
/* 英文表单 输入框 */
/* 英文名字 */
.english_form .input_single {
width: 139px;
}
.english_form .input_single .el-input {
width: 139px !important;
}
.english_form .first_name {
width: 289px;
}
.english_form .input_single:nth-child(2) {
margin: 0 10px !important;
}
.english_form .input_single .el-input .el-input__inner {
width: 139px !important;
}
.english_form .second_name .el-form-item__content {
margin-left: 0 !important;
}
/* 表格 */
.third_form .el-table thead th {
background-color: #fff !important;
}
.third_form .el-table th > .cell {
font-weight: bold;
}
/* 表头下划线 */
.third_form .el-table td,
.third_form .el-table th.is-leaf {
border-bottom-color: #999;
}
/* 去掉行的下划线 */
.third_form .el-table__row > td {
border: none;
}
.third_form .el-table::before {
/* 去掉最下面的那一条线 */
height: 0px;
}
/* 上传文件回显列表 */
.third_form .el-upload-list {
display: none;
}
/* 删除弹窗 */
.third_form .el-dialog {
background-color: #526aa6;
box-shadow: 2px 0px 5px 1px rgba(0, 0, 0, 0.2);
}
.third_form .el-dialog__body {
color: #fff;
text-align: left;
}
/* x号 */
.third_form .el-dialog__headerbtn {
top: 12px;
right: 12px;
}
.third_form .el-dialog__headerbtn .el-dialog__close {
color: #fff;
}
/* 底部 */
.third_form .el-dialog__footer {
background-color: #fff;
color: #999;
padding: 0;
}
</style>
<style scoped>
@import "../../../style/evalute.css";
.evalute_main {
height: auto;
padding-bottom: 60px;
}
/* 客户信息 */
.customer_title_wrap {
margin-bottom: 35px;
text-align: left;
margin-top: 55px;
}
.customer_title {
color: #526aa6;
font-size: 20px;
font-weight: bold;
}
.customer_infor_tips {
color: #999;
font-size: 14px;
}
/* 中文表单 */
.chinese_form {
margin-right: 117px;
}
.english_form {
/* width: 526px */
}
/* 其他加分项 */
.other_option {
margin-top: 60px;
}
/* 个人房产证明 */
.personal_property {
margin-top: 36px;
margin-right: 21px;
border: 1px solid #526aa6;
border-radius: 3px;
}
/* 表头 */
.table_wrap_title {
width: 100%;
height: 52px;
background-color: #526aa6;
border-radius: 3px 3px 0 0;
color: #fff;
text-align: left;
position: relative;
}
.table_title {
font-size: 18px;
font-weight: bold;
padding-top: 9px;
margin-left: 17px;
}
.table_tips {
font-size: 12px;
margin-left: 17px;
}
/* 上传文件 */
.table_upload {
position: absolute;
right: 18px;
top: 7px;
width: 22px;
height: 20px;
}
/* 表格 */
.personal_table_wrap {
margin: 0 20px 20px;
}
/* 操作 */
.watch_pdf {
width: 34px;
height: 20px;
margin-right: 13px;
border-radius: 3px;
}
.delete_pdf {
width: 34px;
height: 20px;
border-radius: 3px;
}
/* 暂无上传 */
.no_upload {
margin: 22px auto;
color: #666;
font-size: 16px;
}
/* 弹窗内文字 */
.capion_title {
font-size: 20px;
font-weight: bold;
}
.capion_tips {
font-size: 16px;
margin-top: 20px;
margin-bottom: 50px;
}
/* 底部按钮 */
.dialog_btn_l {
float: left;
width: 50%;
height: 84px;
line-height: 84px;
text-align: center;
font-size: 16px;
}
.dialog_btn_r {
position: relative;
}
.dialog_btn_r::before {
position: absolute;
top: 0;
right: 0;
content: "";
width: 1px;
height: 84px;
background-color: #999;
}
.dialog_btn_l:hover {
color: #fff;
background-color: #526aa6;
opacity: 0.8;
}
/* 提交 */
.btn_group {
margin: 100px auto 0;
}
.btn_l {
width: 120px;
height: 38px;
text-align: center;
line-height: 38px;
border: 1px solid #999;
font-size: 20px;
color: #666;
border-radius: 3px;
}
.btn_c {
color: #fff;
background-color: #526aa6;
border-color: #526aa6;
margin: 0 60px;
}
.btn_l:hover {
border-color: #526aa6;
opacity: 0.8;
}
</style>