diff --git a/App.vue b/App.vue index 544dacf..3dae122 100644 --- a/App.vue +++ b/App.vue @@ -2,7 +2,7 @@ export default { onLaunch: function() { // #ifdef APP-PLUS - plus.screen.lockOrientation('‌landscape-primary‌'); + plus.screen.lockOrientation('landscape-primary'); plus.navigator.setFullscreen(true); // #endif }, @@ -11,7 +11,7 @@ }, onUnload() { // #ifdef APP-PLUS - plus.screen.lockOrientation('‌landscape-primary‌'); + plus.screen.lockOrientation('landscape-primary'); // #endif } } diff --git a/unpackage/cache/wgt/__UNI__F0A98BD/app-service.js b/unpackage/cache/wgt/__UNI__F0A98BD/app-service.js index 7c91adf..8217ca6 100644 --- a/unpackage/cache/wgt/__UNI__F0A98BD/app-service.js +++ b/unpackage/cache/wgt/__UNI__F0A98BD/app-service.js @@ -1 +1 @@ -if("undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(e){const n=this.constructor;return this.then((r=>n.resolve(e()).then((()=>r))),(r=>n.resolve(e()).then((()=>{throw r}))))}),"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";const n=(e,n)=>{const r=e.__vccOpts||e;for(const[t,o]of n)r[t]=o;return r};const r=n({data:()=>({url:"http://192.168.2.100:8011"}),methods:{toConfig(){let e="/uni_modules/yykj-tv/pages/home/home?url="+this.url;uni.redirectTo({url:e})}}},[["render",function(n,r,t,o,i,a){return e.openBlock(),e.createElementBlock("view",{class:"content"},[e.createElementVNode("view",{class:""},[e.withDirectives(e.createElementVNode("input",{type:"text",class:"input","onUpdate:modelValue":r[0]||(r[0]=e=>i.url=e)},null,512),[[e.vModelText,i.url]]),e.createElementVNode("button",{type:"primary",size:"size",onClick:r[1]||(r[1]=(...e)=>a.toConfig&&a.toConfig(...e))},"跳转")])])}],["__scopeId","data-v-32fe5a51"]]);const t=n({data:()=>({url:""}),onLoad(e){this.url=e.url}},[["render",function(n,r,t,o,i,a){return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("web-view",{src:i.url},null,8,["src"])])}]]);__definePage("uni_modules/yykj-tv/pages/index/index",r),__definePage("uni_modules/yykj-tv/pages/home/home",t);const o={onLaunch:function(){plus.screen.lockOrientation("‌landscape-primary‌"),plus.navigator.setFullscreen(!0)},onHide:function(){!function(e,n,...r){uni.__log__?uni.__log__(e,n,...r):console[e].apply(console,[...r,n])}("log","at App.vue:10","App Hide")},onUnload(){plus.screen.lockOrientation("‌landscape-primary‌")}};const{app:i,Vuex:a,Pinia:l}={app:e.createVueApp(o)};uni.Vuex=a,uni.Pinia=l,i.provide("__globalStyles",__uniConfig.styles),i._component.mpType="app",i._component.render=()=>{},i.mount("#app")}(Vue); +if("undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(e){const n=this.constructor;return this.then((r=>n.resolve(e()).then((()=>r))),(r=>n.resolve(e()).then((()=>{throw r}))))}),"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";const n=(e,n)=>{const r=e.__vccOpts||e;for(const[t,o]of n)r[t]=o;return r};const r=n({data:()=>({url:"http://192.168.2.100:8011"}),methods:{toConfig(){let e="/uni_modules/yykj-tv/pages/home/home?url="+this.url;uni.redirectTo({url:e})}}},[["render",function(n,r,t,o,i,a){return e.openBlock(),e.createElementBlock("view",{class:"content"},[e.createElementVNode("view",{class:""},[e.withDirectives(e.createElementVNode("input",{type:"text",class:"input","onUpdate:modelValue":r[0]||(r[0]=e=>i.url=e)},null,512),[[e.vModelText,i.url]]),e.createElementVNode("button",{type:"primary",size:"size",onClick:r[1]||(r[1]=(...e)=>a.toConfig&&a.toConfig(...e))},"跳转")])])}],["__scopeId","data-v-32fe5a51"]]);const t=n({data:()=>({url:""}),onLoad(e){this.url=e.url}},[["render",function(n,r,t,o,i,a){return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("web-view",{src:i.url},null,8,["src"])])}]]);__definePage("uni_modules/yykj-tv/pages/index/index",r),__definePage("uni_modules/yykj-tv/pages/home/home",t);const o={onLaunch:function(){plus.screen.lockOrientation("landscape-primary"),plus.navigator.setFullscreen(!0)},onHide:function(){!function(e,n,...r){uni.__log__?uni.__log__(e,n,...r):console[e].apply(console,[...r,n])}("log","at App.vue:10","App Hide")},onUnload(){plus.screen.lockOrientation("landscape-primary")}};const{app:i,Vuex:a,Pinia:l}={app:e.createVueApp(o)};uni.Vuex=a,uni.Pinia=l,i.provide("__globalStyles",__uniConfig.styles),i._component.mpType="app",i._component.render=()=>{},i.mount("#app")}(Vue); diff --git a/unpackage/dist/build/app-plus/app-service.js b/unpackage/dist/build/app-plus/app-service.js index 7c91adf..8217ca6 100644 --- a/unpackage/dist/build/app-plus/app-service.js +++ b/unpackage/dist/build/app-plus/app-service.js @@ -1 +1 @@ -if("undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(e){const n=this.constructor;return this.then((r=>n.resolve(e()).then((()=>r))),(r=>n.resolve(e()).then((()=>{throw r}))))}),"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";const n=(e,n)=>{const r=e.__vccOpts||e;for(const[t,o]of n)r[t]=o;return r};const r=n({data:()=>({url:"http://192.168.2.100:8011"}),methods:{toConfig(){let e="/uni_modules/yykj-tv/pages/home/home?url="+this.url;uni.redirectTo({url:e})}}},[["render",function(n,r,t,o,i,a){return e.openBlock(),e.createElementBlock("view",{class:"content"},[e.createElementVNode("view",{class:""},[e.withDirectives(e.createElementVNode("input",{type:"text",class:"input","onUpdate:modelValue":r[0]||(r[0]=e=>i.url=e)},null,512),[[e.vModelText,i.url]]),e.createElementVNode("button",{type:"primary",size:"size",onClick:r[1]||(r[1]=(...e)=>a.toConfig&&a.toConfig(...e))},"跳转")])])}],["__scopeId","data-v-32fe5a51"]]);const t=n({data:()=>({url:""}),onLoad(e){this.url=e.url}},[["render",function(n,r,t,o,i,a){return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("web-view",{src:i.url},null,8,["src"])])}]]);__definePage("uni_modules/yykj-tv/pages/index/index",r),__definePage("uni_modules/yykj-tv/pages/home/home",t);const o={onLaunch:function(){plus.screen.lockOrientation("‌landscape-primary‌"),plus.navigator.setFullscreen(!0)},onHide:function(){!function(e,n,...r){uni.__log__?uni.__log__(e,n,...r):console[e].apply(console,[...r,n])}("log","at App.vue:10","App Hide")},onUnload(){plus.screen.lockOrientation("‌landscape-primary‌")}};const{app:i,Vuex:a,Pinia:l}={app:e.createVueApp(o)};uni.Vuex=a,uni.Pinia=l,i.provide("__globalStyles",__uniConfig.styles),i._component.mpType="app",i._component.render=()=>{},i.mount("#app")}(Vue); +if("undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(e){const n=this.constructor;return this.then((r=>n.resolve(e()).then((()=>r))),(r=>n.resolve(e()).then((()=>{throw r}))))}),"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";const n=(e,n)=>{const r=e.__vccOpts||e;for(const[t,o]of n)r[t]=o;return r};const r=n({data:()=>({url:"http://192.168.2.100:8011"}),methods:{toConfig(){let e="/uni_modules/yykj-tv/pages/home/home?url="+this.url;uni.redirectTo({url:e})}}},[["render",function(n,r,t,o,i,a){return e.openBlock(),e.createElementBlock("view",{class:"content"},[e.createElementVNode("view",{class:""},[e.withDirectives(e.createElementVNode("input",{type:"text",class:"input","onUpdate:modelValue":r[0]||(r[0]=e=>i.url=e)},null,512),[[e.vModelText,i.url]]),e.createElementVNode("button",{type:"primary",size:"size",onClick:r[1]||(r[1]=(...e)=>a.toConfig&&a.toConfig(...e))},"跳转")])])}],["__scopeId","data-v-32fe5a51"]]);const t=n({data:()=>({url:""}),onLoad(e){this.url=e.url}},[["render",function(n,r,t,o,i,a){return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("web-view",{src:i.url},null,8,["src"])])}]]);__definePage("uni_modules/yykj-tv/pages/index/index",r),__definePage("uni_modules/yykj-tv/pages/home/home",t);const o={onLaunch:function(){plus.screen.lockOrientation("landscape-primary"),plus.navigator.setFullscreen(!0)},onHide:function(){!function(e,n,...r){uni.__log__?uni.__log__(e,n,...r):console[e].apply(console,[...r,n])}("log","at App.vue:10","App Hide")},onUnload(){plus.screen.lockOrientation("landscape-primary")}};const{app:i,Vuex:a,Pinia:l}={app:e.createVueApp(o)};uni.Vuex=a,uni.Pinia=l,i.provide("__globalStyles",__uniConfig.styles),i._component.mpType="app",i._component.render=()=>{},i.mount("#app")}(Vue);