<template>
  <div class="subPage">
    <div>
      <div class="flex-h">
        <div class="flex-item">
          <div>
          <el-input
            placeholder="请输入手机号"
            v-model="phone"
            clearable>
          </el-input>
          </div>
        </div>
        <el-button type="danger" @click="toVerificationList">立即核销</el-button>
      </div>
    </div>
  </div>
</template>

<script>

export default {
  name: '',
  data () {
    return {
      phone: '',
    }
  },
  mounted () {
    this.$nextTick(function () { })
  },
  methods: {
    toVerificationList () { // 前往核销列表
      this.$router.push({name: 'phoneVerificationList', query: {tel: this.phone}})
    },
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss" scoped>
.subPage {
  > div {
    width: 100%;
    margin: 40px auto 0;
    > div {
      width: 400px;
      margin: 0 auto;
      white-space: nowrap;
      font-size: 0;
      > div {
        margin-right: 20px;
      }
    }
  }
}
</style>
