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 { .page-setting {
display: flex; display: flex;
flex-direction: column; 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 { .setting-head {
display: flex; display: flex;
align-items: center; align-items: center;
@ -28,13 +49,14 @@
} }
} }
} }
.setting-box { .setting-box {
flex: 1; flex: 1;
height: 0; height: 0;
display: flex; display: flex;
padding-bottom: 16px; padding-bottom: 16px;
.mobile-nav-box { .mobile-nav-box {
display: none; display: none !important;
} }
.setting-menu { .setting-menu {
width: 200px; width: 200px;
@ -118,6 +140,7 @@
} }
} }
} }
.setting-item { .setting-item {
.ivu-input, .ivu-input,
.ivu-select-default { .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 { body.window-portrait {
.page-setting { .page-setting {
background-color: #f8f8f8; background-color: #f8f8f8;
}
.setting-head { .setting-head {
display: none; display: none;
} }
.setting-box { .setting-box {
position: relative; position: relative;
.mobile-nav-box { .mobile-nav-box {
display: flex; display: flex !important;
position: sticky; position: sticky;
top: 0; top: 0;
z-index: 3; z-index: 3;
@ -400,6 +406,7 @@ body.window-portrait {
} }
} }
} }
.setting-item { .setting-item {
.setting-footer { .setting-footer {
> button { > button {
@ -433,4 +440,3 @@ body.window-portrait {
} }
} }
} }
}