<template>
  <div class="container pagePay">
    <div class="page-status">
      <i class="iconfont icon-guanbi"></i>
      <div class="status-right flex">
        <h3>预订未成功</h3>
        <p>订单提交失败，请重试</p>
        <router-link to="/wx/orderList/all" class="btn default-btn">返回</router-link>
      </div>
    </div>
  </div>
</template>
<script>
  export default {
    name: '',
    data () {
      return {
        orderNumber : this.$route.params.orderNumber,
        loading:false,
        amount:''
      }
    },
    methods: {
      /**获取订单信息*/
      getOrderInfo(){
        this.loading=true;
        getOrderInfoByOrderNumber({orderNumber:this.orderNumber}).then(data=>{
          if(data.returnCode==200){
            this.amount=parseFloat(data.data.orderActualPrice).toFixed(2);
            this.loading=false;
          }else {
            Toast(data.returnMsg)
          }
        });
      },
    },
    mounted(){
    }
  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="stylus" scoped>
  @import "status.styl"
</style>
