1 |
- import{d as oe,W as q,j as e,A as r,Q as ge,P as Ae,S as H,U as n,V as _e,X as be,Y as ve,bA as fe,bg as he,C as ye,F as Ce,g as _,B as K,aS as $,y as C,D as ee}from"./ResizeObserver.es.f28023e0.js";import{C as Je}from"./index.bd375ca9.js";import{I as B}from"./index.7a1af785.js";import{a as Me,b as Be}from"./index.9a41251d.js";import{g as Ye}from"./music.96a1c334.js";import{T as ae}from"./index.c7bdd073.js";import{S as Fe}from"./index.9f739f31.js";import{M as Ie}from"./index.d038da33.js";import{u as Ee}from"./hooks.19957bf3.js";import{C as Se}from"./index.8c937010.js";import{o as d}from"./orderStatus.00354bd8.js";import{i as De}from"./icon_share.dff37aef.js";import{C as Te}from"./index.b76c8ebe.js";import{_ as qe,a as Ze,b as Xe,c as we,d as Ue,e as Ve,f as ke}from"./icon_uploader.5826c51d.js";import{_ as Ne}from"./icon-xin.575e2987.js";import{_ as Re}from"./icon_album.eca1da54.js";import{_ as Oe}from"./icon_album_active.a67a159e.js";import{_ as Pe}from"./icon_exquisite.7cf228c5.js";import{_ as Qe}from"./icon_music_active.5a84cf57.js";import{S as Ge}from"./select-subject.c9c8869a.js";import"./icon-play.bc9e7aab.js";import"./index.f0f901ab.js";import"./index.966d1893.js";import"./code-down-load.7b8e3080.js";import"./logo.bcac726b.js";import"./browser.8379baf6.js";import"./html2canvas.esm.3d083717.js";import"./index.3b2e70c8.js";import"./icon_teacher.40b6f077.js";import"./index.af901340.js";import"./index.b0753b8c.js";const Le="_base_4im3d_1",je="_detail_4im3d_4",xe="_img_4im3d_14",ze="_albumType_4im3d_37",We="_shareBtn_4im3d_50",He="_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:We,detailContent:He,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+04ryeTft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FjmTJPocyEFCKzFNr//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",ka="_singer_1plfo_46",Na="_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",Wa="_icon_1plfo_126",Ha="_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:ka,play:Na,mb100:Ra,pImg:Oa,moreSection:Pa,collection:Qa,musicInfo:Ga,info:La,shareIcon:ja,share:xa,shareMate:za,icon:Wa,tagDiscount:Ha,exquisiteFlag:Ka,songAlbum:$a};const te=g=>{const A=`../images/${g}`;return{"../images/collection.png":qe,"../images/collection_active.png":Ze,"../images/icon-xin.png":Ne,"../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":ke}[A].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(g,{emit:A}){const u=q(()=>g.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:()=>A("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,g.musicNameClass,"van-ellipsis"]},[l.musicSheetName]),e("span",{class:[b.singer,g.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:g}){localStorage.setItem("behaviorId",Ye());const A=ge(),u=Ae(),l=H({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),h=n(0),F=n(0),X=n(null),I=n("rgba(55, 205, 177, 0)"),y=n("#fff"),me=n("auto"),c=H({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 C.post("/music/album/detail",{prefix:_.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 J=p!=null&&p.musicTagNames?(m=p==null?void 0:p.musicTagNames)==null?void 0:m.split(","):[];s.value={...p,musicTagNames:J},h.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)",y.value="black"):(I.value="transparent",y.value="#fff")}),Ee("\u4E13\u8F91")});const ne=async t=>{w.value=!0;try{await C.post("/music/album/favorite/"+t,{prefix:_.platformType==="TEACHER"?"/api-teacher":"/api-student"}),h.value=h.value===1?0:1,F.value+=h.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 C.post("/api-student/userOrder/getPendingOrder",{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;A.push({path:"/orderDetail",query:{orderType:"ALBUM",album:t.id}})},re=async t=>{try{await C.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=_.user.data.userId,m=u.params.id;let i=0;if(console.log(_.user,t),_.platformType==="TEACHER"){const f=await C.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=${_.platformType}`,console.log(D.value,"shareUrl"),S.value=!0},T=q(()=>{var m;const t=(m=s.value)==null?void 0:m.musicPaymentTypes;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,J,k,N,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:y.value,backIconColor:"white",onHeaderBack:()=>{be(()=>{const{height:o}=ve(X);me.value=o})}},{right:()=>e("div",{class:a.shareBtn,style:{color:y.value},onClick:pe},[e(B,{src:y.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},[(J=(p=s.value)==null?void 0:p.musicTagNames)==null?void 0:J.map(o=>e("span",{class:a.tag},[o]))]),e("div",{class:[a.des,"van-multi-ellipsis--l3"],style:{height:"48px",lineHeight:"16px"}},[(k=s.value)==null?void 0:k.albumDesc])])]),e("div",{class:a.alumCollect},[e("img",{src:Ia},null),e("span",null,[r("\u5171"),(N=s.value)==null?void 0:N.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:h.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(g===se||!g){const M=location.origin+location.pathname+"#/music-detail?id="+o.id+"&albumId="+u.params.id;he(M,()=>{A.push({path:"/music-detail",query:{id:o.id,albumId:u.params.id}})})}else g(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:()=>{A.push({path:"/music-album"})}},null),e(Ie,{list:(L=s.value)==null?void 0:L.relatedMusicAlbum,onGoto:o=>{A.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:()=>[e("div",{class:["btnGroup",T.value&&!_.user.data.isVip&&"btnMore"],style:{paddingTop:"12px"}},[e(K,{block:!0,round:!0,type:"primary",style:{fontSize:"16px"},onClick:ue},{default:()=>[r("\u8D2D\u4E70\u4E13\u8F91")]}),T.value&&!_.user.data.isVip&&e(K,{block:!0,round:!0,type:"primary",style:{fontSize:"16px"},onClick:()=>{A.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:_.user.data.userId,shareUrl:D.value,shareType:"album",shareLength:1},{default:()=>{var o,M,z,W;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"},[(M=s.value)==null?void 0:M.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);"},[(W=s.value)==null?void 0:W.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};
|