Commit 1706f442 authored by 528360026@qq.com's avatar 528360026@qq.com

修复横屏样式错乱问题

parent f815c534
<script>
export default {
onLaunch: function() {
// console.log('App Launch')
},
onShow: function() {
// console.log('App Show')
},
onHide: function() {
// console.log('App Hide')
}
}
export default {
onLaunch: function () {
// #ifdef APP-PLUS
plus.navigator.setFullscreen(true);
plus.screen.lockOrientation('landscape-primary');
// #endif
},
onShow: function () {
},
onHide: function () {
}
}
</script>
<style lang="scss">
/*每个页面公共css */
@import "@/uview-ui/index.scss";
/*每个页面公共css */
@import "@/uview-ui/index.scss";
</style>
......@@ -28,6 +28,12 @@
"navigationBarBackgroundColor": "#F8F8F8",
"enablePullDownRefresh": true,
"backgroundColor": "#F8F8F8",
"rpxCalcMaxDeviceWidth": 750,
// rpx 计算所支持的最大设备宽度,单位 px,默认值为 960
"rpxCalcBaseDeviceWidth": 375,
// rpx 计算使用的基准设备宽度,设备实际宽度超出 rpx 计算所支持的最大设备宽度时将按基准宽度计算,单位 px,默认值为 375
"rpxCalcIncludeWidth": 750,
// rpx 计算特殊处理的值,始终按实际的设备宽度计算,单位 rpx,默认值为 750
"app-plus": {
"titleNView": false
}
......
......@@ -200,7 +200,7 @@ export default {
height: inherit;
.header-logo {
width: 180rpx;
width: 90%;
margin: 40rpx auto;
display: block;
}
......@@ -270,7 +270,7 @@ img {
.setting-body {
position: absolute;
bottom: 50rpx;
bottom: 20rpx;
width: 200rpx;
margin: 0 auto;
font-size: 36rpx;
......
......@@ -731,6 +731,7 @@ export default {
.prod-body-left-task {
height: calc(100% - 80rpx - 500rpx);
min-height: 400rpx;
border: 1px solid rgb(232, 232, 232);
}
......
......@@ -20,4 +20,5 @@
// H5特有的样式
/* #ifdef H5 */
@import "./libs/css/style.h5.scss";
/* #endif */
\ No newline at end of file
/* #endif */
......@@ -17,7 +17,7 @@ module.exports = {
devServer: {
proxy: {
'/api': {
target: 'http://192.168.3.91:8080/',
target: 'http://localhost:8080/',
changeOrigin: true,
pathRewrite: {
'^/api': ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment