Update navigation redirection in index and policyList pages to use direct URL assignment and adjust container dimensions for improved layout

This commit is contained in:
2026-04-02 13:38:51 +08:00
parent bc7beb1040
commit a1df8827ec
2 changed files with 5 additions and 8 deletions

View File

@@ -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;
}
/* 自定义导航栏 */

View File

@@ -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'
// })