vhis-modal.vue 3.67 KB

<template>
	<div class="comp" v-if="policyDetail && showPolicy">
		<div @click="handleIgnorePolicy" class="overlay"></div>
		<div class="border">
			<div class="close" @click="onOverLayHandler()"><img src="@/assets/images/vhis/close.png"></div>
			<div class="modal">
				<div class="content">
					<div class="title">{{$t('vhis.title')}}{{$t('vhis.titleAft')}}</div>
					<div class="statement">
						<div class="desc orange" :class="{'ltr-zero':locale == 'en'}">{{$t('vhis.desc1')}}</div>
						<div class="desc" :class="{'ltr-zero':locale == 'en'}">{{$t('vhis.desc2')}}</div>
						<div class="desc" :class="{'ltr-zero':locale == 'en'}">{{$t('vhis.desc3')}}</div>
						<div class="desc" :class="{'ltr-zero':locale == 'en'}">{{$t('vhis.desc4')}}</div>
						<div class="desc" :class="{'ltr-zero':locale == 'en'}">{{$t('vhis.desc5')}}</div>
					</div>
					<hr class="line1">
					<div class="form ">
						<div class="form-item">
							<div class="desc" :class="{'ltr-zero':locale == 'en'}">{{$t('vhis.label1')}}</div>
							<div class="value orange">
								<span>{{policyDetail.policyCode}}</span>
							</div>
						</div>
						<div class="form-item">
							<div class="desc" :class="{'ltr-zero':locale == 'en'}">{{$t('vhis.label2')}}</div>
							<div class="value orange">
								<span>{{policyDetail.productName}}</span>
							</div>
						</div>
						<div class="form-item">
							<div class="desc" :class="{'ltr-zero':locale == 'en'}">{{$t('vhis.label3')}}</div>
							<div class="value">
								<span class="orange">{{policyDetail.ymd1}}</span>
								<span>{{$t('vhis.ymd1')}}</span>
								<span class="orange">{{policyDetail.ymd2}}</span>
								<span>{{$t('vhis.ymd2')}}</span>
								<span class="orange">{{policyDetail.ymd3}}</span>
								<span>{{$t('vhis.ymd3')}}</span>
							</div>
						</div>
						<div class="form-item">
							<div class="desc" :class="{'ltr-zero':locale == 'en'}">{{$t('vhis.label4')}}</div>
							<div class="value orange">
								<span>{{policyDetail.clientNameCn}}</span>
							</div>
						</div>
						<div class="form-item">
							<div class="desc" :class="{'ltr-zero':locale == 'en'}">{{$t('vhis.label5')}}</div>
							<div class="value orange">
								<span>{{policyDetail.insuredNameCn}}</span>
							</div>
						</div>

						<div class="download">
							<div class="border2 download-item" @click="downloadPolicy">
								<div class="cont">
									<img class="icon" src="@/assets/images/vhis/vhis-download.png">
									<span class="t1">{{$t('vhis.btn1')}}</span>
								</div>
							</div>
						</div>
					</div>
					<hr class="line1">
					<div class="bottom-wrap ">
						<div class="notice" :class="{'ltz':locale == 'en'}">
							<span>{{$t('vhis.tip1')}}</span>
							<span class="orange">{{policyDetail.clientNameCn}}</span>
							<span>{{$t('vhis.tip2')}}</span>
							<span class="orange">{{policyDetail.nowYmd1}}</span>
							<span>{{$t('vhis.ymd1')}}</span>
							<span class="orange">{{policyDetail.nowYmd2}}</span>
							<span>{{$t('vhis.ymd2')}}</span>
							<span class="orange">{{policyDetail.nowYmd3}}</span>
							<span>{{$t('vhis.ymd3')}}{{$t('vhis.tip3')}}</span>
						</div>
						<div class="btn-wrap">
							<div class="submit-btn" @click="handleConfirmPolicy">{{$t('vhis.btn2')}}</div>
							<div class="submit-btn " @click="handleIgnorePolicy">{{$t('vhis.btn3')}}</div>
						</div>
						<div class="flex-center contact">
							{{$t('vhis.tip4')}}
							<span class="pointer" @click="toContact()">{{$t('vhis.tip5')}}</span>
						</div>
					</div>
				</div>

			</div>
		</div>

	</div>
</template>

<script src="./vhis-modal.js"></script>
<style lang="scss" scoped>
@import "./vhis-modal.scss";
</style>