1 |
- !function(){function e(e,t,r,o,n,i,c){try{var a=e[i](c),u=a.value}catch(l){return void r(l)}a.done?t(u):Promise.resolve(u).then(o,n)}var t=document.createElement("style");t.innerHTML="._mProtocol_1s9om_1 iframe{border:none;width:100%;height:100vh}._mProtocol_1s9om_1 iframe body ::-webkit-scrollbar-thumb{background-color:#efeff0;border:.02667rem solid transparent;background-clip:padding-box;border-radius:.13333rem}\n",document.head.appendChild(t),System.register(["./ResizeObserver.es-legacy.8d60aee1.js","./index-legacy.87bcd48f.js"],(function(t){"use strict";var r,o,n;return{setters:[function(e){r=e.d,o=e.j},function(e){n=e.C}],execute:function(){var i="_mProtocol_1s9om_1";t("default",r({name:"preview-protocol",data:function(){return console.log(this.$route.query),{protocolUrl:"",title:"music"===this.$route.query.type?"曲谱排版规范":"常见问题"}},mounted:function(){var t,r=this;return(t=regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"question"===(t=r.$route.query.type)?r.protocolUrl="".concat(location.origin,"/teacher/muic-standard/question.html"):"music"===t?(r.protocolUrl="".concat(location.origin,"/teacher/muic-standard/index.html"),r.title="曲谱排版规范"):r.protocolUrl="".concat(location.origin,"/teacher/muic-standard/index.html");case 2:case"end":return e.stop()}}),e)})),function(){var r=this,o=arguments;return new Promise((function(n,i){var c=t.apply(r,o);function a(t){e(c,n,i,a,u,"next",t)}function u(t){e(c,n,i,a,u,"throw",t)}a(void 0)}))})()},render:function(){return o("div",{id:"mProtocol",class:i},[o(n,{title:this.title},null),o("iframe",{id:"staffIframeRef",src:this.protocolUrl},null)])}}))}}}))}();
|