custom-service.vue
1.5 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
<template>
<div class="content">
<div class="left-panel">
<div v-for="(item,index) in 8" :key="index" 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>
</div>
<div class="right-panel">
<div class="panel" :class="{activity : activity == 'm1'}">
<contact-us></contact-us>
</div>
<div class="panel" :class="{activity : activity == 'm2'}">
<payment-type></payment-type>
</div>
<div class="panel" :class="{activity : activity == 'm3'}">
<insurance-query></insurance-query>
</div>
<div class="panel" :class="{activity : activity == 'm4'}"></div>
<div class="panel" :class="{activity : activity == 'm5'}"></div>
<div class="panel" :class="{activity : activity == 'm6'}">
<reservation></reservation>
</div>
<div class="panel" :class="{activity : activity == 'm7'}">
<complaint-acceptance></complaint-acceptance>
</div>
<div class="panel" :class="{activity : 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>