(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-document-preview-document-preview"],{"705b":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("5ef2");var r={data:function(){return{webviewStyles:{progress:{color:"#FF3333"}},src:"",title:"",ext:"",uniPlatform:""}},onLoad:function(t){var e=getApp().globalData.serverUrl;if(this.uniPlatform=getApp().globalData.uniPlatform,this.src=e+"/studentcenter/courseware/PDFjs/web/viewer.html?file="+t.url,"web"===this.uniPlatform||"h5"===this.uniPlatform){var i=window.location.href;e=i.substr(0,i.toLowerCase().indexOf("h5/"));var r=e+t.url.substr(t.url.toLowerCase().indexOf("filesystem"));this.src=e+"studentcenter/courseware/PDFjs/web/viewer.html?file="+r}this.title=t.title,this.ext=t.ext,"outerLink"===this.ext&&(this.src=t.url),uni.setNavigationBarTitle({title:this.title})},methods:{}};e.default=r},"9d71":function(t,e,i){"use strict";i.r(e);var r=i("705b"),n=i.n(r);for(var s in r)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(s);e["default"]=n.a},b446:function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var r=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",[e("v-uni-web-view",{attrs:{"webview-styles":this.webviewStyles,"update-title":!1,src:this.src}})],1)},n=[]},ddc5:function(t,e,i){"use strict";i.r(e);var r=i("b446"),n=i("9d71");for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);var u=i("828b"),a=Object(u["a"])(n["default"],r["b"],r["c"],!1,null,"59e4af35",null,!1,r["a"],void 0);e["default"]=a.exports}}]);