frontend_h5/static/js/pages-product-paying.e50d5c...

1 line
1.4 KiB
JavaScript
Raw Permalink Normal View History

2024-06-17 15:25:46 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-paying"],{"025c":function(n,e,t){"use strict";t.r(e);var o=t("c264"),i=t("b27b");for(var u in i)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(u);var a=t("f0c5"),c=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,"6a3e0ceb",null,!1,o["a"],void 0);e["default"]=c.exports},b27b:function(n,e,t){"use strict";t.r(e);var o=t("bece"),i=t.n(o);for(var u in o)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(u);e["default"]=i.a},bece:function(n,e,t){"use strict";t("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={data:function(){return{price:""}},onLoad:function(n){console.log(n),uni.showLoading({title:"正在支付..."}),this.getData(n.order_no,n.money)},methods:{getData:function(n,e){this.api.payorder({order_no:n,pay_type:1}).then((function(n){console.log(n),200==n.data.code?(uni.hideLoading(),uni.showToast({title:"支付成功",icon:"success",duration:1200}),setTimeout((function(){uni.reLaunch({url:"/pages/product/overpay?money="+e})}),1200)):(uni.hideLoading(),uni.showToast({icon:"none",title:n.data.message}))}))}}};e.default=o},c264:function(n,e,t){"use strict";t.d(e,"b",(function(){return o})),t.d(e,"c",(function(){return i})),t.d(e,"a",(function(){}));var o=function(){var n=this.$createElement,e=this._self._c||n;return e("v-uni-view")},i=[]}}]);