From 4d56111c2d407b473ebbc39670ea0d5f145af6d5 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Sat, 11 May 2024 14:07:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8A=B6=E6=80=81=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 2 +- common/style/layout.styl | 69 +++++++++++++++++++++++++++------------- common/style/reset.css | 3 ++ pages.json | 2 +- 4 files changed, 52 insertions(+), 24 deletions(-) diff --git a/App.vue b/App.vue index f401bd7..7647603 100644 --- a/App.vue +++ b/App.vue @@ -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() { diff --git a/common/style/layout.styl b/common/style/layout.styl index 5e03b08..3b1ab27 100644 --- a/common/style/layout.styl +++ b/common/style/layout.styl @@ -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; } diff --git a/common/style/reset.css b/common/style/reset.css index 8e116f0..9a0f5c0 100644 --- a/common/style/reset.css +++ b/common/style/reset.css @@ -130,4 +130,7 @@ input[type="button"], input[type="submit"], input[type="search"], input[type="re } .h-50 { height: 50% !important; +} +.mgb10 { + margin-bottom: 10rpx; } \ No newline at end of file diff --git a/pages.json b/pages.json index 57d8b01..e139858 100644 --- a/pages.json +++ b/pages.json @@ -386,7 +386,7 @@ ], "globalStyle": { // "pageOrientation": "landscape", - "navigationBarTextStyle": "white", + "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", "navigationBarBackgroundColor": "#d7592f", "backgroundColor": "#ffffff"