perf: 优化时间组件

This commit is contained in:
kuaifan 2024-09-22 15:39:02 +03:00
parent f586938fe9
commit 51a3ad25d1

View File

@ -1,6 +1,27 @@
.page-setting {
display: flex;
flex-direction: column;
}
.page-setting-delete-box {
.big-text {
font-size: 16px;
font-weight: 500;
color: #f00;
}
.small-text {
margin-top: 15px;
> div {
margin: 10px 0;
}
}
.button-box {
text-align: center;
}
}
.setting-head {
display: flex;
align-items: center;
@ -28,13 +49,14 @@
}
}
}
.setting-box {
flex: 1;
height: 0;
display: flex;
padding-bottom: 16px;
.mobile-nav-box {
display: none;
display: none !important;
}
.setting-menu {
width: 200px;
@ -118,6 +140,7 @@
}
}
}
.setting-item {
.ivu-input,
.ivu-select-default {
@ -310,37 +333,20 @@
}
}
}
}
.page-setting-delete-box {
.big-text {
font-size: 16px;
font-weight: 500;
color: #f00;
}
.small-text {
margin-top: 15px;
> div {
margin: 10px 0;
}
}
.button-box {
text-align: center;
}
}
body.window-portrait {
.page-setting {
background-color: #f8f8f8;
}
.setting-head {
display: none;
}
.setting-box {
position: relative;
.mobile-nav-box {
display: flex;
display: flex !important;
position: sticky;
top: 0;
z-index: 3;
@ -400,6 +406,7 @@ body.window-portrait {
}
}
}
.setting-item {
.setting-footer {
> button {
@ -433,4 +440,3 @@ body.window-portrait {
}
}
}
}