custom-service.vue
2.19 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
<template>
<div class="content">
<div class="left-panel">
<!-- 保存变更列表 -->
<template v-if="activity && activity.indexOf('m4') != -1 ">
<div v-for="(item,index) in 3" :key="item.id" class="menu-item" :class="{'activity' : activity == 'm4' + (index+1)}" @click="changeActivity('m4'+(index+1))">
<div class="tit">{{$t('customService.menu4'+(index+1))}}</div>
<div v-if="activity == 'm4' + (index+1)" class="sel" :class="{'sel-first':index == 0}"></div>
</div>
</template>
<!-- 主列表 -->
<template v-else>
<div v-for="(item,index) in 10" :key="item.id" class="menu-item" :class="{'activity' : activity == 'm' + (index+1)}" @click="changeActivity('m'+(index+1))">
<div class="icon-wrap">
<img class="icon" :src="require('@/assets/images/insurance-query/m'+(index+1) + (activity == 'm' + (index+1) ?'':'-unselect') +'.png')">
</div>
<div class="tit">{{$t('customService.menu'+(index+1))}}</div>
<div v-if="activity == 'm' + (index+1)" class="sel" :class="{'sel-first':index == 0}"></div>
</div>
</template>
</div>
<div class="right-panel">
<div class="panel" v-if="activity == 'm1'">
<contact-us></contact-us>
</div>
<div class="panel" v-if="activity == 'm2'">
<payment-type></payment-type>
</div>
<div class="panel" v-if="activity == 'm3'">
<insurance-query></insurance-query>
</div>
<div class="panel" v-if="activity == 'm41'">
<policy-change-guide></policy-change-guide>
</div>
<div class="panel" v-if="activity == 'm42'">
<policy-change-contact></policy-change-contact>
</div>
<div class="panel" v-if="activity == 'm43'">
<policy-change-information></policy-change-information>
</div>
<div class="panel" v-if="activity == 'm5'">
<clarms></clarms>
</div>
<div class="panel" v-if="activity == 'm6'">
<reservation></reservation>
</div>
<div class="panel" v-if="activity == 'm7'">
<complaint-acceptance></complaint-acceptance>
</div>
<div class="panel" v-if="activity == 'm8'">
<common-form></common-form>
</div>
</div>
</div>
</template>
<script src="./custom-service.js"></script>
<style lang="scss" scoped>
@import "./custom-service.scss";
</style>