index-legacy-9cf1b3a0.js 25 KB

1
  1. !function(){const e=["window"];function n(e,n){if(null==e)return{};var t,o,l=function(e,n){if(null==e)return{};var t,o,l={},r=Object.keys(e);for(o=0;o<r.length;o++)t=r[o],n.indexOf(t)>=0||(l[t]=e[t]);return l}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)t=r[o],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(l[t]=e[t])}return l}System.register(["./index-legacy-69e33e33.js"],(function(t,o){"use strict";var l,r,i,a,s,c,u,d,f,p,v,m,h,_,k,g,y,b,w,C,x,S,O,q,A,z,L,P,$;return{setters:[e=>{l=e.H,r=e.B,i=e.g,a=e.r,s=e.f,c=e.e,u=e.i,d=e.b,f=e.h,p=e.n,v=e.I,m=e.w,h=e.t,_=e.p,k=e.J,g=e.K,y=e.d,b=e.c,w=e.q,C=e.T,x=e.k,S=e.v,O=e.L,q=e.F,A=e.a,z=e.M,L=e.N,P=e.z,$=e.u}],execute:function(){var T=document.createElement("style");T.textContent="._footer_y0qkk_1{background:#262D45}._footer_y0qkk_1 ._bottomLogo_y0qkk_4{width:6.32rem;height:1.06667rem;-o-object-fit:contain;object-fit:contain;margin:.53333rem .64rem}._footer_y0qkk_1 ._friendLink_y0qkk_10{display:flex;justify-content:space-between}._footer_y0qkk_1 ._link_y0qkk_14{padding:0 .64rem .53333rem;width:100%}._footer_y0qkk_1 ._link_y0qkk_14 ._linkTitle_y0qkk_18{font-size:.32rem;color:rgba(255,255,255,.5);line-height:.42667rem;padding-bottom:.05333rem}._footer_y0qkk_1 ._link_y0qkk_14 ._linkContent_y0qkk_24{font-size:.34667rem;font-weight:500;color:#fff;line-height:.53333rem;letter-spacing:.02667rem}._footer_y0qkk_1 ._link_y0qkk_14 ._linkContent_y0qkk_24 a{display:block;color:#fff;padding-top:.16rem;display:flex;align-items:center;justify-content:space-between}._footer_y0qkk_1 ._link_y0qkk_14 ._linkContent2_y0qkk_39{display:flex;align-items:center}._footer_y0qkk_1 ._copyright_y0qkk_43{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_y0qkk_1 ._copyright_y0qkk_43 a{color:rgba(255,255,255,.5)}._footer_y0qkk_1 ._logoUrl_y0qkk_54{margin-top:.16rem;margin-right:.42667rem;width:1.97333rem;height:2.29333rem}: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(T),t({A:Se,D:ge,E:function(e,n){if(e===window)return 0;const t=n?he(n):ke();return oe(e).top+t},F:Ue,G:We,K:function(e){const n=l(e,null);if(n){const e=h(),{link:t,unlink:o,internalChildren:l}=n;return t(e),r((()=>o(e))),{parent:n,index:i((()=>l.indexOf(e)))}}return{parent:null,index:a(-1)}},L:function(e){G((()=>G(e)))},N:function(e,n,t){return n.reduce(((n,o)=>(t&&void 0===e[o]||(n[o]=e[o]),n)),{})},O:Ke,S:we,V:fn,Z:ke,a6:function(e,n=!0,t=!0){e=n?Le(e,".",/\./g):e.split(".")[0];const o=n?/[^-0-9.]/g:/[^-0-9]/g;return(e=t?Le(e,"-",/-/g):e.replace(/-/,"")).replace(o,"")},a7:function(){ye&&ge(ke())},a8:function(e,n=2){let t=e+"";for(;t.length<n;)t="0"+t;return t},a9:function(e){let n,t,o,l;const r=a(e.time),s=i((()=>function(e){return{total:e,days:Math.floor(e/se),hours:Math.floor(e%se/ae),minutes:Math.floor(e%ae/ie),seconds:Math.floor(e%ie/re),milliseconds:Math.floor(e%re)}}(r.value))),f=()=>{o=!1,Q(n)},p=()=>Math.max(t-Date.now(),0),v=n=>{var t,o;r.value=n,null==(t=e.onChange)||t.call(e,s.value),0===n&&(f(),null==(o=e.onFinish)||o.call(e))},m=()=>{n=G((()=>{o&&(v(p()),r.value>0&&m())}))},h=()=>{n=G((()=>{if(o){const t=p();e=t,n=r.value,(Math.floor(e/1e3)!==Math.floor(n/1e3)||0===t)&&v(t),r.value>0&&h()}var e,n}))},_=()=>{Z&&(e.millisecond?m():h())};return c(f),u((()=>{l&&(o=!0,l=!1,_())})),d((()=>{o&&(f(),l=!0)})),{start:()=>{o||(t=Date.now()+r.value,o=!0,_())},pause:f,reset:(n=e.time)=>{f(),r.value=n},current:s}},aa:function(e){if(Y(e)){if(Array.isArray(e))return{width:Se(e[0]),height:Se(e[1])};const n=Se(e);return{width:n,height:n}}},ac:function(){if(!de&&(de=a("visible"),Z)){const e=()=>{de.value=document.hidden?"hidden":"visible"};e(),window.addEventListener("visibilitychange",e)}return de},b:Re,c:Q,e:function(e){if("number"==typeof e)return e;if(D){if(e.includes("rem"))return function(e){return+(e=e.replace(/rem/g,""))*function(){if(!qe){const e=document.documentElement,n=e.style.fontSize||window.getComputedStyle(e).fontSize;qe=parseFloat(n)}return qe}()}(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,""))*xe.value/100}(e)}return parseFloat(e)},g:he,h:Oe,j:ue,k:function(e){const n=k(e);if(!n)return!1;const t=window.getComputedStyle(n),o="none"===t.display,l=null===n.offsetParent&&"fixed"!==t.position;return o||l},o:ce,q:Fe,r:G,s:_e,u:function(e,n=pe){const t=a();return f((()=>{e.value&&(t.value=me(e.value,n))})),t},v:Xe,y:function(e){const n=s([]),t=s([]),o=h();return{children:n,linkChildren:l=>{_(e,Object.assign({link:e=>{e.proxy&&(t.push(e),n.push(e.proxy),function(e,n,t){const o=function(e){const n=[],t=e=>{Array.isArray(e)&&e.forEach((e=>{var o;g(e)&&(n.push(e),(null==(o=e.component)?void 0:o.subTree)&&(n.push(e.component.subTree),t(e.component.subTree.children)),e.children&&t(e.children))}))};return t(e),n}(e.subTree.children);t.sort(((e,n)=>le(o,e.vnode)-le(o,n.vnode)));const l=t.map((e=>e.proxy));n.sort(((e,n)=>l.indexOf(e)-l.indexOf(n)))}(o,n,t))},unlink:e=>{const o=t.indexOf(e);n.splice(o,1),t.splice(o,1)},children:n,internalChildren:t},l))}}},z:function(e){const n=l(He,null);n&&m(n,(n=>{n&&e()}))}});const I={footer:"_footer_y0qkk_1",bottomLogo:"_bottomLogo_y0qkk_4",friendLink:"_friendLink_y0qkk_10",link:"_link_y0qkk_14",linkTitle:"_linkTitle_y0qkk_18",linkContent:"_linkContent_y0qkk_24",linkContent2:"_linkContent2_y0qkk_39",copyright:"_copyright_y0qkk_43",logoUrl:"_logoUrl_y0qkk_54"},B=""+new URL("logo-bottom-59fcd33f.png",o.meta.url).href,j=""+new URL("qr-code-9a8ebb18.png",o.meta.url).href,M=""+new URL("qr-code2-0d944257.png",o.meta.url).href;function E(){}const R=t("f",Object.assign),D=t("i","undefined"!=typeof window),N=t("_",(e=>null!==e&&"object"==typeof e)),Y=t("B",(e=>null!=e)),U=t("a0",(e=>"function"==typeof e)),F=t("$",(e=>N(e)&&U(e.then)&&U(e["catch"]))),H=e=>"number"==typeof e||/^\d+(\.\d+)?$/.test(e);function X(e,n){const t=n.split(".");let o=e;return t.forEach((e=>{var n;o=N(o)&&null!=(n=o[e])?n:""})),o}t("X",((e,n)=>JSON.stringify(e)===JSON.stringify(n))),t("a5",(e=>Array.isArray(e)?e:[e]));const J=t("J",null),W=t("n",[Number,String]),K=t("x",{type:Boolean,"default":!0}),V=(t("t",(e=>({type:e,required:!0}))),t("U",(()=>({type:Array,"default":()=>[]}))),t("ab",(e=>({type:Number,"default":e}))),t("d",(e=>({type:W,"default":e}))),t("m",(e=>({type:String,"default":e}))));var Z="undefined"!=typeof window;function G(e){return Z?requestAnimationFrame(e):-1}function Q(e){Z&&cancelAnimationFrame(e)}var ee,ne,te=(e,n)=>({top:0,left:0,right:e,bottom:n,width:e,height:n}),oe=t("l",(e=>{const n=k(e);if(n===window){const e=n.innerWidth,t=n.innerHeight;return te(e,t)}return(null==n?void 0:n.getBoundingClientRect)?n.getBoundingClientRect():te(0,0)})),le=(e,n)=>{const t=e.indexOf(n);return-1===t?e.findIndex((e=>void 0!==n.key&&null!==n.key&&e.type===n.type&&e.key===n.key)):t},re=1e3,ie=60*re,ae=60*ie,se=24*ae;function ce(e){let n;f((()=>{e(),p((()=>{n=!0}))})),u((()=>{n&&e()}))}function ue(e,n,t={}){if(!Z)return;const{target:o=window,passive:l=!1,capture:i=!1}=t;let a,s=!1;const c=t=>{if(s)return;const o=k(t);o&&!a&&(o.addEventListener(e,n,{capture:i,passive:l}),a=!0)},u=t=>{if(s)return;const o=k(t);o&&a&&(o.removeEventListener(e,n,i),a=!1)};let f;return r((()=>u(o))),d((()=>u(o))),ce((()=>c(o))),v(o)&&(f=m(o,((e,n)=>{u(n),c(e)}))),()=>{null==f||f(),u(o),s=!0}}var de,fe=/scroll|auto|overlay/i,pe=Z?window:void 0;function ve(e){return"HTML"!==e.tagName&&"BODY"!==e.tagName&&1===e.nodeType}function me(e,n=pe){let t=e;for(;t&&t!==n&&ve(t);){const{overflowY:e}=window.getComputedStyle(t);if(fe.test(e))return t;t=t.parentNode}return n}function he(e){const n="scrollTop"in e?e.scrollTop:e.pageYOffset;return Math.max(n,0)}function _e(e,n){"scrollTop"in e?e.scrollTop=n:e.scrollTo(e.scrollX,n)}function ke(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function ge(e){_e(window,e),_e(document.body,e)}t("a2",Symbol("van-field"));const ye=!!D&&/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()),be=e=>e.stopPropagation();function we(e,n){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault(),n&&be(e)}const{width:Ce,height:xe}=function(){if(!ee&&(ee=a(0),ne=a(0),Z)){const e=()=>{ee.value=window.innerWidth,ne.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}return{width:ee,height:ne}}();function Se(e){if(Y(e))return H(e)?`${e}px`:String(e)}function Oe(e){const n={};return void 0!==e&&(n.zIndex=+e),n}let qe;t({w:Ce,p:xe});const Ae=/-(\w)/g,ze=e=>e.replace(Ae,((e,n)=>n.toUpperCase()));function Le(e,n,t){const o=e.indexOf(n);return-1===o?e:"-"===n&&0!==o?e.slice(0,o):e.slice(0,o+1)+e.slice(o).replace(t,"")}t("T",((e,n,t)=>Math.min(Math.max(e,n),t)));const{hasOwnProperty:Pe}=Object.prototype;function $e(e,n){return Object.keys(n).forEach((t=>{!function(e,n,t){const o=n[t];Y(o)&&(Pe.call(e,t)&&N(o)?e[t]=$e(Object(e[t]),o):e[t]=o)}(e,n,t)})),e}const Te=a("zh-CN"),Ie=s({"zh-CN":{name:"姓名",tel:"电话",save:"保存",clear:"清空",cancel:"取消",confirm:"确认","delete":"删除",loading:"加载中...",noCoupon:"暂无优惠券",nameEmpty:"请填写姓名",addContact:"添加联系人",telInvalid:"请填写正确的电话",vanCalendar:{end:"结束",start:"开始",title:"日期选择",weekdays:["日","一","二","三","四","五","六"],monthTitle:(e,n)=>`${e}年${n}月`,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:()=>Ie[Te.value],use(e,n){Te.value=e,this.add({[e]:n})},add(e={}){$e(Ie,e)}};function je(e){const n=ze(e)+".";return(e,...t)=>{const o=Be.messages(),l=X(o,n+e)||X(o,e);return U(l)?l(...t):l}}function Me(e,n){return n?"string"==typeof n?` ${e}--${n}`:Array.isArray(n)?n.reduce(((n,t)=>n+Me(e,t)),""):Object.keys(n).reduce(((t,o)=>t+(n[o]?Me(e,o):"")),""):""}function Ee(e){return(n,t)=>(n&&"string"!=typeof n&&(t=n,n=""),`${n=n?`${e}__${n}`:e}${Me(n,t)}`)}function Re(e){const n=`van-${e}`;return[n,Ee(n),je(n)]}const De="van-hairline",Ne=(t("Q",`${De}--surround`),t("C",`${De}--top-bottom`),t("Y",`${De}-unset--top-bottom`),t("W","van-haptics-feedback")),Ye=(t("a4",Symbol("van-form")),5);function Ue(e,{args:n=[],done:t,canceled:o,error:l}){if(e){const r=e.apply(null,n);F(r)?r.then((e=>{e?t():o&&o()}))["catch"](l||E):r?t():o&&o()}else t()}function Fe(e){return e.install=n=>{const{name:t}=e;t&&(n.component(t,e),n.component(ze(`-${t}`),e))},e}const He=Symbol();function Xe(e){const n=h();n&&R(n.proxy,e)}const Je=t("I",{to:[String,Object],url:String,replace:Boolean});function We({to:e,url:n,replace:t,$router:o}){e&&o?o[t?"replace":"push"](e):n&&(t?location.replace(n):location.href=n)}function Ke(){const e=h().proxy;return()=>We(e)}const[Ve,Ze]=Re("badge"),Ge={dot:Boolean,max:W,tag:V("div"),color:String,offset:Array,content:W,showZero:K,position:V("top-right")};var Qe=y({name:Ve,props:Ge,setup(e,{slots:n}){const t=()=>{if(n.content)return!0;const{content:t,showZero:o}=e;return Y(t)&&""!==t&&(o||0!==t&&"0"!==t)},o=()=>{const{dot:o,max:l,content:r}=e;if(!o&&t())return n.content?n.content():Y(l)&&H(r)&&+r>+l?`${l}+`:r},l=e=>e.startsWith("-")?e.replace("-",""):`-${e}`,r=i((()=>{const t={background:e.color};if(e.offset){const[o,r]=e.offset,{position:i}=e,[a,s]=i.split("-");n["default"]?(t[a]="number"==typeof r?Se("top"===a?r:-r):"top"===a?Se(r):l(r),t[s]="number"==typeof o?Se("left"===s?o:-o):"left"===s?Se(o):l(o)):(t.marginTop=Se(r),t.marginLeft=Se(o))}return t})),a=()=>{if(t()||e.dot)return b("div",{"class":Ze([e.position,{dot:e.dot,fixed:!!n["default"]}]),style:r.value},[o()])};return()=>{if(n["default"]){const{tag:t}=e;return b(t,{"class":Ze("wrapper")},{"default":()=>[n["default"](),a()]})}return a()}}});const en=t("H",Fe(Qe));let nn=2e3;const[tn,on]=Re("config-provider"),ln=Symbol(tn),[rn,an]=Re("icon"),sn={dot:Boolean,tag:V("i"),name:String,size:W,badge:W,color:String,badgeProps:Object,classPrefix:String};var cn=y({name:rn,props:sn,setup(e,{slots:n}){const t=l(ln,null),o=i((()=>e.classPrefix||(null==t?void 0:t.iconPrefix)||an()));return()=>{const{tag:t,dot:l,name:r,size:i,badge:a,color:s}=e,c=(e=>null==e?void 0:e.includes("/"))(r);return b(en,w({dot:l,tag:t,"class":[o.value,c?"":`${o.value}-${r}`],style:{color:s,fontSize:Se(i)},content:a},e.badgeProps),{"default":()=>{var e;return[null==(e=n["default"])?void 0:e.call(n),c&&b("img",{"class":an("image"),src:r},null)]}})}}});const un=t("R",Fe(cn)),dn={show:Boolean,zIndex:W,overlay:K,duration:W,teleport:[String,Object],lockScroll:K,lazyRender:K,beforeClose:Function,overlayStyle:Object,overlayClass:J,transitionAppear:Boolean,closeOnClickOverlay:K};function fn(){const e=a(0),n=a(0),t=a(0),o=a(0),l=a(0),r=a(0),i=a(""),s=a(!0),c=()=>{t.value=0,o.value=0,l.value=0,r.value=0,i.value="",s.value=!0};return{move:a=>{const c=a.touches[0];var u,d;t.value=(c.clientX<0?0:c.clientX)-e.value,o.value=c.clientY-n.value,l.value=Math.abs(t.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":""),s.value&&(l.value>Ye||r.value>Ye)&&(s.value=!1)},start:t=>{c(),e.value=t.touches[0].clientX,n.value=t.touches[0].clientY},reset:c,startX:e,startY:n,deltaX:t,deltaY:o,offsetX:l,offsetY:r,direction:i,isVertical:()=>"vertical"===i.value,isHorizontal:()=>"horizontal"===i.value,isTap:s}}let pn=0;const vn="van-overflow-hidden";function mn(e){const n=a(!1);return m(e,(e=>{e&&(n.value=e)}),{immediate:!0}),e=>()=>n.value?e():null}const hn=()=>{var e;const{scopeId:n}=(null==(e=h())?void 0:e.vnode)||{};return n?{[n]:""}:null},[_n,kn]=Re("overlay"),gn={show:Boolean,zIndex:W,duration:W,className:J,lockScroll:K,lazyRender:K,customStyle:Object},yn=Fe(y({name:_n,props:gn,setup(e,{slots:n}){const t=a(),o=mn((()=>e.show||!e.lazyRender))((()=>{var o;const l=R(Oe(e.zIndex),e.customStyle);return Y(e.duration)&&(l.animationDuration=`${e.duration}s`),x(b("div",{ref:t,style:l,"class":[kn(),e.className]},[null==(o=n["default"])?void 0:o.call(n)]),[[S,e.show]])}));return ue("touchmove",(n=>{e.lockScroll&&we(n,!0)}),{target:t}),()=>b(C,{name:"van-fade",appear:!0},{"default":o})}})),bn=R({},dn,{round:Boolean,position:V("center"),closeIcon:V("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:V("top-right"),safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),[wn,Cn]=Re("popup");var xn=y({name:wn,inheritAttrs:!1,props:bn,emits:["open","close","opened","closed","keydown","update:show","clickOverlay","clickCloseIcon"],setup(e,{emit:n,attrs:t,slots:o}){let l,r;const s=a(),v=a(),h=mn((()=>e.show||!e.lazyRender)),k=i((()=>{const n={zIndex:s.value};return Y(e.duration)&&(n["center"===e.position?"animationDuration":"transitionDuration"]=`${e.duration}s`),n})),g=()=>{l||(l=!0,s.value=void 0!==e.zIndex?+e.zIndex:++nn,n("open"))},y=()=>{l&&Ue(e.beforeClose,{done(){l=!1,n("close"),n("update:show",!1)}})},A=t=>{n("clickOverlay",t),e.closeOnClickOverlay&&y()},z=()=>{if(e.overlay)return b(yn,w({show:e.show,"class":e.overlayClass,zIndex:s.value,duration:e.duration,customStyle:e.overlayStyle,role:e.closeOnClickOverlay?"button":void 0,tabindex:e.closeOnClickOverlay?0:void 0},hn(),{onClick:A}),{"default":o["overlay-content"]})},L=e=>{n("clickCloseIcon",e),y()},P=()=>{if(e.closeable)return b(un,{role:"button",tabindex:0,name:e.closeIcon,"class":[Cn("close-icon",e.closeIconPosition),Ne],classPrefix:e.iconPrefix,onClick:L},null)};let $;const T=()=>{$&&clearTimeout($),$=setTimeout((()=>{n("opened")}))},I=()=>n("closed"),B=e=>n("keydown",e),j=h((()=>{var n;const{round:l,position:r,safeAreaInsetTop:i,safeAreaInsetBottom:a}=e;return x(b("div",w({ref:v,style:k.value,role:"dialog",tabindex:0,"class":[Cn({round:l,[r]:r}),{"van-safe-area-top":i,"van-safe-area-bottom":a}],onKeydown:B},t,hn()),[null==(n=o["default"])?void 0:n.call(o),P()]),[[S,e.show]])})),M=()=>{const{position:n,transition:t,transitionAppear:o}=e;return b(C,{name:t||("center"===n?"van-fade":`van-popup-slide-${n}`),appear:o,onAfterEnter:T,onAfterLeave:I},{"default":j})};return m((()=>e.show),(e=>{e&&!l&&(g(),0===t.tabindex&&p((()=>{var e;null==(e=v.value)||e.focus()}))),!e&&l&&(l=!1,n("close"))})),Xe({popupRef:v}),function(e,n){const t=fn(),o=n=>{t.move(n);const o=t.deltaY.value>0?"10":"01",l=me(n.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||!t.isVertical()||parseInt(s,2)&parseInt(o,2)||we(n,!0)},l=()=>{document.addEventListener("touchstart",t.start),document.addEventListener("touchmove",o,{passive:!1}),pn||document.body.classList.add(vn),pn++},r=()=>{pn&&(document.removeEventListener("touchstart",t.start),document.removeEventListener("touchmove",o),pn--,pn||document.body.classList.remove(vn))},i=()=>n()&&r();ce((()=>n()&&l())),d(i),c(i),m(n,(e=>{e?l():r()}))}(v,(()=>e.show&&e.lockScroll)),ue("popstate",(()=>{e.closeOnPopstate&&(y(),r=!1)})),f((()=>{e.show&&g()})),u((()=>{r&&(n("update:show",!0),r=!1)})),d((()=>{e.show&&e.teleport&&(y(),r=!0)})),_(He,(()=>e.show)),()=>e.teleport?b(O,{to:e.teleport},{"default":()=>[z(),M()]}):b(q,null,[z(),M()])}});const Sn=t("P",Fe(xn)),[On,qn]=Re("cell"),An=t("a1",{tag:V("div"),icon:String,size:String,title:W,value:W,label:W,center:Boolean,isLink:Boolean,border:K,iconPrefix:String,valueClass:J,labelClass:J,titleClass:J,titleStyle:null,arrowDirection:String,required:{type:[Boolean,String],"default":null},clickable:{type:Boolean,"default":null}}),zn=R({},An,Je);var Ln=y({name:On,props:zn,setup(e,{slots:n}){const t=Ke(),o=()=>{if(n.label||Y(e.label))return b("div",{"class":[qn("label"),e.labelClass]},[n.label?n.label():e.label])},l=()=>{var t;if(n.title||Y(e.title)){const l=null==(t=n.title)?void 0:t.call(n);if(Array.isArray(l)&&0===l.length)return;return b("div",{"class":[qn("title"),e.titleClass],style:e.titleStyle},[l||b("span",null,[e.title]),o()])}},r=()=>{const t=n.value||n["default"];if(t||Y(e.value))return b("div",{"class":[qn("value"),e.valueClass]},[t?t():b("span",null,[e.value])])},i=()=>{if(n["right-icon"])return n["right-icon"]();if(e.isLink){const n=e.arrowDirection&&"right"!==e.arrowDirection?`arrow-${e.arrowDirection}`:"arrow";return b(un,{name:n,"class":qn("right-icon")},null)}};return()=>{var o;const{tag:a,size:s,center:c,border:u,isLink:d,required:f}=e,p=null!=(o=e.clickable)?o:d,v={center:c,required:!!f,clickable:p,borderless:!u};return s&&(v[s]=!!s),b(a,{"class":qn(v),role:p?"button":void 0,tabindex:p?0:void 0,onClick:t},{"default":()=>{var t;return[n.icon?n.icon():e.icon?b(un,{name:e.icon,"class":qn("left-icon"),classPrefix:e.iconPrefix},null):void 0,l(),r(),i(),null==(t=n.extra)?void 0:t.call(n)]}})}}});const Pn=t("a3",Fe(Ln)),$n=(t("a",y({name:"m-footer",setup:()=>()=>b("div",{"class":I.footer},[b("img",{"class":I.bottomLogo,src:B},null),b("div",{"class":I.friendLink},[b("div",{"class":I.link},[b("p",{"class":I.linkTitle},[A("友情链接")]),b("p",{"class":I.linkContent},[b("a",{href:"https://www.chnmusic.org/",target:"_blank"},[b("span",{"class":I.name},[A("中国音乐家协会")]),b(un,{name:"arrow"},null)]),b("a",{href:"https://www.cnorch.com/leaderInfo/list?leaderType=2",target:"_blank"},[b("span",{"class":I.name},[A("中国音协管乐学会低音铜管")]),b(un,{name:"arrow"},null)])])])]),b("div",{"class":[I.friendLink,I.friendCode]},[b("div",{"class":I.link},[b("p",{"class":I.linkTitle},[A("关注公众号")]),b("p",{"class":I.linkContent2},[b("div",{"class":I.logoUrl},[b("img",{src:M,"class":"w100"},null)]),b("div",{"class":I.logoUrl},[b("img",{src:j,"class":"w100"},null)])])])]),b("div",{"class":I.copyright},[b("a",{target:"_blank",href:"https://beian.miit.gov.cn/"},[A("网站备案:鄂ICP备2021020787号-1")]),b("br",null,null),A("增值电信业务经营许可证:鄂B2-20231246"),b("br",null,null),A("教育移动互联网应用备案:教APP备4200224号"),b("br",null,null),A("网络安全等级保护备案号:42010043158-24001 "),b("br",null,null),A("Copyright © 2024 武汉酷乐秀网络科技有限公司 版权所有")])])})),{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"}),Tn=""+new URL("logo-large-b4e43429.png",o.meta.url).href;function In(e){var n;const t="function"==typeof(o=e)?o():k(o);var o;return null!=(n=null==t?void 0:t.$el)?n:t}const Bn="undefined"!=typeof window&&"undefined"!=typeof document?window:void 0;function jn(e){const n=function(){const e=a(!1);return h()&&f((()=>{e.value=!0})),e}();return i((()=>(n.value,Boolean(e()))))}function Mn(t,o,l={}){const{window:r=Bn}=l,a=n(l,e);let s;const c=jn((()=>r&&"ResizeObserver"in r)),u=()=>{s&&(s.disconnect(),s=void 0)},d=i((()=>Array.isArray(t)?t.map((e=>In(e))):[In(t)])),f=m(d,(e=>{if(u(),c.value&&r){s=new ResizeObserver(o);for(const n of e)n&&s.observe(n,a)}}),{immediate:!0,flush:"post",deep:!0}),p=()=>{u(),f()};var v;return v=p,z()&&L(v),{isSupported:c,stop:p}}t("M",y({name:"m-header",emits:["height"],setup(e,{emit:n}){const t=P(),o=$(),l=a(!1),r=a(!1),i=a(!1),s=a(),c=e=>{r.value=!1,l.value=!1,o.push(e)};return f((()=>{["/music-classroom","/colexiu-tenant","/colexiu-person"].includes(t.path)&&(i.value=!0);try{Mn(s.value,(e=>{const t=e[0],{height:o}=t.contentRect;n("height",o)}))}catch(e){}})),()=>b("div",{"class":$n.headerSection,id:"headerSection"},[b("div",{"class":$n.header,ref:s},[b("img",{"class":$n.logo,src:Tn,onClick:()=>o.push("/")},null),b("div",{"class":[$n.navMenu,l.value&&$n["is-active"]],onClick:()=>{l.value=!l.value,r.value=!r.value}},[b("span",{"class":[$n.line,$n.line1]},null),b("span",{"class":[$n.line,$n.line2]},null),b("span",{"class":[$n.line,$n.line3]},null)])]),b(Sn,{position:"top",show:r.value,"onUpdate:show":[e=>r.value=e,e=>{l.value=e}],"class":$n.menuPopup,teleport:"body"},{"default":()=>[b("div",{"class":"van-hairline--top"},[b(Pn,{title:"首页",border:!1,clickable:!0,"class":["/","/colexiu-technology"].includes(t.path)&&$n["is-active"],onClick:()=>c("/")},null),b(Pn,{title:"产品",clickable:!0,border:!1,"class":["/home"].includes(t.path)&&$n["is-active"],onClick:()=>c("/home")},null),b(Pn,{title:"解决方案",isLink:!0,clickable:!0,arrowDirection:i.value?"up":"down",border:!1,onClick:()=>i.value=!i.value},null),b("div",{"class":[$n.subCell,i.value&&$n.arrowActive]},[b(Pn,{title:"数字化音乐课堂",clickable:!0,border:!1,"class":["/music-classroom"].includes(t.path)&&$n["is-active"],onClick:()=>c("/music-classroom")},null),b(Pn,{title:"器乐教培行业解决方案",clickable:!0,border:!1,"class":["/colexiu-tenant"].includes(t.path)&&$n["is-active"],onClick:()=>c("/colexiu-tenant")},null),b(Pn,{title:"音乐达人展示平台",clickable:!0,border:!1,"class":["/colexiu-person"].includes(t.path)&&$n["is-active"],onClick:()=>c("/colexiu-person")},null)]),b(Pn,{title:"渠道合作",border:!1,clickable:!0,"class":["/cooperate-channels"].includes(t.path)&&$n["is-active"],onClick:()=>c("/cooperate-channels")},null),b(Pn,{title:"关于我们",clickable:!0,border:!1,"class":["/about-us"].includes(t.path)&&$n["is-active"],onClick:()=>c("/about-us")},null)])]})])}}))}}}))}();