index.6330267e.js 17 KB

1
  1. import{d as ae,W as I,j as e,A as u,Q as re,P as me,S as H,U as r,V as pe,bC as ge,be as _e,C as de,g as _,B as Z,aS as G,y as C,n as K,D as Q}from"./ResizeObserver.es.39b48a47.js";import{C as ve}from"./index.970ad07b.js";import{I as E}from"./index.fcbcb027.js";import{a as Ae,b as be}from"./index.dc19bc54.js";import{g as fe}from"./music.0a307f27.js";import{i as he,o as Ce}from"./icon-hart-active.d0e8bbef.js";import{_ as ke,a as Fe,b as Se,c as ye,d as Ee,e as Be,f as Te,g as xe,h as De,i as we,j as Ie,k as Me,l as Ne,S as Re}from"./index.62db47bb.js";import{u as Le}from"./hooks.6df65925.js";import{C as Ue}from"./index.b1c0c586.js";import{o as p}from"./orderStatus.fbc0ddaf.js";import{C as Oe}from"./index.6f45cb15.js";import{_ as qe}from"./icon-xin2.4ab2a52d.js";import{T as Ye}from"./index.e90d2179.js";import{S as Je}from"./select-subject.9a862edf.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 Ve="_base_k6x5v_1",je="_detail_k6x5v_4",Pe="_img_k6x5v_14",ze="_albumType_k6x5v_37",We="_shareBtn_k6x5v_50",Xe="_detailContent_k6x5v_62",He="_main_k6x5v_67",Ze="_favoriteContaineer_k6x5v_72",Ge="_favorite_k6x5v_72",Ke="_content_k6x5v_94",Qe="_footerBar_k6x5v_115",$e="_bgImg_k6x5v_123",ea="_musicContent_k6x5v_133",aa="_bg_k6x5v_123",ta="_alumWrap_k6x5v_150",sa="_alumTitle_k6x5v_161",oa="_alumDes_k6x5v_167",la="_des_k6x5v_170",na="_tags_k6x5v_174",ia="_tag_k6x5v_174",ua="_alumCollect_k6x5v_187",ca="_alumCollectItem_k6x5v_195",ra="_albumTips_k6x5v_212",ma="_albumPrice_k6x5v_226",pa="_alumnContainer_k6x5v_235",ga="_alumnList_k6x5v_240",_a="_alumnTitleSection_k6x5v_247",da="_subjectSearch_k6x5v_252",va="_active_k6x5v_272",Aa="_alumnTitle_k6x5v_247",ba="_iconMenu_k6x5v_284",fa="_shareVip_k6x5v_295",ha="_icon_k6x5v_284",Ca="_info_k6x5v_310",ka="_shareAlumCollect_k6x5v_326",Fa="_right_k6x5v_341",Sa="_tagDiscount_k6x5v_346",ya="_buttonDiscount_k6x5v_359",Ea="_shareMusicList_k6x5v_372",Ba="_albumShare_k6x5v_377",Ta="_btnStickyBottom_k6x5v_391",xa="_popupTitle_k6x5v_400";var a={base:Ve,detail:je,img:Pe,albumType:ze,shareBtn:We,detailContent:Xe,main:He,favoriteContaineer:Ze,favorite:Ge,content:Ke,footerBar:Qe,bgImg:$e,musicContent:ea,bg:aa,alumWrap:ta,alumTitle:sa,alumDes:oa,des:la,tags:na,tag:ia,alumCollect:ua,alumCollectItem:ca,albumTips:ra,albumPrice:ma,alumnContainer:pa,alumnList:ga,alumnTitleSection:_a,subjectSearch:da,active:va,alumnTitle:Aa,iconMenu:ba,shareVip:fa,icon:ha,info:Ca,shareAlumCollect:ka,right:Fa,tagDiscount:Sa,buttonDiscount:ya,shareMusicList:Ea,albumShare:Ba,btnStickyBottom:Ta,popupTitle:xa},Da="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABPxJREFUWEfNmVmsnVMYhp8X4UJMISFNiCklWqKRKGq4qIS02iohaItIzFyoIg4XvaCNoW6ooRKhVYRQRU3hghDpBTEHQRpNhISY4oLgk7f51s46/9l7//sMTc66Ovv/1/rW+3/D+35rHTGOERE7AocDhwFTgN3S3B/A98CXwBeS/h3rNhrtwojYFTgLOAc4GdijxcZvwNvAM8Bzkv4czZ4DA4yIfYClwNXA7qPZpJr7O7AauEfST4PYaAUYEZ5zBXA7sFcXo1uBj4EtgL3lYa8eCBwF7N9lzS/ALcC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OR/l6Z6oo5K+q7Wbx+DvxcG/T5cinDJ0PvAGsFcGEGUqMnaNpD9rwdo8GBnUE0lVjUQzIFWBt4ETMzOx6AslvdgVbBqAF6et7TEDl0p6rAbOdpSeaOVCXpAUsfp/nNge14MfAsdkMOslLa2BS+HxCHBZ0l8rKermZABtR+xFBjYSsRZJ9lUHwF+BPZL+b5L2nCRg1M+oo41sknRWLVzyYOsO5lk88hbbjnp5SQZ0raSog9XSL8QmBfgmEK1UI2dLeqma7r8mYqoefB84LgOaJymSplpqAEcu1LYfiqYz0cSJdKikaDaqxPbewM+Z8lZJu5dJMvJRlyZYlY7KeyV9VEWWlGwfCXyajflW0kEl4MSahS5wKYOXAHlB3ywp2r8ZdfDuuHNkxsdqt7pA2o7mIk6iRlZLurEEnHjDWgNp+3Dg4+KOskBS7OgMD0bJmUrLPwjU9jPRUGQ6EYtHSdpWdmb90pTD2r4h9Yj550WS4sFgm8z6tbOZOMHdVdzstkiKh6mezOrFPWVsxFyc2/m2xq/vgZPKBmPqTx+pRh4MnJCunef3eVI5U1J+q2zf4mwLRnk8qkncUic8t7ANrjUGiyAe9fmtFnQLsGRQ31h17xjhAXMYYJSSW/Js7TegCjAFd/MEfG56XGp7Am6bZ2u6/34OhMeeB+Iom9FejQ04zCXT+l/twWkBDLP7L1SqmzhkBcftAAAAAElFTkSuQmCC";const Ia="_theSong_1plfo_1",Ma="_item_1plfo_4",Na="_content_1plfo_16",Ra="_top_1plfo_19",La="_tag_1plfo_23",Ua="_tags_1plfo_28",Oa="_title_1plfo_39",qa="_singer_1plfo_46",Ya="_play_1plfo_51",Ja="_mb100_1plfo_56",Va="_pImg_1plfo_59",ja="_moreSection_1plfo_66",Pa="_collection_1plfo_74",za="_musicInfo_1plfo_79",Wa="_info_1plfo_88",Xa="_shareIcon_1plfo_106",Ha="_share_1plfo_106",Za="_shareMate_1plfo_116",Ga="_icon_1plfo_126",Ka="_tagDiscount_1plfo_147",Qa="_exquisiteFlag_1plfo_160",$a="_songAlbum_1plfo_165";var d={theSong:Ia,item:Ma,content:Na,top:Ra,tag:La,tags:Ua,title:Oa,singer:qa,play:Ya,mb100:Ja,pImg:Va,moreSection:ja,collection:Pa,musicInfo:za,info:Wa,shareIcon:Xa,share:Ha,shareMate:Za,icon:Ga,tagDiscount:Ka,exquisiteFlag:Qa,songAlbum:$a};const $=g=>{const v=`../images/${g}`;return{"../images/collection.png":ke,"../images/collection_active.png":Fe,"../images/icon-play.png":Se,"../images/icon-xin.png":ye,"../images/icon-xin2.png":qe,"../images/icon_ai.png":Ee,"../images/icon_album.png":Be,"../images/icon_album_active.png":Te,"../images/icon_author.png":xe,"../images/icon_download.png":De,"../images/icon_exquisite.png":we,"../images/icon_music_active.png":Ie,"../images/icon_share.png":Me,"../images/icon_uploader.png":Ne}[v].default};var et=ae({name:"TheSong",props:{list:{type:Array,default:()=>[]},showPlay:{type:Boolean,default:!0},musicNameClass:{type:String},authorClass:{type:String}},emits:["detail"],setup(g,{emit:v}){const l=I(()=>g.list.map(o=>(typeof o.paymentType=="string"&&(o.paymentType=o.paymentType.split(",")),{...o})));return()=>e("div",{class:d.theSong},[l.value.map(o=>{var k;return e("div",{class:d.item,onClick:()=>v("detail",o)},[e("div",{class:d.content},[e("div",{class:d.top},[o.exquisiteFlag===1&&e(E,{class:d.exquisiteFlag,src:$("icon_exquisite.png")},null),o.albumNums>0&&e(E,{class:d.songAlbum,src:$("icon_album_active.png")},null),e("span",{class:[d.title,g.musicNameClass,"van-ellipsis"]},[o.musicSheetName]),e("span",{class:[d.singer,g.authorClass,"van-ellipsis"]},[u("-"),o.composer]),e("div",{class:d.tags},[(k=o==null?void 0:o.subjectNames)==null?void 0:k.split(",").map(s=>e("span",null,[s]))])])])])})])}}),at="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAMAAABF0y+mAAAAb1BMVEUAAABG2MNG2MFF18BF2MFG18BF2MFA4MRD2cBF2MJF2cJF18FE2MFF2MFF2MFE2MFF2MFE179A3MVF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nD+L1Qw9YCuZHIx6CjuIZ+Vqr7BDWWvnzNCM3h44g40jzZnBHTiDs0SaM8MDBPYuJbxbdFZFJ38j+yqRP4vVDD1gK5kcjHoKO4hn5erlRYp3V1V+XQZ6eN0a9+L8udA2S9OrlkEM7FtTpqayR22vesX2qrHYgPapdduA9qk5fnlD78bfD/4Bah8zqvt1tfcAAAAASUVORK5CYII=";const ee=()=>{};var Et=ae({name:"AlbumDetail",props:{onItemClick:{type:Function,default:ee}},setup({onItemClick:g}){localStorage.setItem("behaviorId",fe());const v=re(),l=me(),o=H({name:l.query.subjectName||"\u5168\u90E8\u58F0\u90E8",id:l.query.subjectId||null}),k=H({search:"",relatedNum:6,page:1,rows:200}),s=r(null),f=r(!1),A=r([]),F=r(!1),te=Number(l.query.activityId)||0,se=r(te),M=r(!1),h=r(0),B=r(0),T=r("rgba(55, 205, 177, 0)"),x=r("#fff"),N=async t=>{var n;if(!F.value){F.value=!0,M.value=!1;try{const c=await C.post("/music/album/detail",{prefix:_.platformType==="TEACHER"?"/api-teacher":"/api-student",data:{id:t||l.params.id,...k,subjectIds:o.id}}),{musicSheetList:b,...m}=c.data;A.value=[...b.rows];const S=m!=null&&m.musicTagNames?(n=m==null?void 0:m.musicTagNames)==null?void 0:n.split(","):[];s.value={...m,musicTagNames:S},h.value=m.favorite,B.value=m.albumFavoriteCount}catch{M.value=!0}F.value=!1}},R=r(!1);pe(()=>{N(),Ae(document,"scroll",t=>{const{y:n}=be();n.value>20?(T.value="rgba(255, 255, 255)",x.value="black",K({api:"backIconChange",content:{iconStyle:"black"}})):(T.value="transparent",x.value="#fff",K({api:"backIconChange",content:{iconStyle:"white"}}))}),Le("\u4E13\u8F91")});const oe=async t=>{R.value=!0;try{await C.post("/music/album/favorite/"+t,{prefix:_.platformType==="TEACHER"?"/api-teacher":"/api-student"}),h.value=h.value===1?0:1,B.value+=h.value?1:-1}catch{}R.value=!1},le=async()=>{const t=s.value;p.orderObject.orderType="ALBUM",p.orderObject.orderName=t.albumName,p.orderObject.orderDesc=t.albumName,p.orderObject.actualPrice=t.albumPrice,p.orderObject.recomUserId=l.query.recomUserId||0,p.orderObject.activityId=l.query.activityId||0,p.orderObject.orderNo="",p.orderObject.orderList=[{orderType:"ALBUM",goodsName:t.albumName,recomUserId:l.query.recomUserId||0,price:t.albumPrice,...t}];const c=(await C.post("/api-student/userOrder/getPendingOrder",{data:{goodType:"ALBUM",bizId:t.id}})).data;c?Q.confirm({title:"\u63D0\u793A",message:"\u60A8\u6709\u4E00\u4E2A\u672A\u652F\u4ED8\u7684\u8BA2\u5355\uFF0C\u662F\u5426\u7EE7\u7EED\u652F\u4ED8\uFF1F",theme:"round-button",className:"confirm-button-group",cancelButtonText:"\u53D6\u6D88\u8BA2\u5355",confirmButtonText:"\u7EE7\u7EED\u652F\u4ED8"}).then(async()=>{p.orderObject.orderNo=c.orderNo,p.orderObject.actualPrice=c.actualPrice,p.orderObject.discountPrice=c.discountPrice,L()}).catch(()=>{Q.close(),ne(c.orderNo)}):L()},L=()=>{const t=s.value;v.push({path:"/orderDetail",query:{orderType:"ALBUM",album:t.id}})},ne=async t=>{try{await C.post("/api-student/userOrder/orderCancel",{data:{orderNo:t}})}catch{}},ie=t=>{o.name=t.name,o.id=t.id,f.value=!1,N()},D=r(!1),U=r(""),O=r(0),ue=async()=>{const t=_.user.data.userId,n=l.params.id;let c=0;if(console.log(_.user,t),_.platformType==="TEACHER"){const b=await C.post("/api-teacher/open/vipProfit",{data:{bizId:n,userId:t}});w.value&&(c=b.data.activityId||0,O.value=b.data.discount||0)}U.value=`${location.origin}/teacher/#/shareAblum?id=${n}&recomUserId=${t}&activityId=${c}&userType=${_.platformType}&p=tenant`,D.value=!0},w=I(()=>{var n;const t=(n=s.value)==null?void 0:n.musicPaymentTypes;return t&&t.includes("VIP")}),ce=I(()=>A.value.length>2?A.value.slice(0,2):A.value);return()=>{var t,n,c,b,m,S,q,Y,J,V,j,P,z;return e("div",{class:a.detail},[e(Ye,{position:"top"},{default:()=>[e(ve,{background:T.value,border:!1,isFixed:!1,color:x.value,backIconColor:"white"},null)]}),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},[e(E,{class:a.image,width:"100%",height:"100%",fit:"cover",src:(n=s.value)==null?void 0:n.albumCoverUrl},null)]),e("div",{class:a.alumDes},[e("div",{class:[a.alumTitle,"van-ellipsis"]},[(c=s.value)==null?void 0:c.albumName]),e("div",{class:[a.des,"van-multi-ellipsis--l2"]},[(b=s.value)==null?void 0:b.albumDesc]),e("div",{class:a.tags},[(S=(m=s.value)==null?void 0:m.musicTagNames)==null?void 0:S.map(i=>e("span",{class:a.tag},[i]))])])]),e("div",{class:a.alumCollect},[e("div",{class:a.alumCollectItem,onClick:ue},[e(E,{src:wa},null),e("span",null,[u("\u5206\u4EAB")])]),e("div",{class:a.alumCollectItem,onClick:()=>v.push({path:"/look-album-list",query:{id:l.params.id}})},[e("img",{src:Da},null),e("span",null,[u("\u76F8\u5173\u4E13\u8F91")])]),e("div",{class:a.alumCollectItem,onClick:()=>{var i;return oe((i=s.value)==null?void 0:i.id)}},[e("img",{src:h.value?he:Ce},null),e("span",null,[B.value])])]),((q=s.value)==null?void 0:q.paymentType)==="CHARGE"&&((Y=s.value)==null?void 0:Y.orderStatus)!=="PAID"&&e("div",{class:a.albumTips},[e("span",null,[u("\u5F00\u901A\u4F1A\u5458\u6216\u8D2D\u4E70\u4E13\u8F91\uFF0C\u5373\u53EF\u81EA\u7531\u7EC3\u4E60\u8BE5\u4E13\u8F91")]),e("span",{class:a.albumPrice},[u("\xA5"),ge((J=s.value)==null?void 0:J.albumPrice)])])]),e("div",{class:a.alumnContainer},[e("div",{class:a.alumnList},[e("div",{class:a.alumnTitleSection},[e("div",{class:a.alumnTitle},[e("img",{src:tt,class:a.iconMenu},null),u("\u66F2\u76EE\u5217\u8868")," ",e("span",null,[u("("),((V=s.value)==null?void 0:V.musicSheetCount)||0,u(")")])]),((j=s.value)==null?void 0:j.albumType)==="CONCERT"&&e("div",{class:[a.subjectSearch,f.value?a.active:""],onClick:()=>f.value=!0},[o.name])]),e(Re,{showNumber:!0,list:A.value,onDetail:i=>{if(g===ee||!g){const y=location.origin+location.pathname+"#/music-detail?id="+i.id+"&albumId="+l.params.id;_e(y,()=>{v.push({path:"/music-detail",query:{id:i.id,albumId:l.params.id}})})}else g(i)}},null),A.value&&A.value.length<=0&&!F.value&&e(de,{btnStatus:!1,tips:"\u6682\u65E0\u66F2\u76EE"},null)])]),((P=s.value)==null?void 0:P.paymentType)==="CHARGE"&&((z=s.value)==null?void 0:z.orderStatus)!=="PAID"&&e(Ue,{position:"bottom",class:a.btnStickyBottom},{default:()=>[e("div",{class:["btnGroup",w.value&&!_.user.data.isVip&&"btnMore"],style:{paddingTop:"12px"}},[e(Z,{block:!0,round:!0,type:"primary",style:{fontSize:"16px"},onClick:le,color:"linear-gradient(270deg, #FF204B 0%, #FE5B71 100%)"},{default:()=>[u("\u8D2D\u4E70\u4E13\u8F91")]}),w.value&&!_.user.data.isVip&&e(Z,{block:!0,round:!0,type:"primary",style:{fontSize:"16px"},color:"linear-gradient(270deg, #FF204B 0%, #FE5B71 100%)",onClick:()=>{v.push({path:"/memberCenter",query:{...l.query}})}},{default:()=>[se.value>0&&e("div",{class:[a.buttonDiscount]},[u("\u4E13\u5C5E\u4F18\u60E0")]),u("\u5F00\u901A\u4F1A\u5458")]})])]}),e(G,{show:D.value,"onUpdate:show":i=>D.value=i,style:{background:"transparent"},class:a.albumShare},{default:()=>[e(Oe,{type:"tenant",teacherId:_.user.data.userId,shareUrl:U.value,shareType:"album",shareLength:1},{default:()=>{var i,y,W,X;return[e("div",{class:a.shareVip},[O.value===1&&e("div",{class:a.tagDiscount},[u("\u4E13\u5C5E\u4F18\u60E0")]),e("img",{class:a.icon,crossorigin:"anonymous",src:((i=s.value)==null?void 0:i.albumCoverUrl)+`?t=${+new Date}`},null),e("div",{class:a.info},[e("h4",{class:"van-multi-ellipsis--l2"},[(y=s.value)==null?void 0:y.albumName]),e("p",{class:["van-multi-ellipsis--l3"],style:{lineHeight:"16px",margin:"5px 0 10px 0"}},[(W=s.value)==null?void 0:W.albumDesc]),e("div",{class:a.shareAlumCollect},[e("img",{src:at},null),e("span",null,[u("\u5171"),e("span",{style:"color: var(--van-primary-color);"},[(X=s.value)==null?void 0:X.musicSheetCount]),u("\u9996\u66F2\u76EE")])])])]),e("div",{class:[a.shareVip,a.shareMusicList]},[e(et,{list:ce.value},null)])]}})]}),e(G,{position:"bottom",round:!0,show:f.value,"onUpdate:show":i=>f.value=i,closeable:!0},{default:()=>[e("div",{class:a.popupTitle},[u("\u9009\u62E9\u58F0\u90E8")]),e(Je,{type:"ALBUM",isShowAllSubject:!0,searchParams:o,onComfirm:ie},null)]})])}}});export{Et as default};