"use strict";var e=require("../common/vendor.js"),n=require("../api/courseOrder.js");require("../common/request.js");const a={data(){return{order:null}},onLoad(r){e.index.setNavigationBarTitle({title:"\u652F\u4ED8\u7ED3\u679C"}),this.orderId=r.orderId,this.getCourseOrderById()},methods:{back(){e.index.switchTab({url:"/pages/index/index"})},getCourseOrderById(){var r={orderId:this.orderId},t=this;e.index.showLoading(),n.getCourseOrderById(r).then(o=>{e.index.hideLoading(),o.code==200?t.order=o.order:e.index.showToast({icon:"none",title:o.msg})},o=>{})},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"})}})}}};function c(r,t,o,_,d,i){return{a:e.o(s=>i.back()),b:e.t(d.order.orderCode),c:e.o(s=>i.copyTest(d.order.orderCode)),d:e.t(d.order.payMoney.toFixed(2)),e:e.t(d.order.createTime)}}var u=e._export_sfc(a,[["render",c],["__file","E:/Project/2023/\u95EE\u8BCA\u5E73\u53F0/his_user_miniapp/pages_order/courseOrderPaySuccess.vue"]]);wx.createPage(u);
