perf: 优化时间组件

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

View File

@ -1,7 +1,28 @@
.page-setting {
display: flex;
flex-direction: column;
.setting-head {
}
.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;
margin: 32px 32px 16px;
@ -27,14 +48,15 @@
}
}
}
}
.setting-box {
}
.setting-box {
flex: 1;
height: 0;
display: flex;
padding-bottom: 16px;
.mobile-nav-box {
display: none;
display: none !important;
}
.setting-menu {
width: 200px;
@ -117,8 +139,9 @@
}
}
}
}
.setting-item {
}
.setting-item {
.ivu-input,
.ivu-select-default {
max-width: 460px;
@ -309,38 +332,21 @@
margin-left: 8px;
}
}
}
}
.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 {
@ -432,5 +439,4 @@ body.window-portrait {
}
}
}
}
}