状态栏

This commit is contained in:
2024-05-11 14:07:30 +08:00
parent 634d2c031f
commit 4d56111c2d
4 changed files with 52 additions and 24 deletions

View File

@@ -3,7 +3,7 @@
onLaunch: function() {
// #ifdef APP-PLUS
plus.screen.lockOrientation('portrait-primary');
plus.navigator.setFullscreen(true);
// plus.navigator.setFullscreen(true);
// #endif
},
onHide: function() {

View File

@@ -38,6 +38,7 @@ uni-button:after {
height: 32rpx;
background-color: #fff;
font-size: 24rpx;
line-height: 28rpx;
border: 1rpx solid #bbb;
}
.icon_checked {
@@ -230,53 +231,77 @@ uni-button:after {
padding-bottom: 8rpx;
background-color: #f5f5f5;
}
.slide_new table td, .slide_new table th {
.slide_new table th {
position: sticky;
top: 0;
left: 0;
z-index: 120;
font-size: 26rpx;
line-height: 98rpx;
color: #696969;
font-weight: bold;
text-align: center;
box-sizing: border-box;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
white-space: nowrap;
padding: 0 20rpx;
text-align: center;
background: #d7d7d7;
}
.slide_new table td:first-child, .slide_new table th:first-child{
position: sticky;
.slide_new table th:first-child{
left: 0;
z-index: 101;
z-index: 121;
color: #4e6ef2;
font-weight: bold;
box-shadow: 3px 0px 3px 0px rgba(160,160,160,0.20);
}
.slide_new table thead tr th {
position: sticky;
top: 0;
background: #d7d7d7;
font-size: 26rpx;
line-height: 98rpx;
color: #696969;
font-weight: bold;
z-index: 100;
.slide_new table th.th_2 {
left: 86rpx;
z-index: 122;
box-shadow: 3px 0px 3px 0px rgba(160,160,160,0.20);
}
.slide_new table thead tr th:first-child {
background: #d7d7d7;
}
.slide_new table tbody tr td {
.slide_new table td {
font-size: 28rpx;
line-height: 98rpx;
color: #323232;
text-align: center;
box-sizing: border-box;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
white-space: nowrap;
padding: 0 20rpx;
background: #fff;
}
.slide_new table thead tr th.fontcol1,.slide_new table tbody tr td.fontcol1 {
.slide_new table td:first-child{
position: sticky;
left: 0;
z-index: 100;
color: #4e6ef2;
font-weight: bold;
box-shadow: 3px 0px 3px 0px rgba(160,160,160,0.20);
}
.slide_new table td.td_2 {
position: sticky;
left: 86rpx;
z-index: 101;
box-shadow: 3px 0px 3px 0px rgba(160,160,160,0.20);
}
.slide_new table th.fontcol1,.slide_new table td.fontcol1 {
color: #4e6ef2;
font-weight: bold;
}
.slide_new table thead tr th.fontcol2,.slide_new table tbody tr td.fontcol2 {
.slide_new table th.fontcol2,.slide_new table td.fontcol2 {
color: #d7592f;
font-weight: bold;
}
.slide_new table tbody tr.checked td {
.slide_new table tr.checked td {
background-color: #f0c560;
color: #fff;
}
.slide_new table tbody tr.checked td:first-child {
.slide_new table tr.checked td:first-child {
border-left: 6rpx solid #ff8227;
}

View File

@@ -131,3 +131,6 @@ input[type="button"], input[type="submit"], input[type="search"], input[type="re
.h-50 {
height: 50% !important;
}
.mgb10 {
margin-bottom: 10rpx;
}

View File

@@ -386,7 +386,7 @@
],
"globalStyle": {
// "pageOrientation": "landscape",
"navigationBarTextStyle": "white",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#d7592f",
"backgroundColor": "#ffffff"