<template>
  <div class="container">
    <div class="cul-hd">
      <div class="cul-hd-info">
        <small>“保险从业多年，口碑极佳”</small>
        <h1>李玉婷</h1>
        <cr-tag><svg-icon icon-class="medal" />金牌保险顾问</cr-tag>
        <small>执业保险销售资质：</small>
        <small>201920000000800<br />02020003828</small>
      </div>
      <cr-image
        class="cul-hd-img"
        src="@/assets/images/consultant/culstor-demo.png"
        width="215px"
        height="230px"
      />
    </div>
    <div class="cul-det">
      <card title="" class="cul-card">
        <router-link tag="div" class="cul-entry" to="/consultant/plan" v-if="hasSuggestion">
          <div class="cul-entry-title">
            <h3>您的专属保险方案</h3>
            <small>CAPTIVE INSURANC</small>
            <cr-tag>自己</cr-tag>
          </div>
          <svg-icon icon-class="arrow-right" />
        </router-link>
        <div class="cul-contact" v-else>
          <div class="cul-contact-qrcode">
            <cr-image
              src="@/assets/images/consultant/qrcode-demo.png"
              width="130px"
              height="130px"
            />
            <p>长安识别二维码加好友</p>
          </div>
          <div class="cul-rate">
            <div class="cul-rate-item">
              <h2>38100</h2>
              <p>已服务用户人</p>
            </div>
            <div class="cul-rate-item">
              <h2>99.8%</h2>
              <p>满意度</p>
            </div>
          </div>
        </div>
        <div class="cul-tel">
          <a class="cul-tel-num" href="tel:13888888888">
            <svg-icon icon-class="call" />138 8888 8888
          </a>
          <div class="cul-time">服务时间 9:00 ~ 21:00</div>
        </div>
        <div class="cul-slogan">
          <p>“我们的价值：让客户少花钱买好保险”</p>
          <p>“我们的愿景：让每个家庭都有备无患”</p>
        </div>
        <cr-divider :style="{ marginBottom: 0 }" />
      </card>
      <card title="芒果保险·1对1保险顾问来帮您?">
        <div class="cul-odds-list">
          <div class="cul-odds-list-item" v-for="(item, index) in oddsInsureList" :key="index">
            <div class="cul-odds-list-title">
              <i class="cul-odds-list-title-icon">{{ index + 1 }}</i>
              <span class="cul-odds-list-title-txt">{{ item.title }}</span>
            </div>
            <div class="cul-odds-list-content">
              <div class="cul-odds-list-content-item" v-for="(it, idx) in item.children" :key="idx">
                <div class="cul-odds-list-content-title">
                  <svg-icon icon-class="check-circle" />
                  {{ it[0] }}
                </div>
                <div class="cul-odds-list-content-txt">{{ it[1] }}</div>
              </div>
            </div>
          </div>
        </div>
      </card>
    </div>
    <copyright :logo="true" />
  </div>
</template>

<script>
import copyright from "@/components/Copyright";
import Card from "@/components/Card";
export default {
  name: "ConsultantExclusive",
  components: {
    Card,
    copyright
  },
  props: {
    hasSuggestion: {
      type: Boolean,
      default: false
    }
  },
  data() {
    return {
      Info: {},
      oddsInsureList: [
        {
          title: "投保前",
          children: [
            ["全方位评估:", "360°筛查、识别、评估您的家庭风险"],
            [
              "量身筛选:",
              "根据您的自身情况，分析对比几百款产品，选出最适合的保障方案，最高节省50%保费"
            ],
            ["保单诊断:", "全面评估已有保单，中立、客观的给您提供针对性的意见 "]
          ]
        },
        {
          title: "投保中",
          children: [
            ["条款解读:", "为您解释复杂难懂的条款"],
            ["有效投保:", "为您做好健康告知，做到有效投保"]
          ]
        },
        {
          title: "省钱",
          children: [["协助理赔:", "申请理赔时，理赔专家全程协助"]]
        }
      ]
    };
  },
  mounted() {}
};
</script>
<style lang="less" src="./index.less" scoped></style>
