custom-service.vue 1.45 KB
<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'}"></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>