From a1df8827ec0bf04fba60ac2479ffc227746b9dd5 Mon Sep 17 00:00:00 2001 From: shirlwang <15254118591@163.com> Date: Thu, 2 Apr 2026 13:38:51 +0800 Subject: [PATCH] Update navigation redirection in index and policyList pages to use direct URL assignment and adjust container dimensions for improved layout --- packageRc/pages/index/index.vue | 9 ++++----- packageRc/pages/policy/policyList.vue | 4 +--- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/packageRc/pages/index/index.vue b/packageRc/pages/index/index.vue index 8ccbeed..978dace 100644 --- a/packageRc/pages/index/index.vue +++ b/packageRc/pages/index/index.vue @@ -152,9 +152,8 @@ function back() { // uni.navigateBack({ // delta: 1 // }) - // window.location.href='https://www.xjksly.cn/mechine-single-vue/' - window.parent.changeParentLocation("https://www.xjksly.cn/mechine-single-vue/"); - + window.location.href='https://www.xjksly.cn/mechine-single-vue/' + // uni.reLaunch({ // url: '/pages/index/index' // }) @@ -311,8 +310,8 @@ function formatYear(dateStr) { view{box-sizing: border-box;display: block;} .container{ background-color: #FFFFFF; - min-height: 100vh; - min-width: 100vw; + min-height: 1920px; + min-width: 1080px; box-sizing: border-box; } /* 自定义导航栏 */ diff --git a/packageRc/pages/policy/policyList.vue b/packageRc/pages/policy/policyList.vue index b6e4f99..64da886 100644 --- a/packageRc/pages/policy/policyList.vue +++ b/packageRc/pages/policy/policyList.vue @@ -209,9 +209,7 @@ export default { // uni.navigateBack({ // delta: 1 // }) - // window.location.href='https://www.xjksly.cn/mechine-single-vue/' - window.parent.changeParentLocation("https://www.xjksly.cn/mechine-single-vue/"); - + window.location.href='https://www.xjksly.cn/mechine-single-vue/' // uni.reLaunch({ // url: '/pages/index/index' // })