gen-rich.vue
7.8 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<template>
<div class="page page-vhis">
<div class="banner-contaner">
<!-- banner 轮播 -->
<div class="banner banner-pc">
<swiper :options="swiperOption">
<swiper-slide v-for="(item,index) in bannerList" :key="index">
<img class="banner-img" :src="item.pcBannerUrl" />
<div class="btn-wrap">
<div v-for="(btnItem, btnIndex) in item.btns" :key="btnIndex">
<div class="banner-btn" v-if="btnItem.n && btnItem.t && btnItem.c" @click="btnNavigateTo(btnItem.t,btnItem.l)" :style="{backgroundColor:btnItem.c}">{{btnItem.n}}</div>
</div>
</div>
</swiper-slide>
<!-- <div class="swiper-button-prev" slot="button-prev"></div>
<div class="swiper-button-next" slot="button-next"></div>-->
<!-- <div class="swiper-pagination" slot="pagination"></div> -->
</swiper>
</div>
<div class="banner banner-mobile">
<swiper class="swiper" :options="swiperOption">
<swiper-slide v-for="(item,index) in bannerList" :key="index">
<img class="banner-img" :src="item.mobileBannerUrl" />
<div class="btn-wrap">
<div class="banner-btn" v-for="(btnItem, btnIndex) in item.btns" :key="btnIndex" @click="btnNavigateTo(btnItem.t,btnItem.l)" :style="{color:btnItem.c}">{{btnItem.n}} ></div>
</div>
</swiper-slide>
<div class="swiper-pagination" slot="pagination"></div>
</swiper>
</div>
<!-- <div class="swiper-button-prev" slot="button-prev"></div>
<div class="swiper-button-next" slot="button-next"></div>-->
<div v-if="bannerTipsVisible" class="banner-tips">
<div class="cont">
<div class="tit">
<img class="icon" src="@/assets/images/vhis/hot-deal-icon.png" /> {{$t('genRich.bannerTips.t1')}}
</div>
<div class="desc">
<div class="t1">{{$t('genRich.bannerTips.t2')}}</div>
<div class="t2">{{$t('genRich.bannerTips.t3')}}</div>
</div>
</div>
<img @click="onHideBannerTipsHandler" class="close" src="@/assets/images/vhis/close2.png" />
</div>
</div>
<!-- 标题 -->
<div class="title">
<div class="title-wrap">
<div class="tt t1">{{$t('genRich.title.t1')}}</div>
<div class="tt t2">{{$t('genRich.title.t2')}}{{$t('genRich.title.t3')}}</div>
</div>
</div>
<div class="content">
<!-- 产品特点 -->
<div class="box product">
<div class="tit">{{$t('genRich.main.t1')}}</div>
<div class="prod">
<div v-for="(item,index) in productList" :key="item.id" class="prod-item">
<div class="cont">
<div class="icon-wrap">
<img :src="require('@/assets/images/gen-rich/gen-rich-icon'+(index+1)+'.png')" />
</div>
<div class="detail">
<div class="t1" v-html="item.title">{{item.title}}</div>
<div class="more pointer" @click="onShowMoreHandler(index)">
<div class="more-icon-wrap">
<img v-if="item.showMore" src="@/assets/images/vhis/vhis-mine.png" />
<img v-else src="@/assets/images/vhis/vhis-plus.png" />
</div>
<div class="c1">{{item.showMore ? $t('genRich.close') : $t('genRich.expand')}}</div>
</div>
<div v-if="item.showMore" class="desc">
{{item.desc}}
<div class="tips">{{item.tips}}</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 视频 -->
<div class="box video">
<video-player class="vjs-custom-skin" ref="videoPlayer" :options="playerOptions" :playsinline="true"></video-player>
</div>
<!-- 计划总览 -->
<div class="guarantee">
<div class="tit-wrap">
<div class="tit">{{$t('genRich.guarantee1.title')}}</div>
<div class="tit-s">
{{$t('genRich.guarantee1.titleT1')}}
<span>{{$t('genRich.guarantee1.titleNum')}}</span>
{{$t('genRich.guarantee1.titleT2')}}
</div>
</div>
<div class="tit-lt">{{$t('genRich.guarantee1.titleLt')}}</div>
<div class="container">
<div class="table">
<div class="border2 table-border"></div>
<div class="table-item table-item2">
<div class="tt label">{{$t('genRich.guarantee1.k1')}}</div>
<div class="tt val tt2">
<div class="ff">
<div class="nn nn1">{{$t('genRich.guarantee1.k11')}}</div>
<div class="nn nn2">{{$t('genRich.guarantee1.v11')}}</div>
</div>
<div class="ff">
<div class="nn nn1">{{$t('genRich.guarantee1.k12')}}</div>
<div v-html="$t('genRich.guarantee1.v12')" class="nn nn2">{{$t('genRich.guarantee1.v12')}}</div>
</div>
</div>
</div>
<div class="table-item">
<div class="tt label">{{$t('genRich.guarantee1.k2')}}</div>
<div class="tt val">{{$t('genRich.guarantee1.v2')}}</div>
</div>
<div class="table-item">
<div class="tt label">{{$t('genRich.guarantee1.k3')}}</div>
<div class="tt val">{{$t('genRich.guarantee1.v3')}}</div>
</div>
<div class="table-item">
<div class="tt label">{{$t('genRich.guarantee1.k4')}}</div>
<div class="tt val">{{$t('genRich.guarantee1.v4')}}</div>
</div>
<div class="table-item">
<div class="tt label">{{$t('genRich.guarantee1.k5')}}</div>
<div class="tt val">
{{$t('genRich.guarantee1.v5')}}
<div class="fl">
<span class="mark num">{{$t('genRich.guarantee1.num1')}}</span>
<div class="d1">{{$t('genRich.guarantee1.v51')}}</div>
</div>
<div class="fl">
<span class="mark num">{{$t('genRich.guarantee1.num2')}}</span>
<div class="d1">{{$t('genRich.guarantee1.v52')}}</div>
</div>
</div>
</div>
<div class="table-item">
<div class="tt label">{{$t('genRich.guarantee1.k6')}}</div>
<div class="tt val">
{{$t('genRich.guarantee1.v6')}}
<div class="fl">
<span class="mark star">*</span>
<div class="d1">{{$t('genRich.guarantee1.v61')}}</div>
</div>
</div>
</div>
<div class="table-item">
<div class="tt label">{{$t('genRich.guarantee1.k7')}}</div>
<div class="tt val">
{{$t('genRich.guarantee1.v7')}}
<div class="fl">
<span class="mark star">*</span>
<div class="d1">{{$t('genRich.guarantee1.v71')}}</div>
</div>
<div class="fl">
<span class="mark star">*</span>
<div class="d1">{{$t('genRich.guarantee1.v72')}}</div>
</div>
<div class="fl" v-if="$t('genRich.guarantee1.v73')">
<span class="mark star">*</span>
<div class="d1">{{$t('genRich.guarantee1.v73')}}</div>
</div>
</div>
</div>
<div class="table-item">
<div class="tt label">{{$t('genRich.guarantee1.k8')}}</div>
<div class="tt val">{{$t('genRich.guarantee1.v8')}}</div>
</div>
<div class="table-item">
<div class="tt label">{{$t('genRich.guarantee1.k9')}}</div>
<div class="tt val">{{$t('genRich.guarantee1.v9')}}</div>
</div>
<div class="table-item">
<div class="tt label">{{$t('genRich.guarantee1.k10')}}</div>
<div class="tt val">{{$t('genRich.guarantee1.v10')}}</div>
</div>
</div>
</div>
</div>
<!-- 下载 -->
<div class="download">
<div class="border2 download-item">
<div class="cont">
<div class="icon-wrap">
<img class="icon" src="@/assets/images/vhis/vhis-download.png" />
</div>
{{$t('genRich.download.t1')}}
</div>
</div>
<div class="border2 download-item">
<div class="cont">
<div class="icon-wrap">
<img class="icon" src="@/assets/images/vhis/vhis-download.png" />
</div>
{{$t('genRich.download.t2')}}
</div>
</div>
</div>
<!-- 立即投保 -->
<div class="submit-btn" @click="bottomBtnHandle()">{{$t('genRich.submitBtn')}}</div>
</div>
</div>
</template>
<script src="./gen-rich.js"></script>
<style lang="scss" scoped>
@import "./gen-rich.scss";
</style>