vhis-modal.vue
2.86 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="comp" v-if="policyDetail && showPolicy">
<div @click="onOverLayHandler()" class="overlay"></div>
<div class="modal">
<div class="close" @click="onOverLayHandler()"><img src="@/assets/images/vhis/close.png"></div>
<div class="title">{{$t('vhis.title')}}</div>
<div class="content default-mt">
<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="default-mt">
<div class="content default-mt">
<div class="flex-left"><div class="desc">{{$t('vhis.label1')}}:</div><div class="value orange">{{policyDetail.policyCode}}</div></div>
<div class="flex-left"><div class="desc">{{$t('vhis.label2')}}:</div><div class="value">{{policyDetail.productName}}</div></div>
<div class="flex-left"><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="flex-left"><div class="desc">{{$t('vhis.label4')}}:</div><div class="value">{{policyDetail.clientNameCn}}</div></div>
<div class="flex-left"><div class="desc">{{$t('vhis.label5')}}:</div><div class="value">{{policyDetail.insuredNameCn}}</div></div>
<div class="download-btn flex-center" @click="downloadPolicy"><img src="@/assets/images/vhis/vhis-download.png"><span class="btn-name">{{$t('vhis.btn1')}}</span></div>
</div>
<hr class="default-mt">
<div class="content default-mt">
<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="flex-center half-mt">
<div class="submit-btn" @click="handleConfirmPolicy" >{{$t('vhis.btn2')}}</div>
<div class="submit-btn btn-margin" @click="handleIgnorePolicy" >{{$t('vhis.btn3')}}</div>
</div>
<div class="flex-center half-mt pointer" @click="toContact()"><span class="orange bold">{{$t('vhis.tip4')}}</span></div>
</div>
</div>
</div>
</template>
<script src="./vhis-modal.js"></script>
<style lang="scss" scoped>
@import "./vhis-modal.scss";
</style>