From f7adf50bb3c5b72ecd032ad8d830d5aa8d442021 Mon Sep 17 00:00:00 2001 From: yangzhq68909 <993367776@qq.com> Date: Fri, 6 Jun 2025 17:01:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=9F=E4=BA=A7=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E8=A1=A8=E6=A0=BC=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.config.ts | 2 +- src/manifest.json | 2 +- src/pages.json | 7 +- src/pages/production/index.vue | 1 - src/pages/production/ribaoshuju/rbsjLsxq.vue | 142 +++----------- src/pages/production/ribaoshuju/trqRbsj.vue | 189 ++++--------------- src/pages/production/ribaoshuju/yyRbsj.vue | 168 ++++------------- src/pages/production/shishishuju/index.vue | 15 +- 8 files changed, 116 insertions(+), 410 deletions(-) diff --git a/manifest.config.ts b/manifest.config.ts index 4e0b70d..ff0af2f 100644 --- a/manifest.config.ts +++ b/manifest.config.ts @@ -18,7 +18,7 @@ export default defineManifestConfig({ appid: VITE_UNI_APPID, description: '', versionName: '2.0.0', - versionCode: '20250604', + versionCode: '20250605', transformPx: false, locale: VITE_FALLBACK_LOCALE, // 'zh-Hans' /* 5+App特有相关 */ diff --git a/src/manifest.json b/src/manifest.json index e9a1c98..5fdabbc 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -3,7 +3,7 @@ "appid": "__UNI__9F097F0", "description": "", "versionName": "2.0.0", - "versionCode": "20250604", + "versionCode": "20250605", "transformPx": false, "app-plus": { "usingComponents": true, diff --git a/src/pages.json b/src/pages.json index 73adb11..7468f94 100644 --- a/src/pages.json +++ b/src/pages.json @@ -168,7 +168,12 @@ }, { "path": "pages/production/ribaoshuju/rbsjLsxq", - "type": "page" + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "历史数据" + } }, { "path": "pages/production/ribaoshuju/trqRbsj", diff --git a/src/pages/production/index.vue b/src/pages/production/index.vue index 75cab1e..9241069 100644 --- a/src/pages/production/index.vue +++ b/src/pages/production/index.vue @@ -99,7 +99,6 @@ }); onHide(()=>{ //切换首页后,将生产切换为日本数据以清楚定时 by闵 - console.log(555555) current.value = 0; }) diff --git a/src/pages/production/ribaoshuju/rbsjLsxq.vue b/src/pages/production/ribaoshuju/rbsjLsxq.vue index 95b7741..8520956 100644 --- a/src/pages/production/ribaoshuju/rbsjLsxq.vue +++ b/src/pages/production/ribaoshuju/rbsjLsxq.vue @@ -1,5 +1,14 @@ + + { + layout: 'default', + style: { + navigationStyle: 'custom', + navigationBarTitleText: '历史数据', + }, + } + @@ -91,6 +65,11 @@ max: 0, avg: 0 }); + const screenWidth = ref(0) + const calculateTableHeight = () => { + const systemInfo = uni.getSystemInfoSync(); + screenWidth.value = systemInfo.screenWidth; + } const getJinriShengchansj = (tempDateRange) => { // console.log(tempDateRange); // 添加日期有效性检查 @@ -232,6 +211,11 @@ onMounted(() => { // nextTick(); // getJinriShengchansj(dateRange.value); + calculateTableHeight(); + // 监听屏幕旋转变化 + uni.onWindowResize(() => { + calculateTableHeight(); + }); }); onLoad((options) => { @@ -253,70 +237,6 @@ \ No newline at end of file + \ No newline at end of file