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

修复横屏样式错乱问题

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