require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_user/user/paymentOrderRemain"],{692:function(e,n,r){"use strict";(function(e,n){var t=r(4);r(26);t(r(25));var o=t(r(693));e.__webpack_require_UNI_MP_PLUGIN__=r,n(o.default)}).call(this,r(1)["default"],r(2)["createPage"])},693:function(e,n,r){"use strict";r.r(n);var t=r(694),o=r(696);for(var i in o)["default"].indexOf(i)<0&&function(e){r.d(n,e,(function(){return o[e]}))}(i);r(698);var a,u=r(34),s=Object(u["default"])(o["default"],t["render"],t["staticRenderFns"],!1,null,null,null,!1,t["components"],a);s.options.__file="pages_user/user/paymentOrderRemain.vue",n["default"]=s.exports},694:function(e,n,r){"use strict";r.r(n);var t=r(695);r.d(n,"render",(function(){return t["render"]})),r.d(n,"staticRenderFns",(function(){return t["staticRenderFns"]})),r.d(n,"recyclableRender",(function(){return t["recyclableRender"]})),r.d(n,"components",(function(){return t["components"]}))},695:function(e,n,r){"use strict";var t;r.r(n),r.d(n,"render",(function(){return o})),r.d(n,"staticRenderFns",(function(){return a})),r.d(n,"recyclableRender",(function(){return i})),r.d(n,"components",(function(){return t}));var o=function(){var e=this,n=e.$createElement,r=(e._self._c,e.payDelivery.toFixed(2)),t=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:r,g1:t,g2:o}})},i=!1,a=[];o._withStripped=!0},696:function(e,n,r){"use strict";r.r(n);var t=r(697),o=r.n(t);for(var i in t)["default"].indexOf(i)<0&&function(e){r.d(n,e,(function(){return t[e]}))}(i);n["default"]=o.a},697:function(e,n,r){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t=r(163),o=r(273),i={data:function(){return{payDelivery:0,order:null,user:null,orderId:null}},onLoad:function(n){this.orderId=JSON.parse(n.orderId),console.log(this.orderId),this.getUserInfo(),e.showShareMenu({withShareTicket:!0,menus:["shareAppMessage"]})},onShow:function(){this.getStoreOrderById()},onShareAppMessage:function(e){return{title:"帮TA支付",path:"/pages_user/user/otherPaymentOrderRemain?orderId="+this.orderId,imageUrl:"https://hos-1309931967.cos.ap-chongqing.myqcloud.com/fs/20250814/d64ef5a6ebdb410a84a31dbbac47a942.png"}},methods:{getUserInfo:function(){var n=this;(0,t.getUserInfo)().then((function(r){200==r.code?null!=r.user&&(n.user=r.user):e.showToast({icon:"none",title:"请求失败"})}),(function(e){}))},copyOrderSn:function(n){e.setClipboardData({data:n,success:function(){e.showToast({title:"内容已成功复制到剪切板",icon:"none"})}})},getStoreOrderById:function(){var n=this,r={orderId:this.orderId},t=this;e.showLoading(),(0,o.getStoreOrderById)(r).then((function(r){200==r.code?(console.log(r),e.hideLoading(),t.order=r.order,n.payDelivery=t.order.payDelivery):e.showToast({icon:"none",title:r.msg})}),(function(e){}))},payOrder:function(){var n={orderId:this.order.id,payType:1},r=this;e.showLoading(),(0,o.payRemain)(n).then((function(n){200==n.code?(console.log(n),e.requestPayment({provider:"wxpay",timeStamp:n.result.timeStamp,nonceStr:n.result.nonceStr,package:n.result.packageValue,signType:n.result.signType,paySign:n.result.paySign,success:function(n){e.hideLoading(),e.redirectTo({url:"success?order="+JSON.stringify(r.order)})},fail:function(n){console.log("fail:"+JSON.stringify(n)),e.hideLoading()}})):e.showToast({icon:"none",title:n.msg})}),(function(e){}))}}};n.default=i}).call(this,r(2)["default"])},698:function(e,n,r){"use strict";r.r(n);var t=r(699),o=r.n(t);for(var i in t)["default"].indexOf(i)<0&&function(e){r.d(n,e,(function(){return t[e]}))}(i);n["default"]=o.a},699:function(e,n,r){}},[[692,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages_user/user/paymentOrderRemain.js.map