!function(){function n(n,e,t,a,u,r,i){try{var o=n[r](i),c=o.value}catch(s){return void t(s)}o.done?e(c):Promise.resolve(c).then(a,u)}System.register(["./index-legacy.77fd7daf.js","./index-legacy.9e1cc14a.js","./index-legacy.2393a936.js","./index-legacy.16d6e7da.js","./index-legacy.8792d9c7.js","./index-legacy.6d038ac6.js","./index-legacy.140ee8f4.js","./index.module-legacy.f370f87c.js","./index-legacy.4b2a6a63.js","./icon_member-legacy.76df18e4.js","./index-legacy.3aa427b0.js"],(function(e){"use strict";var t,a,u,r,i,o,c,s,l,d,f,p,v,y,g,m,b,x,T,j,z;return{setters:[function(n){t=n.d,a=n.O,u=n.S,r=n.U,i=n.j,o=n.u,c=n.z,s=n.bz,l=n.F,d=n.g,f=n.w},function(n){p=n.C},function(n){v=n.C},function(n){y=n.I},function(n){g=n.R,m=n.C},function(n){b=n.C},function(n){x=n.T},function(n){T=n.s},function(n){j=n.o},function(n){z=n.i},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,r;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:r=n.sent,console.log(r.data),t.value=r.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,r){var i=a.apply(e,t);function o(e){n(i,u,r,o,c,"next",e)}function c(e){n(i,u,r,o,c,"throw",e)}o(void 0)}))});return function(n){return u.apply(this,arguments)}}();return r((function(){h()})),function(){return i("div",null,[i(x,null,{default:function(){return[i(b,{isFixed:!1,border:!1,color:"#131415"},null)]}}),i("div",{class:T.tradeList},[i(p,{border:!1,class:T.orderDetailGroup},{default:function(){return[i(v,{border:!1,title:o(t.value.createTime).format("YYYY-MM-DD HH:mm"),value:j[t.value.status],valueClass:T.tradeType},null),t.value.orderDetailList&&t.value.orderDetailList.map((function(n){return i(v,{border:!1,class:T.orderSection},{icon:function(){var e;return i(y,{src:"VIP"===n.goodType?z:null===(e=n.bizInfo)||void 0===e?void 0:e.bizCover,class:T.tradeLogo},null)},title:function(){var e,t,a;return i("div",{class:T.goodsSection},[i("div",{class:[T.title]},[i("span",{class:[T.name,"van-ellipsis"]},[null===(e=n.bizInfo)||void 0===e?void 0:e.bizName]),i("span",{class:T.desc},[c("¥"),s(n.actualPrice)])]),i("div",{class:T.description},[i("span",{class:[T.d,"van-ellipsis"]},[null===(t=n.bizInfo)||void 0===t?void 0:t.bizDesc]),"VIP"!==n.goodType&&i(l,null,["TENANT_ALBUM"===n.goodType?i("span",{class:T.t},[c("x"),null===(a=n.bizInfo)||void 0===a?void 0:a.bizValidTime,c("个月")]):i("span",{class:T.t},[c("永久")])])])])}})})),i("div",{class:T.paymentPrice},[["PAYING","WAIT_PAY"].includes(t.value.status)?"需付款":"实付款",i("span",null,[i("i",null,[c("¥")]),s(t.value.actualPrice)])])]}}),i("div",{class:T.optionGroup},[i(g,{class:T.optionRow},{default:function(){return[i(m,{span:"8",offset:1},{default:function(){return[c("订单号:")]}}),i(m,{span:"14"},{default:function(){return[t.value.orderNo]}}),i(m,{span:"1"},{default:function(){return[c(" ")]}})]}}),i(g,{class:T.optionRow},{default:function(){return[i(m,{span:"8",offset:1},{default:function(){return[c("交易流水号:")]}}),i(m,{span:"14"},{default:function(){return[t.value.transNo]}}),i(m,{span:"1"},{default:function(){return[c(" ")]}})]}}),i(g,{class:T.optionRow},{default:function(){return[i(m,{span:"8",offset:1},{default:function(){return[c("创建时间:")]}}),i(m,{span:"14"},{default:function(){return[t.value.createTime]}}),i(m,{span:"1"},{default:function(){return[c(" ")]}})]}}),i(g,{class:T.optionRow},{default:function(){return[i(m,{span:"8",offset:1},{default:function(){return[c("付款时间:")]}}),i(m,{span:"14"},{default:function(){return[t.value.payTime]}}),i(m,{span:"1"},{default:function(){return[c(" ")]}})]}})])])])}}}))}}}))}();
