notOpenCon.vue 8.85 KB
<template>
  <div class="not-open-container">
    <div class="header_widget">
      <div class="posi_wrap_one">
        <div class="h2_title">精品升级</div>
        <div class="h1_title title_margin">帮您创造新的业绩增长点</div>
        <div class="h4_title">专注经销商精品礼券转化升级服务,为经销商提供增值服务。</div>
        <div class="video_wrapper">
          <el-button size="small" type="primary" @click="openVideoWindow">接入演示</el-button>
        </div>
      </div>
      <div class="posi_wrap_two">
        <img class="minClass" src="../../assets/play_icon.png" alt="" @click="openVideoWindow" />
        <img class="bgClass" src="../../assets/upgrade_bg.png" />
      </div>
    </div>
    <div class="mini_main_widget">
      <div class="box_wrap margin_1">
        <div class="h3_title">您提供的</div>
        <div class="line_icon_text">
          <div class="icon_num">1</div>
          <div class="text">一键转发您门店的精品礼券</div>
          <!-- <img class="icon" src="../../assets/go_icon.png" /> -->
        </div>
      </div>
      <i class="el-icon-d-arrow-right"></i>
      <div class="box_wrap margin_2">
        <div class="h3_title">您将获得的</div>
        <div class="line_icon_text">
          <div class="icon_num">1</div>
          <div class="text">获得转化的精品收益</div>
        </div>
      </div>
      <div class="box_wrap">
        <div class="h3_title"></div>
        <div class="line_icon_text">
          <div class="icon_num">2</div>
          <div class="text">收款后实时分账,提供精品订单明细,保障合作财务透明</div>
        </div>
      </div>
    </div>
    <div class="main_con_widget">
      <template v-for="count in 2">
        <div :key="count" class="left_widget">
          <div class="wrapper">
            <div class="h3_title">案例1-广州某合资品牌丰田4S店</div>
            <div class="h3_title margin_3">合作之前</div>
            <div class="con2_widget margin_4">
              <div v-if="count == 1" class="text_label h5_title">太阳膜赠送成本:300元/车</div>
              <template v-if="count == 2">
                <div class="text_label h5_title">旗下门店数:28家</div>
                <div class="text_label h5_title">太阳膜赠送成本:300元/车</div>
                <div class="text_label h5_title">集团年度新车销量:26880</div>
                <div class="text_label h5_title">单店年度新车销量:960</div>
              </template>
            </div>
          </div>
          <div class="drive_line"></div>
          <div class="wrapper_2">
            <div class="h3_title">合作之后</div>
            <div v-if="count == 1" class="text_line_widget margin_4">
              <div class="h5_title">
                2020年6月份累计收益:
                <span class="price">53400</span>
                元
              </div>
              <div class="h5_title">
                2020年度累计收益约:
                <span class="price">65万</span>
                元
              </div>
            </div>
            <div v-if="count == 2" class="text_line_widget margin_4">
              <div class="h5_title">
                2020年集团累计收益约:
                <span class="price">53400</span>
                元
              </div>
              <div class="h5_title">
                平均单店收益约:
                <span class="price">81万</span>
                元
              </div>
            </div>
            <div v-if="count == 1" class="h5_title margin_5">太阳膜新增升级收益23400元,节省赠送膜成本100*300=300000元</div>
            <div v-if="count == 2" style="height: 16px" class="margin_5"></div>
            <div class="table_widget margin_4">
              <table>
                <tr v-if="count == 1">
                  <th v-for="(item, index) in tableHeader1" :key="index">{{ item }}</th>
                </tr>
                <tr v-if="count == 2">
                  <th v-for="(item, index) in tableHeader2" :key="index">{{ item }}</th>
                </tr>
                <tr v-if="count == 1">
                  <td v-for="(item, index) in tableTD1" :key="index">{{ item }}</td>
                </tr>
                <tr v-if="count == 2">
                  <td v-for="(item, index) in tableTD2" :key="index">{{ item }}</td>
                </tr>
              </table>
            </div>
          </div>
        </div>
      </template>
    </div>
    <el-dialog :visible.sync="videoShow" width="50%" :before-close="handleClose">
      <video v-if="videoShow" width="100%" height="100%" controls src="https://img02.glsx.com.cn/scrm/video/mid_video.mp4"></video>
    </el-dialog>
    <qrCode></qrCode>
  </div>
