1 |
- import{d as oe,W as q,j as e,A as r,Q as ge,P as Ae,S as W,U as n,V as _e,X as be,Y as ve,bC as fe,be as he,C as ye,F as Ce,g,B as K,aS as $,y as J,D as ee}from"./ResizeObserver.es.39b48a47.js";import{C as Je}from"./index.970ad07b.js";import{I as B}from"./index.fcbcb027.js";import{a as Me,b as Be}from"./index.dc19bc54.js";import{g as Ye}from"./music.27f3de35.js";import{T as ae}from"./index.4e68a74a.js";import{S as Fe}from"./index.fbd2c321.js";import{M as Ie}from"./index.25ff6681.js";import{u as Ee}from"./hooks.6df65925.js";import{C as Se}from"./index.b1c0c586.js";import{o as d}from"./orderStatus.fbc0ddaf.js";import{i as De}from"./icon_share.dff37aef.js";import{C as Te}from"./index.6f45cb15.js";import{_ as qe,a as Ze,b as Xe,c as we,d as Ue,e as Ve,f as Ne}from"./icon_uploader.21a85a4d.js";import{_ as ke}from"./icon-xin.797feb04.js";import{_ as Re}from"./icon_album.4957b8e0.js";import{_ as Oe}from"./icon_album_active.cb923735.js";import{_ as Pe}from"./icon_exquisite.01ddc5aa.js";import{_ as Qe}from"./icon_music_active.f55820b3.js";import{S as Ge}from"./select-subject.5a3e156f.js";import"./icon-play.bc9e7aab.js";import"./index.5416c7b0.js";import"./index.0e35d2fb.js";import"./code-down-load.a26a0d5d.js";import"./logo.bcac726b.js";import"./browser.1f070884.js";import"./html2canvas.esm.3d083717.js";import"./index.db115763.js";import"./icon_teacher.40b6f077.js";import"./index.34ac729a.js";import"./index.608320e9.js";const Le="_base_4im3d_1",je="_detail_4im3d_4",xe="_img_4im3d_14",ze="_albumType_4im3d_37",He="_shareBtn_4im3d_50",We="_detailContent_4im3d_62",Ke="_main_4im3d_67",$e="_favoriteContaineer_4im3d_72",ea="_favorite_4im3d_72",aa="_content_4im3d_94",ta="_footerBar_4im3d_115",sa="_bgImg_4im3d_123",oa="_musicContent_4im3d_132",ia="_bg_4im3d_123",la="_alumWrap_4im3d_149",ma="_alumTitle_4im3d_161",na="_alumDes_4im3d_167",ua="_des_4im3d_170",ra="_tags_4im3d_173",ca="_tag_4im3d_173",pa="_alumCollect_4im3d_183",da="_right_4im3d_199",ga="_albumTips_4im3d_204",Aa="_albumPrice_4im3d_214",_a="_alumnContainer_4im3d_219",ba="_alumnList_4im3d_224",va="_subjectSearch_4im3d_230",fa="_active_4im3d_251",ha="_shareVip_4im3d_255",ya="_icon_4im3d_265",Ca="_info_4im3d_270",Ja="_shareAlumCollect_4im3d_286",Ma="_tagDiscount_4im3d_306",Ba="_buttonDiscount_4im3d_319",Ya="_shareMusicList_4im3d_332",Fa="_albumShare_4im3d_337";var a={base:Le,detail:je,img:xe,albumType:ze,shareBtn:He,detailContent:We,main:Ke,favoriteContaineer:$e,favorite:ea,content:aa,footerBar:ta,bgImg:sa,musicContent:oa,bg:ia,alumWrap:la,alumTitle:ma,alumDes:na,des:ua,tags:ra,tag:ca,alumCollect:pa,right:da,albumTips:ga,albumPrice:Aa,alumnContainer:_a,alumnList:ba,subjectSearch:va,active:fa,shareVip:ha,icon:ya,info:Ca,shareAlumCollect:Ja,tagDiscount:Ma,buttonDiscount:Ba,shareMusicList:Ya,albumShare:Fa},Ia="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAA0xJREFUSEvtlk1sVGUUhp/3zl9J1IKIphpcGDUmA1RbYWcsiTEggjPFMWJM3BhwZUyMP5DY+agbURMJO0hYGdlMpTVGWLipuINMI9OS4AaCC9NYaOpPrG3vvcfcO0NDyjg/bY0b7+5+Ofc857znfOdc8S881ueSrAuykOgFesB6QVlgSCvlWe/+FBvvz+KpN3ZskXO2AB11fPttAa3g0gRswsIo4h4ggmwBZRoEPg82C+pEhA2Bttc9hoVPx84tyoBNYE2cMwEqI5XBH2N2pkLm7o8QbzUE2t7BJwiD80CyfvQ2hzSOqYwxBkGZVGJcJTe/1N5yxc+aA3MD+5BO1T7+C6gAY3Hk8sqsv29CJw4stNID7QMVbtPpDy+04ry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lkDFjmTJPocyEFCKzFNr//2fwKGk4Off6ylr49xtt+7ncXjusec744dwDW7v8tAtLUyyZghXvHUvuvLARZ1kcFuZZYR7GerOskO2FoZYLVrlogZHmBGskmmGgM8k6yU5oXAuPFDwuuPATz1KKDaSWPGigY/Eoxx/kjhY7UKc/evpG1dtptB8VXJFrGsusuvFli1a2UOJ7oZVXL4qCtBREUU+BVgrdKDmglUN88d3Qwo0PZSN5GsuPoMI6ja2jyjENHaNaa4ZGMq2oMZCngfwA6mzSQAz1mq6oumqCIEJVBBLnmYpnB6ITKk4gi1IRhWyaimnIQlSEIBukYhCyYSqGIRulYhSyMSrGIJugYgKyMBVhyGapmIVsjoo5yMb5Lb0zE+jqCszspPktBJlzz6LLWB/K+mKXLHpw0MBkluTt9hBqDG3fknyaREP+lbWgGwJ3cGPZj7/mHZ5++v6OXxQRAAAAAElFTkSuQmCC",Da="./assets/icon_share2.c59b82f9.svg";const Ta="_theSong_1plfo_1",qa="_item_1plfo_4",Za="_content_1plfo_16",Xa="_top_1plfo_19",wa="_tag_1plfo_23",Ua="_tags_1plfo_28",Va="_title_1plfo_39",Na="_singer_1plfo_46",ka="_play_1plfo_51",Ra="_mb100_1plfo_56",Oa="_pImg_1plfo_59",Pa="_moreSection_1plfo_66",Qa="_collection_1plfo_74",Ga="_musicInfo_1plfo_79",La="_info_1plfo_88",ja="_shareIcon_1plfo_106",xa="_share_1plfo_106",za="_shareMate_1plfo_116",Ha="_icon_1plfo_126",Wa="_tagDiscount_1plfo_147",Ka="_exquisiteFlag_1plfo_160",$a="_songAlbum_1plfo_165";var b={theSong:Ta,item:qa,content:Za,top:Xa,tag:wa,tags:Ua,title:Va,singer:Na,play:ka,mb100:Ra,pImg:Oa,moreSection:Pa,collection:Qa,musicInfo:Ga,info:La,shareIcon:ja,share:xa,shareMate:za,icon:Ha,tagDiscount:Wa,exquisiteFlag:Ka,songAlbum:$a};const te=A=>{const _=`../images/${A}`;return{"../images/collection.png":qe,"../images/collection_active.png":Ze,"../images/icon-xin.png":ke,"../images/icon_ai.png":Xe,"../images/icon_album.png":Re,"../images/icon_album_active.png":Oe,"../images/icon_author.png":we,"../images/icon_download.png":Ue,"../images/icon_exquisite.png":Pe,"../images/icon_music_active.png":Qe,"../images/icon_share.png":Ve,"../images/icon_uploader.png":Ne}[_].default};var et=oe({name:"TheSong",props:{list:{type:Array,default:()=>[]},showPlay:{type:Boolean,default:!0},musicNameClass:{type:String},authorClass:{type:String}},emits:["detail"],setup(A,{emit:_}){const u=q(()=>A.list.map(l=>(typeof l.paymentType=="string"&&(l.paymentType=l.paymentType.split(",")),{...l})));return()=>e("div",{class:b.theSong},[u.value.map(l=>e("div",{class:b.item,onClick:()=>_("detail",l)},[e("div",{class:b.content},[e("div",{class:b.top},[l.exquisiteFlag===1&&e(B,{class:b.exquisiteFlag,src:te("icon_exquisite.png")},null),l.albumNums>0&&e(B,{class:b.songAlbum,src:te("icon_album_active.png")},null),e("span",{class:[b.title,A.musicNameClass,"van-ellipsis"]},[l.musicSheetName]),e("span",{class:[b.singer,A.authorClass,"van-ellipsis"]},[r("-"),l.composer]),e("div",{class:b.tags},[l==null?void 0:l.subjectNames.split(",").map(s=>e("span",null,[s]))])])])]))])}}),at="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAMAAABF0y+mAAAAb1BMVEUAAABG2MNG2MFF18BF2MFG18BF2MFA4MRD2cBF2MJF2cJF18FE2MFF2MFF2MFE2MFF2MFE179A3MVF2MFF18JF2MJF18JF2MFG2cJF2MFG179F2MJF18FF2MFF18JE1sJH2sNF18FF2MJE179F18GInqdFAAAAJHRSTlMAMo9Z+E1lBhaZDfvNyfDSpzUR2biglXUs40Un3sKKSiLmv0D+yki/AAAA3klEQVQoz7XOWXKDMBRE0YYQSUhinsFTkt7/GhMBVihbVf5yf95TD4TwItFnefeUpesJ3cxDT/dOJjl5h0Wk1nebikrGHiOz9ywVkVzTP3643t/7M1Y+BzB6jVItVRREVc2fbiqE15Xm8OU4V4uSLx70JtSXJrc2jLqgWxhLsuimHeVNH1EbtkD95bDuEprmgCMptntoy20eFZkCsMxxIc9DeUSc/1S0ZIyJBYCO/PF4y+lW1EjWbwzkFX7jN2lKBTQ8aaClqXGYGjW2m1OfkSVCa7cfqCDKoUmmuA7RL2POHWJJLgwaAAAAAElFTkSuQmCC";const se=()=>{};var qt=oe({name:"AlbumDetail",props:{onItemClick:{type:Function,default:se}},setup({onItemClick:A}){localStorage.setItem("behaviorId",Ye());const _=ge(),u=Ae(),l=W({search:"",relatedNum:6,page:1,rows:200}),s=n(null),v=n([]),Y=n(!1),ie=Number(u.query.activityId)||0,le=n(ie),Z=n(!1),y=n(0),F=n(0),X=n(null),I=n("rgba(55, 205, 177, 0)"),C=n("#fff"),me=n("auto"),c=W({show:!1,name:u.query.subjectName||"\u5168\u90E8\u58F0\u90E8",id:u.query.subjectId||null}),E=async t=>{var m;if(!Y.value){Y.value=!0,Z.value=!1;try{const i=await J.post("/music/album/detail",{prefix:g.platformType==="TEACHER"?"/api-teacher":"/api-student",data:{id:t||u.params.id,...l,subjectIds:c.id}}),{musicSheetList:f,...p}=i.data;v.value=[...f.rows];const M=p!=null&&p.musicTagNames?(m=p==null?void 0:p.musicTagNames)==null?void 0:m.split(","):[];s.value={...p,musicTagNames:M},y.value=p.favorite,F.value=p.albumFavoriteCount}catch{Z.value=!0}Y.value=!1}},w=n(!1);_e(()=>{E(),Me(document,"scroll",t=>{const{y:m}=Be();m.value>20?(I.value="rgba(255, 255, 255)",C.value="black"):(I.value="transparent",C.value="#fff")}),Ee("\u4E13\u8F91")});const ne=async t=>{w.value=!0;try{await J.post("/music/album/favorite/"+t,{prefix:g.platformType==="TEACHER"?"/api-teacher":"/api-student"}),y.value=y.value===1?0:1,F.value+=y.value?1:-1}catch{}w.value=!1},ue=async()=>{const t=s.value;d.orderObject.orderType="ALBUM",d.orderObject.orderName=t.albumName,d.orderObject.orderDesc=t.albumName,d.orderObject.actualPrice=t.albumPrice,d.orderObject.recomUserId=u.query.recomUserId||0,d.orderObject.activityId=u.query.activityId||0,d.orderObject.orderNo="",d.orderObject.orderList=[{orderType:"ALBUM",goodsName:t.albumName,recomUserId:u.query.recomUserId||0,price:t.albumPrice,...t}];const i=(await J.post("/userOrder/getPendingOrder",{prefix:g.platformType==="TEACHER"?"/api-teacher":"/api-student",data:{goodType:"ALBUM",bizId:t.id}})).data;i?ee.confirm({title:"\u63D0\u793A",message:"\u60A8\u6709\u4E00\u4E2A\u672A\u652F\u4ED8\u7684\u8BA2\u5355\uFF0C\u662F\u5426\u7EE7\u7EED\u652F\u4ED8\uFF1F",confirmButtonColor:"#269a93",cancelButtonText:"\u53D6\u6D88\u8BA2\u5355",confirmButtonText:"\u7EE7\u7EED\u652F\u4ED8"}).then(async()=>{d.orderObject.orderNo=i.orderNo,d.orderObject.actualPrice=i.actualPrice,d.orderObject.discountPrice=i.discountPrice,d.orderObject.paymentConfig={...i.paymentConfig,paymentVendor:i.paymentVendor,paymentVersion:i.paymentVersion},U()}).catch(()=>{ee.close(),re(i.orderNo)}):U()},U=()=>{const t=s.value;_.push({path:"/orderDetail",query:{orderType:"ALBUM",album:t.id}})},re=async t=>{try{await J.post("/api-student/userOrder/orderCancel",{data:{orderNo:t}})}catch{}},ce=t=>{c.name=t.name,c.id=t.id,c.show=!1,E()},S=n(!1),D=n(""),V=n(0),pe=async()=>{const t=g.user.data.userId,m=u.params.id;let i=0;if(console.log(g.user,t),g.platformType==="TEACHER"){const f=await J.post("/api-teacher/open/vipProfit",{data:{bizId:m,userId:t}});T.value&&(i=f.data.activityId||0,V.value=f.data.discount||0)}D.value=`${location.origin}/teacher#/shareAblum?id=${m}&recomUserId=${t}&activityId=${i}&userType=${g.platformType}`,console.log(D.value,"shareUrl"),S.value=!0},T=q(()=>{var m;const t=(m=s.value)==null?void 0:m.paymentType;return t&&t.includes("VIP")}),de=q(()=>v.value.length>4?v.value.slice(0,2):v.value);return()=>{var t,m,i,f,p,M,N,k,R,O,P,Q,G,L,j,x;return e("div",{class:a.detail},[e("div",{ref:X},[e(Je,{background:I.value,border:!1,color:C.value,backIconColor:"white",onHeaderBack:()=>{be(()=>{const{height:o}=ve(X);me.value=o})}},{right:()=>e("div",{class:a.shareBtn,style:{color:C.value},onClick:pe},[e(B,{src:C.value==="black"?Da:De},null),r("\u5206\u4EAB")])})]),e("img",{class:a.bgImg,src:(t=s.value)==null?void 0:t.albumCoverUrl},null),e("div",{class:a.musicContent},null),e("div",{class:a.bg},[e("div",{class:a.alumWrap},[e("div",{class:a.img},[((m=s.value)==null?void 0:m.paymentType)==="CHARGE"&&e("span",{class:a.albumType},[r("\u4ED8\u8D39")]),e(B,{class:a.image,width:"100%",height:"100%",fit:"cover",src:(i=s.value)==null?void 0:i.albumCoverUrl},null)]),e("div",{class:a.alumDes},[e("div",{class:[a.alumTitle,"van-ellipsis"]},[(f=s.value)==null?void 0:f.albumName]),e("div",{class:a.tags},[(M=(p=s.value)==null?void 0:p.musicTagNames)==null?void 0:M.map(o=>e("span",{class:a.tag},[o]))]),e("div",{class:[a.des,"van-multi-ellipsis--l3"],style:{height:"48px",lineHeight:"16px"}},[(N=s.value)==null?void 0:N.albumDesc])])]),e("div",{class:a.alumCollect},[e("img",{src:Ia},null),e("span",null,[r("\u5171"),(k=s.value)==null?void 0:k.musicSheetCount,r("\u9996\u66F2\u76EE")]),e("div",{class:a.right,onClick:()=>{var o;return ne((o=s.value)==null?void 0:o.id)}},[e("img",{src:y.value?Sa:Ea},null),e("span",null,[F.value,r("\u4EBA\u6536\u85CF")])])]),((R=s.value)==null?void 0:R.paymentType)==="CHARGE"&&((O=s.value)==null?void 0:O.orderStatus)!=="PAID"&&e("div",{class:a.albumTips},[e("span",null,[r("\u6B64\u4E13\u8F91\u4E3A\u4ED8\u8D39\u4E13\u8F91\uFF0C\u8D2D\u4E70\u5373\u53EF\u81EA\u7531\u7EC3\u4E60\u8BE5\u4E13\u8F91")]),e("span",{class:a.albumPrice},[r("\xA5"),fe((P=s.value)==null?void 0:P.albumPrice)])])]),e("div",{class:a.alumnContainer},[e("div",{class:a.alumnList},[e(ae,{title:"\u66F2\u76EE\u5217\u8868",isMore:!1},{right:()=>{var o;return((o=s.value)==null?void 0:o.albumType)==="CONCERT"&&e("div",{class:[a.subjectSearch,c.show?a.active:""],onClick:()=>c.show=!0},[c.name])}}),e(Fe,{list:v.value,onDetail:o=>{if(A===se||!A){const h=location.origin+location.pathname+"#/music-detail?id="+o.id+"&albumId="+u.params.id;he(h,()=>{_.push({path:"/music-detail",query:{id:o.id,albumId:u.params.id}})})}else A(o)}},null),v.value&&v.value.length<=0&&e(ye,{btnStatus:!1,tips:"\u6682\u65E0\u66F2\u76EE"},null)]),((Q=s.value)==null?void 0:Q.relatedMusicAlbum)&&((G=s.value)==null?void 0:G.relatedMusicAlbum.length)>0&&e(Ce,null,[e(ae,{title:"\u76F8\u5173\u4E13\u8F91",onMore:()=>{_.push({path:"/music-album"})}},null),e(Ie,{list:(L=s.value)==null?void 0:L.relatedMusicAlbum,onGoto:o=>{_.push({name:"music-album-detail",params:{id:o.id}}).then(()=>{E(o.id),window.scrollTo(0,0)})}},null)])]),((j=s.value)==null?void 0:j.paymentType)==="CHARGE"&&((x=s.value)==null?void 0:x.orderStatus)!=="PAID"&&e(Se,{position:"bottom",background:"white"},{default:()=>{var o,h;return[e("div",{class:["btnGroup",T.value&&((o=g.user.data.userVip)==null?void 0:o.vipType)==="NOT_VIP"&&"btnMore"],style:{padding:"0"}},[e(K,{block:!0,round:!0,type:"primary",style:{fontSize:"16px"},onClick:ue},{default:()=>[r("\u8D2D\u4E70\u4E13\u8F91")]}),T.value&&((h=g.user.data.userVip)==null?void 0:h.vipType)==="NOT_VIP"&&e(K,{block:!0,round:!0,type:"primary",style:{fontSize:"16px"},onClick:()=>{_.push({path:"/memberCenter",query:{...u.query}})}},{default:()=>[le.value>0&&e("div",{class:[a.buttonDiscount]},[r("\u4E13\u5C5E\u4F18\u60E0")]),r("\u5F00\u901A\u4F1A\u5458")]})])]}}),e($,{show:S.value,"onUpdate:show":o=>S.value=o,style:{background:"transparent"},class:a.albumShare},{default:()=>[e(Te,{teacherId:g.user.data.userId,shareUrl:D.value,shareType:"album",shareLength:1},{default:()=>{var o,h,z,H;return[e("div",{class:a.shareVip},[V.value===1&&e("div",{class:a.tagDiscount},[r("\u4E13\u5C5E\u4F18\u60E0")]),e("img",{class:a.icon,crossorigin:"anonymous",src:((o=s.value)==null?void 0:o.albumCoverUrl)+`?t=${+new Date}`},null),e("div",{class:a.info},[e("h4",{class:"van-multi-ellipsis--l2"},[(h=s.value)==null?void 0:h.albumName]),e("p",{class:["van-multi-ellipsis--l3"],style:{lineHeight:"16px",margin:"5px 0 10px 0"}},[(z=s.value)==null?void 0:z.albumDesc]),e("div",{class:a.shareAlumCollect},[e("img",{src:at},null),e("span",null,[r("\u5171"),e("span",{style:"color: var(--van-primary-color);"},[(H=s.value)==null?void 0:H.musicSheetCount]),r("\u9996\u66F2\u76EE")])])])]),e("div",{class:[a.shareVip,a.shareMusicList]},[e(et,{list:de.value},null)])]}})]}),e($,{position:"bottom",round:!0,show:c.show,"onUpdate:show":o=>c.show=o,closeable:!0,"safe-area-inset-bottom":!0,onClose:()=>c.show=!1,onClosed:()=>c.show=!1},{default:()=>[e(Ge,{type:"ALBUM",isShowAllSubject:!0,searchParams:c,onComfirm:ce},null)]})])}}});export{qt as default};
|