"use strict";var e=require("../common/vendor.js"),a=require("../api/integral.js");require("../common/request.js");const s={data(){return{order:null}},onLoad(r){e.index.setNavigationBarTitle({title:"\u652F\u4ED8\u7ED3\u679C"}),e.index.$emit("refreshStoreOrder"),this.orderId=r.orderId,this.getIntegralOrderById()},methods:{getIntegralOrderById(){var r={orderId:this.orderId},d=this;e.index.showLoading(),a.getIntegralOrderById(r).then(t=>{e.index.hideLoading(),t.code==200?d.order=t.data:e.index.showToast({icon:"none",title:t.msg})},t=>{})},copyTest(r){e.index.setClipboardData({data:r,success:()=>{e.index.showToast({title:"\u5185\u5BB9\u5DF2\u6210\u529F\u590D\u5236\u5230\u526A\u5207\u677F",icon:"none"})}})},showOrderDetails(r){console.log(r),e.index.redirectTo({url:"./integralOrderDetails?orderId="+r})}}};function c(r,d,t,g,o,i){return{a:e.o(n=>i.showOrderDetails(o.order.orderId)),b:e.t(o.order.orderCode),c:e.o(n=>i.copyTest(o.order.orderCode)),d:e.t(o.order.integral),e:e.t(o.order.createTime)}}var l=e._export_sfc(s,[["render",c],["__file","E:/Project/2023/\u95EE\u8BCA\u5E73\u53F0/his_user_miniapp/pages_user/integralOrderPaySuccess.vue"]]);wx.createPage(l);
