index-legacy.b6041c09.js 2.3 KB

1
  1. !function(){var e=document.createElement("style");e.innerHTML="._popup_15zo2_1{min-width:55vw;max-height:70vh}._popup_15zo2_1 .van-badge__wrapper{color:var(--primary-color);background-color:#fff;border-radius:50%;font-size:20PX;padding:5PX;font-weight:700;right:0;top:0;transform:translate(100%,-100%)}._content_15zo2_16{border-radius:.26667rem;overflow:hidden}._content_15zo2_16._full_15zo2_20{width:96vw;height:96vh}._content_15zo2_16._full_15zo2_20 .plyr video{max-height:100%!important}._content_15zo2_16 .plyr{border-radius:.26667rem;overflow:hidden;--plyr-color-main: var(--primary-color)}._content_15zo2_16 .plyr video{max-height:80vh}._content_15zo2_16 .plyr__poster{background-color:#fff;background-size:70%}._content_15zo2_16 .plyr__control--overlaid{background-color:rgba(0,0,0,.5)}._content_15zo2_16 .plyr--audio{min-width:100%}._content_15zo2_16 .van-field__word-limit{font-size:12PX;color:#ccc}\n",document.head.appendChild(e),System.register(["./index-legacy.0d9fe592.js","./App-legacy.e9a3d8ec.js"],(function(e){"use strict";var o,t,n,r,i,a;return{setters:[function(e){o=e.P},function(e){t=e.r,n=e.b,r=e.d,i=e.a,a=e.W}],execute:function(){var l=t(null);n();var d=r({name:"setting-content",props:{close:{type:Function,default:function(){}},videoFilePath:{type:String},className:{type:String}},data:function(){return{isFullScreen:!1}},mounted:function(){},methods:{mediaType:function(){var e=(this.videoFilePath||"").split(".").pop();return"wav"===e||"mp3"===e?"audio":"video"}},render:function(){return i("div",null,["audio"===this.mediaType()?i("audio",{ref:l,src:this.videoFilePath,controls:"false",preload:"metadata",playsinline:!0},null):i("video",{ref:l,src:this.videoFilePath,"data-poster":"/orchestra-music-score/assets/videobg.2d19d627.png",controls:"false",preload:"metadata",playsinline:!0},null)])}}),c="_popup_15zo2_1",p=t();e("P",r({name:"player-popup",props:{btnClass:{type:String},popupClass:{type:String}},render:function(){var e=this;return i(o,{ref:p,className:c},{default:function(){var o,t,n;return[i("div",{onClick:null===(o=p.value)||void 0===o?void 0:o.open},[null===(t=(n=e.$slots).default)||void 0===t?void 0:t.call(n)])]},popup:function(){var o;return i(d,a({close:null===(o=p.value)||void 0===o?void 0:o.close,className:e.popupClass},e.$attrs),null)}})}}))}}}))}();