</template>

<script>
import qrCode from '../../components/qr-code/index.vue'
export default {
  name: '',
  components:{
    qrCode
  },
  data() {
    return {
      tableHeader1: ['6月新增销量', '转化率', '转化量', '平均客单价', '增值产值', '分店分润'],
      tableHeader2: ['门店年度新车销量', '年度转化率', '平均客单价', '门店年度产值', '集团年度产值'],
      tableTD1: [100, '52%', 52, 2283, 116716, 23400],
      tableTD2: [960, '63%', 1350, 816480, 22861440],
      videoShow: false
    }
  },
  mounted() {},
  methods: {
    openVideoWindow() {
      this.videoShow = true
    },
    handleClose() {
      this.videoShow = false
    }
  }
}
</script>
<style lang="scss" scoped>
.not-open-container {
  position: relative;
}
.header_widget {
  width: 100%;
  height: 360px;
  background: #ffffff;
  box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
  margin-top: 17px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0 80px;
  .posi_wrap_one {
    height: 100%;
    box-sizing: border-box;
    padding-top: 77px;
    overflow: hidden;
    .title_margin {
      margin: 5px 0 10px 0;
    }
    .video_wrapper {
      margin-top: 25px;
    }
  }
  .posi_wrap_two {
    width: 451px;
    height: 276px;
    position: relative;
    .minClass {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      z-index: 2;
      cursor: pointer;
    }
    .bgClass {
      width: 100%;
      height: 100%;
    }
  }
}
.mini_main_widget {
  width: 100%;
  height: 100px;
  background: #ffffff;
  box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
  box-sizing: border-box;
  margin: 10px 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  position: relative;
  >i{
    // font-size: 13px;
    position: absolute;
    top: 50%;
    left: 316px;
    transform: translate(0,-50%);
    color: #5850FF;
  }
  .box_wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    .line_icon_text {
      display: flex;
      align-items: center;
      margin-top: 15px;
      .icon_num {
        width: 16px;
        height: 16px;
        display: flex;
        flex-direction: center;
        justify-content: center;
        background: #5850ff;
        border-radius: 50%;
        color: white;
        font-size: 14px;
        font-weight: 400;
      }
      .text {
        font-size: 14px;
        font-weight: 400;
        color: #3a3a3a;
        margin: 0 5px;
      }
      .icon {
        width: 16px;
        height: 16px;
        cursor: pointer;
      }
    }
  }
  .margin_1 {
    margin-right: 200px;
    position: relative;
  }
  .margin_2 {
    margin-right: 100px;
  }
}
.main_con_widget {
  display: flex;
  justify-content: space-between;
  .left_widget,
  .right_widget {
    width: calc(50% - 5px);
    min-height: 404px;
    background: #ffffff;
    box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
  }
  .wrapper {
    box-sizing: border-box;
    padding: 25px 0 0 19px;
  }
  .con2_widget {
    display: flex;
    flex-wrap: wrap;
    height: 64px;
    .text_label {
      width: 50%;
      margin-bottom: 5px;
    }
  }
  .drive_line {
    margin: 0 auto;
    width: calc(100% - 40px);
    height: 1px;
    background: #e8e8ea;
    margin-bottom: 19px;
  }
  .wrapper_2 {
    padding: 0 20px;
    .text_line_widget {
      display: flex;
      align-items: center;
      justify-content: space-between;
      .price {
        font-size: 18px;
      }
    }
    .table_widget {
      width: 100%;
      height: 94px;
      background: #f6f6f7;
      overflow: hidden;
      td,
      th {
        border: 1px solid #e0e0e4;
        font-size: 14px;
        font-weight: 400;
        color: #3a3a3a;
      }
      th,
      td {
        height: 45px;
        text-align: center;
        line-height: 45px;
      }
      table {
        width: 100%;
        border-collapse: collapse;
      }
    }
  }
  .margin_3 {
    margin-top: 30px;
  }
  .margin_4 {
    margin-top: 10px;
  }
  .margin_5 {
    margin-top: 25px;
  }
}
</style>