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