index-legacy.034a9922.js 2.2 KB

1
  1. !function(){var o=document.createElement("style");o.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(o),System.register(["./App-legacy.2a33c1c9.js"],(function(o){"use strict";var e,t,n,r,i,a;return{setters:[function(o){e=o.r,t=o.b,n=o.d,r=o.a,i=o.R,a=o.U}],execute:function(){var l=e(null);t();var d=n({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 o=(this.videoFilePath||"").split(".").pop();return"wav"===o||"mp3"===o?"audio":"video"}},render:function(){return r("div",null,["audio"===this.mediaType()?r("audio",{ref:l,src:this.videoFilePath,controls:"false",preload:"metadata",playsinline:!0},null):r("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=e();o("P",n({name:"player-popup",props:{btnClass:{type:String},popupClass:{type:String}},render:function(){var o=this;return r(i,{ref:p,className:c},{default:function(){var e,t,n;return[r("div",{onClick:null===(e=p.value)||void 0===e?void 0:e.open},[null===(t=(n=o.$slots).default)||void 0===t?void 0:t.call(n)])]},popup:function(){var e;return r(d,a({close:null===(e=p.value)||void 0===e?void 0:e.close,className:o.popupClass},o.$attrs),null)}})}}))}}}))}();