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='._wx_bg_53wkw_1{position:fixed;top:0;right:0;width:100%;z-index:9999;padding:.53333rem}._wx_bg_53wkw_1>img{width:100%}._theFooterApp_53wkw_12{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_53wkw_12>img{width:.66667rem;height:.66667rem;margin-right:.32rem}._theFooterApp_53wkw_12:active:before{opacity:.1}._theFooterApp_53wkw_12: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_53wkw_52{background:#f8f8f8}._appContent_53wkw_52 ._top_53wkw_55{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_53wkw_52 ._top_53wkw_55 ._des_53wkw_66{display:flex;align-items:center;font-size:.32rem;color:#999}._appContent_53wkw_52 ._content_53wkw_72{padding:0 .42667rem .16rem}._appContent_53wkw_52 ._content_53wkw_72 ._item_53wkw_75{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_53wkw_52 ._content_53wkw_72 ._item_53wkw_75 .van-button{margin-left:auto;width:1.81333rem;height:.90667rem}._appContent_53wkw_52 ._content_53wkw_72 ._tag_53wkw_89{font-size:.32rem;color:#fd6223;background:#ffeae2;border-radius:.10667rem;padding:.02667rem .05333rem;margin-left:.26667rem}._appContent_53wkw_52 ._content_53wkw_72 ._description_53wkw_97{font-size:.42667rem}._appContent_53wkw_52 ._content_53wkw_72 ._description_53wkw_97 ._title_53wkw_100{line-height:.64rem}._appContent_53wkw_52 ._content_53wkw_72 ._description_53wkw_97 ._des_53wkw_66{font-size:.32rem;color:#999}._appContent_53wkw_52 ._content_53wkw_72 ._itemLogo_53wkw_107{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.2693cd05.js","./_commonjsHelpers-legacy.9cbdcf1f.js","./index-legacy.5fb2e9db.js","./utils-legacy.2e55ffa8.js"],(function(e){"use strict";var n,r,o,i,a,_,l,c,w,s,u,d,p,f;return{setters:[function(t){n=t.I},function(t){r=t.d,o=t.o,i=t.r,a=t.c,_=t.b,l=t.F,c=t.e,w=t.u},function(t){s=t.P,u=t.I},function(t){d=t.B},function(t){p=t.i,f=t.a}],execute:function(){var m={wx_bg:"_wx_bg_53wkw_1",theFooterApp:"_theFooterApp_53wkw_12",appContent:"_appContent_53wkw_52",top:"_top_53wkw_55",des:"_des_53wkw_66",content:"_content_53wkw_72",item:"_item_53wkw_75",tag:"_tag_53wkw_89",description:"_description_53wkw_97",title:"_title_53wkw_100",itemLogo:"_itemLogo_53wkw_107"},g=""+new URL("wx_bg.7fc6518a.png",module.meta.url).href,h=t(c(!1),2),k=h[0],b=h[1];e("T",r({name:"TheFooterApp",setup:function(){var t=w();o((function(){"index"==t.name&&b(!0)}));var e=[{title:"酷乐秀",des:"学习海量优质乐谱",tag:"推荐",type:"ColexiuStudent"},{title:"酷乐秀学院",des:"我要提供优质内容",tag:"",type:"ColexiuTeacher"}],r=i(!1);return function(){return a(l,null,[r.value&&a("div",{class:m.wx_bg},[a("img",{src:g},null)]),a("div",{class:m.theFooterApp,onClick:function(){return b(!0)}},[a("img",{class:m.img,src:n},null),a("span",null,[_("打开APP看海量热门乐谱")])]),a(s,{position:"bottom",round:!0,show:k.value,"onUpdate:show":function(t){return k.value=t},onClose:function(){return r.value=!1}},{default:function(){return[a("div",{class:m.appContent},[a("div",{class:m.top},[a("span",null,[_("打开方式")]),a("div",{class:m.des,onClick:function(){return b(!1)}},[a("span",null,[_("继续使用浏览器")]),a(u,{name:"play",size:10},null)])]),a("div",{class:m.content},[e.map((function(t){return a("div",{class:m.item},[a("img",{class:m.itemLogo,src:n,alt:""},null),a("div",{class:m.description},[a("div",{class:m.title},[t.title,t.tag&&a("span",{class:m.tag},[t.tag])]),a("div",{class:m.des},[t.des])]),a(d,{round:!0,type:"primary",onClick:function(){return function(t){if(p()||f())r.value=!0;else try{var e=encodeURIComponent(JSON.stringify({url:"",action:"h5",pageTag:1}));"ColexiuStudent"==t?/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href="ColexiuStudent://linkUrl=".concat(e):/(Android)/i.test(navigator.userAgent)&&(window.location.href="colexiustudent://html:8888/SplashActivity?url=".concat(e)):/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href="ColexiuTeacher://linkUrl=".concat(e):/(Android)/i.test(navigator.userAgent)&&(window.location.href="colexiuteacher://html:8888/SplashActivity?url=".concat(e))}catch(n){}}(t.type)}},{default:function(){return[_("打开")]}})])}))])])]}})])}}}))}}}))}();
|