index-legacy.578fcaba.js 11 KB

1
  1. !function(){function n(n,o){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var o=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null==o)return;var a,r,e=[],i=!0,u=!1;try{for(o=o.call(n);!(i=(a=o.next()).done)&&(e.push(a.value),!t||e.length!==t);i=!0);}catch(l){u=!0,r=l}finally{try{i||null==o.return||o.return()}finally{if(u)throw r}}return e}(n,o)||function(n,o){if(!n)return;if("string"==typeof n)return t(n,o);var a=Object.prototype.toString.call(n).slice(8,-1);"Object"===a&&n.constructor&&(a=n.constructor.name);if("Map"===a||"Set"===a)return Array.from(n);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return t(n,o)}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(n,t){(null==t||t>n.length)&&(t=n.length);for(var o=0,a=new Array(t);o<t;o++)a[o]=n[o];return a}var o=document.createElement("style");o.innerHTML=':root{--van-button-mini-height: .64rem;--van-button-mini-padding: 0 var(--van-padding-base);--van-button-mini-font-size: var(--van-font-size-xs);--van-button-small-height: .85333rem;--van-button-small-padding: 0 var(--van-padding-xs);--van-button-small-font-size: var(--van-font-size-sm);--van-button-normal-padding: 0 .4rem;--van-button-normal-font-size: var(--van-font-size-md);--van-button-large-height: 1.33333rem;--van-button-default-height: 1.17333rem;--van-button-default-line-height: 1.2;--van-button-default-font-size: var(--van-font-size-lg);--van-button-default-color: var(--van-text-color);--van-button-default-background-color: var(--van-background-color-light);--van-button-default-border-color: var(--van-border-color);--van-button-primary-color: var(--van-white);--van-button-primary-background-color: var(--van-primary-color);--van-button-primary-border-color: var(--van-primary-color);--van-button-success-color: var(--van-white);--van-button-success-background-color: var(--van-success-color);--van-button-success-border-color: var(--van-success-color);--van-button-danger-color: var(--van-white);--van-button-danger-background-color: var(--van-danger-color);--van-button-danger-border-color: var(--van-danger-color);--van-button-warning-color: var(--van-white);--van-button-warning-background-color: var(--van-warning-color);--van-button-warning-border-color: var(--van-warning-color);--van-button-border-width: var(--van-border-width-base);--van-button-border-radius: var(--van-border-radius-sm);--van-button-round-border-radius: var(--van-border-radius-max);--van-button-plain-background-color: var(--van-white);--van-button-disabled-opacity: var(--van-disabled-opacity);--van-button-icon-size: 1.2em;--van-button-loading-icon-size: .53333rem}.van-button{position:relative;display:inline-block;box-sizing:border-box;height:var(--van-button-default-height);margin:0;padding:0;font-size:var(--van-button-default-font-size);line-height:var(--van-button-default-line-height);text-align:center;border-radius:var(--van-button-border-radius);cursor:pointer;transition:opacity var(--van-animation-duration-fast);-webkit-appearance:none}.van-button:before{position:absolute;top:50%;left:50%;width:100%;height:100%;background:var(--van-black);border:inherit;border-color:var(--van-black);border-radius:inherit;transform:translate(-50%,-50%);opacity:0;content:" "}.van-button:active:before{opacity:.1}.van-button--loading:before,.van-button--disabled:before{display:none}.van-button--default{color:var(--van-button-default-color);background:var(--van-button-default-background-color);border:var(--van-button-border-width) solid var(--van-button-default-border-color)}.van-button--primary{color:var(--van-button-primary-color);background:var(--van-button-primary-background-color);border:var(--van-button-border-width) solid var(--van-button-primary-border-color)}.van-button--success{color:var(--van-button-success-color);background:var(--van-button-success-background-color);border:var(--van-button-border-width) solid var(--van-button-success-border-color)}.van-button--danger{color:var(--van-button-danger-color);background:var(--van-button-danger-background-color);border:var(--van-button-border-width) solid var(--van-button-danger-border-color)}.van-button--warning{color:var(--van-button-warning-color);background:var(--van-button-warning-background-color);border:var(--van-button-border-width) solid var(--van-button-warning-border-color)}.van-button--plain{background:var(--van-button-plain-background-color)}.van-button--plain.van-button--primary{color:var(--van-button-primary-background-color)}.van-button--plain.van-button--success{color:var(--van-button-success-background-color)}.van-button--plain.van-button--danger{color:var(--van-button-danger-background-color)}.van-button--plain.van-button--warning{color:var(--van-button-warning-background-color)}.van-button--large{width:100%;height:var(--van-button-large-height)}.van-button--normal{padding:var(--van-button-normal-padding);font-size:var(--van-button-normal-font-size)}.van-button--small{height:var(--van-button-small-height);padding:var(--van-button-small-padding);font-size:var(--van-button-small-font-size)}.van-button__loading{color:inherit;font-size:inherit}.van-button__loading .van-loading__spinner{color:currentColor;width:var(--van-button-loading-icon-size);height:var(--van-button-loading-icon-size)}.van-button--mini{height:var(--van-button-mini-height);padding:var(--van-button-mini-padding);font-size:var(--van-button-mini-font-size)}.van-button--mini+.van-button--mini{margin-left:var(--van-padding-base)}.van-button--block{display:block;width:100%}.van-button--disabled{cursor:not-allowed;opacity:var(--van-button-disabled-opacity)}.van-button--loading{cursor:default}.van-button--round{border-radius:var(--van-button-round-border-radius)}.van-button--square{border-radius:0}.van-button__content{display:flex;align-items:center;justify-content:center;height:100%}.van-button__content:before{content:" "}.van-button__icon{font-size:var(--van-button-icon-size);line-height:inherit}.van-button__icon+.van-button__text,.van-button__loading+.van-button__text,.van-button__text+.van-button__icon,.van-button__text+.van-button__loading{margin-left:var(--van-padding-base)}.van-button--hairline{border-width:0}.van-button--hairline:after{border-color:inherit;border-radius:calc(var(--van-button-border-radius) * 2)}.van-button--hairline.van-button--round:after{border-radius:var(--van-button-round-border-radius)}.van-button--hairline.van-button--square:after{border-radius:0}._downPoup_xc0jj_1{width:7.46667rem;border-radius:.26667rem;padding-bottom:.26667rem}._theDown_xc0jj_6 ._title_xc0jj_6{width:4.26667rem;font-size:.48rem;font-weight:500;color:#333;line-height:.74667rem;text-align:center}._btns_xc0jj_14{display:flex;justify-content:center}._btns_xc0jj_14 ._btn_xc0jj_14{padding:.16rem .66667rem;border-radius:.69333rem;font-size:.37333rem;font-weight:500;margin:.08rem}._btns_xc0jj_14 ._down_xc0jj_1{background-color:var(--van-primary-color);color:#fff}._btns_xc0jj_14 ._text_xc0jj_29{border:.02667rem solid var(--van-primary-color);color:var(--van-primary-color)}._icon_xc0jj_33{display:block;width:4.69333rem;margin:.53333rem auto .8rem}._top_xc0jj_38{display:flex;align-items:center;padding:.53333rem .26667rem 0}._top_xc0jj_38>img{width:1.70667rem}\n',document.head.appendChild(o),System.register(["./index-legacy.53298efe.js","./index-legacy.7ef67fdb.js"],(function(t){"use strict";var o,a,r,e,i,u,l,d,c,v,b,s,g,f,p,m,h;return{setters:[function(n){o=n.c,a=n.q,r=n.m,e=n.n,i=n.D,u=n.E,l=n.I,d=n.z,c=n.L,v=n.w,b=n.P,s=n.F},function(n){g=n.v,f=n.d,p=n.c,m=n.r,h=n.b}],execute:function(){var _=n(o("button"),2),y=_[0],w=_[1],x=g({},a,{tag:r("button"),text:String,icon:String,type:r("default"),size:r("normal"),color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:r("button"),loadingSize:e,loadingText:String,loadingType:String,iconPosition:r("left")}),j=f({name:y,props:x,emits:["click"],setup:function(n,t){var o=t.emit,a=t.slots,r=i(),e=function(){return n.loading?a.loading?a.loading():p(c,{size:n.loadingSize,type:n.loadingType,class:w("loading")},null):a.icon?p("div",{class:w("icon")},[a.icon()]):n.icon?p(l,{name:n.icon,class:w("icon"),classPrefix:n.iconPrefix},null):void 0},v=function(){var t;if(t=n.loading?n.loadingText:a.default?a.default():n.text)return p("span",{class:w("text")},[t])},b=function(){var t=n.color,o=n.plain;if(t){var a={color:o?t:"white"};return o||(a.background=t),t.includes("gradient")?a.border=0:a.borderColor=t,a}},s=function(t){n.loading?d(t):n.disabled||(o("click",t),r())};return function(){var t,o,a,r=n.tag,i=n.type,l=n.size,d=n.block,c=n.round,g=n.plain,f=n.square,m=n.loading,h=n.disabled,_=n.hairline,y=n.nativeType,x=n.iconPosition,j=[w([i,l,{plain:g,block:d,round:c,square:f,loading:m,disabled:h,hairline:_}]),(t={},o=u,a=_,o in t?Object.defineProperty(t,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[o]=a,t)];return p(r,{type:y,class:j,style:b(),disabled:h,onClick:s},{default:function(){return[p("div",{class:w("content")},["left"===x&&e(),v(),"right"===x&&e()])]}})}}}),k=(t("B",v(j)),"_downPoup_xc0jj_1"),z="_theDown_xc0jj_6",P="_title_xc0jj_6",S="_btns_xc0jj_14",A="_btn_xc0jj_14",T="_down_xc0jj_1",B="_text_xc0jj_29",C="_icon_xc0jj_33",q="_top_xc0jj_38",D=""+new URL("icon-down.eb4a3151.png",module.meta.url).href;t("T",f({name:"TheDown",setup:function(n,t){t.emit;var o=t.expose,a=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"student",t="",o="",a=n;"student"===a?(t="https://itunes.apple.com/cn/app/id1626971695?mt=8",o="https://appstore.ks3-cn-beijing.ksyuncs.com/clx-student-domain.apk"):"teacher"===a&&(t="https://itunes.apple.com/cn/app/id1626971149?mt=8",o="https://appstore.ks3-cn-beijing.ksyuncs.com/clx-teacher-domain.apk"),/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href=t:/(Android)/i.test(navigator.userAgent)?window.location.href=o:window.location.href="student"==a?"https://online.colexiu.com/student/#/download":"https://online.colexiu.com/student/#/download?type=teacher"},r=m(!1);return o({downLoadApp:a,toggle:function(){r.value=!r.value}}),function(){return p("div",null,[p(b,{class:k,show:r.value,"onUpdate:show":function(n){return r.value=n}},{default:function(){return[p("div",{class:z},[p("div",{class:q},[p("img",{src:s,alt:""},null),p("span",{class:P},[h("下载酷乐秀APP 发现更大的世界")]),p("img",{style:{transform:"rotateY(180deg)"},src:s,alt:""},null)]),p("img",{class:C,src:D},null),p("div",{class:S},[p("div",{class:[A,T],onClick:function(){return a()}},[h("打开APP")]),p("div",{class:[A,B],onClick:function(){return r.value=!1}},[h("继续浏览")])])])]}})])}}}))}}}))}();