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:
4
App.vue
4
App.vue
@@ -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>
|
||||
|
||||
@@ -62,10 +62,9 @@ image {
|
||||
/* height: 100%; */
|
||||
}
|
||||
|
||||
body,
|
||||
html {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
body,html {
|
||||
width: 1080px!important;
|
||||
height: 1920px!important;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<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' &&
|
||||
|
||||
@@ -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'
|
||||
// })
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user