完善规划页特殊日期弹窗
This commit is contained in:
@@ -851,10 +851,13 @@
|
||||
|
||||
.empty-date-sheet {
|
||||
width: 100%;
|
||||
max-height: 88vh;
|
||||
padding: 22rpx 28rpx calc(28rpx + env(safe-area-inset-bottom));
|
||||
border-radius: 22px 22px 0 0;
|
||||
background: #fffdf8;
|
||||
box-shadow: 0 -18rpx 44rpx rgba(38, 35, 31, 0.18);
|
||||
overflow-y: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
animation: emptyDateSheetIn 180ms ease both;
|
||||
}
|
||||
|
||||
@@ -923,8 +926,13 @@
|
||||
.empty-date-action {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
min-width: 100%;
|
||||
max-width: 100%;
|
||||
min-height: 136rpx;
|
||||
margin: 0;
|
||||
padding: 22rpx;
|
||||
border-radius: 12px;
|
||||
text-align: left;
|
||||
@@ -936,12 +944,6 @@
|
||||
box-shadow: 0 8rpx 18rpx rgba(111, 143, 131, 0.24);
|
||||
}
|
||||
|
||||
.empty-date-action.rest {
|
||||
border: 1rpx solid #f0d7d3;
|
||||
background: #fff8f6;
|
||||
color: #6a4743;
|
||||
}
|
||||
|
||||
.empty-date-action-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -962,11 +964,6 @@
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.empty-date-action.rest .empty-date-action-icon {
|
||||
background: #ffe9e5;
|
||||
color: #c56f6f;
|
||||
}
|
||||
|
||||
.empty-date-action-copy {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
@@ -988,6 +985,144 @@
|
||||
opacity: 0.82;
|
||||
}
|
||||
|
||||
.empty-date-special {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16rpx;
|
||||
margin-top: 26rpx;
|
||||
}
|
||||
|
||||
.empty-date-section-title {
|
||||
color: #5d554d;
|
||||
font-size: 24rpx;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.empty-date-type-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 14rpx;
|
||||
}
|
||||
|
||||
.empty-date-type {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
min-width: 100%;
|
||||
max-width: 100%;
|
||||
min-height: 124rpx;
|
||||
margin: 0;
|
||||
padding: 20rpx 22rpx;
|
||||
border: 1rpx solid #ede5dc;
|
||||
border-radius: 12px;
|
||||
background: #fffaf3;
|
||||
color: #665e55;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.empty-date-type.active {
|
||||
border-color: #d4b27e;
|
||||
background: #fff7e9;
|
||||
color: #5d4828;
|
||||
}
|
||||
|
||||
.empty-date-type.rest.active {
|
||||
border-color: #f0d7d3;
|
||||
background: #fff8f6;
|
||||
color: #6a4743;
|
||||
}
|
||||
|
||||
.empty-date-type.work.active {
|
||||
border-color: #c8dccf;
|
||||
background: #f5fbf6;
|
||||
color: #436447;
|
||||
}
|
||||
|
||||
.empty-date-type.shift.active {
|
||||
border-color: #d9c8ee;
|
||||
background: #fbf7ff;
|
||||
color: #5a4770;
|
||||
}
|
||||
|
||||
.empty-date-type.rest .empty-date-action-icon {
|
||||
background: #ffe9e5;
|
||||
color: #c56f6f;
|
||||
}
|
||||
|
||||
.empty-date-type.work .empty-date-action-icon {
|
||||
background: #e6f3e8;
|
||||
color: #589060;
|
||||
}
|
||||
|
||||
.empty-date-type.shift .empty-date-action-icon {
|
||||
background: #eee2fb;
|
||||
color: #7d63a8;
|
||||
}
|
||||
|
||||
.empty-date-type-check {
|
||||
min-width: 64rpx;
|
||||
margin-left: 16rpx;
|
||||
color: #b38642;
|
||||
font-size: 22rpx;
|
||||
font-weight: 900;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.empty-date-time-fields {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 14rpx;
|
||||
}
|
||||
|
||||
.empty-date-time-fields picker {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.empty-date-time-field {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
min-height: 88rpx;
|
||||
padding: 0 22rpx;
|
||||
border: 1rpx solid #e8ded2;
|
||||
border-radius: 10px;
|
||||
background: #fffdf8;
|
||||
}
|
||||
|
||||
.empty-date-time-label {
|
||||
color: #8f877e;
|
||||
font-size: 24rpx;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.empty-date-time-value {
|
||||
color: #2e2a25;
|
||||
font-size: 30rpx;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.empty-date-save {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
min-width: 100%;
|
||||
max-width: 100%;
|
||||
height: 88rpx;
|
||||
min-height: 88rpx;
|
||||
margin: 2rpx 0 0;
|
||||
padding: 0 24rpx;
|
||||
border-radius: 12px;
|
||||
background: #2d2a26;
|
||||
color: #fffdf8;
|
||||
font-size: 28rpx;
|
||||
font-weight: 900;
|
||||
line-height: 88rpx;
|
||||
}
|
||||
|
||||
@keyframes pageFadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
|
||||
Reference in New Issue
Block a user