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