Commit ed3f1b37 authored by 528360026@qq.com's avatar 528360026@qq.com

修复横屏样式错乱问题

parent aeb04fd8
......@@ -10,6 +10,10 @@
"usingComponents" : true,
"nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3,
"screenOrientation" : [
"landscape-primary", //可选,字符串类型,支持横屏
"landscape-secondary" //可选,字符串类型,支持反向横屏
],
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
......@@ -17,7 +21,14 @@
"delay" : 0
},
/* 模块配置 */
"modules" : {},
"modules" : {
"Barcode" : {},
"Webview-x5" : {},
"VideoPlayer" : {},
"Record" : {},
"Bluetooth" : {},
"Camera" : {}
},
/* 应用发布信息 */
"distribute" : {
/* android打包配置 */
......
<template>
<view class="common-container">
<view class="header">
<image mode="widthFix" class="header-logo" style="width: 110px;margin: 10px auto;display: block;" src="/static/logo.png"></image>
<image mode="widthFix" class="header-logo" style="width: 110px;margin: 10px auto;display: block;"
src="/static/logo.png"></image>
<TabHeader></TabHeader>
<view class="setting-body"
@click="handleUserTaped">
......@@ -178,8 +179,7 @@ export default {
.common-container {
width: 100vw;
height: 100vh;
display: grid;
grid-template-columns: 120px 1fr;
display: flex;
}
.common-head {
......@@ -192,6 +192,7 @@ export default {
}
.header {
width: 120px;
background-color: #132138;
color: aliceblue;
font-size: 25px;
......@@ -262,6 +263,8 @@ img {
}
.common-main {
flex: 1;
height: 100%;
padding: 6px 6px 6px 0;
margin: 0;
width: 100%;
......
......@@ -702,11 +702,11 @@ export default {
height: 100%;
//overflow: hidden;
display: grid;
grid-template-columns: 1fr 150px;
display: flex;
}
.prod-body-left {
flex: 1;
//flex-grow: 1;
// padding: 10rpx;
overflow: hidden;
......@@ -730,7 +730,7 @@ export default {
.prod-body-left-task {
height: calc(100% - 80rpx - 500rpx);
height: calc(100vh - 80rpx - 500rpx);
min-height: 400rpx;
border: 1px solid rgb(232, 232, 232);
}
......
......@@ -465,7 +465,7 @@ export default {
}
.list-bar {
width: calc(100vw - 100px);
width: calc(100vw - 130px);
}
.button-bar {
......@@ -482,7 +482,10 @@ export default {
background-color: #76bd1d;
border-radius: 10px;
box-shadow: 2px 2px 3px #888888;
display: grid;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
color: #FFFFFF;
place-items: center;
}
......@@ -493,7 +496,7 @@ export default {
}
.shortcut-icon {
width: 48px;
width: 100%;
height: 48px;
align-items: center;
border-radius: 10px;
......@@ -508,9 +511,6 @@ export default {
font-size: 26px;
}
.scroll-list {
height: ;
}
.line-list {
width: 100%;
......
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