Update layout styles for consistent dimensions across App.vue, index.html, and common.css; modify navigation redirection in index and policyList pages

This commit is contained in:
2026-04-02 10:56:20 +08:00
parent 3411ef57b4
commit 7e6ae7c7ed
5 changed files with 17 additions and 8 deletions

View File

@@ -111,4 +111,8 @@ uni-modal,
body {
font-family: 'PingFangSC-Regular', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
html,body{
width: 1080px!important;
height: 1920px!important;
}
</style>

View File

@@ -62,10 +62,9 @@ image {
/* height: 100%; */
}
body,
html {
height: 100%;
width: 100%;
body,html {
width: 1080px!important;
height: 1920px!important;
overflow-x: hidden;
}

View File

@@ -2,6 +2,12 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<style>
html,body{
width: 1080px!important;
height: 1920px!important;
}
</style>
<script>
(function() {
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' &&

View File

@@ -152,7 +152,7 @@ function back() {
// uni.navigateBack({
// delta: 1
// })
location.href='https://www.xjksly.cn/mechine-single-vue/'
window.location.href='https://www.xjksly.cn/mechine-single-vue/'
// uni.reLaunch({
// url: '/pages/index/index'
// })

View File

@@ -209,7 +209,7 @@ export default {
// uni.navigateBack({
// delta: 1
// })
location.href='https://www.xjksly.cn/mechine-single-vue/'
window.location.href='https://www.xjksly.cn/mechine-single-vue/'
// uni.reLaunch({
// url: '/pages/index/index'
// })
@@ -333,7 +333,7 @@ export default {
}
.page {
background-color: #f4f4f4 !important;
height: 100vh;
height: 1920px;
background-repeat: no-repeat;
background-size: 100% auto;
}