调整周视图和客户页展示样式
This commit is contained in:
@@ -576,6 +576,211 @@
|
||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%23c64e5b' stroke-opacity='.92' stroke-width='2' stroke-linecap='square' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
|
||||
}
|
||||
|
||||
.week-toolbar {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
gap: 16rpx;
|
||||
margin: 20rpx 8rpx 14rpx;
|
||||
}
|
||||
|
||||
.week-toolbar-title {
|
||||
color: #4c4740;
|
||||
font-size: 26rpx;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.week-toolbar-range {
|
||||
color: #9a9288;
|
||||
font-size: 22rpx;
|
||||
}
|
||||
|
||||
.week-board {
|
||||
height: 900rpx;
|
||||
margin-top: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
border-color: rgba(111, 143, 131, 0.1);
|
||||
background: #fffdf8;
|
||||
box-shadow: 0 8rpx 20rpx rgba(78, 96, 78, 0.04);
|
||||
}
|
||||
|
||||
.week-calendar {
|
||||
min-width: 904rpx;
|
||||
}
|
||||
|
||||
.week-calendar-head {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 6;
|
||||
display: flex;
|
||||
height: 104rpx;
|
||||
border-bottom: 1rpx solid #eee8df;
|
||||
background: rgba(255, 253, 248, 0.96);
|
||||
}
|
||||
|
||||
.week-time-corner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 0 0 92rpx;
|
||||
color: #9a9288;
|
||||
font-size: 20rpx;
|
||||
}
|
||||
|
||||
.week-date-column {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 0 0 116rpx;
|
||||
flex-direction: column;
|
||||
gap: 4rpx;
|
||||
border-left: 1rpx solid #f0ebe4;
|
||||
color: #8f877e;
|
||||
}
|
||||
|
||||
.week-date-column.active {
|
||||
background: #eef7f0;
|
||||
color: #2f6f62;
|
||||
}
|
||||
|
||||
.week-date-column.active::after {
|
||||
position: absolute;
|
||||
right: 18rpx;
|
||||
bottom: 10rpx;
|
||||
left: 18rpx;
|
||||
height: 5rpx;
|
||||
border-radius: 999rpx;
|
||||
background: #6f8f83;
|
||||
content: "";
|
||||
}
|
||||
|
||||
.week-name {
|
||||
color: inherit;
|
||||
font-size: 20rpx;
|
||||
}
|
||||
|
||||
.week-date {
|
||||
margin-top: 0;
|
||||
color: #292520;
|
||||
font-size: 30rpx;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.week-date-column.active .week-date {
|
||||
color: #2f6f62;
|
||||
}
|
||||
|
||||
.week-count {
|
||||
color: #aaa198;
|
||||
font-size: 17rpx;
|
||||
}
|
||||
|
||||
.week-calendar-body {
|
||||
position: relative;
|
||||
display: flex;
|
||||
min-height: 560rpx;
|
||||
}
|
||||
|
||||
.week-time-axis {
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
flex: 0 0 92rpx;
|
||||
border-right: 1rpx solid #eee8df;
|
||||
background: #fffdf8;
|
||||
}
|
||||
|
||||
.week-time-label {
|
||||
position: absolute;
|
||||
right: 12rpx;
|
||||
color: #aaa198;
|
||||
font-size: 18rpx;
|
||||
line-height: 1;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.week-day-columns {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.week-day-column {
|
||||
position: relative;
|
||||
flex: 0 0 116rpx;
|
||||
border-right: 1rpx solid #f0ebe4;
|
||||
background-image: linear-gradient(to bottom, rgba(214, 207, 197, 0.32) 1rpx, transparent 1rpx);
|
||||
background-size: 100% 60rpx;
|
||||
}
|
||||
|
||||
.week-day-column.active {
|
||||
background-color: rgba(238, 247, 240, 0.34);
|
||||
}
|
||||
|
||||
.week-appointment-block {
|
||||
position: absolute;
|
||||
right: 10rpx;
|
||||
left: 10rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rpx;
|
||||
overflow: hidden;
|
||||
padding: 8rpx 8rpx;
|
||||
border-left: 5rpx solid rgba(255, 255, 255, 0.78);
|
||||
border-radius: 9rpx;
|
||||
color: #355849;
|
||||
box-shadow: 0 6rpx 12rpx rgba(70, 92, 75, 0.1);
|
||||
}
|
||||
|
||||
.week-appointment-block.pending {
|
||||
color: #986b2f;
|
||||
}
|
||||
|
||||
.week-appointment-block.is-completed {
|
||||
opacity: 0.74;
|
||||
}
|
||||
|
||||
.week-appointment-block.is-cancelled {
|
||||
opacity: 0.56;
|
||||
}
|
||||
|
||||
.week-block-time,
|
||||
.week-block-title,
|
||||
.week-block-meta {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.week-block-time {
|
||||
color: inherit;
|
||||
font-size: 16rpx;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.week-block-title {
|
||||
color: #2f4d3d;
|
||||
font-size: 22rpx;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.week-block-meta {
|
||||
color: rgba(47, 77, 61, 0.72);
|
||||
font-size: 16rpx;
|
||||
}
|
||||
|
||||
.week-column-empty {
|
||||
position: absolute;
|
||||
top: 40rpx;
|
||||
right: 0;
|
||||
left: 0;
|
||||
color: #d3ccc3;
|
||||
font-size: 22rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.month-card {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user