Compare commits

2 Commits

5 changed files with 17 additions and 8 deletions

View File

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

View File

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

View File

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

View File

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

View File

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