index-legacy.96ed0fd8.js 5.5 KB

1
  1. !function(){function t(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,_=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(l){_=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(_)throw o}}return i}(t,n)||function(t,n){if(!t)return;if("string"==typeof t)return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(t,n)}(t,n)||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 e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var n=document.createElement("style");n.innerHTML='._theFooterApp_1ttee_1{position:fixed;left:50%;bottom:1.06667rem;width:6.4rem;height:1.17333rem;display:flex;justify-content:center;align-items:center;font-size:.42667rem;font-weight:700;color:#fff;background-color:var(--van-primary-color);border-radius:.53333rem;transform:translate(-50%);overflow:hidden;z-index:100}._theFooterApp_1ttee_1>img{width:.66667rem;height:.66667rem;margin-right:.32rem}._theFooterApp_1ttee_1:active:before{opacity:.1}._theFooterApp_1ttee_1: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:" "}._appContent_1ttee_41{background:#f8f8f8}._appContent_1ttee_41 ._top_1ttee_44{display:flex;justify-content:space-between;padding:.42667rem;background-image:url(__VITE_ASSET__3ee92736__);background-repeat:no-repeat;background-size:100% 100%;font-size:.42667rem;font-weight:700;line-height:.58667rem}._appContent_1ttee_41 ._top_1ttee_44 ._des_1ttee_55{display:flex;align-items:center;font-size:.32rem;color:#999}._appContent_1ttee_41 ._content_1ttee_61{padding:0 .42667rem .16rem}._appContent_1ttee_41 ._content_1ttee_61 ._item_1ttee_64{display:flex;align-items:center;padding:.32rem .42667rem;background:#ffffff;box-shadow:0 .02667rem .05333rem rgba(0,0,0,.05);border-radius:.21333rem;margin-bottom:.32rem}._appContent_1ttee_41 ._content_1ttee_61 ._item_1ttee_64 .van-button{margin-left:auto;width:1.81333rem;height:.90667rem}._appContent_1ttee_41 ._content_1ttee_61 ._tag_1ttee_78{font-size:.32rem;color:#fd6223;background:#ffeae2;border-radius:.10667rem;padding:.02667rem .05333rem;margin-left:.26667rem}._appContent_1ttee_41 ._content_1ttee_61 ._description_1ttee_86{font-size:.42667rem}._appContent_1ttee_41 ._content_1ttee_61 ._description_1ttee_86 ._title_1ttee_89{line-height:.64rem}._appContent_1ttee_41 ._content_1ttee_61 ._description_1ttee_86 ._des_1ttee_55{font-size:.32rem;color:#999}._appContent_1ttee_41 ._content_1ttee_61 ._itemLogo_1ttee_96{width:1.6rem;height:1.6rem;margin-right:.37333rem;border:.02667rem solid #dedede;border-radius:.37333rem}\n',document.head.appendChild(n),System.register(["./logo-1-legacy.33a78a26.js","./index-legacy.f22dd48f.js","./index-legacy.c82d35be.js","./index-legacy.a0c48464.js"],(function(e){"use strict";var n,r,o,i,a,_,l,c,d,s,u;return{setters:[function(t){n=t.I},function(t){r=t.d,o=t.G,i=t.c,a=t.V,_=t.J,l=t.X,c=t.u},function(t){d=t.P,s=t.I},function(t){u=t.B}],execute:function(){var p={theFooterApp:"_theFooterApp_1ttee_1",appContent:"_appContent_1ttee_41",top:"_top_1ttee_44",des:"_des_1ttee_55",content:"_content_1ttee_61",item:"_item_1ttee_64",tag:"_tag_1ttee_78",description:"_description_1ttee_86",title:"_title_1ttee_89",itemLogo:"_itemLogo_1ttee_96"},f=t(l(!1),2),m=f[0],g=f[1];e("T",r({name:"TheFooterApp",setup:function(){var t=c();o((function(){"index"==t.name&&g(!0)}));var e=[{title:"酷乐秀",des:"学习海量优质乐谱",tag:"推荐",type:"ColexiuStudent"},{title:"酷乐秀学院",des:"我要提供优质内容",tag:"",type:"ColexiuTeacher"}];return function(){return i(_,null,[i("div",{class:p.theFooterApp,onClick:function(){return g(!0)}},[i("img",{class:p.img,src:n},null),i("span",null,[a("打开APP看海量热门乐谱")])]),i(d,{position:"bottom",round:!0,show:m.value,"onUpdate:show":function(t){return m.value=t}},{default:function(){return[i("div",{class:p.appContent},[i("div",{class:p.top},[i("span",null,[a("打开方式")]),i("div",{class:p.des,onClick:function(){return g(!1)}},[i("span",null,[a("继续使用浏览器")]),i(s,{name:"play",size:10},null)])]),i("div",{class:p.content},[e.map((function(t){return i("div",{class:p.item},[i("img",{class:p.itemLogo,src:n,alt:""},null),i("div",{class:p.description},[i("div",{class:p.title},[t.title,t.tag&&i("span",{class:p.tag},[t.tag])]),i("div",{class:p.des},[t.des])]),i(u,{round:!0,type:"primary",onClick:function(){return e=t.type,n=encodeURIComponent(JSON.stringify({url:"",action:"h5",pageTag:1})),void("ColexiuStudent"==e?/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href="ColexiuStudent://linkUrl=".concat(n):/(Android)/i.test(navigator.userAgent)&&(window.location.href="colexiustudent://html:8888/SplashActivity?url=".concat(n)):/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href="ColexiuTeacher://linkUrl=".concat(n):/(Android)/i.test(navigator.userAgent)&&(window.location.href="colexiuteacher://html:8888/SplashActivity?url=".concat(n)));var e,n}},{default:function(){return[a("打开")]}})])}))])])]}})])}}}))}}}))}();