require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_user/user/otherPaymentOrderRemain"],{716:function(e,n,t){"use strict";(function(e,n){var r=t(4);t(26);r(t(25));var o=r(t(717));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t(1)["default"],t(2)["createPage"])},717:function(e,n,t){"use strict";t.r(n);var r=t(718),o=t(720);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);t(722);var a,c=t(34),u=Object(c["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],a);u.options.__file="pages_user/user/otherPaymentOrderRemain.vue",n["default"]=u.exports},718:function(e,n,t){"use strict";t.r(n);var r=t(719);t.d(n,"render",(function(){return r["render"]})),t.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(n,"components",(function(){return r["components"]}))},719:function(e,n,t){"use strict";var r;t.r(n),t.d(n,"render",(function(){return o})),t.d(n,"staticRenderFns",(function(){return a})),t.d(n,"recyclableRender",(function(){return i})),t.d(n,"components",(function(){return r}));var o=function(){var e=this,n=e.$createElement,t=(e._self._c,e.payDelivery.toFixed(2)),r=null!=e.order?e.order.payPrice.toFixed(2):null,o=null!=e.order?e.order.payMoney.toFixed(2):null;e.$mp.data=Object.assign({},{$root:{g0:t,g1:r,g2:o}})},i=!1,a=[];o._withStripped=!0},720:function(e,n,t){"use strict";t.r(n);var r=t(721),o=t.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);n["default"]=o.a},721:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=t(273),o={data:function(){return{payDelivery:0,payMoney:0,config:null,payType:1,payLimitTime:null,order:null,user:null}},onLoad:function(e){this.orderId=JSON.parse(e.orderId),this.getStoreOrderById()},methods:{copyOrderSn:function(n){e.setClipboardData({data:n,success:function(){e.showToast({title:"内容已成功复制到剪切板",icon:"none"})}})},getStoreOrderById:function(){var n=this,t={orderId:this.orderId},o=this;e.showLoading(),(0,r.getStoreOrderById)(t).then((function(t){200==t.code?(console.log(t),e.hideLoading(),o.order=t.order,n.payDelivery=o.order.payDelivery):e.showToast({icon:"none",title:t.msg})}),(function(e){}))},pay:function(){var n=this;e.login({success:function(e){console.log(e),n.otherPaymentRemain(e.code)}})},otherPaymentRemain:function(n){var t={orderId:this.order.id,code:n};e.showLoading(),(0,r.otherPaymentRemain)(t).then((function(n){if(200==n.code){var t=JSON.parse(n.result);e.requestPayment({provider:"wxpay",timeStamp:t.timeStamp,nonceStr:t.nonceStr,package:t.package,signType:t.signType,paySign:t.paySign,success:function(n){e.hideLoading(),e.redirectTo({url:"otherPaySuccess"})},fail:function(n){e.showToast({icon:"none",title:"fail:"+JSON.stringify(n)}),console.log("fail:"+JSON.stringify(n)),e.hideLoading()}})}else e.showToast({icon:"none",title:n.msg})}),(function(e){}))}}};n.default=o}).call(this,t(2)["default"])},722:function(e,n,t){"use strict";t.r(n);var r=t(723),o=t.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);n["default"]=o.a},723:function(e,n,t){}},[[716,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages_user/user/otherPaymentOrderRemain.js.map