(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-60864444"],{"062f":function(t,e,r){"use strict";r.r(e);var a=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"app-list content-layer min-h"},[r("div",{staticClass:"list-head"},[r("p",[t._v(t._s(t.$t("place_1")))])]),r("Steps",{staticClass:"steps",attrs:{current:t.current}},[r("Step",{attrs:{title:t.$t("place_1"),content:""}}),r("Step",{attrs:{title:t.$t("place_2"),content:""}}),r("Step",{staticStyle:{width:"120px"},attrs:{title:t.$t("place_3"),content:""}})],1),r("div",{staticClass:"result"},[r("h3",{staticClass:"result__h"},[t._v(t._s(t.isSucceed?t.$t("result_4"):t.$t("result_pendding")))]),r("p",{staticClass:"result__id"},[t._v(t._s(t.$t("result_1"))+t._s(t.order_id))]),r("div",[r("router-link",{attrs:{to:{name:"myOrder"}}},[r("Button",{staticClass:"result__btn",attrs:{size:"large"}},[t._v(t._s(t.$t("result_2")))])],1),r("router-link",{attrs:{to:{name:"mySetMeal"}}},[r("Button",{staticClass:"result__btn",attrs:{size:"large",type:"primary"}},[t._v(t._s(t.$t("result_3")))])],1)],1)])],1)},s=[],n=r("f8b7"),l=r("c276"),u={name:"",data:function(){return{current:2,access_token:Object(l["g"])(),isSucceed:!1,order_id:""}},created:function(){this.order_id=this.$route.query.id,this.getOrderRes()},methods:{getOrderRes:function(){var t=this,e=1,r=setInterval((function(){t.isSucceed?clearInterval(r):(t.APIPaySuccess(),e+=1,e>30&&clearInterval(r))}),500)},APIPaySuccess:function(){var t=this,e=new FormData;e.append("access_token",t.access_token),e.append("order_id",t.order_id),Object(n["e"])(e).then((function(e){e.data.is_pay&&(t.isSucceed=!0)}))}}},o=u,c=(r("44f3"),r("4ac2")),i=Object(c["a"])(o,a,s,!1,null,"1ed7ad2b",null);e["default"]=i.exports},2598:function(t,e,r){},"44f3":function(t,e,r){"use strict";r("2598")},f8b7:function(t,e,r){"use strict";r.d(e,"a",(function(){return s})),r.d(e,"f",(function(){return n})),r.d(e,"g",(function(){return l})),r.d(e,"h",(function(){return u})),r.d(e,"e",(function(){return o})),r.d(e,"c",(function(){return c})),r.d(e,"b",(function(){return i})),r.d(e,"d",(function(){return d}));var a=r("66df"),s=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.Mall_Mall.CreateOrder",data:t})},n=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.Mall_Mall.PreviewOrder",data:t})},l=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.Mall_Mall.PreviewPay",data:t})},u=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.Mall_Mall.StartPay",data:t})},o=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.Mall_Mall.PaySuccess",data:t})},c=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.Mall_Mall.GetMyOrderList",data:t})},i=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.Mall_Mall.GetMyFlowList",data:t})},d=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.Mall_Mall.GetProductMoreList",data:t})}}}]);