日志
This commit is contained in:
3
unpackage/dist/dev/.nvue/app.css.js
vendored
3
unpackage/dist/dev/.nvue/app.css.js
vendored
@@ -4,8 +4,7 @@ var __commonJS = (cb, mod) => function __require() {
|
||||
};
|
||||
var require_app_css = __commonJS({
|
||||
"app.css.js"(exports) {
|
||||
const _style_0 = {};
|
||||
exports.styles = [_style_0];
|
||||
exports.styles = [];
|
||||
}
|
||||
});
|
||||
export default require_app_css();
|
||||
|
||||
@@ -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":"yykj-ua-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/home1","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}};
|
||||
const __uniRoutes = [{"path":"uni_modules/yykj-tv/pages/home/home1","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()})}});
|
||||
|
||||
176
unpackage/dist/dev/app-plus/app-service.js
vendored
176
unpackage/dist/dev/app-plus/app-service.js
vendored
@@ -31,71 +31,6 @@ if (uni.restoreGlobal) {
|
||||
}
|
||||
(function(vue) {
|
||||
"use strict";
|
||||
const _export_sfc = (sfc, props) => {
|
||||
const target = sfc.__vccOpts || sfc;
|
||||
for (const [key, val] of props) {
|
||||
target[key] = val;
|
||||
}
|
||||
return target;
|
||||
};
|
||||
const _sfc_main$2 = {
|
||||
data() {
|
||||
return {
|
||||
url: "http://192.168.10.34:8080"
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
toConfig() {
|
||||
let url = "/uni_modules/yykj-tv/pages/home/home?url=" + this.url;
|
||||
uni.redirectTo({
|
||||
url
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return vue.openBlock(), vue.createElementBlock("view", { class: "content" }, [
|
||||
vue.createElementVNode("view", { class: "" }, [
|
||||
vue.withDirectives(vue.createElementVNode(
|
||||
"input",
|
||||
{
|
||||
type: "text",
|
||||
class: "input",
|
||||
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.url = $event)
|
||||
},
|
||||
null,
|
||||
512
|
||||
/* NEED_PATCH */
|
||||
), [
|
||||
[vue.vModelText, $data.url]
|
||||
]),
|
||||
vue.createElementVNode("button", {
|
||||
type: "primary",
|
||||
size: "size",
|
||||
onClick: _cache[1] || (_cache[1] = (...args) => $options.toConfig && $options.toConfig(...args))
|
||||
}, "跳转")
|
||||
])
|
||||
]);
|
||||
}
|
||||
const Uni_modulesYykjTvPagesIndexIndex = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$1], ["__scopeId", "data-v-7892acfb"], ["__file", "/Users/nuoli/Downloads/yykj-tv_1.0.0_example/uni_modules/yykj-tv/pages/index/index.vue"]]);
|
||||
const _sfc_main$1 = {
|
||||
data() {
|
||||
return {
|
||||
url: ""
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
this.url = options.url;
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return vue.openBlock(), vue.createElementBlock("view", null, [
|
||||
vue.createElementVNode("web-view", { src: $data.url }, null, 8, ["src"])
|
||||
]);
|
||||
}
|
||||
const Uni_modulesYykjTvPagesHomeHome = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__file", "/Users/nuoli/Downloads/yykj-tv_1.0.0_example/uni_modules/yykj-tv/pages/home/home.vue"]]);
|
||||
__definePage("uni_modules/yykj-tv/pages/index/index", Uni_modulesYykjTvPagesIndexIndex);
|
||||
__definePage("uni_modules/yykj-tv/pages/home/home", Uni_modulesYykjTvPagesHomeHome);
|
||||
function formatAppLog(type, filename, ...args) {
|
||||
if (uni.__log__) {
|
||||
uni.__log__(type, filename, ...args);
|
||||
@@ -103,20 +38,115 @@ if (uni.restoreGlobal) {
|
||||
console[type].apply(console, [...args, filename]);
|
||||
}
|
||||
}
|
||||
const _sfc_main = {
|
||||
onLaunch: function() {
|
||||
formatAppLog("log", "at App.vue:4", "App Launch");
|
||||
const _export_sfc = (sfc, props) => {
|
||||
const target = sfc.__vccOpts || sfc;
|
||||
for (const [key, val] of props) {
|
||||
target[key] = val;
|
||||
}
|
||||
return target;
|
||||
};
|
||||
const _sfc_main$1 = {
|
||||
data() {
|
||||
return {
|
||||
url: "",
|
||||
originalUrl: "http://192.168.10.38:8080/#/login",
|
||||
logMessages: []
|
||||
// 用于收集日志
|
||||
};
|
||||
},
|
||||
onShow: function() {
|
||||
formatAppLog("log", "at App.vue:7", "App Show");
|
||||
onLoad(options) {
|
||||
this.addLog("🏠 home1页面开始加载");
|
||||
formatAppLog("log", "at uni_modules/yykj-tv/pages/home/home1.vue:18", "📄 home1 onLoad 执行", options);
|
||||
this.initWebView();
|
||||
},
|
||||
onHide: function() {
|
||||
formatAppLog("log", "at App.vue:10", "App Hide");
|
||||
onReady() {
|
||||
this.addLog("✅ home1页面准备就绪");
|
||||
formatAppLog("log", "at uni_modules/yykj-tv/pages/home/home1.vue:23", "✅ home1 onReady 执行");
|
||||
},
|
||||
onShow() {
|
||||
this.addLog("👀 home1页面显示");
|
||||
formatAppLog("log", "at uni_modules/yykj-tv/pages/home/home1.vue:27", "✅ home1 onShow 执行");
|
||||
},
|
||||
onHide() {
|
||||
this.addLog("🔚 home1页面隐藏");
|
||||
formatAppLog("log", "at uni_modules/yykj-tv/pages/home/home1.vue:31", "🔚 home1 onHide 执行");
|
||||
},
|
||||
onUnload() {
|
||||
this.addLog("🗑️ home1页面卸载");
|
||||
formatAppLog("log", "at uni_modules/yykj-tv/pages/home/home1.vue:35", "🗑️ home1 onUnload 执行");
|
||||
},
|
||||
onError(err) {
|
||||
this.addLog("💥 home1页面错误: " + err);
|
||||
formatAppLog("error", "at uni_modules/yykj-tv/pages/home/home1.vue:39", "💥 home1页面错误:", err);
|
||||
},
|
||||
methods: {
|
||||
addLog(message) {
|
||||
const timestamp = (/* @__PURE__ */ new Date()).toLocaleTimeString();
|
||||
this.logMessages.push(`[${timestamp}] ${message}`);
|
||||
formatAppLog("log", "at uni_modules/yykj-tv/pages/home/home1.vue:45", message);
|
||||
},
|
||||
initWebView() {
|
||||
this.addLog("🌐 开始初始化WebView");
|
||||
const timestamp = (/* @__PURE__ */ new Date()).getTime();
|
||||
this.url = `${this.originalUrl}?timestamp=${timestamp}`;
|
||||
this.addLog(`🔗 设置WebView URL: ${this.url}`);
|
||||
uni.onNetworkStatusChange((res) => {
|
||||
this.addLog(`📶 网络状态变化: ${res.isConnected ? "已连接" : "未连接"}`);
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/nuoli/Downloads/yykj-tv_1.0.0_example/App.vue"]]);
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return vue.openBlock(), vue.createElementBlock("view", null, [
|
||||
vue.createElementVNode("web-view", { src: $data.url }, null, 8, ["src"])
|
||||
]);
|
||||
}
|
||||
const Uni_modulesYykjTvPagesHomeHome1 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__file", "/Users/nuoli/Documents/2025work/git/tv-pro/uni_modules/yykj-tv/pages/home/home1.vue"]]);
|
||||
__definePage("uni_modules/yykj-tv/pages/home/home1", Uni_modulesYykjTvPagesHomeHome1);
|
||||
const _sfc_main = {
|
||||
onLaunch: function(options) {
|
||||
formatAppLog("log", "at App.vue:4", "🎯 App onLaunch 开始执行", (/* @__PURE__ */ new Date()).toISOString());
|
||||
formatAppLog("log", "at App.vue:5", "📱 启动参数:", JSON.stringify(options));
|
||||
formatAppLog("log", "at App.vue:6", "🔧 平台信息:", uni.getSystemInfoSync());
|
||||
try {
|
||||
formatAppLog("log", "at App.vue:10", "🔄 设置屏幕方向");
|
||||
plus.screen.lockOrientation("landscape-primary");
|
||||
plus.navigator.setFullscreen(true);
|
||||
formatAppLog("log", "at App.vue:13", "✅ 屏幕方向设置成功");
|
||||
} catch (e) {
|
||||
formatAppLog("error", "at App.vue:15", "❌ 屏幕方向设置失败:", e);
|
||||
}
|
||||
uni.getNetworkType({
|
||||
success: (res) => {
|
||||
formatAppLog("log", "at App.vue:22", "📶 网络类型:", res.networkType);
|
||||
},
|
||||
fail: (err) => {
|
||||
formatAppLog("error", "at App.vue:25", "❌ 获取网络状态失败:", err);
|
||||
}
|
||||
});
|
||||
},
|
||||
onShow: function(options) {
|
||||
formatAppLog("log", "at App.vue:31", "👀 App onShow 执行", (/* @__PURE__ */ new Date()).toISOString());
|
||||
formatAppLog("log", "at App.vue:32", "📱 显示参数:", JSON.stringify(options));
|
||||
},
|
||||
onError: function(error) {
|
||||
formatAppLog("error", "at App.vue:36", "💥 App 全局错误:", error);
|
||||
},
|
||||
onPageNotFound: function(res) {
|
||||
formatAppLog("error", "at App.vue:40", "❌ 页面未找到:", JSON.stringify(res));
|
||||
},
|
||||
onHide: function() {
|
||||
formatAppLog("log", "at App.vue:44", "🔚 App Hide", (/* @__PURE__ */ new Date()).toISOString());
|
||||
},
|
||||
onUnload() {
|
||||
formatAppLog("log", "at App.vue:47", "🗑️ App Unload", (/* @__PURE__ */ new Date()).toISOString());
|
||||
}
|
||||
};
|
||||
const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/nuoli/Documents/2025work/git/tv-pro/App.vue"]]);
|
||||
function createApp() {
|
||||
formatAppLog("log", "at main.js:23", "🚀 Vue3应用开始初始化", (/* @__PURE__ */ new Date()).toISOString());
|
||||
const app = vue.createVueApp(App);
|
||||
formatAppLog("log", "at main.js:25", "✅ Vue3应用实例创建完成", (/* @__PURE__ */ new Date()).toISOString());
|
||||
return {
|
||||
app
|
||||
};
|
||||
|
||||
5
unpackage/dist/dev/app-plus/app.css
vendored
5
unpackage/dist/dev/app-plus/app.css
vendored
File diff suppressed because one or more lines are too long
35
unpackage/dist/dev/app-plus/manifest.json
vendored
35
unpackage/dist/dev/app-plus/manifest.json
vendored
@@ -5,7 +5,7 @@
|
||||
"iPad"
|
||||
],
|
||||
"id": "__UNI__F0A98BD",
|
||||
"name": "yykj-ua-tv-pro",
|
||||
"name": "tv-pro",
|
||||
"version": {
|
||||
"name": "1.0.0",
|
||||
"code": "100"
|
||||
@@ -43,6 +43,38 @@
|
||||
"nvueStyleCompiler": "uni-app",
|
||||
"compilerVersion": 3,
|
||||
"distribute": {
|
||||
"icons": {
|
||||
"android": {
|
||||
"hdpi": "unpackage/res/icons/72x72.png",
|
||||
"xhdpi": "unpackage/res/icons/96x96.png",
|
||||
"xxhdpi": "unpackage/res/icons/144x144.png",
|
||||
"xxxhdpi": "unpackage/res/icons/192x192.png"
|
||||
},
|
||||
"ios": {
|
||||
"appstore": "unpackage/res/icons/1024x1024.png",
|
||||
"ipad": {
|
||||
"app": "unpackage/res/icons/76x76.png",
|
||||
"app@2x": "unpackage/res/icons/152x152.png",
|
||||
"notification": "unpackage/res/icons/20x20.png",
|
||||
"notification@2x": "unpackage/res/icons/40x40.png",
|
||||
"proapp@2x": "unpackage/res/icons/167x167.png",
|
||||
"settings": "unpackage/res/icons/29x29.png",
|
||||
"settings@2x": "unpackage/res/icons/58x58.png",
|
||||
"spotlight": "unpackage/res/icons/40x40.png",
|
||||
"spotlight@2x": "unpackage/res/icons/80x80.png"
|
||||
},
|
||||
"iphone": {
|
||||
"app@2x": "unpackage/res/icons/120x120.png",
|
||||
"app@3x": "unpackage/res/icons/180x180.png",
|
||||
"notification@2x": "unpackage/res/icons/40x40.png",
|
||||
"notification@3x": "unpackage/res/icons/60x60.png",
|
||||
"settings@2x": "unpackage/res/icons/58x58.png",
|
||||
"settings@3x": "unpackage/res/icons/87x87.png",
|
||||
"spotlight@2x": "unpackage/res/icons/80x80.png",
|
||||
"spotlight@3x": "unpackage/res/icons/120x120.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"google": {
|
||||
"permissions": [
|
||||
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
|
||||
@@ -75,6 +107,7 @@
|
||||
"dSYMs": false
|
||||
},
|
||||
"plugins": {
|
||||
"ad": {},
|
||||
"audio": {
|
||||
"mp3": {
|
||||
"description": "Android平台录音支持MP3格式文件"
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.content[data-v-7892acfb] {
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-image: linear-gradient(to bottom, #2E3092, #797979);
|
||||
}
|
||||
.input[data-v-7892acfb] {
|
||||
width: 50vw;
|
||||
height: 5vh;
|
||||
background-color: #fff;
|
||||
margin-bottom: 2vh;
|
||||
}
|
||||
Reference in New Issue
Block a user