!function(){function n(n,e,t,a,u,i,o){try{var r=n[i](o),c=r.value}catch(s){return void t(s)}r.done?e(c):Promise.resolve(c).then(a,u)}System.register(["./index-legacy.e29ebc18.js","./index-legacy.1c5e6fba.js","./index-legacy.06d9aa13.js","./index-legacy.bd25e127.js","./index-legacy.ea7a351c.js","./index-legacy.328e8c31.js","./index-legacy.2cebfa6d.js","./index.module-legacy.23f30c20.js","./index-legacy.4b2a6a63.js","./icon_member-legacy.76df18e4.js","./index-legacy.ec3a5bfc.js","./use-height-legacy.ea04c122.js","./index-legacy.8ab2848d.js"],(function(e){"use strict";var t,a,u,i,o,r,c,s,l,d,f,v,p,g,y,b,m,x,j,T,z;return{setters:[function(n){t=n.d,a=n.O,u=n.S,i=n.U,o=n.j,r=n.u,c=n.z,s=n.by,l=n.F,d=n.g,f=n.w},function(n){v=n.C},function(n){p=n.C},function(n){g=n.I},function(n){y=n.R,b=n.C},function(n){m=n.C},function(n){x=n.T},function(n){j=n.s},function(n){T=n.o},function(n){z=n.i},function(){},function(){},function(){}],execute:function(){e("default",t({name:"trade-detail",setup:function(){var e=a(),t=u({}),h=function(){var a,u=(a=regeneratorRuntime.mark((function n(a){var u,i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,u="TEACHER"===d.platformType?"/api-teacher":"/api-student",n.next=4,f.get("".concat(u,"/userOrder/detailByOrderNo/").concat(e.query.orderNo),{hideLoading:a});case 4:i=n.sent,console.log(i.data),t.value=i.data,n.next=11;break;case 9:n.prev=9,n.t0=n.catch(0);case 11:case"end":return n.stop()}}),n,null,[[0,9]])})),function(){var e=this,t=arguments;return new Promise((function(u,i){var o=a.apply(e,t);function r(e){n(o,u,i,r,c,"next",e)}function c(e){n(o,u,i,r,c,"throw",e)}r(void 0)}))});return function(n){return u.apply(this,arguments)}}();return i((function(){h()})),function(){return o("div",null,[o(x,null,{default:function(){return[o(m,{isFixed:!1,border:!1,color:"#131415"},null)]}}),o("div",{class:j.tradeList},[o(v,{border:!1,class:j.orderDetailGroup},{default:function(){return[o(p,{border:!1,title:r(t.value.createTime).format("YYYY-MM-DD HH:mm"),value:T[t.value.status],valueClass:j.tradeType},null),t.value.orderDetailList&&t.value.orderDetailList.map((function(n){return o(p,{border:!1,class:j.orderSection},{icon:function(){var e;return o(g,{src:"VIP"===n.goodType?z:null===(e=n.bizInfo)||void 0===e?void 0:e.bizCover,class:j.tradeLogo},null)},title:function(){var e,t,a,u,i;return o("div",{class:j.goodsSection},[o("div",{class:[j.title]},[o("span",{class:[j.name,"van-ellipsis"]},[null===(e=n.bizInfo)||void 0===e?void 0:e.bizName]),o("span",{class:j.desc},[c("¥"),s(n.actualPrice)])]),o("div",{class:j.description},[o("span",{class:[j.d,"van-ellipsis"]},[null===(t=n.bizInfo)||void 0===t?void 0:t.bizDesc]),"VIP"!==n.goodType&&o(l,null,["TENANT_ALBUM"===n.goodType?o("span",{class:j.t},[c("x"),null===(a=n.bizInfo)||void 0===a?void 0:a.bizValidTime,c("个月")]):o("span",{class:j.t},[c("永久")])])]),(null===(u=n.bizInfo)||void 0===u?void 0:u.bizMusicCount)>0&&o("span",{class:j.songLength},[c("共"),null===(i=n.bizInfo)||void 0===i?void 0:i.bizMusicCount,c("首")])])}})})),o("div",{class:j.paymentPrice},[["PAYING","WAIT_PAY"].includes(t.value.status)?"需付款":"实付款",o("span",null,[o("i",null,[c("¥")]),s(t.value.actualPrice)])])]}}),o("div",{class:j.optionGroup},[o(y,{class:j.optionRow},{default:function(){return[o(b,{span:"8",offset:1},{default:function(){return[c("订单号:")]}}),o(b,{span:"14"},{default:function(){return[t.value.orderNo]}}),o(b,{span:"1"},{default:function(){return[c(" ")]}})]}}),o(y,{class:j.optionRow},{default:function(){return[o(b,{span:"8",offset:1},{default:function(){return[c("交易流水号:")]}}),o(b,{span:"14"},{default:function(){return[t.value.transNo]}}),o(b,{span:"1"},{default:function(){return[c(" ")]}})]}}),o(y,{class:j.optionRow},{default:function(){return[o(b,{span:"8",offset:1},{default:function(){return[c("创建时间:")]}}),o(b,{span:"14"},{default:function(){return[t.value.createTime]}}),o(b,{span:"1"},{default:function(){return[c(" ")]}})]}}),o(y,{class:j.optionRow},{default:function(){return[o(b,{span:"8",offset:1},{default:function(){return[c("付款时间:")]}}),o(b,{span:"14"},{default:function(){return[t.value.payTime]}}),o(b,{span:"1"},{default:function(){return[c(" ")]}})]}})])])])}}}))}}}))}();