修改测试问题
This commit is contained in:
@@ -371,17 +371,23 @@ export default {
|
||||
}
|
||||
|
||||
/deep/ .uni-calendar-item__weeks-box-text {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
/deep/ .uni-calendar-item--isDay-text {
|
||||
color: #333 !important; /* 改成你想要的颜色 */
|
||||
/deep/ .uni-calendar-item__weeks-box-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/deep/ .uni-calendar-item__weeks-box-circle {
|
||||
position: absolute;
|
||||
top: 7px;
|
||||
right: 6px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 39px;
|
||||
height: 39px;
|
||||
border-radius: 50%;
|
||||
@@ -389,9 +395,13 @@ export default {
|
||||
background-color: #e6a23c;
|
||||
}
|
||||
|
||||
/* 核心:选中圆圈下的 子元素(日期数字) */
|
||||
/* 选中圆圈下的日期数字 */
|
||||
/deep/ .uni-calendar-item__weeks-box-circle + .uni-calendar-item__weeks-box-text {
|
||||
color: #fff !important; /* 改成你想要的颜色 */
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
/deep/ .uni-calendar-item--isDay-text {
|
||||
color: #333 !important;
|
||||
}
|
||||
|
||||
/deep/ .uni-calendar__backtoday,
|
||||
@@ -421,9 +431,9 @@ export default {
|
||||
}
|
||||
|
||||
/deep/ .uni-calendar-item__weeks-box-circle {
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
right: 8px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user