1 |
- import{d as D,c as r,a as F,H as ie,C as Se,g as L,r as m,f as J,e as Be,i as le,b as H,h as K,n as Oe,I as We,w as N,t as M,p as xe,J as V,K as Xe,q as Q,T as Te,k as De,v as Pe,L as Ze,F as Ge,M as Je,N as Qe}from"./index-63a04118.js";const et="_footer_17h0l_1",tt="_bottomLogo_17h0l_4",nt="_friendLink_17h0l_10",ot="_link_17h0l_14",at="_linkTitle_17h0l_17",st="_linkContent_17h0l_23",it="_copyright_17h0l_30",lt="_logoUrl_17h0l_38",S={footer:et,bottomLogo:tt,friendLink:nt,link:ot,linkTitle:at,linkContent:st,copyright:it,logoUrl:lt},rt=""+new URL("logo-bottom-7494d22a.png",import.meta.url).href,ut=""+new URL("qrcode-ba752f74.png",import.meta.url).href,Fn=D({name:"m-footer",setup(){return()=>r("div",{class:S.footer},[r("img",{class:S.bottomLogo,src:rt},null),r("div",{class:S.friendLink},[r("div",{class:S.link},[r("p",{class:S.linkTitle},[F("友情链接")]),r("p",{class:S.linkContent},[F("中国音乐家协会"),r("br",null,null),F("中国音协管乐学会低音铜管")])]),r("div",{class:S.logoUrl},[r("img",{src:ut,class:"w100"},null)])]),r("div",{class:S.copyright},[F("Copyright © 2022 武汉酷乐秀网络科技有限公司 "),r("br",null,null),F("All Rights Reserved.鄂ICP备2021020787号-1")])])}}),ct="_headerSection_saqww_1",dt="_header_saqww_1",ft="_logo_saqww_18",vt="_navMenu_saqww_23",mt="_line_saqww_23",ht="_menuPopup_saqww_47",gt="_subCell_saqww_65",pt="_arrowActive_saqww_71",h={headerSection:ct,header:dt,logo:ft,navMenu:vt,line:mt,"is-active":"_is-active_saqww_38",menuPopup:ht,subCell:gt,arrowActive:pt},bt=""+new URL("logo-large-b4e43429.png",import.meta.url).href;function yt(){}const W=Object.assign,Ae=typeof window<"u",re=e=>e!==null&&typeof e=="object",_=e=>e!=null,ee=e=>typeof e=="function",wt=e=>re(e)&&ee(e.then)&&ee(e.catch),Ie=e=>typeof e=="number"||/^\d+(\.\d+)?$/.test(e),Et=()=>Ae?/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()):!1;function de(e,t){const n=t.split(".");let o=e;return n.forEach(s=>{var a;o=re(o)&&(a=o[s])!=null?a:""}),o}function Rn(e,t,n){return t.reduce((o,s)=>((!n||e[s]!==void 0)&&(o[s]=e[s]),o),{})}const $n=(e,t)=>JSON.stringify(e)===JSON.stringify(t),Ln=e=>Array.isArray(e)?e:[e],$=null,E=[Number,String],O={type:Boolean,default:!0},Nn=e=>({type:e,required:!0}),Mn=()=>({type:Array,default:()=>[]}),zn=e=>({type:Number,default:e}),Un=e=>({type:E,default:e}),T=e=>({type:String,default:e});var P=typeof window<"u";function j(e){return P?requestAnimationFrame(e):-1}function Ct(e){P&&cancelAnimationFrame(e)}function Yn(e){j(()=>j(e))}var _t=e=>e===window,fe=(e,t)=>({top:0,left:0,right:e,bottom:t,width:e,height:t}),kt=e=>{const t=V(e);if(_t(t)){const n=t.innerWidth,o=t.innerHeight;return fe(n,o)}return t!=null&&t.getBoundingClientRect?t.getBoundingClientRect():fe(0,0)};function qn(e){const t=ie(e,null);if(t){const n=M(),{link:o,unlink:s,internalChildren:a}=t;o(n),Se(()=>s(n));const l=L(()=>a.indexOf(n));return{parent:t,index:l}}return{parent:null,index:m(-1)}}function St(e){const t=[],n=o=>{Array.isArray(o)&&o.forEach(s=>{var a;Xe(s)&&(t.push(s),(a=s.component)!=null&&a.subTree&&(t.push(s.component.subTree),n(s.component.subTree.children)),s.children&&n(s.children))})};return n(e),t}var ve=(e,t)=>{const n=e.indexOf(t);return n===-1?e.findIndex(o=>t.key!==void 0&&t.key!==null&&o.type===t.type&&o.key===t.key):n};function Bt(e,t,n){const o=St(e.subTree.children);n.sort((a,l)=>ve(o,a.vnode)-ve(o,l.vnode));const s=n.map(a=>a.proxy);t.sort((a,l)=>{const i=s.indexOf(a),u=s.indexOf(l);return i-u})}function Vn(e){const t=J([]),n=J([]),o=M();return{children:t,linkChildren:a=>{xe(e,Object.assign({link:u=>{u.proxy&&(n.push(u),t.push(u.proxy),Bt(o,t,n))},unlink:u=>{const c=n.indexOf(u);t.splice(c,1),n.splice(c,1)},children:t,internalChildren:n},a))}}}var te=1e3,ne=60*te,oe=60*ne,me=24*oe;function Ot(e){const t=Math.floor(e/me),n=Math.floor(e%me/oe),o=Math.floor(e%oe/ne),s=Math.floor(e%ne/te),a=Math.floor(e%te);return{total:e,days:t,hours:n,minutes:o,seconds:s,milliseconds:a}}function xt(e,t){return Math.floor(e/1e3)===Math.floor(t/1e3)}function jn(e){let t,n,o,s;const a=m(e.time),l=L(()=>Ot(a.value)),i=()=>{o=!1,Ct(t)},u=()=>Math.max(n-Date.now(),0),c=g=>{var y,x;a.value=g,(y=e.onChange)==null||y.call(e,l.value),g===0&&(i(),(x=e.onFinish)==null||x.call(e))},d=()=>{t=j(()=>{o&&(c(u()),a.value>0&&d())})},f=()=>{t=j(()=>{if(o){const g=u();(!xt(g,a.value)||g===0)&&c(g),a.value>0&&f()}})},v=()=>{P&&(e.millisecond?d():f())},b=()=>{o||(n=Date.now()+a.value,o=!0,v())},w=(g=e.time)=>{i(),a.value=g};return Be(i),le(()=>{s&&(o=!0,s=!1,v())}),H(()=>{o&&(i(),s=!0)}),{start:b,pause:i,reset:w,current:l}}function Fe(e){let t;K(()=>{e(),Oe(()=>{t=!0})}),le(()=>{t&&e()})}function Re(e,t,n={}){if(!P)return;const{target:o=window,passive:s=!1,capture:a=!1}=n;let l=!1,i;const u=f=>{if(l)return;const v=V(f);v&&!i&&(v.addEventListener(e,t,{capture:a,passive:s}),i=!0)},c=f=>{if(l)return;const v=V(f);v&&i&&(v.removeEventListener(e,t,a),i=!1)};Se(()=>c(o)),H(()=>c(o)),Fe(()=>u(o));let d;return We(o)&&(d=N(o,(f,v)=>{c(v),u(f)})),()=>{d==null||d(),c(o),l=!0}}var Y,Z;function Tt(){if(!Y&&(Y=m(0),Z=m(0),P)){const e=()=>{Y.value=window.innerWidth,Z.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}return{width:Y,height:Z}}var Dt=/scroll|auto|overlay/i,$e=P?window:void 0;function Pt(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function Le(e,t=$e){let n=e;for(;n&&n!==t&&Pt(n);){const{overflowY:o}=window.getComputedStyle(n);if(Dt.test(o))return n;n=n.parentNode}return t}function Hn(e,t=$e){const n=m();return K(()=>{e.value&&(n.value=Le(e.value,t))}),n}var q;function Kn(){if(!q&&(q=m("visible"),P)){const e=()=>{q.value=document.hidden?"hidden":"visible"};e(),window.addEventListener("visibilitychange",e)}return q}var Wn=Symbol("van-field");function At(e){const t="scrollTop"in e?e.scrollTop:e.pageYOffset;return Math.max(t,0)}function he(e,t){"scrollTop"in e?e.scrollTop=t:e.scrollTo(e.scrollX,t)}function Ne(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function It(e){he(window,e),he(document.body,e)}function Xn(e,t){if(e===window)return 0;const n=t?At(t):Ne();return kt(e).top+n}const Ft=Et();function Zn(){Ft&&It(Ne())}const Rt=e=>e.stopPropagation();function Me(e,t){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),t&&Rt(e)}function Gn(e){const t=V(e);if(!t)return!1;const n=window.getComputedStyle(t),o=n.display==="none",s=t.offsetParent===null&&n.position!=="fixed";return o||s}const{width:$t,height:Lt}=Tt();function C(e){if(_(e))return Ie(e)?"".concat(e,"px"):String(e)}function Jn(e){if(_(e)){if(Array.isArray(e))return{width:C(e[0]),height:C(e[1])};const t=C(e);return{width:t,height:t}}}function Nt(e){const t={};return e!==void 0&&(t.zIndex=+e),t}let G;function Mt(){if(!G){const e=document.documentElement,t=e.style.fontSize||window.getComputedStyle(e).fontSize;G=parseFloat(t)}return G}function zt(e){return e=e.replace(/rem/g,""),+e*Mt()}function Ut(e){return e=e.replace(/vw/g,""),+e*$t.value/100}function Yt(e){return e=e.replace(/vh/g,""),+e*Lt.value/100}function Qn(e){if(typeof e=="number")return e;if(Ae){if(e.includes("rem"))return zt(e);if(e.includes("vw"))return Ut(e);if(e.includes("vh"))return Yt(e)}return parseFloat(e)}const qt=/-(\w)/g,ze=e=>e.replace(qt,(t,n)=>n.toUpperCase());function eo(e,t=2){let n=e+"";for(;n.length<t;)n="0"+n;return n}const to=(e,t,n)=>Math.min(Math.max(e,t),n);function ge(e,t,n){const o=e.indexOf(t);return o===-1?e:t==="-"&&o!==0?e.slice(0,o):e.slice(0,o+1)+e.slice(o).replace(n,"")}function no(e,t=!0,n=!0){t?e=ge(e,".",/\./g):e=e.split(".")[0],n?e=ge(e,"-",/-/g):e=e.replace(/-/,"");const o=t?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(o,"")}const{hasOwnProperty:Vt}=Object.prototype;function jt(e,t,n){const o=t[n];_(o)&&(!Vt.call(e,n)||!re(o)?e[n]=o:e[n]=Ue(Object(e[n]),o))}function Ue(e,t){return Object.keys(t).forEach(n=>{jt(e,t,n)}),e}var Ht={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:"新增地址"}};const pe=m("zh-CN"),be=J({"zh-CN":Ht}),Kt={messages(){return be[pe.value]},use(e,t){pe.value=e,this.add({[e]:t})},add(e={}){Ue(be,e)}};var Wt=Kt;function Xt(e){const t=ze(e)+".";return(n,...o)=>{const s=Wt.messages(),a=de(s,t+n)||de(s,n);return ee(a)?a(...o):a}}function ae(e,t){return t?typeof t=="string"?" ".concat(e,"--").concat(t):Array.isArray(t)?t.reduce((n,o)=>n+ae(e,o),""):Object.keys(t).reduce((n,o)=>n+(t[o]?ae(e,o):""),""):""}function Zt(e){return(t,n)=>(t&&typeof t!="string"&&(n=t,t=""),t=t?"".concat(e,"__").concat(t):e,"".concat(t).concat(ae(t,n)))}function I(e){const t="van-".concat(e);return[t,Zt(t),Xt(t)]}const ue="van-hairline",oo="".concat(ue,"--surround"),ao="".concat(ue,"--top-bottom"),so="".concat(ue,"-unset--top-bottom"),Gt="van-haptics-feedback",io=Symbol("van-form"),ye=5;function Jt(e,{args:t=[],done:n,canceled:o,error:s}){if(e){const a=e.apply(null,t);wt(a)?a.then(l=>{l?n():o&&o()}).catch(s||yt):a?n():o&&o()}else n()}function z(e){return e.install=t=>{const{name:n}=e;n&&(t.component(n,e),t.component(ze("-".concat(n)),e))},e}const Ye=Symbol();function lo(e){const t=ie(Ye,null);t&&N(t,n=>{n&&e()})}function Qt(e){const t=M();t&&W(t.proxy,e)}const en={to:[String,Object],url:String,replace:Boolean};function tn({to:e,url:t,replace:n,$router:o}){e&&o?o[n?"replace":"push"](e):t&&(n?location.replace(t):location.href=t)}function nn(){const e=M().proxy;return()=>tn(e)}const[on,we]=I("badge"),an={dot:Boolean,max:E,tag:T("div"),color:String,offset:Array,content:E,showZero:O,position:T("top-right")};var sn=D({name:on,props:an,setup(e,{slots:t}){const n=()=>{if(t.content)return!0;const{content:i,showZero:u}=e;return _(i)&&i!==""&&(u||i!==0&&i!=="0")},o=()=>{const{dot:i,max:u,content:c}=e;if(!i&&n())return t.content?t.content():_(u)&&Ie(c)&&+c>+u?"".concat(u,"+"):c},s=i=>i.startsWith("-")?i.replace("-",""):"-".concat(i),a=L(()=>{const i={background:e.color};if(e.offset){const[u,c]=e.offset,{position:d}=e,[f,v]=d.split("-");t.default?(typeof c=="number"?i[f]=C(f==="top"?c:-c):i[f]=f==="top"?C(c):s(c),typeof u=="number"?i[v]=C(v==="left"?u:-u):i[v]=v==="left"?C(u):s(u)):(i.marginTop=C(c),i.marginLeft=C(u))}return i}),l=()=>{if(n()||e.dot)return r("div",{class:we([e.position,{dot:e.dot,fixed:!!t.default}]),style:a.value},[o()])};return()=>{if(t.default){const{tag:i}=e;return r(i,{class:we("wrapper")},{default:()=>[t.default(),l()]})}return l()}}});const ln=z(sn);let rn=2e3;const un=()=>++rn,[cn,ro]=I("config-provider"),dn=Symbol(cn),[fn,Ee]=I("icon"),vn=e=>e==null?void 0:e.includes("/"),mn={dot:Boolean,tag:T("i"),name:String,size:E,badge:E,color:String,badgeProps:Object,classPrefix:String};var hn=D({name:fn,props:mn,setup(e,{slots:t}){const n=ie(dn,null),o=L(()=>e.classPrefix||(n==null?void 0:n.iconPrefix)||Ee());return()=>{const{tag:s,dot:a,name:l,size:i,badge:u,color:c}=e,d=vn(l);return r(ln,Q({dot:a,tag:s,class:[o.value,d?"":"".concat(o.value,"-").concat(l)],style:{color:c,fontSize:C(i)},content:u},e.badgeProps),{default:()=>{var f;return[(f=t.default)==null?void 0:f.call(t),d&&r("img",{class:Ee("image"),src:l},null)]}})}}});const se=z(hn),gn={show:Boolean,zIndex:E,overlay:O,duration:E,teleport:[String,Object],lockScroll:O,lazyRender:O,beforeClose:Function,overlayStyle:Object,overlayClass:$,transitionAppear:Boolean,closeOnClickOverlay:O};function pn(e,t){return e>t?"horizontal":t>e?"vertical":""}function bn(){const e=m(0),t=m(0),n=m(0),o=m(0),s=m(0),a=m(0),l=m(""),i=m(!0),u=()=>l.value==="vertical",c=()=>l.value==="horizontal",d=()=>{n.value=0,o.value=0,s.value=0,a.value=0,l.value="",i.value=!0};return{move:b=>{const w=b.touches[0];n.value=(w.clientX<0?0:w.clientX)-e.value,o.value=w.clientY-t.value,s.value=Math.abs(n.value),a.value=Math.abs(o.value);const g=10;(!l.value||s.value<g&&a.value<g)&&(l.value=pn(s.value,a.value)),i.value&&(s.value>ye||a.value>ye)&&(i.value=!1)},start:b=>{d(),e.value=b.touches[0].clientX,t.value=b.touches[0].clientY},reset:d,startX:e,startY:t,deltaX:n,deltaY:o,offsetX:s,offsetY:a,direction:l,isVertical:u,isHorizontal:c,isTap:i}}let R=0;const Ce="van-overflow-hidden";function yn(e,t){const n=bn(),o="01",s="10",a=d=>{n.move(d);const f=n.deltaY.value>0?s:o,v=Le(d.target,e.value),{scrollHeight:b,offsetHeight:w,scrollTop:g}=v;let y="11";g===0?y=w>=b?"00":"01":g+w>=b&&(y="10"),y!=="11"&&n.isVertical()&&!(parseInt(y,2)&parseInt(f,2))&&Me(d,!0)},l=()=>{document.addEventListener("touchstart",n.start),document.addEventListener("touchmove",a,{passive:!1}),R||document.body.classList.add(Ce),R++},i=()=>{R&&(document.removeEventListener("touchstart",n.start),document.removeEventListener("touchmove",a),R--,R||document.body.classList.remove(Ce))},u=()=>t()&&l(),c=()=>t()&&i();Fe(u),H(c),Be(c),N(t,d=>{d?l():i()})}function qe(e){const t=m(!1);return N(e,n=>{n&&(t.value=n)},{immediate:!0}),n=>()=>t.value?n():null}const _e=()=>{var e;const{scopeId:t}=((e=M())==null?void 0:e.vnode)||{};return t?{[t]:""}:null},[wn,En]=I("overlay"),Cn={show:Boolean,zIndex:E,duration:E,className:$,lockScroll:O,lazyRender:O,customStyle:Object};var _n=D({name:wn,props:Cn,setup(e,{slots:t}){const n=m(),o=qe(()=>e.show||!e.lazyRender),s=l=>{e.lockScroll&&Me(l,!0)},a=o(()=>{var l;const i=W(Nt(e.zIndex),e.customStyle);return _(e.duration)&&(i.animationDuration="".concat(e.duration,"s")),De(r("div",{ref:n,style:i,class:[En(),e.className]},[(l=t.default)==null?void 0:l.call(t)]),[[Pe,e.show]])});return Re("touchmove",s,{target:n}),()=>r(Te,{name:"van-fade",appear:!0},{default:a})}});const kn=z(_n),Sn=W({},gn,{round:Boolean,position:T("center"),closeIcon:T("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:T("top-right"),safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),[Bn,ke]=I("popup");var On=D({name:Bn,inheritAttrs:!1,props:Sn,emits:["open","close","opened","closed","keydown","update:show","clickOverlay","clickCloseIcon"],setup(e,{emit:t,attrs:n,slots:o}){let s,a;const l=m(),i=m(),u=qe(()=>e.show||!e.lazyRender),c=L(()=>{const p={zIndex:l.value};if(_(e.duration)){const k=e.position==="center"?"animationDuration":"transitionDuration";p[k]="".concat(e.duration,"s")}return p}),d=()=>{s||(s=!0,l.value=e.zIndex!==void 0?+e.zIndex:un(),t("open"))},f=()=>{s&&Jt(e.beforeClose,{done(){s=!1,t("close"),t("update:show",!1)}})},v=p=>{t("clickOverlay",p),e.closeOnClickOverlay&&f()},b=()=>{if(e.overlay)return r(kn,Q({show:e.show,class:e.overlayClass,zIndex:l.value,duration:e.duration,customStyle:e.overlayStyle,role:e.closeOnClickOverlay?"button":void 0,tabindex:e.closeOnClickOverlay?0:void 0},_e(),{onClick:v}),{default:o["overlay-content"]})},w=p=>{t("clickCloseIcon",p),f()},g=()=>{if(e.closeable)return r(se,{role:"button",tabindex:0,name:e.closeIcon,class:[ke("close-icon",e.closeIconPosition),Gt],classPrefix:e.iconPrefix,onClick:w},null)};let y;const x=()=>{y&&clearTimeout(y),y=setTimeout(()=>{t("opened")})},Ve=()=>t("closed"),je=p=>t("keydown",p),He=u(()=>{var p;const{round:k,position:U,safeAreaInsetTop:X,safeAreaInsetBottom:Ke}=e;return De(r("div",Q({ref:i,style:c.value,role:"dialog",tabindex:0,class:[ke({round:k,[U]:U}),{"van-safe-area-top":X,"van-safe-area-bottom":Ke}],onKeydown:je},n,_e()),[(p=o.default)==null?void 0:p.call(o),g()]),[[Pe,e.show]])}),ce=()=>{const{position:p,transition:k,transitionAppear:U}=e,X=p==="center"?"van-fade":"van-popup-slide-".concat(p);return r(Te,{name:k||X,appear:U,onAfterEnter:x,onAfterLeave:Ve},{default:He})};return N(()=>e.show,p=>{p&&!s&&(d(),n.tabindex===0&&Oe(()=>{var k;(k=i.value)==null||k.focus()})),!p&&s&&(s=!1,t("close"))}),Qt({popupRef:i}),yn(i,()=>e.show&&e.lockScroll),Re("popstate",()=>{e.closeOnPopstate&&(f(),a=!1)}),K(()=>{e.show&&d()}),le(()=>{a&&(t("update:show",!0),a=!1)}),H(()=>{e.show&&e.teleport&&(f(),a=!0)}),xe(Ye,()=>e.show),()=>e.teleport?r(Ze,{to:e.teleport},{default:()=>[b(),ce()]}):r(Ge,null,[b(),ce()])}});const xn=z(On),[Tn,A]=I("cell"),Dn={tag:T("div"),icon:String,size:String,title:E,value:E,label:E,center:Boolean,isLink:Boolean,border:O,iconPrefix:String,valueClass:$,labelClass:$,titleClass:$,titleStyle:null,arrowDirection:String,required:{type:[Boolean,String],default:null},clickable:{type:Boolean,default:null}},Pn=W({},Dn,en);var An=D({name:Tn,props:Pn,setup(e,{slots:t}){const n=nn(),o=()=>{if(t.label||_(e.label))return r("div",{class:[A("label"),e.labelClass]},[t.label?t.label():e.label])},s=()=>{var u;if(t.title||_(e.title)){const c=(u=t.title)==null?void 0:u.call(t);return Array.isArray(c)&&c.length===0?void 0:r("div",{class:[A("title"),e.titleClass],style:e.titleStyle},[c||r("span",null,[e.title]),o()])}},a=()=>{const u=t.value||t.default;if(u||_(e.value))return r("div",{class:[A("value"),e.valueClass]},[u?u():r("span",null,[e.value])])},l=()=>{if(t.icon)return t.icon();if(e.icon)return r(se,{name:e.icon,class:A("left-icon"),classPrefix:e.iconPrefix},null)},i=()=>{if(t["right-icon"])return t["right-icon"]();if(e.isLink){const u=e.arrowDirection&&e.arrowDirection!=="right"?"arrow-".concat(e.arrowDirection):"arrow";return r(se,{name:u,class:A("right-icon")},null)}};return()=>{var u;const{tag:c,size:d,center:f,border:v,isLink:b,required:w}=e,g=(u=e.clickable)!=null?u:b,y={center:f,required:!!w,clickable:g,borderless:!v};return d&&(y[d]=!!d),r(c,{class:A(y),role:g?"button":void 0,tabindex:g?0:void 0,onClick:n},{default:()=>{var x;return[l(),s(),a(),i(),(x=t.extra)==null?void 0:x.call(t)]}})}}});const B=z(An),uo=D({name:"m-header",setup(){const e=Je(),t=Qe(),n=m(!1),o=m(!1),s=m(!1),a=l=>{o.value=!1,n.value=!1,t.push(l)};return K(()=>{["/music-classroom","/colexiu-tenant","/colexiu-person"].includes(e.path)&&(s.value=!0)}),()=>r("div",{class:h.headerSection,id:"headerSection"},[r("div",{class:h.header},[r("img",{class:h.logo,src:bt},null),r("div",{class:[h.navMenu,n.value&&h["is-active"]],onClick:()=>{n.value=!n.value,o.value=!o.value}},[r("span",{class:[h.line,h.line1]},null),r("span",{class:[h.line,h.line2]},null),r("span",{class:[h.line,h.line3]},null)])]),r(xn,{position:"top",show:o.value,"onUpdate:show":[l=>o.value=l,l=>{n.value=l}],class:h.menuPopup,teleport:"body"},{default:()=>[r("div",{class:"van-hairline--top"},[r(B,{title:"首页",border:!1,clickable:!0,class:["/","/colexiu-technology"].includes(e.path)&&h["is-active"],onClick:()=>a("/")},null),r(B,{title:"产品",clickable:!0,border:!1,class:["/home"].includes(e.path)&&h["is-active"],onClick:()=>a("/home")},null),r(B,{title:"解决方案",isLink:!0,clickable:!0,arrowDirection:s.value?"up":"down",border:!1,onClick:()=>s.value=!s.value},null),r("div",{class:[h.subCell,s.value&&h.arrowActive]},[r(B,{title:"数字化音乐课堂",clickable:!0,border:!1,class:["/music-classroom"].includes(e.path)&&h["is-active"],onClick:()=>a("/music-classroom")},null),r(B,{title:"器乐教培行业解决方案",clickable:!0,border:!1,class:["/colexiu-tenant"].includes(e.path)&&h["is-active"],onClick:()=>a("/colexiu-tenant")},null),r(B,{title:"音乐达人展示平台",clickable:!0,border:!1,class:["/colexiu-person"].includes(e.path)&&h["is-active"],onClick:()=>a("/colexiu-person")},null)]),r(B,{title:"渠道合作",border:!1,clickable:!0,class:["/cooperate-channels"].includes(e.path)&&h["is-active"],onClick:()=>a("/cooperate-channels")},null),r(B,{title:"关于我们",clickable:!0,border:!1,class:["/about-us"].includes(e.path)&&h["is-active"],onClick:()=>a("/about-us")},null)])]})])}});export{Ne as $,C as A,_ as B,ao as C,It as D,Xn as E,Jt as F,tn as G,ln as H,en as I,$ as J,qn as K,Yn as L,uo as M,Rn as N,bn as O,Kn as P,Me as Q,to as R,xn as S,Jn as T,nn as U,oo as V,se as W,Mn as X,Gt as Y,$n as Z,so as _,Fn as a,re as a0,wt as a1,ee as a2,Dn as a3,Wn as a4,B as a5,io as a6,Ln as a7,no as a8,Zn as a9,zn as aa,eo as ab,jn as ac,I as b,Ct as c,Un as d,Qn as e,W as f,At as g,Nt as h,Ae as i,Re as j,Gn as k,kt as l,T as m,E as n,Fe as o,Lt as p,z as q,j as r,he as s,Nn as t,Hn as u,Qt as v,$t as w,O as x,Vn as y,lo as z};
|