index.ae072a00.js 29 KB

1
  1. import{C as V}from"./index.36a55b1c.js";import{d,i as e,A as s,by as y,F as _,x as T,N as j,$ as N,bz as z,Q as E,T as C,p as H,Y as G,e as S,s as P,D as k,B as x,aT as F}from"./index.7994470a.js";import{C as q}from"./index.895996db.js";import{U as w}from"./index.89f739a7.js";import{P as X}from"./index.981b3b32.js";import{C as D}from"./index.c5bf3ab5.js";import{o as i,b as M,r as Q}from"./orderStatus.020f67a3.js";import{C as a}from"./index.777f4790.js";import{C as A}from"./index.9cdb5783.js";import{I as u}from"./index.2fbdc579.js";import{i as O}from"./icon_teacher.40b6f077.js";import{C as R,a as U}from"./index.433956a2.js";import{T as J}from"./index.0262b810.js";import{g as B}from"./tradeOrder.a63e19cc.js";import{U as K}from"./index.2443fe9f.js";import"./index.29eb1675.js";import"./index.c9af17c2.js";import"./icon_checkbox_default.2fe5d57e.js";import"./index.570461cd.js";import"./index.f9e55fe3.js";import"./index.80389b79.js";import"./index.3dd26d27.js";import"./use-id.117b75b2.js";import"./index.a241f507.js";import"./index.9dc8689d.js";import"./hooks.04c1f931.js";import"./index.0a2aeb2c.js";import"./use-height.ffa5a0f3.js";import"./index.e6c57a63.js";import"./item.80e0610c.js";const Y="_tips_5sbtb_6",Z="_paymentInfo_5sbtb_31",W="_protocol_5sbtb_37",$="_btnGroup_5sbtb_41",ee="_priceSection_5sbtb_51",te="_price_5sbtb_51",re="_priceUnit_5sbtb_62";var m={"order-detail":"_order-detail_5sbtb_1",tips:Y,paymentInfo:Z,protocol:W,btnGroup:$,priceSection:ee,price:te,priceUnit:re};const se="_videoOrder_50lha_1",ie="_tag_50lha_1",oe="_title_50lha_12",ae="_titleSong_50lha_17",le="_teacher_50lha_21",ce="_price_50lha_27",ne="_userLogo_50lha_37",ue="_classItem_50lha_43",de="_time_50lha_49",me="_line_50lha_55",pe="_img_50lha_69",ve="_titleClass_50lha_76",fe="_labelClass_50lha_81";var o={videoOrder:se,tag:ie,title:oe,titleSong:ae,teacher:le,price:ce,userLogo:ne,classItem:ue,time:de,line:me,img:pe,titleClass:ve,labelClass:fe},Ae=d({name:"OrderVideo",props:{item:{type:Object,default:{}}},computed:{album(){const t=this.item.courseInfo||[],r=[];return t.map(c=>{c.musicAlbumInfos&&c.musicAlbumInfos.map(l=>{l.relationType==="ALBUM"&&r.findIndex(I=>I.musicAlbumId===l.musicAlbumId)===-1&&r.push(l)})}),this.item.relationType==="GIFT"?[...r]:[]},music(){const t=this.item.courseInfo||[],r=[];return t.map(c=>{c.musicAlbumInfos&&c.musicAlbumInfos.map(l=>{l.relationType==="MUSIC"&&r.findIndex(I=>I.musicAlbumId===l.musicAlbumId)===-1&&r.push(l)})}),this.item.relationType==="GIFT"?[...r]:[]}},render(){const t=this.item;return console.log(t),e("div",{class:o.videoOrder},[e(A,{border:!1},{default:()=>[e(a,{center:!0},{title:()=>e("div",{class:[o.title,"van-ellipsis"]},[e("span",{class:o.tag},[s("\u89C6\u9891\u8BFE")]),t.courseGroupName])}),e(a,{center:!0,title:t.teacherName,titleClass:o.teacher},{icon:()=>e(u,{class:o.userLogo,src:t.avatar||O},null),default:()=>e("span",{class:o.price},[e("i",null,[s("\xA5")]),y(t.coursePrice)])})]}),this.album.length>0&&e(A,{border:!1},{default:()=>[e(a,{center:!0},{title:()=>e("div",{class:[o.title,"van-ellipsis"],style:{display:"flex",alignItems:"center"}},[e("span",{class:o.line},null),s("\u9644\u5E26\u4E13\u8F91")]),value:()=>e("span",{class:o.titleSong},[s("\xB7 \u8D60\u9001")])}),this.album.map(r=>e(a,{center:!0,title:r.name,titleClass:o.titleClass,label:r.remark||"",labelClass:[o.labelClass,"van-ellipsis"]},{icon:()=>e(u,{src:r.cover,class:o.img},null)}))]}),this.music.length>0&&e(A,{border:!1},{default:()=>[e(a,{center:!0},{title:()=>e("div",{class:[o.title,"van-ellipsis"],style:{display:"flex",alignItems:"center"}},[e("span",{class:o.line},null),s("\u9644\u5E26\u4E50\u8C31")]),value:()=>e("span",{class:o.titleSong},[s("\xB7 \u8D60\u9001")])}),this.music.map(r=>e(a,{center:!0,title:r.name,titleClass:o.titleClass,label:"\u4F5C\u8005\uFF1A"+(r.remark||""),labelClass:[o.labelClass,"van-ellipsis"]},{icon:()=>e(u,{src:r.cover,class:o.img},null)}))]})])}});const be="_liveOrder_12rl8_1",he="_tag_12rl8_1",ge="_title_12rl8_12",Le="_collapseItem_12rl8_17",ye="_teacher_12rl8_22",Ie="_price_12rl8_28",Pe="_userLogo_12rl8_38",je="_classItem_12rl8_44",Oe="_time_12rl8_49";var p={liveOrder:be,tag:he,title:ge,collapseItem:Le,teacher:ye,price:Ie,userLogo:Pe,classItem:je,time:Oe},Te=d({name:"OrderLive",props:{item:{type:Object,default:{}}},data(){return{collapse:[1]}},render(){const t=this.item;return e("div",{class:p.liveOrder},[e(A,{border:!1},{default:()=>[e(a,{center:!0},{title:()=>e("div",{class:[p.title,"van-ellipsis"]},[e("span",{class:p.tag},[s("\u76F4\u64AD\u8BFE")]),t.courseGroupName])}),e(a,{center:!0,border:!1,title:t.teacherName,titleClass:p.teacher},{icon:()=>e(u,{class:p.userLogo,src:t.avatar||O},null),default:()=>e("span",{class:p.price},[e("i",null,[s("\xA5")]),y(t.coursePrice)])}),e(a,{border:!1},{default:()=>[e(R,{border:!1,modelValue:this.collapse,"onUpdate:modelValue":r=>this.collapse=r},{default:()=>[e(U,{title:"\u8BFE\u7A0B\u8BE6\u60C5",name:1,class:p.collapseItem},{default:()=>[e("div",{class:p.classItem},[t.courseInfo.map(r=>e("div",{class:p.time},[r.courseTime]))])]})]})]})]})])}});const Ce="_videoOrder_1rdsx_1",Se="_tag_1rdsx_1",_e="_title_1rdsx_12",Re="_collapseItem_1rdsx_17",Ue="_teacher_1rdsx_22",Ve="_price_1rdsx_28",Ne="_userLogo_1rdsx_38",ze="_classItem_1rdsx_44",Ee="_time_1rdsx_49";var v={videoOrder:Ce,tag:Se,title:_e,collapseItem:Re,teacher:Ue,price:Ve,userLogo:Ne,classItem:ze,time:Ee},He=d({name:"OrderPractice",props:{item:{type:Object,default:{}}},data(){return{collapse:[1]}},render(){const t=this.item;return console.log(t.classTime),e("div",{class:v.videoOrder},[e(A,{border:!1},{default:()=>[e(a,{center:!0},{title:()=>e("div",{class:[v.title,"van-ellipsis"]},[e("span",{class:v.tag},[s("\u966A\u7EC3\u8BFE")]),t.courseGroupName])}),e(a,{center:!0,border:!1,title:t.teacherName,titleClass:v.teacher},{icon:()=>e(u,{class:v.userLogo,src:t.avatar||O},null),default:()=>e(_,null,[e("span",{class:v.price},[e("i",null,[s("\xA5")]),y(t.coursePrice)]),s("/"),t.classTime.length,s("\u8BFE\u65F6")])}),e(a,{border:!1},{default:()=>[e(R,{border:!1,modelValue:this.collapse,"onUpdate:modelValue":r=>this.collapse=r},{default:()=>[e(U,{title:"\u8BFE\u7A0B\u8BE6\u60C5",name:1,class:v.collapseItem},{default:()=>[e("div",{class:v.classItem},[t.classTime.map(r=>{const c=`${r.classDate} ${T(r.startTime).format("HH:mm")}-${T(r.endTime).format("HH:mm")}`;return e("div",{class:v.time},[c])})])]})]})]})]})])}});const Ge="_memberLogo_1ki51_1",ke="_titleClass_1ki51_5",xe="_title_1ki51_5",Fe="_price_1ki51_14",qe="_timerTitle_1ki51_25",we="_timer_1ki51_25",Xe="_timerCell_1ki51_39";var f={memberLogo:Ge,titleClass:ke,title:xe,price:Fe,timerTitle:qe,timer:we,timerCell:Xe},De="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGoAAABkCAYAAABuK6XnAAAAAXNSR0IArs4c6QAADZhJREFUeNrtnAl0VNUZx68ooh5sPaVarD1q22i1SGbLvmcykzCTmYSEbASILNbSiniwWg2udTtNI6jHc7AxtlGptdS6IptLFQETFXDBBXcJ4BKrQo00YcnXe+fNm7x339z37ltmJoH3zvklM/d+9/vu9/157955bwJCnEd9ff34lvpQ46z6cEdLfbgH04cZwIANFwPRmvUINQw1kpoiq46Z9VVpLQ3hTuy8f1ZdGARCcvBEItDtMfso9fERk+H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PTx/AAC+OKNz20YT0xBjB8QdIzTA9kRriWsbuOHAc/wcuSPQjCOd5hwAAAABJRU5ErkJggg==",Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAAXNSR0IArs4c6QAAAIRQTFRFAAAAAP//AKqqAP+qK6qqLtGiLtG5Mc6qLsitLsmqMseuLMisK8OoLcisLMmqLMmqLMeoLcaoLcarLcmrLMepLciqLMapLcepLMeqLMaqLMiqLcipLcirLciqLciqLceqLceqLMeqLceqLceqLMeqLceqLceqLcerLceqLMepLMeqLceqEn68CgAAACt0Uk5TAAEDAwYLCxUcISkuL0pLUVJVVVVWeHmDhJCQmMLH1tff4Orw8vP4+Pz9/Uvj+oYAAAFBSURBVDjLtZTbtoIwDESDooKKVzgiF7koFt3//38+aIEiLs+L89R0zWrSSSYiP8HEj9NSqTKN/ckHihtXNKhid4Bih1cMqNDuc2YJQBHtl46z3EUFQDIzOfMcyDaWjq1NBuRz450c6r9x92oc1JB33rITuKz6FXgXSNq6QqhX73/xagibv18h0MHhfD7ocwBXrUQMWVPPDW76PMogfulcwabJAdAEa6ie2vtQWMMkqwBfZ4tkmCSRzpfC/hNpC6mIiJSwNEkAt4OIyAJKERFR4LyTOIuIOKAGSPdhkpkuug+mS2H3aVabwk0JTBy1BKaYBloxp0ZbDLRtMRvcxejUNFhc1RmVLgJQbnfovC9D9xxf78v4Po0QjIx6+kZ4Weq0bi21Pr1ZqjXnduE4i+1x0Jwidqi+2vx/C6O3eqa/WW4PDPQ4oVW3WKoAAAAASUVORK5CYII=",Qe=d({name:"OrderVideo",props:{item:{type:Object,default:{}}},render(){const t=this.item;return e("div",{class:f.videoOrder},[e(A,{class:"mb12",border:!1,style:{borderRadius:"8px",overflow:"hidden"}},{default:()=>[e(a,{center:!0,titleClass:f.titleClass},{icon:()=>e(u,{class:f.memberLogo,src:De},null),title:()=>e("div",{class:f.container},[e("div",{class:f.title},[s("\u5C0F\u9177Ai"),t.title]),e("div",{class:f.price},[e("i",null,[s("\xA5")]),this.$filters.moneyFormat(t.price)])])}),e(a,{center:!0},{title:()=>e("div",{class:f.timerCell},[e("div",{class:f.timerTitle},[e(j,{name:Me,size:18},null),e("span",{style:{paddingLeft:"5px"}},[s("\u751F\u6548\u65F6\u95F4")])]),e("div",{class:f.timer},[t.startTime,s(" \u81F3 "),t.endTime])])})]})])}}),Je="./assets/music-icon.fd0e8ce9.png",Be="./assets/init-user-icon.e8bc7f33.png";const Ke="_item_12gra_1",Ye="_header_12gra_8",Ze="_mate_12gra_14",We="_icon_12gra_19",$e="_info_12gra_23",et="_btn_12gra_35",tt="_vip_12gra_43",rt="_free_12gra_47",st="_charge_12gra_51",it="_footer_12gra_55",ot="_user_12gra_61",at="_userIcon_12gra_66",lt="_favorite_12gra_71",ct="_tags_12gra_74";var n={item:Ke,header:Ye,mate:Ze,icon:We,info:$e,btn:et,vip:tt,free:rt,charge:st,footer:it,user:ot,userIcon:at,favorite:lt,tags:ct};function nt(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!N(t)}var ut=d({name:"OrderMusic",props:{item:{type:Object,default:{}}},render(){const t=this.item;return e("div",{class:n.item},[e("header",{class:n.header},[e("div",{class:n.mate},[e(u,{src:t.titleImg||Je,round:!0,class:n.icon},null),e("div",{class:n.info},[e("h4",null,[t.musicSheetName]),e("p",null,[t.composer])])]),e("div",{class:n.buttons},null)]),e("footer",{class:n.footer},[e("div",{class:n.user},[e(u,{round:!0,src:t.addUserAvatar||Be,class:n.userIcon},null),e("p",null,[t.addName]),e("div",{class:n.tags},[(t.subjectNames||"").split(",").map(r=>e(J,null,nt(r)?r:{default:()=>[r]}))])]),e("div",{class:n.icons},null)])])}});const dt="_memberLogo_1ki51_1",mt="_titleClass_1ki51_5",pt="_title_1ki51_5",vt="_price_1ki51_14",ft="_timerTitle_1ki51_25",At="_timer_1ki51_25",bt="_timerCell_1ki51_39";var h={memberLogo:dt,titleClass:mt,title:pt,price:vt,timerTitle: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daabv6Z271Q4js+JtOlWNpyeg1K1unPsuvlbMpvOt9A0idpO3+mjnGMHdZo7YK2XbxORcdb/Bs4MAl1L0LfkMQzJh0BxlzydfJcImJfWl3NpEmOcDxlraKG4C8qz2qVMTf7cIMH9xfAzk+EEpWhQ6VXnL+6pwLiaMDxGKR2oWiC86vyVQR8wu42HgtHDCFV0Taryja5JMkanMSrBShkDIlrpC9R8o2OQinnXuWnhvf9Fo3XTuTOp4A9+SfSoH0vwwAAAAABJRU5ErkJggg==",gt=d({name:"OrderPinao",props:{item:{type:Object,default:{}}},render(){const t=this.item;return console.log(t),e("div",{class:h.videoOrder},[e(A,{class:"mb12",border:!1,style:{borderRadius:"8px"}},{default:()=>[e(a,{center:!0,titleClass:h.titleClass},{icon:()=>e(u,{class:h.memberLogo,src:ht},null),title:()=>e("div",{class:h.container},[e("div",{class:h.title},[t.times,s("\u5206\u949F\u7434\u623F\u65F6\u957F")]),e("div",{class:h.price},[e("i",null,[s("\xA5")]),this.$filters.moneyFormat(t.salePrice)])])})]})])}});const Lt="_liveOrder_w4wdr_1",yt="_tag_w4wdr_1",It="_title_w4wdr_12",Pt="_collapseItem_w4wdr_17",jt="_line_w4wdr_22",Ot="_teacher_w4wdr_31",Tt="_price_w4wdr_42",Ct="_userLogo_w4wdr_52",St="_classItem_w4wdr_58",_t="_time_w4wdr_63";var g={liveOrder:Lt,tag:yt,title:It,collapseItem:Pt,line:jt,teacher:Ot,price:Tt,userLogo:Ct,classItem:St,time:_t},Rt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAMAAAArteDzAAACJVBMVEUAAAD/gDf/rHr/fTX/rH7/fjH/t4P/fTP/mFP/qlX/VQD/u4//jUv/p3L/sID/gTv/div/uY3/cSL/vJD/lln/lln/ei//soH/fDL/u5D/nmX/jk3/ciP/sYH/uIv/hD//dCn/omv/ezL/cyb/sIH/u4//o2v/i0j/cyX/tIP/dCn/lln/sH3/ejT/t5D/fTT/ciT/vJH/l1r/ll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ytJiTtoqZpiiZNhCVNh6YTldMfaQM3DdrrFB2Q4/z71DsMyQ2eMyEJRZxU6kCRJvXHD5WX2UcaLNLpBb3lAKHrlINezvIpt6XdFEWcVHCy2+3WRXUky/z8NmWhOI5KeV0jhHzk2Xow9ExNGZp4m5K9TUhKrbdqtSoZEfKi2Sy1xQfRYPJHZvDxlU8St3A9oUm2qQncCIpvpnCf3Hh4SG4JQvQwSdzPvz/XZMVQxs0J3mVfGPOjKpAFRa9rtCvx9LQdPUTAHyfyRqXJVmbGy3M2FJ7iKzo2Vb4BPdAY93WW7bW733EXhol7+REWjLtQw3m3rmj4+6hWiQbXkfR2j2WbTbbdHcb3CSLs6DJqiwN4SP0urRYfFVbBv1DO7IhaV2+37WQFoj06GnfYq6Lu9ZdHyOKL7hQXO6KkwGeu65Dssc0KgGgpuo8P2c6jxeKuuWFHnSQ0cbS3iP7Hvf4cOQLFnZIKRKHpvHMLO6eL+wTQj7NibKf7PuxUb5NtQnOQiu1TPENEILbbr7rmibLraGyvANo4/Fca/bs2CERxAH9yyMktioM4OIguIoRkCmTIkAQSsiRTCZehSIdOIYMkCA5OFhz6Z7RLC/0be2AiGu/8ET9w732P94aDUxO+09f9qcznzzlppspQsqMi59+P/Kf+vg+UL2HytIMysqBip5fr9fBG2y0IVCCVMkEgMcENpeXUPlcRPNhLwUDSHmqc40AO1JHlcZAlAQ7FfB3AVIALG/z9OC6icG5gEMBm/CQTg5Cyeq+J4/KNP18p0IA4xXIUlbs4s+4QaOZrUU+aD62QcbmJokplJ8/VuYGgA+Jql5o0raSC5hLoRrbTjmwZuhvZadgqtUfQz3gzDRtNN2PoD3tWmGVZyEouZO7J8jA8SfbWelajrz0ZhkG+u7Xm+mwymelza+v6CNr8AxUNQ4kURe08AAAAAElFTkSuQmCC",Ut=d({name:"OrderLive",props:{item:{type:Object,default:{}}},data(){return{collapse:[1]}},render(){const t=this.item;return e("div",{class:g.liveOrder},[e(A,{border:!1},{default:()=>[e(a,{center:!0},{title:()=>e("div",{class:[g.title,"van-ellipsis"]},[e("span",{class:g.line},null),s("\u6D3B\u52A8\u62A5\u540D")])}),e(a,{center:!0,border:!1,title:t.goodsName,titleClass:g.teacher},{icon:()=>e(u,{class:g.userLogo,src:Rt},null),default:()=>e("span",{class:g.price},[e("i",null,[s("\xA5")]),y(t.actualPrice)])})]})])}}),Vt="./assets/count.0cae50a7.svg",Nt="./assets/favorite.7e06ea16.svg";const zt="_album_jmtd0_1",Et="_albumType_jmtd0_9",Ht="_img_jmtd0_21",Gt="_content_jmtd0_44",kt="_footer_jmtd0_64",xt="_icon_jmtd0_76";var b={album:zt,albumType:Et,img:Ht,content:Gt,footer:kt,icon:xt},Ft=d({name:"AlbumFooter",props:{musicSheetCount:{type:Number,default:0},albumFavoriteCount:{type:Number,default:0}},setup(t){const{musicSheetCount:r,albumFavoriteCount:c}=z(t);return()=>e("footer",{class:b.footer},[e("div",null,[e(j,{class:b.icon,name:Vt},null),e("span",null,[r.value,s("\u9996")])]),e("div",null,[e(j,{class:b.icon,name:Nt},null),e("span",null,[c.value,s("\u4EBA\u6536\u85CF")])])])}}),qt=d({name:"AlbumItem",props:{data:{type:Object,default:{}}},setup({data:t}){const r=E();return()=>e("div",{class:b.album,onClick:()=>r.push("/music-album-detail/"+t.id)},[e(u,{class:b.img,src:t.albumCoverUrl},null),t.paymentType==="CHARGE"&&e("span",{class:b.albumType},[s("\u4ED8\u8D39")]),e("div",{class:b.content},[e("h4",{class:"van-ellipsis"},[t.albumName]),e("p",{class:"van-multi-ellipsis--l3"},[t.albumDesc]),e(Ft,{musicSheetCount:t.musicSheetCount,albumFavoriteCount:t.albumFavoriteCount},null)])])}}),wt=d({name:"OrderMusic",props:{item:{type:Object,default:{}}},render(){const t=this.item;return e(qt,{data:t,style:{margin:"0 0 10px"}},null)}}),gr=d({name:"order-detail",data(){const t=this.$route.query;return{loading:!1,orderType:t.orderType,recomUserId:t.recomUserId,activityId:t.activityId,id:t.id,agreeStatus:!1,popupShow:!1,paymentStatus:!1,orderAmount:0,orderPrice:0,dataLoading:!0,exists:!1,bottomHeight:0}},unmounted(){i.orderInfo={orderNo:"",actualPrice:0,payStatus:!1}},computed:{orderList(){return i.orderObject.orderList||[]}},async mounted(){if(await this.getUserRegisterProtocol(),this.dataLoading=!0,this.orderType=="MUSIC"&&this.id)try{const t=await B(this.id);i.orderObject.orderType="MUSIC",i.orderObject.orderName=t.musicSheetName,i.orderObject.orderDesc=t.musicSheetName,i.orderObject.actualPrice=t.musicPrice,i.orderObject.recomUserId=this.recomUserId,i.orderObject.activityId=this.activityId,["WAIT_PAY","PAYING"].includes(t.orderStatus)?i.orderObject.orderNo=t.orderNo:["PAID","CLOSE","FAIL"].includes(t.orderStatus)&&(C("\u8BA2\u5355\u6709\u8BEF"),H({api:"back",content:{}})),i.orderObject.orderList=[{orderType:"MUSIC",goodsName:t.musicSheetName,actualPrice:t.musicPrice,...t}]}catch{}this.orderAmount=i.orderObject.actualPrice||0,this.orderPrice=i.orderObject.actualPrice||0,this.dataLoading=!1,this.orderPrice===0&&i.orderObject.orderType&&(this.loading=!0,this.onSubmit()),this.$nextTick(()=>{const{height:t}=G(this.$refs.paymentButtom);this.bottomHeight=t+10})},methods:{async getUserRegisterProtocol(){try{const t=await S.get(P.platformApi+"/sysUserContractRecord/checkContractSign",{params:{contractType:"REGISTER"}});this.exists=t.data}catch{}},async onAuthSuccess(){this.popupShow=!1,await this.getUserRegisterProtocol(),this.onSubmit()},async onSubmit(){if(this.orderPrice>0){if(!this.agreeStatus){C("\u8BF7\u5148\u9605\u8BFB\u5E76\u540C\u610F\u300A\u9177\u4E50\u79C0\u5E73\u53F0\u670D\u52A1\u534F\u8BAE\u300B");return}const t=P.user.data;if(!(t!=null&&t.realName)||!(t!=null&&t.idCardNo)){this.popupShow=!0;return}}if(i.orderObject.orderNo){this.paymentStatus=!0;return}try{const t=i.orderObject,r=P.platformType==="TEACHER"?"/api-teacher/userOrder/executeOrder":"/api-student/userOrder/executeOrder",l=(await S.post(r,{data:{orderName:t.orderName,orderDesc:t.orderDesc,orderType:t.orderType,actualPrice:this.orderPrice||0,recomUserId:t.recomUserId,activityId:t.activityId,couponId:t.couponId,orderInfos:[...M()]}})).data||{};if(l.status=="PAID"){this.$router.replace({path:"/tradeDetail",query:{orderNo:l.orderNo}});return}i.orderObject.orderNo=l.orderNo,i.orderObject.actualPrice=l.actualPrice,this.paymentStatus=!0}catch{this.loading=!1,this.orderPrice===0&&k.alert({title:"\u63D0\u793A",message:"\u652F\u4ED8\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\uFF01",confirmButtonText:"\u786E\u5B9A",confirmButtonColor:"#2dc7aa"})}},onBackOut(){Q()},onCouponSelect(t){console.log("onCouponSelect",t);let r=0;(t||[]).forEach(L=>{r+=Number(L.discountPrice)});const c=Number((Number(this.orderAmount)-Number(r)).toFixed(2));this.orderPrice=c>=0?c:0;const l=(t||[]).map(L=>L.couponIssueId);i.orderObject.couponId=l.join(",")||""}},render(){return e("div",{class:m["order-detail"],style:{paddingBottom:this.bottomHeight+"px"}},[e(D,null,null),!this.loading&&e(_,null,[this.orderList.map(t=>{if(t.orderType==="VIDEO")return e(Ae,{item:t},null);if(t.orderType==="LIVE")return e(Te,{item:t},null);if(t.orderType==="PRACTICE")return e(He,{item:t},null);if(t.orderType==="VIP")return e(Qe,{item:t},null);if(t.orderType==="MUSIC")return e(ut,{item:t},null);if(t.orderType==="PIANO_ROOM")return e(gt,{item:t},null);if(t.orderType==="ACTI_REGIST")return e(Ut,{item:t},null);if(t.orderType==="ALBUM")return e(wt,{item:t},null)}),!this.dataLoading&&e(K,{discountPrice:i.orderObject.discountPrice,orderType:this.orderType,orderAmount:this.orderAmount,onCouponSelect:this.onCouponSelect,disabled:!!i.orderObject.orderNo},null),e("div",{class:m.paymentInfo,ref:"paymentButtom"},[this.orderPrice>0&&e("div",{class:m.protocol},[e(V,{modelValue:this.agreeStatus,"onUpdate:modelValue":t=>this.agreeStatus=t,showHeader:!0,style:{paddingLeft:0,paddingRight:0}},null)]),e("div",{class:m.btnGroup},[e("div",{class:m.priceSection},[s("\u652F\u4ED8\u91D1\u989D\uFF1A"),e("div",{class:m.price},[e("span",{class:m.priceUnit},[s("\uFFE5")]),e("span",{class:m.priceNum},[y(this.orderPrice)])])]),e(x,{type:"primary",round:!0,class:m.btn,onClick:this.onSubmit},{default:()=>[s("\u7ACB\u5373\u652F\u4ED8")]})])])]),e(q,{modelValue:this.popupShow,"onUpdate:modelValue":t=>this.popupShow=t},{default:()=>[e(w,{exists:this.exists,onSuccess:this.onAuthSuccess},null)]}),e(F,{show:this.paymentStatus,closeOnClickOverlay:!1,position:"bottom",round:!0,closeOnPopstate:!0,safeAreaInsetBottom:!0,style:{minHeight:"30%"}},{default:()=>[e(X,{modelValue:this.paymentStatus,"onUpdate:modelValue":t=>this.paymentStatus=t,orderInfo:i.orderObject,onBackOut:this.onBackOut},null)]})])}});export{gr as default};