require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/alipay_return/alipay_return"],{"0e5a":function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a("9ecc"),n=getApp(),o={data:function(){return{orderId:"",payPrice:"",order_pay_info:{paid:0,_status:{}},isAuto:!1,isShowAuth:!1,status:0,msg:"",payResult:"订单查询中...",payTime:"",theme:n.globalData.theme,fromType:""}},onLoad:function(t){},methods:{getShowInfo:function(t){var e=this;"svip"!==this.fromType?setTimeout((function(){e.getOrderPayInfo()}),200):(this.alipayQueryPay(),this.order_pay_info.payPrice=t.payPrice)},getOrderPayInfo:function(){var e=this;t.showLoading({title:"正在加载中"}),(0,i.getOrderDetail)(e.orderId).then((function(a){e.$set(e,"order_pay_info",a.data),e.alipayQueryPay(),t.hideLoading()})).catch((function(e){t.hideLoading()}))},alipayQueryPay:function(){var e=this;(0,i.alipayQueryPayResult)(this.orderId).then((function(a){a.data?(e.payResult="支付成功",t.setNavigationBarTitle({title:"支付成功"}),e.order_pay_info.paid=1):(e.payResult="支付失败",t.setNavigationBarTitle({title:"支付失败"}),e.order_pay_info.paid=2),t.hideLoading()})).catch((function(a){return e.order_pay_info.paid=2,e.payResult=a,e.msg=a,t.hideLoading(),e.$util.Tips({title:a})}))},goOrderDetails:function(){t.navigateTo({url:"svip"!==this.fromType?"/pages/goods/order_list/index":"/pages/activity/vip_paid/index"})},goIndex:function(){this.$util.navigateTo("/pages/index/index")}}};e.default=o}).call(this,a("df3c")["default"])},"35c8":function(t,e,a){"use strict";a.r(e);var i=a("3b89"),n=a("a9dd");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("5a49");var r=a("828b"),u=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=u.exports},"3b89":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},n=[]},"5a49":function(t,e,a){"use strict";var i=a("cbab"),n=a.n(i);n.a},a9dd:function(t,e,a){"use strict";a.r(e);var i=a("0e5a"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},cbab:function(t,e,a){},f9d7:function(t,e,a){"use strict";(function(t,e){var i=a("47a9");a("1d3c");i(a("3240"));var n=i(a("35c8"));t.__webpack_require_UNI_MP_PLUGIN__=a,e(n.default)}).call(this,a("3223")["default"],a("df3c")["createPage"])}},[["f9d7","common/runtime","common/vendor"]]]);