vhis-detail.vue 16.2 KB

<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}}&nbsp;&gt;</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('vhisDetail.bannerTips.t1')}}
          </div>
          <div class="desc">
            <div class="t1"> {{$t('vhisDetail.bannerTips.t2')}}</div>
            <div class="t2"> {{$t('vhisDetail.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('vhisDetail.title.t1')}}</div>
        <div class="tt t2">
          {{$t('vhisDetail.title.t2')}}{{$t('vhisDetail.title.t3')}}
        </div>
      </div>

    </div>

    <div class="content">

      <!-- 产品特点 -->
      <div class="box product">
        <div class="tit">{{$t('vhisDetail.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/vhis/vhis-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('vhisDetail.close') : $t('vhisDetail.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('vhisDetail.guarantee1.title')}}</div>
          <div class="tit-s">
            {{$t('vhisDetail.guarantee1.titleT1')}}
            <span>{{$t('vhisDetail.guarantee1.titleNum')}}</span>
            {{$t('vhisDetail.guarantee1.titleT2')}}
          </div>
        </div>

        <div class="container">
          <div class="table">
            <div class="border2 table-border"></div>
            <div class="table-item">
              <div class="tt label">{{$t('vhisDetail.guarantee1.k1')}}</div>
              <div class="tt val">{{$t('vhisDetail.guarantee1.v1')}}</div>
            </div>
            <div class="table-item">
              <div class="tt label">{{$t('vhisDetail.guarantee1.k2')}}</div>
              <div class="tt val">{{$t('vhisDetail.guarantee1.v2')}}</div>
            </div>
            <div class="table-item">
              <div class="tt label">{{$t('vhisDetail.guarantee1.k3')}}</div>
              <div class="tt val">{{$t('vhisDetail.guarantee1.v3')}}</div>
            </div>
            <div class="table-item">
              <div class="tt label">{{$t('vhisDetail.guarantee1.k4')}}</div>
              <div class="tt val">{{$t('vhisDetail.guarantee1.v4')}}</div>
            </div>
            <div class="table-item">
              <div class="tt label">{{$t('vhisDetail.guarantee1.k5')}}</div>
              <div class="tt val">{{$t('vhisDetail.guarantee1.v5')}}</div>
            </div>
          </div>
        </div>

      </div>

      <!-- 保障内容 -->
      <div class="guarantee guarantee2">
        <div class="tit">{{$t('vhisDetail.guarantee2.title')}}</div>

        <div class="container">
          <!-- 左表 -->
          <div class="table">
            <div class="titl">
              <div class="titl-item">{{$t('vhisDetail.guarantee2.titK')}}
                <span class="small">(1)</span>
              </div>
              <div class="titl-item">{{$t('vhisDetail.guarantee2.titV')}}</div>
            </div>
            <div class="border2 table-border"></div>
            <div class="table-item">
              <div class="tt label">
                <div class="fl">
                  <div class="nn n1">(a)</div>
                  <div v-html="$t('vhisDetail.guarantee2.ak')" class="nn n2">{{$t('vhisDetail.guarantee2.ak')}}</div>
                </div>
              </div>
              <div v-html="$t('vhisDetail.guarantee2.av')" class="tt val">{{$t('vhisDetail.guarantee2.av')}}</div>
            </div>
            <div class="table-item">
              <div class="tt label">
                <div class="fl">
                  <div class="nn n1">(b)</div>
                  <div v-html="$t('vhisDetail.guarantee2.bk')" class="nn n2">{{$t('vhisDetail.guarantee2.bk')}}</div>
                </div>
              </div>
              <div v-html="$t('vhisDetail.guarantee2.bv')" class="tt val">{{$t('vhisDetail.guarantee2.bv')}}</div>
            </div>
            <div class="table-item">
              <div class="tt label">
                <div class="fl">
                  <div class="nn n1">(c)</div>
                  <div v-html="$t('vhisDetail.guarantee2.ck')" class="nn n2">{{$t('vhisDetail.guarantee2.ck')}}</div>
                </div>
              </div>
              <div v-html="$t('vhisDetail.guarantee2.cv')" class="tt val">{{$t('vhisDetail.guarantee2.cv')}}</div>
            </div>
            <div class="table-item">
              <div class="tt label">
                <div class="fl">
                  <div class="nn n1">(d)</div>
                  <div class="nn n2">
                    <span v-html="$t('vhisDetail.guarantee2.dk')">{{$t('vhisDetail.guarantee2.dk')}}</span>
                    <span class="small">(2)</span>
                  </div>
                </div>
              </div>
              <div v-html="$t('vhisDetail.guarantee2.dv')" class="tt val">{{$t('vhisDetail.guarantee2.dv')}}</div>
            </div>
            <div class="table-item">
              <div class="tt label">
                <div class="fl">
                  <div class="nn n1">(e)</div>
                  <div v-html="$t('vhisDetail.guarantee2.ek')" class="nn n2">{{$t('vhisDetail.guarantee2.ek')}}</div>
                </div>
              </div>
              <div v-html="$t('vhisDetail.guarantee2.ev')" class="tt val">{{$t('vhisDetail.guarantee2.ev')}}</div>
            </div>
            <!-- 4分 -->
            <div class="table-item table-item-4">
              <div class="tt label label2">
                <div class="fl">
                  <div class="nn n1">(f)</div>
                  <div v-html="$t('vhisDetail.guarantee2.fk')" class="nn n2">{{$t('vhisDetail.guarantee2.fk')}}</div>
                </div>
              </div>
              <div class="tt val">
                <div class="val-item">
                  {{$t('vhisDetail.guarantee2.fv0')}}
                </div>
                <div class="val-item">
                  {{$t('vhisDetail.guarantee2.fv1')}}
                </div>
                <div class="val-item">
                  {{$t('vhisDetail.guarantee2.fv2')}}
                </div>
                <div class="val-item">
                  {{$t('vhisDetail.guarantee2.fv3')}}
                </div>
                <div class="val-item">
                  {{$t('vhisDetail.guarantee2.fv4')}}
                </div>
              </div>
            </div>
          </div>

          <!-- 右表 -->
          <div class="table">
            <div class="titl">
              <div class="titl-item">{{$t('vhisDetail.guarantee2.titK')}}
                <span class="small">(1)</span>
              </div>
              <div class="titl-item">{{$t('vhisDetail.guarantee2.titV')}}</div>
            </div>
            <div class="border2 table-border"></div>
            <div class="table-item">
              <div class="tt label">
                <div class="fl">
                  <div class="nn n1">(g)</div>
                  <div v-html="$t('vhisDetail.guarantee2.gk')" class="nn n2">{{$t('vhisDetail.guarantee2.gk')}}</div>
                </div>
              </div>
              <div class="tt val">
                <div>
                  <span v-html="$t('vhisDetail.guarantee2.gv')">{{$t('vhisDetail.guarantee2.gv')}}</span>
                  <span class="small">(5)</span>
                </div>
              </div>
            </div>
            <div class="table-item">
              <div class="tt label">
                <div class="fl">
                  <div class="nn n1">(h)</div>
                  <div v-html="$t('vhisDetail.guarantee2.hk')" class="nn n2">{{$t('vhisDetail.guarantee2.hk')}}</div>
                </div>
              </div>
              <div class="tt val">
                <div>
                  <span v-html="$t('vhisDetail.guarantee2.hv')">{{$t('vhisDetail.guarantee2.hv')}}</span>
                  <span class="small">(5)</span>
                </div>
              </div>
            </div>
            <div class="table-item">
              <div class="tt label ">
                <div class="fl">
                  <div class="nn n1">(i)</div>
                  <div class="nn n2">
                    <span v-html="$t('vhisDetail.guarantee2.ik')">{{$t('vhisDetail.guarantee2.ik')}}</span>
                    <span class="small">(2)(3)</span>
                  </div>
                </div>
              </div>
              <div v-html="$t('vhisDetail.guarantee2.iv')" class="tt val">{{$t('vhisDetail.guarantee2.iv')}}</div>
            </div>
            <div class="table-item">
              <div class="tt label ">
                <div class="fl">
                  <div class="nn n1">(j)</div>
                  <div class="nn n2">
                    <span v-html="$t('vhisDetail.guarantee2.jk')">{{$t('vhisDetail.guarantee2.jk')}}</span>
                    <span class="small">(4)</span>
                  </div>
                </div>
              </div>
              <div v-html="$t('vhisDetail.guarantee2.jv')" class="tt val">{{$t('vhisDetail.guarantee2.jv')}}</div>
            </div>
            <div class="table-item table-item-3">
              <div class="tt label label2">
                <div class="fl">
                  <div class="nn n1">(k)</div>
                  <div class="nn n2">
                    <span v-html="$t('vhisDetail.guarantee2.kk')">{{$t('vhisDetail.guarantee2.kk')}}</span>
                    <span class="small">(2)</span>
                  </div>
                </div>
              </div>
              <div class="tt val">
                <div class="val-item val-item-thr">
                  <div v-html="$t('vhisDetail.guarantee2.kv11')" class="thr">{{$t('vhisDetail.guarantee2.kv11')}}</div>
                  <div v-html="$t('vhisDetail.guarantee2.kv12')" class="thr">{{$t('vhisDetail.guarantee2.kv12')}}</div>
                </div>
                <div v-html="$t('vhisDetail.guarantee2.kv2')" class="val-item">
                  {{$t('vhisDetail.guarantee2.kv2')}}
                </div>
                <div v-html="$t('vhisDetail.guarantee2.kv3')" class="val-item">
                  {{$t('vhisDetail.guarantee2.kv3')}}
                </div>
              </div>
            </div>
            <!-- 4分 -->
            <div class="table-item table-item">
              <div class="tt label">
                <div class="fl">
                  <div class="nn n1">(l)</div>
                  <div v-html="$t('vhisDetail.guarantee2.lk')" class="nn n2">{{$t('vhisDetail.guarantee2.lk')}}</div>
                </div>
              </div>
              <div v-html="$t('vhisDetail.guarantee2.lv')" class="tt val">{{$t('vhisDetail.guarantee2.lv')}}</div>
            </div>
          </div>
        </div>

      </div>

      <!-- 其他限额 -->
      <div class="guarantee">
        <div class="tit">{{$t('vhisDetail.guarantee3.title')}}</div>

        <div class="container">
          <div class="table">
            <div class="border2 table-border"></div>
            <div class="table-item">
              <div class="tt label">{{$t('vhisDetail.guarantee3.k1')}}</div>
              <div class="tt val">{{$t('vhisDetail.guarantee3.v1')}}</div>
            </div>
            <div class="table-item">
              <div class="tt label">{{$t('vhisDetail.guarantee3.k2')}}</div>
              <div class="tt val">{{$t('vhisDetail.guarantee3.v2')}}</div>
            </div>
          </div>
        </div>
      </div>

      <!-- 其他保障 -->
      <div class="guarantee">
        <div class="tit">{{$t('vhisDetail.guarantee4.title')}}</div>

        <div class="container">
          <div class="table">
            <div class="border2 table-border"></div>
            <div class="table-item">
              <div class="tt label">{{$t('vhisDetail.guarantee4.k1')}}</div>
              <div class="tt val">{{$t('vhisDetail.guarantee4.v1')}}</div>
            </div>
            <div class="table-item">
              <div class="tt label">{{$t('vhisDetail.guarantee4.k2')}}</div>
              <div class="tt val">{{$t('vhisDetail.guarantee4.v2')}}</div>
            </div>
          </div>
        </div>
      </div>

      <!-- 下载 -->
      <div class="download">
        <div class="border2 download-item">
          <div class="cont" @click="downloadFile('file1')">
            <div class="icon-wrap"><img class="icon" src="@/assets/images/vhis/vhis-download.png"></div>
            <div class="desc">{{$t('vhisDetail.download.t1')}}</div>
          </div>
        </div>
        <div class="border2 download-item">
          <div class="cont" @click="downloadFile('file2')">
            <div class="icon-wrap"><img class="icon" src="@/assets/images/vhis/vhis-download.png"></div>
            <div class="desc">{{$t('vhisDetail.download.t2')}}</div>
          </div>
        </div>
        <div class="border2 download-item">
          <div class="cont" @click="downloadFile('file3')">
            <div class="icon-wrap"><img class="icon" src="@/assets/images/vhis/vhis-download.png"></div>
            <div class="desc">{{$t('vhisDetail.download.t3')}}</div>
          </div>
        </div>
      </div>

      <!-- 立即投保 -->
      <div class="btn-wrap">
        <div class="submit-btn" @click="bottomBtnHandle()">
          {{$t('vhisDetail.submitBtn')}}
        </div>
      </div>

    </div>
  </div>

</template>

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