<template>
  <div class="page-contain">
    <top-nav title="CRM"
             :showQuery="false"></top-nav>
    <img class="banber"
         src="../../../static/images/banner2.png" />
    <div class="contain">
      <div @click="handleJump('workList')"
           class="task-item">
        <div class="left">
          <span class='fs32 fb'>工作报告</span>
          <span class="fs28 fc666 mt10">记录点滴，总结分析</span>
        </div>
        <div class="right">
          <span class="round bgECF5">
            <span class="iconfont icon-18jiankonggailan fc8CEE"></span>
          </span>
        </div>
      </div>
      <div @click="handleJump('visitList')"
           class="task-item">
        <div class="left blF7B6">
          <span class='fs32 fb'>拜访报告</span>
          <span class="fs28 fc666 mt10">注重细节，拓展客源</span>
        </div>
        <div class="right">
          <span class="round gbFFF8">
            <span class="iconfont icon-call fcF7B6"></span>
          </span>
        </div>
      </div>
      <!-- <div @click="handleJump('reportStatistc')"
           class="task-item">
        <div class="left bl57B9">
          <span class='fs32 fb'>报告统计</span>
          <span class="fs28 fc666 mt10">任务列表的相关描述用于解释说明</span>
        </div>
        <div class="right">
          <span class="round bgEEF8">
            <span class="iconfont icon-tongjifenxi-xiangmubiaogetongji fc57B9"></span>
          </span>
        </div>
      </div> -->
    </div>

  </div>
</template>

<script>
export default {
  name: 'work-index',
  methods: {
    handleJump (val) {
      this.$router.push(val)
    }
  }
}
</script>

<style lang="scss" scoped>
.page-contain {
  .contain {
    .task-item {
      margin-top: 40px;
      padding: 32px 0;
      padding-right: 40px;
      border-radius: 30px;
      background: #ffffff;
      display: flex;
      justify-content: space-between;
      .left {
        display: flex;
        flex-direction: column;
        padding-left: 48px;
        border-left: 8px solid #008cee;
        border-radius: 5px;
      }
      .right {
        img {
          width: 80px;
        }
      }
      .blF7B6 {
        border-left: 8px solid #f7b64b;
      }
      .bl57B9 {
        border-left: 8px solid #57b986;
      }
    }
  }
  .bgECF5 {
    background: #ecf5ff;
  }
  .gbFFF8 {
    background: #fff8ec;
  }
  .bgEEF8 {
    background: #eef8f3;
  }
}
</style>
