forked from liurong8866/pbic-ca
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapply.html
More file actions
executable file
·1284 lines (1269 loc) · 36.4 KB
/
Copy pathapply.html
File metadata and controls
executable file
·1284 lines (1269 loc) · 36.4 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
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>报名</title>
<!-- CSS -->
<link href="css/weui.min.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="css/swiper-3.3.1.min.css" />
<link rel="stylesheet" type="text/css" href="css/comman.css" />
<!-- JS -->
<script src="js/jquery-1.12.0.min.js"></script>
<script src="js/jqmd5.js"></script>
<script src="js/jquery-form.js"></script>
<script src="js/sha1.js"></script>
<script src="js/weui.js"></script>
<script src="js/vue.min.js"></script>
<script src="js/jquery.qrcode.min.js"></script>
<script src="js/comman.js"></script>
<script type="text/javascript" src="js/swiper-3.3.1.jquery.min.js"></script>
<script>
if(isMobile){
location.href = "app/apply.html";
}
var tt;
$(function(){
$("header").load("hearder01.html");
vm=new Vue({
el:"#applayData",
data:{
activityId: activityId,
groupName: '', //团队名称
agreeBookurl: "", //同意书文件路径
teamDes: "", //团队简介
teamPhoto: [], //团队照片
teamPartner: [{
userNameZh: '',
userNameEn: '',
school: '',
gender: "",
age:'12',
tel: '',
email: '',
parentName: '',
parentTel: '',
}, {
userNameZh: '',
userNameEn: '',
school: '',
gender: "",
age:'12',
tel: '',
email: '',
parentName: '',
parentTel: '',
}, {
userNameZh: '',
userNameEn: '',
school: '',
gender: '',
age:'12',
tel: '',
email: '',
parentName: '',
parentTel: '',
}],
nextNum:2,
yesNo:true,
},
methods:{
getMyTeamInfo: function() {
request("CFVote","getMyTeamInfo",{userId:userID},function(data) {
if(data.code==0){
if(data.status==1 || data.status==3){
clearTimeout(tt);
showAlert("您已经报过名了", "请去我的队伍查看", "去查看", "", function(index) {
if(index == 1) {
location.href="competationItem.html?ids=5";
}
});
}
}
})
},
//提交申请资料
addApplyfor: function() {
var info = {
agreeBookurl: vm.agreeBookurl, //同意书路径
teamDes: vm.teamDes, //团队介绍
teamPhoto: vm.teamPhoto, //团队照片
teamPartner: vm.teamPartner //报名人信息
}
//长度大于3的时候,停止循环
var lengths = parseInt(vm.teamPartner.length);
parseInt(lengths);
groupNumber = true;
for(var i = 0; i < lengths; i++) {
var nameNumber = vm.teamPartner[i];
if(!groupNumber) {
break;
}
for(var key in nameNumber) {
if(nameNumber[key] == '') {
groupNumber = false;
break;
} else {
groupNumber = true;
}
}
}
if(groupNumber && vm.groupName != '' && vm.teamDes != '' && vm.teamPhoto.length>0 && vm.agreeBookurl != '') {
// console.log("信息填写通过");
info=JSON.stringify(info);
request("CFVote", "iWantToJoin", {
// info:info,
name: vm.groupName,
userId:userID
}, function(data) {
hideLoad();
if(data.code == 0) {
var voteId = data.voteId;
var voteIdname = voteId;
showAlert("报名成功", "恭喜你报名成功", "确定", "", function(index) {
if(index == 1) {
vm.nextNum=3;
}
});
} else {
showAlert("报名失败 " + data.msg);
}
},"post",2,{info:info});
} else {
hideLoad();
showAlert("请填写完整的报名信息");
}
},
applayYes:function(){
showLoad("报名中");
// request("CFVote", "checkJoinAndEditEndTime", {chekType:0}, function(data) {
// if(data.code == 0) {
// vm.yesNo=true;
// vm.addApplyfor();
// } else {
// hideLoad();
// vm.yesNo=false;
// showAlert("报名失败"+data.msg);
// }
// });
vm.yesNo=true;
vm.addApplyfor();
},
//增加报名人数
addApplaynum: function() {
arraylist = {
userNameZh: '',
userNameEn: '',
school: '',
gender: '',
age:'12',
tel: '',
parentName: '',
parentTel: '',
}
vm.teamPartner.push(arraylist);
},
//x--删除信息
clearTxt:function(index,strName){
for(var key in vm.teamPartner[index]) {
if( key == strName) {
vm.teamPartner[index][key] ='';
break;
}
}
},
toRoman: function(num) {
if(isNaN(num)) return num;
if(num==0){
return "队长信息";
}else{
var a = [
["", "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX"],
["", "X", "XX", "XXX", "XL", "L", "LX", "LXX", "LXXX", "XCC"],
["", "C", "CC", "CCC", "CD", "D", "DC", "DCC", "DCCC", "CM"]
];
var roman = "";
var t = 0;
for(var m = 0, i = 1000; m < 3; m++, i /= 10) {
t = Math.floor((num % i) / (i / 10));
roman += a[2 - m][t];
}
return "队员"+roman+"信息";
}
},
//删除最后一个报名人
deleteApply:function(index){
vm.teamPartner.splice(index,1);
},
//性别
addGender:function(index,numStr){
vm.teamPartner[index].gender=numStr;
},
//年龄的加减1
addAge:function(index,num){
vm.teamPartner[index].age=Number(vm.teamPartner[index].age);
if(num==1){
if(vm.teamPartner[index].age>19){
showAlert("年龄最大是20岁");
return;
}else if(vm.teamPartner[index].age<1){
vm.teamPartner[index].age=1;
}
vm.teamPartner[index].age+=1;
}else{
if(vm.teamPartner[index].age<=1){
vm.teamPartner[index].age=1;
return;
}
vm.teamPartner[index].age-=1;
}
},
deleteImg:function(index){
vm.teamPhoto.splice(index,1);
},
setNext:function(num){
if(num==1){
$("html,body").animate({
scrollTop: 0
},10,function(){
vm.nextNum=num;
});
clearTimeout(tt);
}else if(num==4){
//mySwiper.init();
location.href = "competationItem.html?ids=5";
}else{
vm.nextNum=num;
}
},
toWord:function(){
clearTimeout(tt);
saveServerImg();
$(".wordPer").hide();
$(".pcWord").show();
},
showPhotoBg:function(info){
return "url("+info+")no-repeat center center,#F2F2F2";
},
}
})
//上传团队照
$(".addImg").click(function() {
var nums=vm.teamPhoto.length;
if(nums>9 || nums==9){
showAlert("图片最多上传9张");
return;
}
if(!$(this).attr("disabled")) {
uploadFile(3, function(url, path) {
$(this).removeAttr("disabled");
var url = url.toLowerCase();
if(/\.(jpg|png|jpeg)$/.test(url)) {
vm.teamPhoto.push(path);
} else {
showAlert('抱歉,上传文件只支持jpg,png,jpeg格式');
$(this).text("+");
}
}.bind(this), function() {
$(this).attr("disabled", true);
}.bind(this))
}
})
$(".keyInput01").bind("input", function() {
var str = $(this).val().replace(/[^0-9]/g, "");
if(str<1){
str='';
}
if(str>20){
str=20;
showAlert("年龄最大是20岁");
}
$(this).val(str);
})
$(".keyInput02").bind("input", function() {
var str = $(this).val().replace(/[^0-9]/g, "");
$(this).val(str);
})
$(".toFirst").click(function(){
clearTimeout(tt);
$(".pcWord").hide();
$(".wordPer").show();
saveServerImg();
})
if(userID!=null){
setWord();
tt=setTimeout(getServerImg,1000);
vm.getMyTeamInfo();
}else{
login(function(){
setWord();
tt=setTimeout(getServerImg,1000);
vm.getMyTeamInfo();
});
}
//预览轮播
var mySwiper = new Swiper('.myItem', {
autoplay: 5000,
speed: 1000,
loop: true,
autoplayDisableOnInteraction: false,
pagination : '.swiper-pagination',
paginationType : 'bullets',
paginationClickable: true,
observer:true,//修改swiper自己或子元素时,自动初始化swiper
});
})
var wordUrl="http://files.specialaedu.com/files/work/ca/app/app_word.html";
function setWord(){
$("#wxCode").qrcode({
width: 165,
height: 165,
correctLevel: 0,
text: wordUrl+"?userId=" + userID
});
}
//微信签名后取出数据
function getServerImg(){
request("TemporyaryData", "getDataContent", {dataId:"", dataName:"userId", dataCode:userID},function(data){
if(data.code==0){
var datas=data.datas;
if(datas.length>0 && datas[0].content!=''){
vm.agreeBookurl=datas[0].content;
$("#qmimg").attr("src", vm.agreeBookurl);
$(".wordPer").hide();
$(".pcWord").hide();
$(".sucWord").show();
clearTimeout(tt);
}else{
tt=setTimeout(getServerImg,1000);
}
}else{
tt=setTimeout(getServerImg,1000);
}
})
}
//清除储存的签名
function saveServerImg(){
request("TemporyaryData", "addDataContent", {appId:userID, key:"userId", value:''},function(data){
// console.log("保存成功");
// console.log(data);
tt=setTimeout(getServerImg,1000);
})
}
</script>
<style>
body{
display: block;
background: #FFFFFF;
min-width: 1024px;
}
a,button{
cursor: pointer;
}
.top_tab{
max-width: 1200px;
margin: 0 auto;
}
.tab_left{
font-size: 18px;
color: #333333;
height: 30px;
line-height: 30px;
position: relative;
margin: 30px 0px 50px 0px;
padding-left: 15px;
box-sizing: border-box;
}
.tab_left .tab_b{
width: 4px;
height: 30px;
background: #e5233e;
position: absolute;
left: 0;
}
.tab_left a:hover{
color: #e5233e;
}
.applyList{
width: 890px;
margin: 0 auto;
box-sizing: border-box;
}
.listCon{
width: 100%;
}
.team01{
font-size: 18px;
margin-bottom: 55px;
}
.li_div01{
text-align: center;
font-size: 30px;
margin-bottom: 40px;
}
.div_p01{
margin-bottom: 10px;
}
.div_p02 span{
position: relative;
display: block;
margin: 0 auto;
width: 300px;
font-weight: bold;
padding-bottom: 40px;
}
.p_b{
position: absolute;
bottom: 2px;
left:130px;
display: block;
width: 40px;
height: 2px;
background: #e5233e;
}
.li_div02,.li_div03,.li_div04,.li_div05{
width: 100%;
position: relative;
padding-left: 123px;
box-sizing: border-box;
}
.li_div05{
padding-left: 100px;
}
.titleT{
padding: 1px 75px 1px 1px;
height: 50px;
border-radius: 4px;
border:2px solid #cccccc;
box-sizing: border-box;
position: relative;
margin-bottom: 20px;
}
.titleT02{
height: 200px;
padding-right: 1px;
padding-bottom: 50px;
}
.title03{
padding-right: 40px;
}
.title04{
border:none;
padding-right: 1px;
}
.span03{
width: 28px;
height: 45px;
position: absolute;
display: block;
top: 0;
right: 0px;
background: #f0f0f0 url(img/apply-icon-num.png) no-repeat center center;
}
.span_a01{
position: absolute;
display: block;
width: 100%;
height: 50%;
top: 0;
left: 0;
}
.span_a02{
top: auto;
bottom: 0;
left: 0;
}
.numR{
display: block;
position: absolute;
top: 0;
right: 10px;
width: 75px;
height: 50px;
line-height: 50px;
text-align: right;
color: #b3b3b3;
}
.numR01{
width: 90px;
top: auto;
bottom: 0;
}
.noIn{
color: #e5233e;
}
.keyInput{
border: none;
width: 100%;
height: 100%;
padding-left: 8px;
outline: none;
font-size: 18px;
box-sizing: border-box;
}
.keyInput01{
text-align: center;
padding-left: 0px;
}
.titleT02 .keyArea{
line-height: 25px;
outline:none;
resize:none;
padding: 8px 8px 0px 8px;
font-family: "微软雅黑","华文黑体","黑体","华文细黑","arial, helvetica,";
color: #333333;
}
.icon_name{
position: absolute;
width: 123px;
height: 50px;
line-height: 50px;
left: 0;
top: 0;
font-size: 18px;
font-weight: bold;
padding-left: 38px;
box-sizing: border-box;
background: url(img/apply-top-messageBox-icon-1.png) no-repeat left center;
}
.icon_name01{
background: url(img/apply-top-messageBox-icon-2.png) no-repeat left center;
}
.icon_name02{
background: url(img/apply-top-messageBox-icon-3.png) no-repeat left center;
}
.icon_name03{
background: url(img/login_name.png) no-repeat left center;
}
.icon_name04{
background: url(img/apply-icon-a-02.png) no-repeat left center;
}
.icon_name05{
background: url(img/apply-icon-a-06.png) no-repeat 6px center;
}
.icon_name06{
background: url(img/apply-icon-a-08.png) no-repeat left center;
}
.icon_name07{
background: url(img/apply-icon-a-03.png) no-repeat left center;
}
.icon_name08{
padding-left: 48px;
width: 100px;
background: url(img/apply-icon-a-04.png) no-repeat 9px center;
}
.icon_name09{
background: url(img/apply-icon-a-07.png) no-repeat left center;
}
.titleImg{
min-height: 110px;
width: 100%;
}
.inImgList{
float: left;
width: 110px;
height: 110px;
margin-right: 20px;
margin-bottom: 10px;
position: relative;
}
.inImg{
width: 110px;
height: 110px;
overflow: hidden;
display: flex;
background: #F9F9F9;
justify-content: center;
}
.inImg img{
width: auto;
height: 100%;
}
.addImg{
float: left;
width: 108px;
height: 108px;
line-height: 108px;
text-align: center;
border:1px dashed #bebebe;
font-size: 36px;
cursor: pointer;
}
.upImg{
width: 100%;
margin: 0 auto;
}
.removeImg{
position: absolute;
top: -8px;
right: -8px;
cursor: pointer;
}
.removeLi{
position: absolute;
top: 0;
right: 0;
cursor: pointer;
}
.removeInput{
position: absolute;
top: 12px;
right: 7px;
width: 25px;
cursor: pointer;
}
.team02{
height: 468px;
font-size: 16px;
margin-bottom: 75px;
position: relative;
}
.perOne{
float: left;
width: 46%;
height: auto;
}
.perTwo{
float: right;
width: 46%;
height: auto;
}
.perThree{
float: left;
width: 35%;
height: 100%;
}
.perFour{
float: right;
width: 65%;
height: auto;
}
.perSex{
display: block;
position: relative;
float: left;
height: 100%;
margin-right:10px;
line-height: 50px;
padding-left: 25px;
}
.perSex01{
margin-right:0px;
}
.sexs{
display: block;
position: absolute;
height: 100%;
width: 20px;
left: 0;
top: 0;
background: url(img/apply-icon-false.png) no-repeat left center;
}
.onsel{
background: url(img/apply-icon-true.png) no-repeat left center;
}
.addPer span{
display: block;
height: 80px;
width: 80px;
line-height: 80px;
text-align: center;
margin: 0 auto;
font-size: 32px;
border-radius: 40px;
border: 1px dashed #bebebe;
cursor: pointer;
}
.sumitApplay{
text-align: center;
margin: 65px 0px 110px 0px;
}
.btn_ap{
width: 200px;
height: 50px;
border-radius: 4px;
background: #e5233e;
border: none;
outline: none;
font-size: 18px;
color: #FFFFFF;
}
.btn_ap01{
background: #333333;
margin-right: 130px;
}
.btn_ap02{
background: #333333;
margin-right: 50px;
}
.applySuc{
width: 890px;
margin: 0 auto;
text-align: center;
padding-bottom: 200px;
}
.suc_p01{
font-size: 30px;
margin-top: 90px;
}
.suc_p02{
font-size: 18px;
margin-top: 25px;
margin-bottom: 80px;
}
.suc_p04{
font-size: 30px;
font-weight: bold;
margin-bottom: 78px;
}
.suc_p04 span{
position: relative;
display: inline-block;
width: 150px;
padding-bottom: 38px;
}
.suc_p04 b{
position: absolute;
bottom: 0;
left: 53px;
display: block;
width: 40px;
height: 2px;
background: #e5233e;
}
.suc_p05{
font-size: 16px;
line-height: 30px;
text-align: left;
text-indent: 30px;
padding-left: 190px;
box-sizing: border-box;
}
.suc_p05_01{
margin-bottom: 5px;
}
.suc_p06{
font-size: 30px;
font-weight: bold;
margin:75px 0px 50px 0px;
}
.suc_p07{
font-size: 18px;
margin: 40px 0px 50px 0px;
}
.suc_p07 a{
text-decoration: underline;
}
.hideDive{
display: none;
}
.wordPer{
width: 100%;
height: 207px;
position: relative;
padding: 75px 0px 90px 0px;
}
.wordWx,.wordBtn{
width: 50%;
float: left;
height: 100%;
display: block;
}
.wordBtn{
line-height: 165px;
}
.wordOr{
position: absolute;
top: 153px;
left: 49.5%;
}
.code01{
width: 165px;
height: 165px;
margin: 0 auto;
background: #B3B3B3;
}
.code02{
font-size: 16px;
margin-top: 20px;
}
.pcWord{
background: url(img/apply-top-messageBox-icon-txt.png) no-repeat center 123px;
}
.txtcon{
width: 600px;
height: 245px;
margin: 0 auto;
text-align: center;
background: url(img/apply-top-messageBox-icon-word.png) no-repeat center center;
background-size: 100%;
}
.sucWord{
padding-top: 35px;
}
.sucWord .canImg{
width: 431px;
margin: 0 auto;
background: #f6f6f6;
}
.sucWord .sucTxt{
width: 431px;
font-size: 14px;
line-height: 18px;
color: #e5233e;
text-align: left;
margin: 13px auto 60px auto;
}
/*预览
*/
.button {
width: 506px;
height: 40px;
border: none;
font-size: 18px;
font-family: "微软雅黑";
position: relative;
margin: 0 auto;
}
.signupBtn-left {
background-color: #fff;
width: 100%;
height: 40px;
box-sizing: border-box;
float: left;
border: none;
display: block;
color: black;
font-size: 24px;
color: #e5233e;
box-sizing: border-box;
}
.contentItem {
position: relative;
/* border: 1px solid red; */
width: 1000px;
height: 456px;
box-sizing: border-box;
text-align: center;
margin: 16px auto;
}
.txtItem {
width: 1000px;
margin: 0 auto;
box-sizing: border-box;
margin: 0 auto;
}
.txtItem .titleItem {
width: 100%;
text-align: center;
font-size: 25px;
font-weight: bold;
line-height: 28px;
}
.txtItem .captain {
text-align: center;
font-size: 16px;
line-height: 24px;
margin-top: 24px;
font-weight: bold;
}
.txtItem .member {
text-align: center;
font-size: 16px;
line-height: 24px;
font-weight: normal;
}
.txtItem .contItem {
width: 100%;
font-size: 17px;
margin-top: 50px;
line-height: 30px;
box-sizing: border-box;
}
.swiper-container{
width: 100%;
height: 100%;
}
.swiper-container .swiper-wrapper .swiper-slide {
width:100%;
height: 160px;
overflow: hidden;
text-align: center;
display: flex;
justify-content: center;
}
.swiper-slide img{
width: auto;
height: 100%;
flex-shrink: 0;
}
.swiper-pagination-bullet{
width: 6px;
height: 6px;
background: #aabfda;
border: 1px solid #aabfda;
}
.swiper-pagination-bullet-active{
background: rgba(0,0,0,0);
border: 1px solid #e22640;
}
.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction{
bottom: 4px;
}
.applyYl{
width: 1000px;
margin: 0 auto;
}
</style>
</head>
<body id="applayData">
<header></header>
<div class="top_tab">
<p class="tab_left"><b class="tab_b"></b><a href="index.html">首页</a>/报名</p>
<div class="applyList" v-show="nextNum==1">
<div class="listCon">
<ul>
<li class="team01">
<div class="li_div01">
<p class="div_p01"><img src="img/apply-top-messageBox.png"/></p>
<p class="div_p02"><span>团队信息<b class="p_b"></b></span></p>
</div>
<div class="li_div02">
<div class="icon_name">团队名称</div>
<div class="titleT">
<span class="numR" :class="{'noIn':groupName.length==20}">{{groupName.length}}/20</span>
<input class="keyInput" type="text" maxlength="20" v-model="groupName"/>
</div>
</div>
<div class="li_div03">
<div class="icon_name icon_name01">团队描述</div>
<div class="titleT titleT02">
<span class="numR numR01" :class="{'noIn':teamDes.length==300}">{{teamDes.length}}/300</span>
<textarea class="keyInput keyArea" type="text" maxlength="300" v-model="teamDes"></textarea>
</div>
</div>
<div class="li_div04">
<div class="icon_name icon_name02">上传图片</div>
<div class="titleImg">
<div class="inImgList" v-for="photo in teamPhoto">
<img src="img/apply-no.png" class="removeImg" @click="deleteImg($index)">
<div class="inImg">
<img :src="photo"/>
</div>
</div>
<div class="addImg"><span>+</span></div>
</div>
</div>
</li>
<li class="team02 clear" v-for="applys in teamPartner">
<img src="img/apply-no.png" class="removeLi" @click="deleteApply($index)" v-if="$index==(teamPartner.length-1) && $index>2">
<div class="li_div01">
<p class="div_p01"><img src="img/content-box.png"/></p>
<p class="div_p02"><span>{{toRoman($index)}}<b class="p_b"></b></span></p>
</div>
<div class="personOne">
<div class="perOne">
<div class="li_div02">
<div class="icon_name icon_name03">姓名</div>
<div class="titleT title03">
<img src="img/login_no.png" class="removeInput" v-show="applys.userNameZh!=''" @click="clearTxt($index,'userNameZh')">
<input class="keyInput" type="text" v-model="applys.userNameZh"/>
</div>
</div>
<div class="li_div02">
<div class="icon_name icon_name04">学校</div>
<div class="titleT title03">
<img src="img/login_no.png" class="removeInput" v-show="applys.school!=''" @click="clearTxt($index,'school')">
<input class="keyInput" type="text" v-model="applys.school"/>
</div>
</div>
<div class="li_div02">
<div class="icon_name icon_name05">手机</div>
<div class="titleT title03">
<img src="img/login_no.png" class="removeInput" v-show="applys.tel!=''" @click="clearTxt($index,'tel')">
<input class="keyInput keyInput02" type="text" v-model="applys.tel" maxlength="11"/>
</div>
</div>
<div class="li_div02">
<div class="icon_name icon_name06">父/母姓名</div>
<div class="titleT title03">
<img src="img/login_no.png" class="removeInput" v-show="applys.parentName!=''" @click="clearTxt($index,'parentName')">
<input class="keyInput" type="text" v-model="applys.parentName"/>
</div>
</div>
</div>
<div class="perTwo">
<div class="li_div02">
<div class="icon_name icon_name03">英文名</div>
<div class="titleT title03">
<img src="img/login_no.png" class="removeInput" v-show="applys.userNameEn!=''" @click="clearTxt($index,'userNameEn')">