common-form.vue
1.78 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
<template>
<div class="common-form-container">
<div class="table">
<div class="table-header orange">
<div class="table-header-item w1">{{$t('commonForm.head1')}}</div>
<div class="table-header-item w2">{{$t('commonForm.head2')}}</div>
<div class="table-header-item w3">{{$t('commonForm.head3')}}</div>
<div class="table-header-item w4">{{$t('commonForm.head4')}}</div>
</div>
<div class="table-content">
<div v-for="(item,index) in i18n.commonForm.form" :key="index" class="table-content-item">
<div v-if="index < i18n.commonForm.form.length-1" class="hl"></div>
<div class="ww w1">
{{item.type}}
</div>
<div class="ww w2">
<div v-for="(item2,index2) in item.list" :key="index2" class="grid">
<div class="v-line"></div>
<div v-if="index < i18n.commonForm.form.length-1 || index2 < item.list.length-1" class="h-line"></div>
<span v-html="item2.name"> {{item2.name}}</span>
</div>
</div>
<div class="ww w3">
<div v-for="(item2,index2) in item.list" :key="index2" class="grid">
<div class="v-line"></div>
<div v-if="index < i18n.commonForm.form.length-1 || index2 < item.list.length-1" class="h-line"></div>
<span v-html="item2.desc"> {{item2.desc}}</span>
</div>
</div>
<div class="ww w4">
<div v-for="(item2,index2) in item.list" :key="index2" class="grid pointer">
<div v-if="index < i18n.commonForm.form.length-1 || index2 < item.list.length-1" class="h-line"></div>
<img class="icon" src="@/assets/images/common-form/icon-cf-download.png" alt=""> {{$t('commonForm.download')}}
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script src="./common-form.js"></script>
<style lang="scss" scoped>
@import "./common-form.scss";
</style>