index-legacy.c6bc0e07.js 1.7 KB

1
  1. !function(){function t(t,e,r,o,n,i,c){try{var a=t[i](c),u=a.value}catch(l){return void r(l)}a.done?e(u):Promise.resolve(u).then(o,n)}var e=document.createElement("style");e.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(e),System.register(["./index-legacy.396370dc.js","./index-legacy.67ecd3de.js"],(function(e){"use strict";var r,o,n;return{setters:[function(t){r=t.d,o=t.j},function(t){n=t.C}],execute:function(){var i="_mProtocol_1s9om_1";e("default",r({name:"preview-protocol",data:function(){return console.log(this.$route.query),{protocolUrl:"",title:"music"===this.$route.query.type?"曲谱排版规范":"常见问题"}},mounted:function(){var e,r=this;return(e=regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:"question"===(e=r.$route.query.type)?r.protocolUrl="".concat(location.origin,"/teacher/muic-standard/question.html"):"music"===e?(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 t.stop()}}),t)})),function(){var r=this,o=arguments;return new Promise((function(n,i){var c=e.apply(r,o);function a(e){t(c,n,i,a,u,"next",e)}function u(e){t(c,n,i,a,u,"throw",e)}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)])}}))}}}))}();