1 |
- import{d as e,c as t,a as n,E as o,z as a,g as l,r as s,f as r,e as i,i as c,b as u,h as d,n as v,G as p,w as f,t as h,p as m,H as g,I as b,q as y,T as w,k,v as C,J as x,F as _,K as S,L as O,M as z,N as A}from"./index-d37e444c.js";const L={footer:"_footer_s7zu9_1",bottomLogo:"_bottomLogo_s7zu9_4",friendLink:"_friendLink_s7zu9_10",link:"_link_s7zu9_14",linkTitle:"_linkTitle_s7zu9_17",linkContent:"_linkContent_s7zu9_23",copyright:"_copyright_s7zu9_35",logoUrl:"_logoUrl_s7zu9_43"},T=""+new URL("logo-bottom-59fcd33f.png",import.meta.url).href,I=""+new URL("qr-code-9ca6c366.png",import.meta.url).href,P=e({name:"m-footer",setup:()=>()=>t("div",{"class":L.footer},[t("img",{"class":L.bottomLogo,src:T},null),t("div",{"class":L.friendLink},[t("div",{"class":L.link},[t("p",{"class":L.linkTitle},[n("友情链接")]),t("p",{"class":L.linkContent},[t("a",{href:"https://www.chnmusic.org/",target:"_blank"},[n("中国音乐家协会")]),t("br",null,null),t("a",{href:"https://www.cnorch.com/leaderInfo/list?leaderType=2",target:"_blank"},[n("中国音协管乐学会低音铜管")])])]),t("div",{"class":L.logoUrl},[t("img",{src:I,"class":"w100"},null),t("p",{"class":L.qrText},null)])]),t("div",{"class":L.copyright},[n("Copyright © 2022 武汉酷乐秀网络科技有限公司 "),t("br",null,null),n("All Rights Reserved.鄂ICP备2021020787号-1")])])}),B={headerSection:"_headerSection_m6k18_4",header:"_header_m6k18_4",logo:"_logo_m6k18_21",navMenu:"_navMenu_m6k18_26",line:"_line_m6k18_26","is-active":"_is-active_m6k18_41",menuPopup:"_menuPopup_m6k18_50",subCell:"_subCell_m6k18_68",arrowActive:"_arrowActive_m6k18_74"},E=""+new URL("logo-large-b4e43429.png",import.meta.url).href;function M(){}const R=Object.assign,j="undefined"!=typeof window,D=e=>null!==e&&"object"==typeof e,N=e=>null!=e,Y=e=>"function"==typeof e,q=e=>D(e)&&Y(e.then)&&Y(e["catch"]),U=e=>"number"==typeof e||/^\d+(\.\d+)?$/.test(e);function F(e,t){const n=t.split(".");let o=e;return n.forEach((e=>{var t;o=D(o)&&null!=(t=o[e])?t:""})),o}function H(e,t,n){return t.reduce(((t,o)=>(n&&void 0===e[o]||(t[o]=e[o]),t)),{})}const X=(e,t)=>JSON.stringify(e)===JSON.stringify(t),W=e=>Array.isArray(e)?e:[e],$=null,J=[Number,String],K={type:Boolean,"default":!0},V=e=>({type:e,required:!0}),Z=()=>({type:Array,"default":()=>[]}),G=e=>({type:Number,"default":e}),Q=e=>({type:J,"default":e}),ee=e=>({type:String,"default":e});var te="undefined"!=typeof window;function ne(e){return te?requestAnimationFrame(e):-1}function oe(e){te&&cancelAnimationFrame(e)}function ae(e){ne((()=>ne(e)))}var le=(e,t)=>({top:0,left:0,right:e,bottom:t,width:e,height:t}),se=e=>{const t=g(e);if(t===window){const e=t.innerWidth,n=t.innerHeight;return le(e,n)}return(null==t?void 0:t.getBoundingClientRect)?t.getBoundingClientRect():le(0,0)};function re(e){const t=o(e,null);if(t){const e=h(),{link:n,unlink:o,internalChildren:s}=t;return n(e),a((()=>o(e))),{parent:t,index:l((()=>s.indexOf(e)))}}return{parent:null,index:s(-1)}}var ie=(e,t)=>{const n=e.indexOf(t);return-1===n?e.findIndex((e=>void 0!==t.key&&null!==t.key&&e.type===t.type&&e.key===t.key)):n};function ce(e){const t=r([]),n=r([]),o=h();return{children:t,linkChildren:a=>{m(e,Object.assign({link:e=>{e.proxy&&(n.push(e),t.push(e.proxy),function(e,t,n){const o=function(e){const t=[],n=e=>{Array.isArray(e)&&e.forEach((e=>{var o;b(e)&&(t.push(e),(null==(o=e.component)?void 0:o.subTree)&&(t.push(e.component.subTree),n(e.component.subTree.children)),e.children&&n(e.children))}))};return n(e),t}(e.subTree.children);n.sort(((e,t)=>ie(o,e.vnode)-ie(o,t.vnode)));const a=n.map((e=>e.proxy));t.sort(((e,t)=>a.indexOf(e)-a.indexOf(t)))}(o,t,n))},unlink:e=>{const o=n.indexOf(e);t.splice(o,1),n.splice(o,1)},children:t,internalChildren:n},a))}}}var ue,de,ve=1e3,pe=6e4,fe=60*pe,he=24*fe;function me(e){let t,n,o,a;const r=s(e.time),d=l((()=>{return{total:e=r.value,days:Math.floor(e/he),hours:Math.floor(e%he/fe),minutes:Math.floor(e%fe/pe),seconds:Math.floor(e%pe/ve),milliseconds:Math.floor(e%ve)};var e})),v=()=>{o=!1,oe(t)},p=()=>Math.max(n-Date.now(),0),f=t=>{var n,o;r.value=t,null==(n=e.onChange)||n.call(e,d.value),0===t&&(v(),null==(o=e.onFinish)||o.call(e))},h=()=>{t=ne((()=>{o&&(f(p()),r.value>0&&h())}))},m=()=>{t=ne((()=>{if(o){const n=p();e=n,t=r.value,(Math.floor(e/1e3)!==Math.floor(t/1e3)||0===n)&&f(n),r.value>0&&m()}var e,t}))},g=()=>{te&&(e.millisecond?h():m())};return i(v),c((()=>{a&&(o=!0,a=!1,g())})),u((()=>{o&&(v(),a=!0)})),{start:()=>{o||(n=Date.now()+r.value,o=!0,g())},pause:v,reset:(t=e.time)=>{v(),r.value=t},current:d}}function ge(e){let t;d((()=>{e(),v((()=>{t=!0}))})),c((()=>{t&&e()}))}function be(e,t,n={}){if(!te)return;const{target:o=window,passive:l=!1,capture:s=!1}=n;let r,i=!1;const c=n=>{if(i)return;const o=g(n);o&&!r&&(o.addEventListener(e,t,{capture:s,passive:l}),r=!0)},d=n=>{if(i)return;const o=g(n);o&&r&&(o.removeEventListener(e,t,s),r=!1)};let v;return a((()=>d(o))),u((()=>d(o))),ge((()=>c(o))),p(o)&&(v=f(o,((e,t)=>{d(t),c(e)}))),()=>{null==v||v(),d(o),i=!0}}var ye,we=/scroll|auto|overlay/i,ke=te?window:void 0;function Ce(e){return"HTML"!==e.tagName&&"BODY"!==e.tagName&&1===e.nodeType}function xe(e,t=ke){let n=e;for(;n&&n!==t&&Ce(n);){const{overflowY:e}=window.getComputedStyle(n);if(we.test(e))return n;n=n.parentNode}return t}function _e(e,t=ke){const n=s();return d((()=>{e.value&&(n.value=xe(e.value,t))})),n}function Se(){if(!ye&&(ye=s("visible"),te)){const e=()=>{ye.value=document.hidden?"hidden":"visible"};e(),window.addEventListener("visibilitychange",e)}return ye}var Oe=Symbol("van-field");function ze(e){const t="scrollTop"in e?e.scrollTop:e.pageYOffset;return Math.max(t,0)}function Ae(e,t){"scrollTop"in e?e.scrollTop=t:e.scrollTo(e.scrollX,t)}function Le(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function Te(e){Ae(window,e),Ae(document.body,e)}function Ie(e,t){if(e===window)return 0;const n=t?ze(t):Le();return se(e).top+n}const Pe=!!j&&/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase());function Be(){Pe&&Te(Le())}function Ee(e,t){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault(),t&&(e=>{e.stopPropagation()})(e)}function Me(e){const t=g(e);if(!t)return!1;const n=window.getComputedStyle(t),o="none"===n.display,a=null===t.offsetParent&&"fixed"!==n.position;return o||a}const{width:Re,height:je}=function(){if(!ue&&(ue=s(0),de=s(0),te)){const e=()=>{ue.value=window.innerWidth,de.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}return{width:ue,height:de}}();function De(e){if(N(e))return U(e)?"".concat(e,"px"):String(e)}function Ne(e){if(N(e)){if(Array.isArray(e))return{width:De(e[0]),height:De(e[1])};const t=De(e);return{width:t,height:t}}}function Ye(e){const t={};return void 0!==e&&(t.zIndex=+e),t}let qe;function Ue(e){if("number"==typeof e)return e;if(j){if(e.includes("rem"))return function(e){return+(e=e.replace(/rem/g,""))*function(){if(!qe){const e=document.documentElement,t=e.style.fontSize||window.getComputedStyle(e).fontSize;qe=parseFloat(t)}return qe}()}(e);if(e.includes("vw"))return+e.replace(/vw/g,"")*Re.value/100;if(e.includes("vh"))return function(e){return+(e=e.replace(/vh/g,""))*je.value/100}(e)}return parseFloat(e)}const Fe=/-(\w)/g,He=e=>e.replace(Fe,((e,t)=>t.toUpperCase()));function Xe(e,t=2){let n=e+"";for(;n.length<t;)n="0"+n;return n}const We=(e,t,n)=>Math.min(Math.max(e,t),n);function $e(e,t,n){const o=e.indexOf(t);return-1===o?e:"-"===t&&0!==o?e.slice(0,o):e.slice(0,o+1)+e.slice(o).replace(n,"")}function Je(e,t=!0,n=!0){e=t?$e(e,".",/\./g):e.split(".")[0];const o=t?/[^-0-9.]/g:/[^-0-9]/g;return(e=n?$e(e,"-",/-/g):e.replace(/-/,"")).replace(o,"")}const{hasOwnProperty:Ke}=Object.prototype;function Ve(e,t){return Object.keys(t).forEach((n=>{!function(e,t,n){const o=t[n];N(o)&&(Ke.call(e,n)&&D(o)?e[n]=Ve(Object(e[n]),o):e[n]=o)}(e,t,n)})),e}const Ze=s("zh-CN"),Ge=r({"zh-CN":{name:"姓名",tel:"电话",save:"保存",clear:"清空",cancel:"取消",confirm:"确认","delete":"删除",loading:"加载中...",noCoupon:"暂无优惠券",nameEmpty:"请填写姓名",addContact:"添加联系人",telInvalid:"请填写正确的电话",vanCalendar:{end:"结束",start:"开始",title:"日期选择",weekdays:["日","一","二","三","四","五","六"],monthTitle:(e,t)=>"".concat(e,"年").concat(t,"月"),rangePrompt:e=>"最多选择 ".concat(e," 天")},vanCascader:{select:"请选择"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无门槛",discount:e=>"".concat(e,"折"),condition:e=>"满".concat(e,"元可用")},vanCouponCell:{title:"优惠券",count:e=>"".concat(e,"张可用")},vanCouponList:{exchange:"兑换",close:"不使用",enable:"可用",disabled:"不可用",placeholder:"输入优惠码"},vanAddressEdit:{area:"地区",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",addressDetail:"详细地址",defaultAddress:"设为默认收货地址"},vanAddressList:{add:"新增地址"}}});var Qe={messages:()=>Ge[Ze.value],use(e,t){Ze.value=e,this.add({[e]:t})},add(e={}){Ve(Ge,e)}};function et(e){const t=He(e)+".";return(e,...n)=>{const o=Qe.messages(),a=F(o,t+e)||F(o,e);return Y(a)?a(...n):a}}function tt(e,t){return t?"string"==typeof t?" ".concat(e,"--").concat(t):Array.isArray(t)?t.reduce(((t,n)=>t+tt(e,n)),""):Object.keys(t).reduce(((n,o)=>n+(t[o]?tt(e,o):"")),""):""}function nt(e){return(t,n)=>(t&&"string"!=typeof t&&(n=t,t=""),"".concat(t=t?"".concat(e,"__").concat(t):e).concat(tt(t,n)))}function ot(e){const t="van-".concat(e);return[t,nt(t),et(t)]}const at="van-hairline",lt="".concat(at,"--surround"),st="".concat(at,"--top-bottom"),rt="".concat(at,"-unset--top-bottom"),it="van-haptics-feedback",ct=Symbol("van-form");function ut(e,{args:t=[],done:n,canceled:o,error:a}){if(e){const l=e.apply(null,t);q(l)?l.then((e=>{e?n():o&&o()}))["catch"](a||M):l?n():o&&o()}else n()}function dt(e){return e.install=t=>{const{name:n}=e;n&&(t.component(n,e),t.component(He("-".concat(n)),e))},e}const vt=Symbol();function pt(e){const t=o(vt,null);t&&f(t,(t=>{t&&e()}))}function ft(e){const t=h();t&&R(t.proxy,e)}const ht={to:[String,Object],url:String,replace:Boolean};function mt({to:e,url:t,replace:n,$router:o}){e&&o?o[n?"replace":"push"](e):t&&(n?location.replace(t):location.href=t)}function gt(){const e=h().proxy;return()=>mt(e)}const[bt,yt]=ot("badge"),wt=dt(e({name:bt,props:{dot:Boolean,max:J,tag:ee("div"),color:String,offset:Array,content:J,showZero:K,position:ee("top-right")},setup(e,{slots:n}){const o=()=>{if(n.content)return!0;const{content:t,showZero:o}=e;return N(t)&&""!==t&&(o||0!==t&&"0"!==t)},a=()=>{const{dot:t,max:a,content:l}=e;if(!t&&o())return n.content?n.content():N(a)&&U(l)&&+l>+a?"".concat(a,"+"):l},s=e=>e.startsWith("-")?e.replace("-",""):"-".concat(e),r=l((()=>{const t={background:e.color};if(e.offset){const[o,a]=e.offset,{position:l}=e,[r,i]=l.split("-");n["default"]?(t[r]="number"==typeof a?De("top"===r?a:-a):"top"===r?De(a):s(a),t[i]="number"==typeof o?De("left"===i?o:-o):"left"===i?De(o):s(o)):(t.marginTop=De(a),t.marginLeft=De(o))}return t})),i=()=>{if(o()||e.dot)return t("div",{"class":yt([e.position,{dot:e.dot,fixed:!!n["default"]}]),style:r.value},[a()])};return()=>{if(n["default"]){const{tag:o}=e;return t(o,{"class":yt("wrapper")},{"default":()=>[n["default"](),i()]})}return i()}}}));let kt=2e3;const[Ct,xt]=ot("config-provider"),_t=Symbol(Ct),[St,Ot]=ot("icon"),zt=dt(e({name:St,props:{dot:Boolean,tag:ee("i"),name:String,size:J,badge:J,color:String,badgeProps:Object,classPrefix:String},setup(e,{slots:n}){const a=o(_t,null),s=l((()=>e.classPrefix||(null==a?void 0:a.iconPrefix)||Ot()));return()=>{const{tag:o,dot:a,name:l,size:r,badge:i,color:c}=e,u=null==(d=l)?void 0:d.includes("/");var d;return t(wt,y({dot:a,tag:o,"class":[s.value,u?"":"".concat(s.value,"-").concat(l)],style:{color:c,fontSize:De(r)},content:i},e.badgeProps),{"default":()=>{var e;return[null==(e=n["default"])?void 0:e.call(n),u&&t("img",{"class":Ot("image"),src:l},null)]}})}}})),At={show:Boolean,zIndex:J,overlay:K,duration:J,teleport:[String,Object],lockScroll:K,lazyRender:K,beforeClose:Function,overlayStyle:Object,overlayClass:$,transitionAppear:Boolean,closeOnClickOverlay:K};function Lt(){const e=s(0),t=s(0),n=s(0),o=s(0),a=s(0),l=s(0),r=s(""),i=s(!0),c=()=>{n.value=0,o.value=0,a.value=0,l.value=0,r.value="",i.value=!0};return{move:s=>{const c=s.touches[0];var u,d;n.value=(c.clientX<0?0:c.clientX)-e.value,o.value=c.clientY-t.value,a.value=Math.abs(n.value),l.value=Math.abs(o.value),(!r.value||a.value<10&&l.value<10)&&(r.value=(u=a.value)>(d=l.value)?"horizontal":d>u?"vertical":""),i.value&&(a.value>5||l.value>5)&&(i.value=!1)},start:n=>{c(),e.value=n.touches[0].clientX,t.value=n.touches[0].clientY},reset:c,startX:e,startY:t,deltaX:n,deltaY:o,offsetX:a,offsetY:l,direction:r,isVertical:()=>"vertical"===r.value,isHorizontal:()=>"horizontal"===r.value,isTap:i}}let Tt=0;const It="van-overflow-hidden";function Pt(e){const t=s(!1);return f(e,(e=>{e&&(t.value=e)}),{immediate:!0}),e=>()=>t.value?e():null}const Bt=()=>{var e;const{scopeId:t}=(null==(e=h())?void 0:e.vnode)||{};return t?{[t]:""}:null},[Et,Mt]=ot("overlay"),Rt=dt(e({name:Et,props:{show:Boolean,zIndex:J,duration:J,className:$,lockScroll:K,lazyRender:K,customStyle:Object},setup(e,{slots:n}){const o=s(),a=Pt((()=>e.show||!e.lazyRender))((()=>{var a;const l=R(Ye(e.zIndex),e.customStyle);return N(e.duration)&&(l.animationDuration="".concat(e.duration,"s")),k(t("div",{ref:o,style:l,"class":[Mt(),e.className]},[null==(a=n["default"])?void 0:a.call(n)]),[[C,e.show]])}));return be("touchmove",(t=>{e.lockScroll&&Ee(t,!0)}),{target:o}),()=>t(w,{name:"van-fade",appear:!0},{"default":a})}})),jt=R({},At,{round:Boolean,position:ee("center"),closeIcon:ee("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:ee("top-right"),safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),[Dt,Nt]=ot("popup"),Yt=dt(e({name:Dt,inheritAttrs:!1,props:jt,emits:["open","close","opened","closed","keydown","update:show","clickOverlay","clickCloseIcon"],setup(e,{emit:n,attrs:o,slots:a}){let r,p;const h=s(),g=s(),b=Pt((()=>e.show||!e.lazyRender)),S=l((()=>{const t={zIndex:h.value};return N(e.duration)&&(t["center"===e.position?"animationDuration":"transitionDuration"]="".concat(e.duration,"s")),t})),O=()=>{r||(r=!0,h.value=void 0!==e.zIndex?+e.zIndex:++kt,n("open"))},z=()=>{r&&ut(e.beforeClose,{done(){r=!1,n("close"),n("update:show",!1)}})},A=t=>{n("clickOverlay",t),e.closeOnClickOverlay&&z()},L=()=>{if(e.overlay)return t(Rt,y({show:e.show,"class":e.overlayClass,zIndex:h.value,duration:e.duration,customStyle:e.overlayStyle,role:e.closeOnClickOverlay?"button":void 0,tabindex:e.closeOnClickOverlay?0:void 0},Bt(),{onClick:A}),{"default":a["overlay-content"]})},T=e=>{n("clickCloseIcon",e),z()},I=()=>{if(e.closeable)return t(zt,{role:"button",tabindex:0,name:e.closeIcon,"class":[Nt("close-icon",e.closeIconPosition),it],classPrefix:e.iconPrefix,onClick:T},null)};let P;const B=()=>{P&&clearTimeout(P),P=setTimeout((()=>{n("opened")}))},E=()=>n("closed"),M=e=>n("keydown",e),R=b((()=>{var n;const{round:l,position:s,safeAreaInsetTop:r,safeAreaInsetBottom:i}=e;return k(t("div",y({ref:g,style:S.value,role:"dialog",tabindex:0,"class":[Nt({round:l,[s]:s}),{"van-safe-area-top":r,"van-safe-area-bottom":i}],onKeydown:M},o,Bt()),[null==(n=a["default"])?void 0:n.call(a),I()]),[[C,e.show]])})),j=()=>{const{position:n,transition:o,transitionAppear:a}=e;return t(w,{name:o||("center"===n?"van-fade":"van-popup-slide-".concat(n)),appear:a,onAfterEnter:B,onAfterLeave:E},{"default":R})};return f((()=>e.show),(e=>{e&&!r&&(O(),0===o.tabindex&&v((()=>{var e;null==(e=g.value)||e.focus()}))),!e&&r&&(r=!1,n("close"))})),ft({popupRef:g}),function(e,t){const n=Lt(),o=t=>{n.move(t);const o=n.deltaY.value>0?"10":"01",a=xe(t.target,e.value),{scrollHeight:l,offsetHeight:s,scrollTop:r}=a;let i="11";0===r?i=s>=l?"00":"01":r+s>=l&&(i="10"),"11"===i||!n.isVertical()||parseInt(i,2)&parseInt(o,2)||Ee(t,!0)},a=()=>{document.addEventListener("touchstart",n.start),document.addEventListener("touchmove",o,{passive:!1}),Tt||document.body.classList.add(It),Tt++},l=()=>{Tt&&(document.removeEventListener("touchstart",n.start),document.removeEventListener("touchmove",o),Tt--,Tt||document.body.classList.remove(It))},s=()=>t()&&l();ge((()=>t()&&a())),u(s),i(s),f(t,(e=>{e?a():l()}))}(g,(()=>e.show&&e.lockScroll)),be("popstate",(()=>{e.closeOnPopstate&&(z(),p=!1)})),d((()=>{e.show&&O()})),c((()=>{p&&(n("update:show",!0),p=!1)})),u((()=>{e.show&&e.teleport&&(z(),p=!0)})),m(vt,(()=>e.show)),()=>e.teleport?t(x,{to:e.teleport},{"default":()=>[L(),j()]}):t(_,null,[L(),j()])}})),[qt,Ut]=ot("cell"),Ft={tag:ee("div"),icon:String,size:String,title:J,value:J,label:J,center:Boolean,isLink:Boolean,border:K,iconPrefix:String,valueClass:$,labelClass:$,titleClass:$,titleStyle:null,arrowDirection:String,required:{type:[Boolean,String],"default":null},clickable:{type:Boolean,"default":null}};const Ht=dt(e({name:qt,props:R({},Ft,ht),setup(e,{slots:n}){const o=gt(),a=()=>{if(n.label||N(e.label))return t("div",{"class":[Ut("label"),e.labelClass]},[n.label?n.label():e.label])},l=()=>{var o;if(n.title||N(e.title)){const l=null==(o=n.title)?void 0:o.call(n);if(Array.isArray(l)&&0===l.length)return;return t("div",{"class":[Ut("title"),e.titleClass],style:e.titleStyle},[l||t("span",null,[e.title]),a()])}},s=()=>{const o=n.value||n["default"];if(o||N(e.value))return t("div",{"class":[Ut("value"),e.valueClass]},[o?o():t("span",null,[e.value])])},r=()=>{if(n["right-icon"])return n["right-icon"]();if(e.isLink){const n=e.arrowDirection&&"right"!==e.arrowDirection?"arrow-".concat(e.arrowDirection):"arrow";return t(zt,{name:n,"class":Ut("right-icon")},null)}};return()=>{var a;const{tag:i,size:c,center:u,border:d,isLink:v,required:p}=e,f=null!=(a=e.clickable)?a:v,h={center:u,required:!!p,clickable:f,borderless:!d};return c&&(h[c]=!!c),t(i,{"class":Ut(h),role:f?"button":void 0,tabindex:f?0:void 0,onClick:o},{"default":()=>{var o;return[n.icon?n.icon():e.icon?t(zt,{name:e.icon,"class":Ut("left-icon"),classPrefix:e.iconPrefix},null):void 0,l(),s(),r(),null==(o=n.extra)?void 0:o.call(n)]}})}}}));function Xt(e){var t;const n="function"==typeof(o=e)?o():g(o);var o;return null!=(t=null==n?void 0:n.$el)?t:n}const Wt="undefined"!=typeof window&&"undefined"!=typeof document?window:void 0;function $t(e,t,n={}){const{window:o=Wt,...a}=n;let r;const i=function(e){const t=function(){const e=s(!1);return h()&&d((()=>{e.value=!0})),e}();return l((()=>(t.value,Boolean(e()))))}((()=>o&&"ResizeObserver"in o)),c=()=>{r&&(r.disconnect(),r=void 0)},u=l((()=>Array.isArray(e)?e.map((e=>Xt(e))):[Xt(e)])),v=f(u,(e=>{if(c(),i.value&&o){r=new ResizeObserver(t);for(const t of e)t&&r.observe(t,a)}}),{immediate:!0,flush:"post",deep:!0}),p=()=>{c(),v()};var m;return m=p,S()&&O(m),{isSupported:i,stop:p}}const Jt=e({name:"m-header",emits:["height"],setup(e,{emit:n}){const o=z(),a=A(),l=s(!1),r=s(!1),i=s(!1),c=s(),u=e=>{r.value=!1,l.value=!1,a.push(e)};return d((()=>{["/music-classroom","/colexiu-tenant","/colexiu-person"].includes(o.path)&&(i.value=!0);try{$t(c.value,(e=>{const t=e[0],{height:o}=t.contentRect;n("height",o)}))}catch(e){}})),()=>t("div",{"class":B.headerSection,id:"headerSection"},[t("div",{"class":B.header,ref:c},[t("img",{"class":B.logo,src:E,onClick:()=>a.push("/")},null),t("div",{"class":[B.navMenu,l.value&&B["is-active"]],onClick:()=>{l.value=!l.value,r.value=!r.value}},[t("span",{"class":[B.line,B.line1]},null),t("span",{"class":[B.line,B.line2]},null),t("span",{"class":[B.line,B.line3]},null)])]),t(Yt,{position:"top",show:r.value,"onUpdate:show":[e=>r.value=e,e=>{l.value=e}],"class":B.menuPopup,teleport:"body"},{"default":()=>[t("div",{"class":"van-hairline--top"},[t(Ht,{title:"首页",border:!1,clickable:!0,"class":["/","/colexiu-technology"].includes(o.path)&&B["is-active"],onClick:()=>u("/")},null),t(Ht,{title:"产品",clickable:!0,border:!1,"class":["/home"].includes(o.path)&&B["is-active"],onClick:()=>u("/home")},null),t(Ht,{title:"解决方案",isLink:!0,clickable:!0,arrowDirection:i.value?"up":"down",border:!1,onClick:()=>i.value=!i.value},null),t("div",{"class":[B.subCell,i.value&&B.arrowActive]},[t(Ht,{title:"数字化音乐课堂",clickable:!0,border:!1,"class":["/music-classroom"].includes(o.path)&&B["is-active"],onClick:()=>u("/music-classroom")},null),t(Ht,{title:"器乐教培行业解决方案",clickable:!0,border:!1,"class":["/colexiu-tenant"].includes(o.path)&&B["is-active"],onClick:()=>u("/colexiu-tenant")},null),t(Ht,{title:"音乐达人展示平台",clickable:!0,border:!1,"class":["/colexiu-person"].includes(o.path)&&B["is-active"],onClick:()=>u("/colexiu-person")},null)]),t(Ht,{title:"渠道合作",border:!1,clickable:!0,"class":["/cooperate-channels"].includes(o.path)&&B["is-active"],onClick:()=>u("/cooperate-channels")},null),t(Ht,{title:"关于我们",clickable:!0,border:!1,"class":["/about-us"].includes(o.path)&&B["is-active"],onClick:()=>u("/about-us")},null)])]})])}});export{D as $,De as A,N as B,st as C,Te as D,Ie as E,ut as F,mt as G,wt as H,ht as I,$ as J,re as K,ae as L,Jt as M,H as N,Lt as O,Se as P,Ee as Q,We as R,Yt as S,gt as T,lt as U,zt as V,Z as W,it as X,X as Y,rt as Z,Le as _,P as a,q as a0,Y as a1,Ft as a2,Oe as a3,Ht as a4,ct as a5,W as a6,Je as a7,Be as a8,Xe as a9,me as aa,Ne as ab,G as ac,ot as b,oe as c,Q as d,Ue as e,R as f,ze as g,Ye as h,j as i,be as j,Me as k,se as l,ee as m,J as n,ge as o,je as p,dt as q,ne as r,Ae as s,V as t,_e as u,ft as v,Re as w,K as x,ce as y,pt as z};
|