index.vue 5.02 KB
<template>
  <div class="service-home">
    <!-- <div class="header_widget">
      <span class="title">【嘀加企微管家】</span>
      <div class="tip">给您一套帮您变现的服务系统</div>
    </div>
    <div class="fc_widget">
      <div v-for="(item, index) in localList" :key="index" class="fc_wrapper flex-fac">
        <div class="title">{{ item.title }}</div>
        <span>{{ item.message }}</span>
        <div class="btn">
          <span>{{ item.tip }}</span>
          <span class="btn_go" @click="toShowCase(index)">查看案例</span>
        </div>
      </div>
      <div ref="animation1" class="animation_one flex-fsc">
        <div class="close_icon" @click="closeAnimation"><i class="el-icon-circle-close"></i></div>
        <div class="content_wrap flex-fac">
          <div class="title">案例一:无情岁月催人老</div>
          <p>床前明月光,疑似地上霜床前明月光,疑似地上霜床前明月光,疑似地上霜</p>
          <img class="bg" src="../../assets/logo.png" />
        </div>
        <div class="content_wrap">2</div>
        <div class="content_wrap">3</div>
      </div>
      <div ref="animation2" class="animation_one flex-fsc">
        <div class="content_two_wrap"></div>
        <div class="content_two_wrap bg2"></div>
        <div class="close_icon" @click="closeAnimation"><i class="el-icon-circle-close"></i></div>
      </div>
      <div ref="animation3" class="animation_one flex-fsc">
        <div class="content_two_wrap"></div>
        <div class="content_two_wrap bg2"></div>
        <div class="close_icon" @click="closeAnimation"><i class="el-icon-circle-close"></i></div>
      </div>
    </div>
    <div class="line_widget">服务收益在线预估</div>
    <div class="echart_wrapper">
      <PieChart echartId="introduce"></PieChart>
    </div> -->
  </div>
</template>

<script>
// import PieChart from '../../components/service-echart/pie.vue'
export default {
  name: 'home',
  // components: {
  //   PieChart
  // },
  data() {
    return {
      // currentClickIndex: -1,
      // localList: [
      //   {
      //     title: '新车售前打包增值方案',
      //     message: '4S店会员权益服务——赚钱、锁客两不误',
      //     tip: '帮您年增值50万'
      //   },
      //   {
      //     title: '精品售中升级',
      //     message: '驻店升级转化精品——帮助门店新车流量托管式增值变现',
      //     tip: '帮门店年度产值增加70W+'
      //   },
      //   {
      //     title: '售后代运营服务',
      //     message: '企微魔方帮用户沉淀企微——精准推荐、直播实现复购变现',
      //     tip: '帮您售后产值增加20W/年'
      //   }
      // ]
    }
  },
  methods: {
    // toShowCase(index) {
    //   this.currentClickIndex = index
    //   this.$refs[`animation${index + 1}`].style.opacity = 1
    //   this.$refs[`animation${index + 1}`].style['z-index'] = 20
    // },
    // closeAnimation() {
    //   let index = this.currentClickIndex
    //   this.$refs[`animation${index + 1}`].style.opacity = 0
    //   this.$refs[`animation${index + 1}`].style['z-index'] = -999
    // },
    // computed() {}
  }
}
</script>
<style lang="scss" scoped>
// .flex-fac {
//   display: flex;
//   flex-direction: column;
//   align-items: center;
// }
// .flex-fsc {
//   display: flex;
// }
// .header_widget {
//   .title {
//     font-size: 20px;
//     color: blue;
//   }
// }
// .fc_widget {
//   margin-top: 16px;
//   display: flex;
//   justify-content: space-between;
//   position: relative;
//   .fc_wrapper {
//     flex: 1;
//     height: 200px;
//     background: #fff;
//     border-radius: 16px;
//     margin: 0 16px;
//     position: relative;
//     padding: 20px 0;
//     .title {
//       font-size: 20px;
//       color: #333;
//     }
//     .btn {
//       width: 60%;
//       position: absolute;
//       bottom: 20px;
//       left: 50%;
//       transform: translate(-50%, 0);
//       padding: 8px 11px;
//       background: rgb(148, 142, 142);
//       border-radius: 12px;
//       font-size: 15px;
//       cursor: pointer;
//       display: flex;
//       justify-content: space-around;
//       .btn_go {
//         margin-left: 10px;
//       }
//     }
//   }
//   .animation_one {
//     position: absolute;
//     left: 0;
//     right: 0;
//     top: 0;
//     bottom: 0;
//     opacity: 0;
//     z-index: -999;
//     .close_icon {
//       position: absolute;
//       right: 10px;
//       top: 10px;
//       cursor: pointer;
//       color: #999;
//       z-index: 999;
//     }
//     .content_wrap {
//       flex: 1;
//       background: #fff;
//       .bg {
//         width: 110px;
//         height: 100px;
//       }
//     }
//     .content_two_wrap {
//       flex: 1;
//       background: rgb(204, 197, 102);
//     }
//     .bg2 {
//       background: greenyellow;
//     }
//   }
// }
// .line_widget {
//   width: 100%;
//   text-align: center;
//   font-size: 20px;
//   margin-top: 20px;
// }
// .echart_wrapper{
//   height: 250px;
//   padding: 20px;
// }</style>