vhis-modal.vue 2.91 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')}}</div>
					<div class="statement">
						<div class="desc orange">{{$t('vhis.desc1')}}</div>
						<div class="desc">{{$t('vhis.desc2')}}</div>
						<div class="desc">{{$t('vhis.desc3')}}</div>
						<div class="desc">{{$t('vhis.desc4')}}</div>
						<div class="desc">{{$t('vhis.desc5')}}</div>
					</div>
					<hr class="line1">
					<div class="form ">
						<div class="form-item">
							<div class="desc">{{$t('vhis.label1')}}</div>
							<div class="value orange">{{policyDetail.policyCode}}</div>
						</div>
						<div class="form-item">
							<div class="desc">{{$t('vhis.label2')}}</div>
							<div class="value orange">{{policyDetail.productName}}</div>
						</div>
						<div class="form-item">
							<div class="desc">{{$t('vhis.label3')}}</div>
							<div class="value">
								<span class="orange">{{policyDetail.ymd1}}</span>{{$t('vhis.ymd1')}}
								<span class="orange">{{policyDetail.ymd2}}</span>{{$t('vhis.ymd2')}}
								<span class="orange">{{policyDetail.ymd2}}</span>{{$t('vhis.ymd3')}}
							</div>
						</div>
						<div class="form-item">
							<div class="desc">{{$t('vhis.label4')}}</div>
							<div class="value orange">{{policyDetail.clientNameCn}}</div>
						</div>
						<div class="form-item">
							<div class="desc">{{$t('vhis.label5')}}</div>
							<div class="value orange">{{policyDetail.insuredNameCn}}</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"> {{$t('vhis.btn1')}}
								</div>
							</div>
						</div>
					</div>
					<hr class="line1">
					<div class="bottom-wrap ">
						<span class="desc">{{$t('vhis.tip1')}}
							<span class="orange">{{policyDetail.clientNameCn}}</span>{{$t('vhis.tip2')}}
							<span class="orange">{{policyDetail.nowYmd1}}</span>{{$t('vhis.ymd1')}}
							<span class="orange">{{policyDetail.nowYmd2}}</span>{{$t('vhis.ymd2')}}
							<span class="orange">{{policyDetail.nowYmd3}}</span>{{$t('vhis.ymd3')}}{{$t('vhis.tip3')}}</span>
						<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 pointer contact" @click="toContact()">
							<span class="orange bold">{{$t('vhis.tip4')}}</span>
						</div>
					</div>
				</div>

			</div>
		</div>

	</div>
</template>

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