apt15e安装修改
This commit is contained in:
2
README.md
Normal file
2
README.md
Normal file
@@ -0,0 +1,2 @@
|
||||
# 注意事项
|
||||
# 路径"path": "uni_modules/yykj-tv/pages/home/home1",为apt15e项目开发的直接打开页面;
|
||||
28
uni_modules/yykj-tv/pages/home/home1.vue
Normal file
28
uni_modules/yykj-tv/pages/home/home1.vue
Normal file
@@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<view>
|
||||
<web-view :src="url"></web-view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
url: ''
|
||||
};
|
||||
},
|
||||
onLoad (options) {
|
||||
const url = 'http://192.168.100.201'
|
||||
const timestamp = new Date().getTime()
|
||||
this.url = `${url}?timestamp=${timestamp}`
|
||||
uni.onNetworkStatusChange((res) => {
|
||||
if (res.isConnected) {
|
||||
this.url = `${url}?timestamp=${timestamp}`;
|
||||
}
|
||||
})
|
||||
},
|
||||
onUnload () {
|
||||
uni.offNetworkStatusChange()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -11,7 +11,7 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
url: 'http://192.168.2.100:8011'
|
||||
url: 'http://192.168.100.201'
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
|
||||
;(function(){
|
||||
let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[];
|
||||
const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","rpxCalcMaxDeviceWidth":1920,"rpxCalcBaseDeviceWidth":750,"navigationBar":{"backgroundColor":"#F8F8F8","titleText":"","style":"custom","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"tv-pro","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"3.8.12","entryPagePath":"uni_modules/yykj-tv/pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}};
|
||||
const __uniRoutes = [{"path":"uni_modules/yykj-tv/pages/index/index","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"titleText":"","type":"default"},"isNVue":false}},{"path":"uni_modules/yykj-tv/pages/home/home","meta":{"navigationBar":{"titleText":"","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute));
|
||||
const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","rpxCalcMaxDeviceWidth":1920,"rpxCalcBaseDeviceWidth":750,"navigationBar":{"backgroundColor":"#F8F8F8","titleText":"","style":"custom","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"tv-pro","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"3.8.12","entryPagePath":"uni_modules/yykj-tv/pages/home/home","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}};
|
||||
const __uniRoutes = [{"path":"uni_modules/yykj-tv/pages/home/home","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"titleText":"","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute));
|
||||
__uniConfig.styles=[];//styles
|
||||
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
||||
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
||||
|
||||
@@ -1 +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";const n=(e,n)=>{const t=e.__vccOpts||e;for(const[r,o]of n)t[r]=o;return t};const t=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,t,r,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":t[0]||(t[0]=e=>i.url=e)},null,512),[[e.vModelText,i.url]]),e.createElementVNode("button",{type:"primary",size:"size",onClick:t[1]||(t[1]=(...e)=>a.toConfig&&a.toConfig(...e))},"跳转")])])}],["__scopeId","data-v-32fe5a51"]]);const r=n({data:()=>({url:""}),onLoad(e){const n=(new Date).getTime();this.url=`${e.url}?timestamp=${n}`}},[["render",function(n,t,r,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",t),__definePage("uni_modules/yykj-tv/pages/home/home",r);const o={onLaunch:function(){plus.screen.lockOrientation("landscape-primary"),plus.navigator.setFullscreen(!0)},onHide:function(){!function(e,n,...t){uni.__log__?uni.__log__(e,n,...t):console[e].apply(console,[...t,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";__definePage("uni_modules/yykj-tv/pages/home/home",((e,n)=>{const r=e.__vccOpts||e;for(const[t,o]of n)r[t]=o;return r})({data:()=>({url:""}),onLoad(e){const n="http://localhost:8080",r=(new Date).getTime();this.url=`${n}?timestamp=${r}`,uni.onNetworkStatusChange((e=>{e.isConnected&&(this.url=`${n}?timestamp=${r}`)}))},onUnload(){uni.offNetworkStatusChange()}},[["render",function(n,r,t,o,a,i){return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("web-view",{src:a.url},null,8,["src"])])}]]));const n={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:r,Vuex:t,Pinia:o}={app:e.createVueApp(n)};uni.Vuex=t,uni.Pinia=o,r.provide("__globalStyles",__uniConfig.styles),r._component.mpType="app",r._component.render=()=>{},r.mount("#app")}(Vue);
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
.content[data-v-32fe5a51]{height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;background-image:linear-gradient(to bottom,#2E3092,#797979)}.input[data-v-32fe5a51]{width:50vw;height:5vh;background-color:#fff;margin-bottom:2vh}
|
||||
@@ -1,8 +1,8 @@
|
||||
|
||||
;(function(){
|
||||
let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[];
|
||||
const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","rpxCalcMaxDeviceWidth":1920,"rpxCalcBaseDeviceWidth":750,"navigationBar":{"backgroundColor":"#F8F8F8","titleText":"","style":"custom","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"tv-pro","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"3.8.12","entryPagePath":"uni_modules/yykj-tv/pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}};
|
||||
const __uniRoutes = [{"path":"uni_modules/yykj-tv/pages/index/index","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"titleText":"","type":"default"},"isNVue":false}},{"path":"uni_modules/yykj-tv/pages/home/home","meta":{"navigationBar":{"titleText":"","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute));
|
||||
const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","rpxCalcMaxDeviceWidth":1920,"rpxCalcBaseDeviceWidth":750,"navigationBar":{"backgroundColor":"#F8F8F8","titleText":"","style":"custom","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"tv-pro","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"3.8.12","entryPagePath":"uni_modules/yykj-tv/pages/home/home","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}};
|
||||
const __uniRoutes = [{"path":"uni_modules/yykj-tv/pages/home/home","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"titleText":"","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute));
|
||||
__uniConfig.styles=[];//styles
|
||||
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
||||
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
|
||||
|
||||
2
unpackage/dist/build/app-plus/app-service.js
vendored
2
unpackage/dist/build/app-plus/app-service.js
vendored
@@ -1 +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";const n=(e,n)=>{const t=e.__vccOpts||e;for(const[r,o]of n)t[r]=o;return t};const t=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,t,r,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":t[0]||(t[0]=e=>i.url=e)},null,512),[[e.vModelText,i.url]]),e.createElementVNode("button",{type:"primary",size:"size",onClick:t[1]||(t[1]=(...e)=>a.toConfig&&a.toConfig(...e))},"跳转")])])}],["__scopeId","data-v-32fe5a51"]]);const r=n({data:()=>({url:""}),onLoad(e){const n=(new Date).getTime();this.url=`${e.url}?timestamp=${n}`}},[["render",function(n,t,r,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",t),__definePage("uni_modules/yykj-tv/pages/home/home",r);const o={onLaunch:function(){plus.screen.lockOrientation("landscape-primary"),plus.navigator.setFullscreen(!0)},onHide:function(){!function(e,n,...t){uni.__log__?uni.__log__(e,n,...t):console[e].apply(console,[...t,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";__definePage("uni_modules/yykj-tv/pages/home/home",((e,n)=>{const r=e.__vccOpts||e;for(const[t,o]of n)r[t]=o;return r})({data:()=>({url:""}),onLoad(e){const n="http://localhost:8080",r=(new Date).getTime();this.url=`${n}?timestamp=${r}`,uni.onNetworkStatusChange((e=>{e.isConnected&&(this.url=`${n}?timestamp=${r}`)}))},onUnload(){uni.offNetworkStatusChange()}},[["render",function(n,r,t,o,a,i){return e.openBlock(),e.createElementBlock("view",null,[e.createElementVNode("web-view",{src:a.url},null,8,["src"])])}]]));const n={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:r,Vuex:t,Pinia:o}={app:e.createVueApp(n)};uni.Vuex=t,uni.Pinia=o,r.provide("__globalStyles",__uniConfig.styles),r._component.mpType="app",r._component.render=()=>{},r.mount("#app")}(Vue);
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
.content[data-v-32fe5a51]{height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;background-image:linear-gradient(to bottom,#2E3092,#797979)}.input[data-v-32fe5a51]{width:50vw;height:5vh;background-color:#fff;margin-bottom:2vh}
|
||||
Reference in New Issue
Block a user