diff --git a/txw-mhzc-web/src/pages/index/utils/tzzx-iframe.js b/txw-mhzc-web/src/pages/index/utils/tzzx-iframe.js
index 9c38ea7..cc0e2b0 100644
--- a/txw-mhzc-web/src/pages/index/utils/tzzx-iframe.js
+++ b/txw-mhzc-web/src/pages/index/utils/tzzx-iframe.js
@@ -1,10 +1,8 @@
+/** 与 tzzx 页 VIEWPORT_HEIGHT_OFFSET 保持一致 */
+const VIEWPORT_HEIGHT_OFFSET = 100;
+
export function getViewportIframeFallbackHeight() {
- const navOffset = parseInt(
- getComputedStyle(document.documentElement).getPropertyValue('--page-offset-top'),
- 10
- );
- const offset = Number.isFinite(navOffset) ? navOffset : 76;
- return Math.max(window.innerHeight - offset, 480);
+ return Math.max(window.innerHeight - VIEWPORT_HEIGHT_OFFSET, 480);
}
export function isAllowedIframeMessageOrigin(origin) {
diff --git a/txw-mhzc-web/src/pages/index/views/tzzx/index.vue b/txw-mhzc-web/src/pages/index/views/tzzx/index.vue
index 265ca44..a8aba6e 100644
--- a/txw-mhzc-web/src/pages/index/views/tzzx/index.vue
+++ b/txw-mhzc-web/src/pages/index/views/tzzx/index.vue
@@ -1,504 +1,249 @@
-
-
-
-
-
-
-