weeklyCalendar.wxss
1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
.row {
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
background: #fff;
}
.line {
height: 1rpx;
width: 100%;
background-color: gainsboro;
}
.year-select {
height: 80rpx;
flex-direction: row;
justify-content: space-between;
padding: 0 30rpx;
}
.last-year,
.next-year {
flex-direction: row;
font-size: 28rpx;
color: #181A1F;
align-items: center;
}
.icon {
width: 36rpx;
height: 36rpx;
}
.left {
margin-right: 10rpx;
}
.left {
margin-left: 10rpx;
}
.right {
margin-right: 10rpx;
}
.timeType {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 28rpx;
color: #181A1F;
width: 280rpx;
height: 64rpx;
text-align: center;
line-height: 64rpx;
border-radius: 20px;
background: #f2f3f5;
}
.month-scroll {
width: 100%;
white-space: nowrap;
background: #fff;
padding-top: 12rpx;
/* padding: 30rpx 0; */
}
.month-container {
display: flex;
padding: 15rpx 30rpx 30rpx 30rpx;
}
.month-item {
box-sizing: border-box;
padding: 10rpx 20rpx;
display: inline-flex;
flex-direction: column;
align-items: center;
justify-content: center;
/* width: 160rpx; */
min-width: 180rpx;
height: 64rpx;
margin: 0 10rpx;
border-radius: 364rpx;
position: relative;
flex-shrink: 0;
}
.month-text {
font-size: 28rpx;
color: #292D33;
}
.month-item.selected {
background-color: #347BFF;
}
.month-item.selected .month-text {
color: #fff;
}
.month-item.disabled .month-text {
color: #BEC1C7;
}
.empty-badge {
position: absolute;
top: 0;
right: 0;
background-color: #F24724;
color: #fff;
height: 32rpx;
line-height: 32rpx;
font-size: 22rpx;
padding: 2rpx 6rpx;
border-radius: 16rpx;
transform: translate(30%, -30%);
z-index: 10;
white-space: nowrap;
}