b8d2cdc5 by joe

修改样式

1 parent 8da1eaf7
...@@ -60,9 +60,11 @@ export default { ...@@ -60,9 +60,11 @@ export default {
60 type: Function, 60 type: Function,
61 default: null 61 default: null
62 }, 62 },
63 showStyle: { 63 cusStyle: {
64 type: Boolean, 64 type: Object,
65 default: true 65 default() {
66 return {};
67 }
66 }, 68 },
67 }, 69 },
68 data() { 70 data() {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
3 <div class="comp"> 3 <div class="comp">
4 <div class="date-mask" v-if="visible" @click="showCalendar()"></div> 4 <div class="date-mask" v-if="visible" @click="showCalendar()"></div>
5 <div class="ipt-wrap" :class="{'readonly':readonly}"> 5 <div class="ipt-wrap" :class="{'readonly':readonly}">
6 <input v-bind:value="value" v-on:input="$emit('input', $event.target.value)" @click="showCalendar(true)" :class="{ipt: showStyle}" type="type" :readonly="readonly" :placeholder="placeholder || $t('form.datePicker.datePlaceholder')"> 6 <input v-bind:value="value" v-on:input="$emit('input', $event.target.value)" @click="showCalendar(true)" class="ipt" :style="cusStyle" type="type" :readonly="readonly" :placeholder="placeholder || $t('form.datePicker.datePlaceholder')">
7 </div> 7 </div>
8 <div v-if="visible" class="date-wrap"> 8 <div v-if="visible" class="date-wrap">
9 <div class="calendar-wrap"> 9 <div class="calendar-wrap">
......
...@@ -47,7 +47,12 @@ export default { ...@@ -47,7 +47,12 @@ export default {
47 } else { 47 } else {
48 this.typeSelected.push(t); 48 this.typeSelected.push(t);
49 } 49 }
50 } 50 },
51 toContact() {
52 this.$router.push({
53 path: "/custom/service?q=m1"
54 });
55 },
51 }, 56 },
52 watch: { 57 watch: {
53 58
......
1 @import '@/styles/_support'; 1 @import '@/styles/_support';
2 2
3 3
4
5 input { 4 input {
6 padding: 0 2.083333rem; 5 padding: 0 2.083333rem;
7 color: #333333; 6 color: #333333;
...@@ -15,6 +14,7 @@ input { ...@@ -15,6 +14,7 @@ input {
15 color: #747474; 14 color: #747474;
16 } 15 }
17 16
17 .value .ipt-wrap .comp .ipt-wrap .ipt {}
18 18
19 .submit-btn{ 19 .submit-btn{
20 background: url("~@assets/images/vhis/vhis-btn.png"); 20 background: url("~@assets/images/vhis/vhis-btn.png");
...@@ -144,6 +144,10 @@ input { ...@@ -144,6 +144,10 @@ input {
144 margin-left: .833333rem; 144 margin-left: .833333rem;
145 } 145 }
146 146
147 .mr10 {
148 margin-right: .833333rem;
149 }
150
147 .mt20 { 151 .mt20 {
148 margin-top: 1.666667rem; 152 margin-top: 1.666667rem;
149 } 153 }
...@@ -160,6 +164,7 @@ input { ...@@ -160,6 +164,7 @@ input {
160 margin-top: .833333rem ; 164 margin-top: .833333rem ;
161 text-align: center; 165 text-align: center;
162 width: 8.333333rem ; 166 width: 8.333333rem ;
167 letter-spacing: 1px;
163 } 168 }
164 169
165 .upload-icon-1 { 170 .upload-icon-1 {
...@@ -254,6 +259,15 @@ input { ...@@ -254,6 +259,15 @@ input {
254 padding-left: 15px; 259 padding-left: 15px;
255 } 260 }
256 261
262 .ipt-date {
263 width: 100%;
264 border: 1px solid $cOrange !important;
265 border-radius: .416667rem ;
266 height: 3rem;
267 align-items: center;
268 padding-left: .833333rem;
269 }
270
257 &-item { 271 &-item {
258 width: 50%; 272 width: 50%;
259 display: flex; 273 display: flex;
...@@ -339,6 +353,11 @@ input { ...@@ -339,6 +353,11 @@ input {
339 } 353 }
340 } 354 }
341 355
356 .date-container {
357 width: 60%;
358 position: relative;
359 }
360
342 .value { 361 .value {
343 width: 75%; 362 width: 75%;
344 position: relative; 363 position: relative;
...@@ -353,6 +372,7 @@ input { ...@@ -353,6 +372,7 @@ input {
353 align-items: center; 372 align-items: center;
354 } 373 }
355 374
375
356 .ipt2 { 376 .ipt2 {
357 width: 100%; 377 width: 100%;
358 border-bottom: 1px solid #ccc; 378 border-bottom: 1px solid #ccc;
...@@ -438,7 +458,6 @@ input { ...@@ -438,7 +458,6 @@ input {
438 } 458 }
439 459
440 @media (max-width: 1000px) { 460 @media (max-width: 1000px) {
441
442 .reservation-container-2 { 461 .reservation-container-2 {
443 padding: 1.666667rem 2rem 2.833333rem 2rem; 462 padding: 1.666667rem 2rem 2.833333rem 2rem;
444 } 463 }
...@@ -454,11 +473,16 @@ input { ...@@ -454,11 +473,16 @@ input {
454 width: 70%; 473 width: 70%;
455 } 474 }
456 } 475 }
476
477 &-item-2 {
478 .date-container {
479 width: 80%;
480 }
481 }
457 } 482 }
458 } 483 }
459 484
460 @media (max-width: 600px) { 485 @media (max-width: 600px) {
461
462 .reservation-container { 486 .reservation-container {
463 padding: 2.666667rem 2rem 2.833333rem 2rem; 487 padding: 2.666667rem 2rem 2.833333rem 2rem;
464 } 488 }
...@@ -491,6 +515,10 @@ input { ...@@ -491,6 +515,10 @@ input {
491 .value { 515 .value {
492 width: 70%; 516 width: 70%;
493 } 517 }
518
519 .date-container {
520 width: 100%;
521 }
494 } 522 }
495 523
496 &-item3 { 524 &-item3 {
...@@ -507,3 +535,10 @@ input { ...@@ -507,3 +535,10 @@ input {
507 margin: 0; 535 margin: 0;
508 } 536 }
509 } 537 }
538
539
540 @media (max-width: 400px) {
541 .reservation-container-2 {
542 padding: 1.666667rem 1rem;
543 }
544 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
50 </div> 50 </div>
51 <div class="ipt-wrap"> 51 <div class="ipt-wrap">
52 <div class="down-arrow"></div> 52 <div class="down-arrow"></div>
53 <date-picker class="ipt" v-model="data.contactDate" :check="checkDate" :showStyle="false"></date-picker> 53 <date-picker class="ipt-date" v-model="data.contactDate" :filtModel="['future']" :check="checkDate" :cusStyle="{border:'none !important','background-color':'transparent !important',height:'3rem', 'color':'#f05a23','font-weight':'600'}"></date-picker>
54 </div> 54 </div>
55 </div> 55 </div>
56 </div> 56 </div>
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
67 </div> 67 </div>
68 <hr> 68 <hr>
69 <div class="gird-g form default-mt"> 69 <div class="gird-g form default-mt">
70 <div class="pure-u-1 pure-u-md-1-2 form-item-2"> 70 <div class="pure-u-1 form-item-2">
71 <div class="label"> 71 <div class="label">
72 <div class="main-label"> 72 <div class="main-label">
73 {{$t('clarms.step2.label3')}} 73 {{$t('clarms.step2.label3')}}
...@@ -106,15 +106,15 @@ ...@@ -106,15 +106,15 @@
106 </div> 106 </div>
107 </div> 107 </div>
108 108
109 <div class="pure-u-1 pure-u-md-1-2 form-item-2 mt20"> 109 <div class="pure-u-1 form-item-2 mt20">
110 <div class="label"> 110 <div class="label">
111 <div class="main-label"> 111 <div class="main-label">
112 {{$t('clarms.step2.label6')}} 112 {{$t('clarms.step2.label6')}}
113 </div> 113 </div>
114 <div class="sub-label">{{$t('clarms.step2.label7')}} </div> 114 <div class="sub-label">{{$t('clarms.step2.label7')}} </div>
115 </div> 115 </div>
116 <div> 116 <div class="value">
117 <div class="value"> 117 <div >
118 <div class="ipt-wrap"> 118 <div class="ipt-wrap">
119 <input class="ipt2" type="number"> 119 <input class="ipt2" type="number">
120 </div> 120 </div>
...@@ -123,23 +123,21 @@ ...@@ -123,23 +123,21 @@
123 </div> 123 </div>
124 </div> 124 </div>
125 125
126 <div class="pure-u-1 pure-u-md-1-2 form-item-2 mt20"> 126 <div class="pure-u-1 form-item-2 mt20">
127 <div class="label"> 127 <div class="label">
128 <div class="main-label"> 128 <div class="main-label">
129 {{$t('clarms.step2.label9')}} 129 {{$t('clarms.step2.label9')}}
130 </div> 130 </div>
131 </div> 131 </div>
132 <div> 132 <div class="value">
133 <div class="value"> 133 <div class="ipt-wrap date-container">
134 <div class="ipt-wrap item-group"> 134 <div class="down-arrow"></div>
135 <div class="down-arrow"></div> 135 <date-picker class="ipt-date" v-model="data.contactDate" :filtModel="['future']" :check="checkDate" :cusStyle="{border:'none !important','background-color':'transparent !important',height:'3rem', 'color':'#f05a23','font-weight':'600'}"></date-picker>
136 <date-picker class="ipt" v-model="data.contactDate" :check="checkDate" :showStyle="false"></date-picker>
137 </div>
138 </div> 136 </div>
139 </div> 137 </div>
140 </div> 138 </div>
141 139
142 <div class="pure-u-1 pure-u-md-1-2 form-item-2 mt20"> 140 <div class="pure-u-1 form-item-2 mt20">
143 <div class="label"> 141 <div class="label">
144 <div class="main-label"> 142 <div class="main-label">
145 {{$t('clarms.step2.label10')}} 143 {{$t('clarms.step2.label10')}}
...@@ -160,30 +158,28 @@ ...@@ -160,30 +158,28 @@
160 </div> 158 </div>
161 </div> 159 </div>
162 160
163 <div class="pure-u-1 pure-u-md-1-2 form-item-2 mt20"> 161 <div class="pure-u-1 form-item-2 mt20">
164 <div class="label"> 162 <div class="label">
165 <div class="main-label"> 163 <div class="main-label">
166 {{$t('clarms.step2.label13')}} 164 {{$t('clarms.step2.label13')}}
167 </div> 165 </div>
168 </div> 166 </div>
169 <div> 167 <div class="value pure-g">
170 <div class="value" style="display:flex;"> 168 <div class="upload-item pointer pure-u-md-2 pure-u-lg-3 mr10">
171 <div class="upload-item pointer">
172 <div class="upload-icon-3"></div> 169 <div class="upload-icon-3"></div>
173 <div class="tip">{{$t('clarms.step2.label14')}}</div> 170 <div class="tip">{{$t('clarms.step2.label14')}}</div>
174 </div> 171 </div>
175 172
176 <div class="upload-item ml10 pointer"> 173 <div class="upload-item pointer pure-u-md-2 pure-u-lg-3 mr10">
177 <div class="upload-icon-4"></div> 174 <div class="upload-icon-4"></div>
178 <div class="tip">{{$t('clarms.step2.label15')}}</div> 175 <div class="tip">{{$t('clarms.step2.label15')}}</div>
179 </div> 176 </div>
180 177
181 <div class="upload-item ml10 pointer"> 178 <div class="upload-item pointer pure-u-md-2 pure-u-lg-3 mr10">
182 <div class="upload-icon-5"></div> 179 <div class="upload-icon-5"></div>
183 <div class="tip">{{$t('clarms.step2.label16')}}</div> 180 <div class="tip">{{$t('clarms.step2.label16')}}</div>
184 </div> 181 </div>
185 </div> 182 </div>
186 </div>
187 </div> 183 </div>
188 </div> 184 </div>
189 <hr> 185 <hr>
...@@ -202,7 +198,7 @@ ...@@ -202,7 +198,7 @@
202 198
203 <div class="submit-btn">{{$t('clarms.step2.btn')}}</div> 199 <div class="submit-btn">{{$t('clarms.step2.btn')}}</div>
204 200
205 <div class="contact">{{$t('clarms.step2.contact')}}</div> 201 <div class="contact" @click="toContact">{{$t('clarms.step2.contact')}}</div>
206 </div> 202 </div>
207 </div> 203 </div>
208 </template> 204 </template>
......
...@@ -73,7 +73,7 @@ export default { ...@@ -73,7 +73,7 @@ export default {
73 return getNationsList(this.$i18n.locale); 73 return getNationsList(this.$i18n.locale);
74 }, 74 },
75 marryList() { 75 marryList() {
76 return getMarryList(); 76 return getMarryList(this.$i18n.locale);
77 }, 77 },
78 policyIdTypeList() { 78 policyIdTypeList() {
79 return getPolicyIdTypeList(this.$i18n.locale); 79 return getPolicyIdTypeList(this.$i18n.locale);
......
...@@ -486,12 +486,274 @@ let nationsTcList = [ ...@@ -486,12 +486,274 @@ let nationsTcList = [
486 { "v": "906", "n": "南蘇丹" } 486 { "v": "906", "n": "南蘇丹" }
487 ]; 487 ];
488 488
489 let marryList = [ 489 let nationsZhList = [
490 { "v": "10", "n": "中国香港" },
491 { "v": "28", "n": "中国" },
492 { "v": "401", "n": "阿富汗" },
493 { "v": "403", "n": "阿尔巴尼亚" },
494 { "v": "405", "n": "阿尔及利亚" },
495 { "v": "407", "n": "美属萨摩亚" },
496 { "v": "409", "n": "安道尔" },
497 { "v": "411", "n": "安哥拉" },
498 { "v": "413", "n": "安圭拉" },
499 { "v": "415", "n": "南极洲" },
500 { "v": "417", "n": "安地卡及巴布达" },
501 { "v": "419", "n": "阿根廷" },
502 { "v": "421", "n": "亚美尼亚" },
503 { "v": "423", "n": "阿鲁巴" },
504 { "v": "425", "n": "澳大利亚" },
505 { "v": "427", "n": "奥地利" },
506 { "v": "429", "n": "亚塞拜疆" },
507 { "v": "431", "n": "巴哈马" },
508 { "v": "433", "n": "巴林" },
509 { "v": "435", "n": "孟加拉国" },
510 { "v": "437", "n": "巴巴多斯" },
511 { "v": "439", "n": "白俄罗斯" },
512 { "v": "441", "n": "比利时" },
513 { "v": "443", "n": "贝里斯" },
514 { "v": "445", "n": "圣伯南" },
515 { "v": "447", "n": "百慕大" },
516 { "v": "449", "n": "不丹" },
517 { "v": "451", "n": "玻利维亚" },
518 { "v": "453", "n": "波斯尼亚与赫塞哥维纳" },
519 { "v": "455", "n": "波札那" },
520 { "v": "457", "n": "布韦岛" },
521 { "v": "459", "n": "巴西" },
522 { "v": "461", "n": "文莱" },
523 { "v": "463", "n": "保加利亚" },
524 { "v": "465", "n": "布吉纳法索" },
525 { "v": "467", "n": "布隆迪" },
526 { "v": "469", "n": "柬埔寨" },
527 { "v": "471", "n": "喀麦隆" },
528 { "v": "473", "n": "加拿大" },
529 { "v": "475", "n": "维德角" },
530 { "v": "477", "n": "开曼群岛" },
531 { "v": "479", "n": "中非共和国" },
532 { "v": "481", "n": "乍得" },
533 { "v": "483", "n": "智利" },
534 { "v": "485", "n": "圣诞岛" },
535 { "v": "487", "n": "科科斯(基林)群岛" },
536 { "v": "489", "n": "哥伦比亚" },
537 { "v": "491", "n": "科摩罗" },
538 { "v": "493", "n": "刚果民主共和国" },
539 { "v": "495", "n": "库克群岛" },
540 { "v": "497", "n": "哥斯达黎加" },
541 { "v": "499", "n": "象牙" },
542 { "v": "501", "n": "克罗地亚" },
543 { "v": "503", "n": "古巴" },
544 { "v": "505", "n": "赛普勒斯" },
545 { "v": "507", "n": "捷克" },
546 { "v": "509", "n": "丹麦" },
547 { "v": "511", "n": "吉布提" },
548 { "v": "513", "n": "多米尼克" },
549 { "v": "515", "n": "东帝汶" },
550 { "v": "517", "n": "厄瓜多尔" },
551 { "v": "519", "n": "埃及" },
552 { "v": "521", "n": "萨尔瓦多" },
553 { "v": "523", "n": "赤道几内亚" },
554 { "v": "525", "n": "厄立特里亚" },
555 { "v": "527", "n": "爱沙尼亚" },
556 { "v": "529", "n": "埃塞俄比亚" },
557 { "v": "531", "n": "福克兰群岛" },
558 { "v": "533", "n": "法罗群岛" },
559 { "v": "535", "n": "斐济" },
560 { "v": "537", "n": "芬兰" },
561 { "v": "539", "n": "法国" },
562 { "v": "541", "n": "加蓬" },
563 { "v": "543", "n": "冈比亚" },
564 { "v": "545", "n": "格鲁吉亚" },
565 { "v": "547", "n": "德国" },
566 { "v": "549", "n": "加纳" },
567 { "v": "551", "n": "直布罗陀" },
568 { "v": "553", "n": "希腊" },
569 { "v": "555", "n": "格林兰" },
570 { "v": "557", "n": "格林纳达" },
571 { "v": "559", "n": "瓜德罗普" },
572 { "v": "561", "n": "关岛 " },
573 { "v": "563", "n": "危地马拉" },
574 { "v": "565", "n": "几内亚" },
575 { "v": "567", "n": "几内亚比绍 " },
576 { "v": "569", "n": "圭亚那" },
577 { "v": "571", "n": "海地" },
578 { "v": "573", "n": "听到和麦当劳群岛" },
579 { "v": "575", "n": "梵蒂冈" },
580 { "v": "577", "n": "洪都拉斯" },
581 { "v": "579", "n": "匈牙利" },
582 { "v": "581", "n": "冰岛" },
583 { "v": "583", "n": "印度" },
584 { "v": "585", "n": "印度尼西亚" },
585 { "v": "587", "n": "伊朗" },
586 { "v": "589", "n": "伊拉克" },
587 { "v": "591", "n": "爱尔兰" },
588 { "v": "593", "n": "以色列" },
589 { "v": "595", "n": "意大利" },
590 { "v": "597", "n": "牙买加" },
591 { "v": "599", "n": "日本" },
592 { "v": "601", "n": "约旦" },
593 { "v": "603", "n": "哈萨克斯坦" },
594 { "v": "605", "n": "肯尼亚" },
595 { "v": "607", "n": "吉尔伯特" },
596 { "v": "609", "n": "科索沃" },
597 { "v": "611", "n": "科威特" },
598 { "v": "613", "n": "吉尔吉斯斯坦" },
599 { "v": "615", "n": "老挝" },
600 { "v": "617", "n": "拉脱维亚" },
601 { "v": "619", "n": "黎巴嫩" },
602 { "v": "621", "n": "莱索托" },
603 { "v": "623", "n": "利比里亚" },
604 { "v": "625", "n": "利比亚" },
605 { "v": "627", "n": "列支敦士登" },
606 { "v": "629", "n": "立陶宛" },
607 { "v": "631", "n": "卢森堡" },
608 { "v": "633", "n": "马达加斯加" },
609 { "v": "635", "n": "马拉维 " },
610 { "v": "637", "n": "马来西亚" },
611 { "v": "639", "n": "马尔代夫" },
612 { "v": "641", "n": "马里 " },
613 { "v": "643", "n": "马耳他" },
614 { "v": "645", "n": "马绍尔群岛" },
615 { "v": "647", "n": "马丁尼克" },
616 { "v": "649", "n": "毛里塔尼亚" },
617 { "v": "651", "n": "毛里求斯" },
618 { "v": "653", "n": "马约特岛" },
619 { "v": "655", "n": "墨西哥" },
620 { "v": "657", "n": "密克罗尼西亚" },
621 { "v": "659", "n": "摩纳哥" },
622 { "v": "661", "n": "蒙古" },
623 { "v": "663", "n": "黑山" },
624 { "v": "665", "n": "蒙塞拉特" },
625 { "v": "667", "n": "摩洛哥" },
626 { "v": "669", "n": "莫桑比克" },
627 { "v": "671", "n": "缅甸" },
628 { "v": "673", "n": "纳米比亚" },
629 { "v": "675", "n": "那鲁" },
630 { "v": "677", "n": "尼泊尔" },
631 { "v": "679", "n": "荷兰" },
632 { "v": "681", "n": "新喀里多尼亚岛" },
633 { "v": "683", "n": "新西兰" },
634 { "v": "685", "n": "尼加拉瓜" },
635 { "v": "687", "n": "尼日尔" },
636 { "v": "689", "n": "尼日利亚" },
637 { "v": "691", "n": "纽埃" },
638 { "v": "693", "n": "诺福克岛" },
639 { "v": "695", "n": "朝鲜" },
640 { "v": "697", "n": "北马里亚纳群岛自由邦" },
641 { "v": "699", "n": "挪威" },
642 { "v": "701", "n": "阿曼" },
643 { "v": "703", "n": "巴基斯坦" },
644 { "v": "705", "n": "帕劳" },
645 { "v": "707", "n": "巴勒斯坦" },
646 { "v": "709", "n": "巴拿马" },
647 { "v": "711", "n": "巴布亚新几内亚" },
648 { "v": "713", "n": "巴拉圭" },
649 { "v": "715", "n": "秘鲁" },
650 { "v": "717", "n": "菲律宾" },
651 { "v": "719", "n": "皮特克恩" },
652 { "v": "721", "n": "波兰" },
653 { "v": "723", "n": "葡萄牙" },
654 { "v": "725", "n": "波多黎哥" },
655 { "v": "727", "n": "卡塔尔" },
656 { "v": "729", "n": "马其顿共和国" },
657 { "v": "731", "n": "摩尔多瓦共和国" },
658 { "v": "733", "n": "留尼旺岛" },
659 { "v": "735", "n": "罗马尼亚" },
660 { "v": "737", "n": "俄罗斯" },
661 { "v": "739", "n": "卢旺达" },
662 { "v": "741", "n": "巴斯特尔" },
663 { "v": "743", "n": "圣露西亚" },
664 { "v": "745", "n": "圣文森及格瑞那丁" },
665 { "v": "747", "n": "萨摩亚" },
666 { "v": "749", "n": "圣马利诺" },
667 { "v": "751", "n": "圣多美和普林西比" },
668 { "v": "753", "n": "沙特阿拉伯" },
669 { "v": "755", "n": "塞内加尔" },
670 { "v": "757", "n": "塞尔维亚" },
671 { "v": "759", "n": "塞尔维亚和黑山共和国" },
672 { "v": "761", "n": "塞舌尔群岛" },
673 { "v": "763", "n": "塞拉利昂" },
674 { "v": "765", "n": "新加坡" },
675 { "v": "767", "n": "斯洛伐克" },
676 { "v": "769", "n": "斯洛文尼亚" },
677 { "v": "771", "n": "所罗门群岛" },
678 { "v": "773", "n": "索马里" },
679 { "v": "775", "n": "南非" },
680 { "v": "777", "n": "南乔治亚岛和南桑威奇" },
681 { "v": "779", "n": "韩国" },
682 { "v": "781", "n": "南也门" },
683 { "v": "783", "n": "西班牙" },
684 { "v": "785", "n": "斯里兰卡" },
685 { "v": "787", "n": "圣海伦娜" },
686 { "v": "789", "n": "圣皮埃尔和密克隆" },
687 { "v": "791", "n": "无国籍" },
688 { "v": "793", "n": "苏丹" },
689 { "v": "795", "n": "苏里南" },
690 { "v": "797", "n": "斯瓦尔巴和扬马延岛" },
691 { "v": "799", "n": "斯威士兰" },
692 { "v": "801", "n": "瑞典" },
693 { "v": "803", "n": "瑞士" },
694 { "v": "805", "n": "叙利亚" },
695 { "v": "807", "n": "中国台湾" },
696 { "v": "809", "n": "塔吉克斯坦" },
697 { "v": "811", "n": "泰国" },
698 { "v": "813", "n": "东帝汶" },
699 { "v": "815", "n": "多哥" },
700 { "v": "817", "n": "托克劳" },
701 { "v": "819", "n": "汤加" },
702 { "v": "821", "n": "特立尼达和多巴哥" },
703 { "v": "823", "n": "突尼斯" },
704 { "v": "825", "n": "土耳其" },
705 { "v": "827", "n": "土库曼斯坦" },
706 { "v": "829", "n": "特克斯和凯科斯群岛" },
707 { "v": "831", "n": "图瓦卢" },
708 { "v": "833", "n": "乌干达" },
709 { "v": "835", "n": "乌克兰" },
710 { "v": "837", "n": "阿拉伯联合酋长国" },
711 { "v": "839", "n": "英国" },
712 { "v": "841", "n": "坦桑尼亚联合共和国" },
713 { "v": "843", "n": "上沃尔特" },
714 { "v": "845", "n": "乌拉圭" },
715 { "v": "847", "n": "乌兹别克斯坦" },
716 { "v": "849", "n": "瓦努阿图" },
717 { "v": "851", "n": "委内瑞拉" },
718 { "v": "853", "n": "越南" },
719 { "v": "855", "n": "英属维尔京群岛" },
720 { "v": "857", "n": "瓦利斯群岛和富图纳群岛" },
721 { "v": "859", "n": "西撒哈拉" },
722 { "v": "861", "n": "也门" },
723 { "v": "863", "n": "南斯拉夫" },
724 { "v": "865", "n": "扎伊尔" },
725 { "v": "867", "n": "赞比亚" },
726 { "v": "869", "n": "津巴布韦" },
727 { "v": "119", "n": "中国澳门" },
728 { "v": "225", "n": "美国" },
729 { "v": "494", "n": "刚果" },
730 { "v": "906", "n": "南苏丹" }
731 ]
732
733 let marryZhList = [
490 { "v": "1", "n": "已婚" }, 734 { "v": "1", "n": "已婚" },
491 { "v": "2", "n": "未婚" }, 735 { "v": "2", "n": "未婚" },
736 { "v": "3", "n": "离婚" },
737 { "v": "4", "n": "未亡人" },
492 { "v": "5", "n": "其他" } 738 { "v": "5", "n": "其他" }
493 ]; 739 ];
494 740
741 let marryTcList = [
742 { "v": "1", "n": "已婚" },
743 { "v": "2", "n": "未婚" },
744 { "v": "3", "n": "離婚" },
745 { "v": "4", "n": "未亡人" },
746 { "v": "5", "n": "其他" }
747 ]
748
749
750 let marryEnList = [
751 { "v": "1", "n": "married" },
752 { "v": "2", "n": "unmarried" },
753 { "v": "3", "n": "divorce" },
754 { "v": "4", "n": "Widow" },
755 { "v": "5", "n": "Other" }
756 ]
495 757
496 let policyIdTypeList = [ 758 let policyIdTypeList = [
497 { "v": "33", "n": "香港身份证号" }, 759 { "v": "33", "n": "香港身份证号" },
...@@ -573,7 +835,7 @@ export function formatMoney(s, type) { ...@@ -573,7 +835,7 @@ export function formatMoney(s, type) {
573 export function getNationsList(lan) { 835 export function getNationsList(lan) {
574 switch (lan) { 836 switch (lan) {
575 case 'zh': 837 case 'zh':
576 return nationsTcList; 838 return nationsZhList;
577 case 'en': 839 case 'en':
578 return nationsEnList; 840 return nationsEnList;
579 default: 841 default:
...@@ -581,8 +843,15 @@ export function getNationsList(lan) { ...@@ -581,8 +843,15 @@ export function getNationsList(lan) {
581 } 843 }
582 }; 844 };
583 845
584 export function getMarryList() { 846 export function getMarryList(lan) {
585 return marryList; 847 switch (lan) {
848 case 'zh':
849 return marryZhList;
850 case 'en':
851 return marryEnList;
852 default:
853 return marryTcList;
854 }
586 }; 855 };
587 856
588 export function getPolicyIdTypeList(lan) { 857 export function getPolicyIdTypeList(lan) {
...@@ -590,7 +859,7 @@ export function getPolicyIdTypeList(lan) { ...@@ -590,7 +859,7 @@ export function getPolicyIdTypeList(lan) {
590 case 'zh': 859 case 'zh':
591 return policyIdTypeList; 860 return policyIdTypeList;
592 case 'en': 861 case 'en':
593 return policyIdTypeList; 862 return policyIdTypeTcList;
594 default: 863 default:
595 return policyIdTypeTcList; 864 return policyIdTypeTcList;
596 } 865 }
......