index-017650ba.js 20 KB

1
  1. import{d as G,x as C,r as b,y as z,a8 as K,a as t,Q as O,A as v,F as M,C as W,P as Y,M as L,e as E,S as A,z as D,am as Z,I as j,L as X,a2 as H,aE as $,aF as ee,E as V,an as te,D as se}from"./index-521a9826.js";import{M as oe}from"./index-304d023e.js";import{i as ae,b as ie,c as ce}from"./api-d4ea9d8b.js";import{h as ne}from"./html2canvas.esm-9945d45c.js";import{g as k,s as u,a as re,b as le}from"./api-5dda1e6a.js";import{T as ue}from"./index-e0de1f06.js";import{P as U}from"./index-506b98ec.js";import{N as F}from"./index-6dc4c05e.js";import"./index-e6f760ef.js";import"./index-1ad6a58d.js";const pe="_back_1y3kp_1",me="_musicCFixed_1y3kp_16",de="_musicName_1y3kp_21",ye="_popoverMusic_1y3kp_27",ve="_container_1y3kp_36",fe="_content_1y3kp_42",ge="_opacityBg_1y3kp_47",he="_leftContent_1y3kp_52",Se="_leftBg_1y3kp_57",we="_leftBg2_1y3kp_68",ke="_types_1y3kp_78",be="_type_1y3kp_78",xe="_typeActive_1y3kp_98",Ie="_typeImg_1y3kp_98",Be="_scaleBtn_1y3kp_1",Ae="_typeIcon_1y3kp_112",Ce="_center_1y3kp_123",Me="_centerSearch_1y3kp_130",qe="_musicContent_1y3kp_141",We="_searchNotice_1y3kp_152",Ve="_searchNoticeShow_1y3kp_161",Ne="_musicItem_1y3kp_164",Pe="_disableNotic_1y3kp_177",Qe="_musicActive_1y3kp_181",Re="_musicAvtor_1y3kp_191",Le="_musicInfo_1y3kp_205",Ee="_noticeBar_1y3kp_213",Ue="_musicDes_1y3kp_217",Fe="_musicFavitor_1y3kp_222",Ge="_musicAuthor_1y3kp_234",ze="_musicIcon_1y3kp_242",Oe="_right_1y3kp_246",_e="_staff_1y3kp_262",Te="_rightBox_1y3kp_265",Je="_rightBtns_1y3kp_271",Ke="_rightBtnsRight_1y3kp_297",Ye="_loadingWrap_1y3kp_323",De="_empty_1y3kp_328",Ze="_displayIcon_1y3kp_1",s={back:pe,musicCFixed:me,musicName:de,popoverMusic:ye,container:ve,content:fe,opacityBg:ge,leftContent:he,leftBg:Se,leftBg2:we,types:ke,type:be,typeActive:xe,typeImg:Ie,scaleBtn:Be,typeIcon:Ae,center:Ce,centerSearch:Me,musicContent:qe,searchNotice:We,searchNoticeShow:Ve,musicItem:Ne,disableNotic:Pe,musicActive:Qe,musicAvtor:Re,musicInfo:Le,noticeBar:Ee,musicDes:Ue,musicFavitor:Fe,musicAuthor:Ge,musicIcon:ze,right:Oe,"right-musicName":"_right-musicName_1y3kp_254",staff:_e,rightBox:Te,rightBtns:Je,rightBtnsRight:Ke,loadingWrap:Ye,empty:De,displayIcon:Ze},je=""+new URL("icon_down-27184904.svg",import.meta.url).href,Xe=""+new URL("icon_jianpuActive-17580202.svg",import.meta.url).href,He="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANYAAAA8CAMAAAAt4rT4AAAC61BMVEUAAAA+vP9Dyf8nn/9Fyv9Cwf9Eyf8mnv8oof9Fy/9FzP8mnv9Cxv8mnv9Dyf9Eyv8nn/8pov9Izf8roP9Eyv9Gzf8ooP8on/8oov9Gy/8nnv8pn/8qo/9Bx/9Fzf9GzP9Cx/////8mn/8oof9Dyf8rpv8yr/4pov0qpP88vv49wP4sqP83t/8wrP40s/47vf86vP4sp/05uv4tqf81tP82tf8+wv84uP5Eyv8uqv8xrv82tv0vq/8lnf8zsf08v/89v/8/xP5Bxf86u/9Bx/5Fy/8/xP8ysP/n+P89wP/w+//q+f/e9f/b9P/X8/84uP/h9v9Cx//j9/9Bxv/4/v8wrf/s+v84uf80sv/z/P/p+f/Z8/85u/8ek+r2/f87vfwqpPkhl+8zsf8uqvonoPAjmu/l9/8sqPi+4fsxrvk0svggler1/f8ooPrh8f0qpPX8/v45uvowrPgrpPLu+v/G5fsmnvMkm+4hl+wlnfYgle2v4//J5vosp/opofQekuj5/P4mnvklnfElne73+/6Dy/4wrPwyr/stmuvw+P42tvmz2/guqvcnoPY2nevy/P+o2f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vUFIAQhPEEzxeg5hVJGpSjNDVlGJw4oV+BStIsW4TGFBp8B1UqzEQFKsmKPSPNWYlylYN31OUkjXBcNAhxCXguVpA0+tRv4JNDamgnaWZSBNRBSbSIko+bFSRN8EGQZVsGdZWk/SlJ8+BGTJK6qGoDwC4c47NJwJJiGmeLbnEZptwTkJM62QyDCh05CbfmdRGSezIGNMVoUM49lSEn6Wj5nqGYZDnU+og7vNqldDVKoXHxKrBWP8M7egdVHC2UrMFgCvmqxvig9MZFSs3oatplbgWlFrICfEpnC2bZ81ZAraUIMu0yBBTCUMy3cIkqt4upuNllw4UmSAO7gN65rqpcFJVTalswi7wuAVC0z1ZsGejIghLsKZT56YkI8t2AcR8uAyXDLRXG4VJVkkjmbuV2bdb1tlWLG1fshH7jIvZkpwy6FZRauBWbRulOCGD87nj/k3Wy8HxJA0kTHLINF6crBYTIPSWAUE1myxF/ERasJBg1tYvt9y3tSV63MFxTE1thKd5/y48xaBd0kUKOrdBHS1FJHy18k1ITSbyca51JQEl+wastGS3dMtLTk7F3rkpzVluFsRXe+mOMf11rnoZKh2qbAAAAAElFTkSuQmCC",$e={icon_start:He},et=G({name:"coai-guide",emits:["close"],setup(f,{emit:N}){const o=C({box:{},show:!1,steps:[{ele:"",eleRect:{},img:k("coai-1.png"),handStyle:{top:"0.91rem"},imgStyle:{top:"1.5rem",width:"6.55rem",height:"2.76rem"},btnsStyle:{top:"4.7rem",left:"2.0rem",transform:"scale(1.2)"},boxStyle:{borderRadius:"40px",transform:"scale(1)"}},{ele:"",img:k("coai-2.png"),handStyle:{top:"-1.39rem",left:"0.15rem",transform:"rotate(180deg)"},imgStyle:{top:"-4rem"},btnsStyle:{top:"-1.3rem",left:"1.3rem"}},{ele:"",img:k("coai-3.png"),handStyle:{top:"-1.39rem",left:"0.17rem",transform:"rotate(180deg)"},imgStyle:{top:"-4rem"},btnsStyle:{top:"-1.3rem",left:"1.3rem"}},{ele:"",img:k("coai-4.png"),handStyle:{top:"-1.39rem",left:"1.4rem",transform:"rotate(180deg)"},imgStyle:{top:"-4rem",left:"-3.7rem",width:"6.00rem",height:"2.53rem"},boxStyle:{borderRadius:"40px",transform:"scale(1.1)"},btnsStyle:{top:"-1.1rem",left:"-3.8rem","justify-content":"center",padding:0}}],step:0}),e=b(!1),p=b({});(async()=>{var n;try{const l=await re({guideTag:"guideInfo"});l.data?p.value=JSON.parse((n=l.data)==null?void 0:n.guideValue)||null:p.value={},p.value&&p.value.coaiGuide?e.value=!1:e.value=!0}catch(l){console.log(l)}})();const y=()=>{console.log(`coai-${o.step}`);const n=document.getElementById(`coai-${o.step}`);if(n){const l=n.getBoundingClientRect();o.box={left:l.x+"px",top:l.y+"px",width:l.width+"px",height:l.height+"px"}}else g()};z(()=>{y(),window.addEventListener("resize",x)});const x=()=>{y()};K(()=>{window.removeEventListener("resize",x)});const g=()=>{if(o.step>=3){h();return}o.step=o.step+1,y()},h=async()=>{p.value?p.value.coaiGuide=!0:p.value={coaiGuide:!0};try{const n=await le({guideTag:"guideInfo",guideValue:JSON.stringify(p.value)})}catch(n){console.log(n)}e.value=!1};return()=>t(O,{teleport:"body",overlay:!1,closeOnClickOverlay:!1,class:["popup-custom",u.guidePopup],show:e.value,"onUpdate:show":n=>e.value=n},{default:()=>[t("div",{class:u.content,onClick:()=>g()},[o.step!=o.steps.length-1&&t("div",{class:u.backBtn,onClick:n=>{n.stopPropagation(),h()}},[v("跳过")]),t("div",{class:u.box,style:{...o.box,...o.steps[o.step].boxStyle},id:`modeType-${o.step}`},[o.steps.map((n,l)=>{var m,S;return t("div",{onClick:I=>I.stopPropagation(),class:u.item,style:{display:l===o.step?"":"none",left:`${(m=n.eleRect)==null?void 0:m.left}px`,top:`${(S=n.eleRect)==null?void 0:S.top}px`}},[t("img",{class:u.img,style:n.imgStyle,src:n.img},null),t("img",{class:u.iconHead,style:n.handStyle,src:k("indexDot.png")},null),t("div",{class:u.btns,style:n.btnsStyle},[o.step+1==o.steps.length?t(M,null,[t(W,{class:[u.btn],round:!0,type:"primary",onClick:()=>h()},{default:()=>[v("完成")]}),t(W,{class:[u.btn,u.endBtn],round:!0,color:"transparent",style:{"border-color":"#fff"},type:"primary",onClick:()=>{o.step=0,y()}},{default:()=>[v("再看一遍")]})]):t(W,{class:u.btn,round:!0,type:"primary",onClick:()=>g()},{default:()=>[v("下一步 ("),o.step+1,v("/"),o.steps.length,v(")")]})])])})])])]})}}),pt=G({name:"co-ai",setup(){var P,Q;const f=Y(),N=C({page:1,rows:999,subjectId:((P=L.user.data)==null?void 0:P.subjectId)||"",musicTagIds:f.query.musicTagId?[f.query.musicTagId]:[]}),o=C({page:1,rows:20,status:1,keyword:"",musicSheetCategoriesId:f.query.id}),e=C({musicSheetCategoriesName:f.query.name,typeIndex:0,musicIndex:0,showMusicImg:"first",popoverShow:!1,popoverMusicShow:!1,types:[],musics:[],loading:!0,finshed:!1,searchNoticeShow:!1,searchNotice:{left:"",top:"",width:"",height:""},showVip:!1,vipMember:(Q=L.user.data)==null?void 0:Q.vipMember}),p=b(),q=b(!1),y=E(()=>[{value:"staff",text:"五线谱"},{value:"first",text:"首调"},{value:"fixed",text:"固定调"}].map((c,i)=>({...c,color:e.showMusicImg===c.value?"var(--van-primary-color)":"",className:e.showMusicImg===c.value?"fontBlod":""}))),x=E(()=>e.types.map(c=>({...c,color:o.musicSheetCategoriesId==c.value?"var(--van-primary-color)":"",className:o.musicSheetCategoriesId==c.value?"fontBlod":""}))),g=()=>{A({api:"goBack"})},h=()=>{var r;if(!e.vipMember){e.showVip=!0;return}let c="staff";e.showMusicImg==="first"?c="firstTone":e.showMusicImg==="fixed"?c="fixedTone":e.showMusicImg==="staff"&&(c="staff");let i=`${location.origin}/instrument?id=${(r=e.musics[e.musicIndex])==null?void 0:r.id}&musicRenderType=${c}&showGuide=true`;A({api:"openAccompanyWebView",content:{url:i,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0,c_orientation:0}})},n=async()=>{ee({message:"正在保存",duration:0});try{ne(p.value,{backgroundColor:"#fff",allowTaint:!0,useCORS:!0}).then(async c=>{var i=c.toDataURL("image/png",1);setTimeout(()=>{V("已保存到相册")},500);const r=await te({api:"savePicture",content:{base64:i}})}).catch(()=>{setTimeout(()=>{V("保存失败")},500)})}catch(c){setTimeout(()=>{V("保存失败")},500)}},l=async()=>{var c;try{const i=await ie({...N});if(i.code===200&&Array.isArray((c=i==null?void 0:i.data)==null?void 0:c.rows)){const r=[];i.data.rows.forEach(w=>{r.push({value:w.id,text:w.name})}),e.types=r}}catch(i){console.log("🚀 ~ error:",i)}},m=async()=>{var c;e.loading=!0;try{const i=await ce({...o});i.code===200&&Array.isArray((c=i==null?void 0:i.data)==null?void 0:c.rows)&&(e.musics=[...e.musics,...i.data.rows],e.finshed=!i.data.next),q.value=!0}catch(i){console.log("🚀 ~ error:",i)}e.loading=!1},S=()=>{o.page=1,e.musics=[],m()},I=b(),_=()=>{e.loading||e.finshed||(o.page=o.page+1,m())},T=()=>{const c=document.querySelector(".searchNotice .van-field__control");if(c){const i=c.getBoundingClientRect();e.searchNotice.left=i.x+"px",e.searchNotice.top=i.y+"px",e.searchNotice.width=i.width+"px",e.searchNotice.height=i.height+"px"}};return z(async()=>{A({api:"setStatusBarVisibility",content:{isVisibility:0}}),await l(),m();const c=new IntersectionObserver(r=>{r[0].intersectionRatio>0&&_()});D(()=>{c.observe(I.value)});const i=async()=>{const r=await se.get("/edu-app/user/getUserInfo",{initRequest:!0,requestType:"form",hideLoading:!0});(r==null?void 0:r.code)===200&&(e.vipMember=r.data.vipMember)};Z("webViewOnResume",()=>{console.log("页面显示"),i(),e.typeIndex=0,e.musicIndex=0,S()}),T()}),()=>{var c,i,r,w,R;return t("div",{class:s.container},[t("div",{class:s.back,onClick:g},[t("img",{src:ae},null)]),t("div",{class:s.musicCFixed},[t(U,{show:e.popoverMusicShow,"onUpdate:show":a=>e.popoverMusicShow=a,class:s.popoverMusic,actions:x.value,placement:"bottom",showArrow:!1,onSelect:a=>{a.value!=o.musicSheetCategoriesId&&(e.musics=[],o.musicSheetCategoriesId=a.value,e.musicSheetCategoriesName=a.text,e.popoverMusicShow=!1,m())}},{reference:()=>t("span",{class:s.musicName},[e.musicSheetCategoriesName,t(j,{name:"arrow-down"},null)])})]),t("div",{class:s.content},[t("div",{class:[s.leftContent]},[t("div",{class:s.leftBg2},null),t("div",{class:s.center},[t("div",{class:s.centerSearch},[t("div",{id:"coai-0"},[t(oe,{class:["searchNotice",e.searchNoticeShow?s.searchNoticeShow:""],shape:"round",background:"transparent",clearable:!1,placeholder:"请输入关键字",modelValue:o.keyword,onFocus:()=>e.searchNoticeShow=!1,onBlur:a=>{o.keyword=(a==null?void 0:a.trim())||"",requestAnimationFrame(()=>{requestAnimationFrame(()=>{o.keyword&&(e.searchNoticeShow=!0)})})},onSearch:a=>{o.keyword=a,S()}},null)])]),t("div",{class:s.musicContent},[e.musics.map((a,d)=>t("div",{class:[s.musicItem,e.musicIndex===d?s.musicActive:s.disableNotic],onClick:()=>e.musicIndex=d},[t("img",{class:s.musicAvtor,src:a.titleImg,onLoad:B=>{B.target.setAttribute("loaded","true")}},null),t("div",{class:s.musicInfo},[t("div",{class:s.musicName},[t(F,{text:a.musicSheetName,class:s.noticeBar,background:"none"},null)]),t("div",{class:s.musicDes},[t("div",{class:s.musicFavitor},[a.usedNum]),t("div",{class:[s.musicAuthor,"van-ellipsis"]},[a.composer||"佚名"])])])])),!e.finshed&&t("div",{ref:I,class:s.loadingWrap},[t(X,{color:"#259CFE"},null)]),!e.loading&&e.musics.length===0&&t("div",{class:s.empty},[t(H,{description:"暂无曲谱"},null)])])])]),t("div",{class:[s.opacityBg,s.right]},[t("div",{class:s.rightBox},[t("div",{ref:p},[t("div",{class:s["right-musicName"]},[(c=e.musics[e.musicIndex])==null?void 0:c.musicSheetName]),e.showMusicImg==="first"?t(M,null,[(r=(i=e.musics[e.musicIndex])==null?void 0:i.musicSvg)==null?void 0:r.split(",").map((a,d)=>t("img",{class:s.staff,src:a+"?v="+Date.now(),key:a,crossorigin:"anonymous"},null))]):e.showMusicImg==="fixed"?t(M,null,[t($,{name:"van-fade"},{default:()=>{var a,d;return[(d=(a=e.musics[e.musicIndex])==null?void 0:a.musicJianSvg)==null?void 0:d.split(",").map((B,J)=>t("img",{class:s.staff,src:B+"?v="+Date.now(),key:B,crossorigin:"anonymous"},null))]}})]):t(M,null,[(R=(w=e.musics[e.musicIndex])==null?void 0:w.musicImg)==null?void 0:R.split(",").map((a,d)=>t("img",{class:s.staff,src:a+"?v="+Date.now(),key:a,crossorigin:"anonymous"},null))])])]),t("div",{class:s.rightBtns},[t(U,{show:e.popoverShow,"onUpdate:show":a=>e.popoverShow=a,class:s.popover,actions:y.value,placement:"top-start",onSelect:a=>{e.showMusicImg=a.value,e.popoverShow=!1}},{reference:()=>t("img",{id:"coai-1",src:Xe},null)}),t("img",{id:"coai-2",src:je,onClick:n},null),t("div",{class:s.rightBtnsRight,id:"coai-3"},[t("img",{src:$e.icon_start,onClick:()=>h()},null)])])])]),e.searchNotice.width&&e.searchNoticeShow&&t("div",{class:s.searchNotice,style:{...e.searchNotice}},[t(F,{text:o.keyword,color:"#333",background:"none"},null)]),q.value&&t(et,null,null),t(O,{class:"popup-custom van-scale",transition:"van-scale",closeOnClickOverlay:!1,show:e.showVip,"onUpdate:show":a=>e.showVip=a},{default:()=>[t(ue,{onClose:a=>{a&&A({api:"openWebView",content:{url:`${location.origin}${location.pathname}#/member-center`,orientation:1}}),e.showVip=!1}},null)]})])}}});export{pt as default};