step-done.vue 2.1 KB
<template>
  <div class="step-done">
    <div class="bind-img">
      <div class="sprite-icon icon-car-bind"></div>
      挪车贴已绑定
    </div>
    <div class="tips">
      注意:
      <ul>
        <li><span>1、</span>请将挪车码贴放在挡风玻璃附近,并确保挪车码清晰无遮挡。</li>
        <li><span>2、</span>他人拨打挪车贴上的400服务热线并输入挪车码后,系统将自动转接到您的号码({{phone}})</li>
      </ul>
    </div>
    <div class="marketing-box">
      <div class="img">
        <img src="@a/images/marketing.png">
      </div>
      <div
        class="btn"
        @click="jump"
        @touchstart="touchstart"
        @touchend="touchend"
      >免费领取</div>
    </div>
  </div>
</template>

<script type='text/ecmascript-6'>
export default {
  name: 'step-done',
  data () {
    return {
      phone: ''
    }
  },
  mounted () {
    this.phone = this.$store.state.phone
  },
  methods: {
    jump () {
      this.$router.replace({ name: 'equity.index' })
    }
  }
}
</script>

<style scoped lang='scss'>
.step-done {
  padding-bottom: 20px;
  .bind-img {
    padding: 40px 0 24px;
    font-size: 14px;
    color: #008eff;
    text-align: center;
    .sprite-icon {
      margin: 0 auto 16px;
    }
  }
  .tips {
    width: 236px;
    margin: 0 auto 50px;
    font-size: 12px;
    color: #3b3b3b;
    line-height: 24px;
    li {
      display: flex;
    }
  }
  .marketing-box {
    padding: 0 20px;
    position: relative;
    .img {
      width: 100%;
      height: 100%;
      box-shadow: 0 2px 8px 0 rgba(159, 31, 46, 0.35);
      border-radius: 18px;
    }
    .btn {
      background-image: linear-gradient(
        180deg,
        #f6d99b 0%,
        #ffba50 100%,
        #e9b970 100%
      );
      box-shadow: 0 2px 8px 0 rgba(251, 213, 132, 0.41);
      border-radius: 20px;
      width: 266px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: #ba2f40;
      position: absolute;
      top: 265px;
      left: 50%;
      transform: translateX(-50%);
    }
  }
}
</style>