process.vue 4.08 KB
<template>
  <div class="main">
    <div class="process-title">充值流程</div>
    <div class="process-step-panel">
      <div class="van-steps van-steps--vertical">
        <div class="van-steps__items">
          <div class="van-hairline van-step van-step--vertical van-step--finish">
            <div class="van-step__title" style="color: rgb(0, 143, 255);">
              <h3 >支付成功</h3>
            </div>
            <div class="van-step__circle-container">
              <div class="step-in">
              </div>
            </div>
            <div class="van-step__line" style="background: rgb(0, 143, 255);"></div>
          </div>
          <div  class="van-hairline van-step van-step--vertical van-step--process">
            <div class="van-step__title van-step__title--active" style="color: rgb(0, 143, 255);">
              <h3>充值已提交</h3>
            </div>
            <div class="van-step__circle-container">
              <div class="step-in">
              </div>
            </div>
            <div class="van-step__line"></div>
          </div>
          <div  class="van-hairline van-step van-step--vertical">
            <div class="van-step__title"><h3 data-v-5fb13f3a="">预计10s内到账</h3>
              <p>具体到账情况以运营商为准,如有疑问,请致电400-028-0503联系我们</p></div>
            <div class="van-step__circle-container">
              <div class="step-in-d">
              </div>
            </div>
            <div class="van-step__line"></div>
          </div>
        </div>
      </div>
    </div>
    <div class="process-detail">
      <div class="process-detail-name">{{ productName }}</div>
      <div class="process-detail-account">充值账号:{{ rechargeNumber }}</div>
      <div class="process-detail-operation">
        <div class="process-recharge" @click="getAgainPay">继续充值</div>
      </div>
    </div>
  </div>
</template>

<script type='text/ecmascript-6'>
export default {
  name: "process",
  data() {
    return {
      status: 1,
      productName: '',
      rechargeNumber: ''
    }
  },
  mounted() {
    this.appHide();
    this.rechargeNumber = this.$route.query.rechargeNumber;
    this.productName = this.$route.query.productName;
  },
  methods: {
    getAgainPay() {
      this.$router.go(-1);
    }
  }
}
</script>

<style scoped lang="scss">
.main {
  .process-title {
    margin-top: 16px;
    line-height: 20px;
    padding-left: 20px;
    font-weight: 700;
    color: #333333;
    font-size: 14px;
  }

  .process-step-panel {
    border-bottom: 6px solid #F4F4F4;
    padding: 0px 10px 20px 10px;
    .van-step--vertical {
      padding: 16px 16px 16px 0;
    }
    .van-step__circle-container {
      top: 26px;
    }
    .van-step__line {
      height: 30px;
      top: 38px;
    }
    h3 {
      font-size: 16px;
      font-weight: 400;
      line-height: 22px;
    }
    p {
      font-size: 14px;
      font-weight: 400;
      color: #666666;
      line-height: 20px;
      margin-top: 10px;
    }
    .step-in {
      width: 10px;
      height: 10px;
      background: #008FFF;
      border-radius: 50%;
      box-shadow: 0px 0px 6px rgba(0,143,255,1);
    }
    .step-in-d {
      width: 10px;
      height: 10px;
      background: #E9E9E9;
      border-radius: 50%;
    }
  }

  .process-detail {
    margin-top: 30px;
    text-align: center;
    line-height: 30px;

    &-name {
      font-size: 16px;
      font-weight: 700;
      color: #333333;
    }

    &-account {
      font-size: 14px;
      font-weight: 400;
      color: #666666;
    }
  }

  .process-detail-operation {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    > div {
      width: 116px;
      height: 28px;
      line-height: 28px;
      text-align: center;
      border-radius: 70px;
      font-size: 12px;
    }

    .process-recharge {
      background: rgba(0, 143, 255, 0.08);
      border: 1px solid #008FFF;
      margin-right: 10px;
      font-weight: 400;
      color: #008FFF;
    }

    .process-order {
      background: #FFFFFF;
      border: 1px solid #E9E9E9;
      font-weight: 400;
      color: #666666;
    }
  }
}
</style>