1 |
- if("undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(e){const n=this.constructor;return this.then((t=>n.resolve(e()).then((()=>t))),(t=>n.resolve(e()).then((()=>{throw t}))))}),"undefined"!=typeof uni&&uni&&uni.requireGlobal){const e=uni.requireGlobal();ArrayBuffer=e.ArrayBuffer,Int8Array=e.Int8Array,Uint8Array=e.Uint8Array,Uint8ClampedArray=e.Uint8ClampedArray,Int16Array=e.Int16Array,Uint16Array=e.Uint16Array,Int32Array=e.Int32Array,Uint32Array=e.Uint32Array,Float32Array=e.Float32Array,Float64Array=e.Float64Array,BigInt64Array=e.BigInt64Array,BigUint64Array=e.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(Vue,weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),function(e){"use strict";function n(e,n,...t){uni.__log__?uni.__log__(e,n,...t):console[e].apply(console,[...t,n])}var t;__definePage("pages/index/index",((e,n)=>{const t=e.__vccOpts||e;for(const[r,a]of n)t[r]=a;return t})({data:()=>({title:"ehsd",url:"http://106.54.243.161:10010/#/",src:"",canBack:!1}),onBackPress(){return!(!t||!this.canBack)&&(t.back(),!0)},onReady(){var e=this,n=this.$scope.$getAppWebview();setTimeout((function(){(t=n.children()[0]).addEventListener("progressChanged",(function(n){t.canBack((function(n){e.canBack=n.canBack}))}),!1)}),500)},onLoad(){var e=0;uni.getSystemInfo({success:t=>{n("log","at pages/index/index.vue:55",t),e=t.windowHeight},complete:()=>{}});let t=uni.getSystemInfoSync(),r=t.statusBarHeight;n("log","at pages/index/index.vue:62",t,12312312312);var a=this.$scope.$getAppWebview();setTimeout((function(){a.children()[0].setStyle({top:r,height:e-r,scalable:!1})}),1e3)}},[["render",function(n,t,r,a,o,i){return e.openBlock(),e.createElementBlock("view",{class:"content"},[e.createElementVNode("view",{class:"status_bar"}),e.createElementVNode("web-view",{src:o.url,fullscreen:!1},null,8,["src"])])}]]));const r={onLaunch:function(){n("log","at App.vue:4","App Launch")},onShow:function(){n("log","at App.vue:7","App Show")},onHide:function(){n("log","at App.vue:10","App Hide")}};const{app:a,Vuex:o,Pinia:i}={app:e.createVueApp(r)};uni.Vuex=o,uni.Pinia=i,a.provide("__globalStyles",__uniConfig.styles),a._component.mpType="app",a._component.render=()=>{},a.mount("#app")}(Vue);
|