date-picker.wxss
2.0 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
@keyframes fade-in {
0% {
top: 1000rpx;
opacity: 0;
}/*初始状态 透明度为0*/
40% {
top: 1000rpx;
opcity: 0;
}/*过渡状态 透明度为0*/
100% {
margin-top: 0rpx;
opacity: 1;
}/*结束状态 透明度为1*/
}
/* .date-picker {
position: absolute;
top: 0;
left: 0;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
z-index: 9;
animation: fade-in 0.5s ease 1 forwards;
} */
/* .date-picker-mask {
position: absolute;
top: 0;
left: 0;
background-color: #353535;
opacity: 0.3;
width: 100%;
height: 100%;
z-index: 10;
} */
.date-picker-content {
position: absolute;
top: 249rpx;
left: 0;
width: 750rpx;
height: 474rpx;
/* margin-right: 48rpx;
margin-left: 48rpx; */
/* border-radius: 8px; */
background-color: #fff;
z-index: 33;
overflow: hidden;
}
.date-picker-content-top {
display: flex;
flex-direction: row;
align-items: center;
height: 90rpx;
justify-content: space-between;
border-top:1rpx solid #f5f5f5;
background: #fff;
z-index:999999
/* padding: 0 154rpx;
box-sizing: border-box */
}
/* .hover-class {
background-color: #e6e6e6;
} */
.date-picker-content-line {
background-color: #fff;
height: 1px;
width: 100%;
}
.date-picker-content-cancel {
/* line-height: 50rpx;
height: 50rpx; */
width:375rpx;
color: #AFAFAF;
font-size: 34rpx;
text-align: center;
height:90rpx;
line-height: 90rpx;
border-right:1rpx solid #f5f5f5;
/* padding: 30rpx 48rpx; */
}
.date-picker-content-sure {
/* line-height: 50rpx;
height: 50rpx; */
font-size: 34rpx;
color: #FF9400;
width:375rpx;
height:90rpx;
line-height: 90rpx;
text-align: center;
/* padding: 30rpx 48rpx; */
}
.date-picker-content-center {
display: flex;
flex-direction: row;
align-items: center;
height: 362rpx;
overflow: hidden;
margin-top: 6rpx;
margin-bottom: 6rpx;
justify-content: space-between;
}
.date-picker-content-item {
width: 33.3%;
height: 320rpx;
text-align: center;
}