Browse Source

优化日历样式

dev-map-local
dai 3 years ago
parent
commit
55f28e74f4
  1. 29
      src/views/modules/communityParty/calendar/cpts/calendar.vue
  2. 2
      src/views/modules/communityParty/calendar/index.vue

29
src/views/modules/communityParty/calendar/cpts/calendar.vue

@ -164,8 +164,8 @@ export default {
left: 0; left: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
border-left: 1px solid #eee; border-left: 1px solid #e5e5e5;
border-top: 1px solid #eee; border-top: 1px solid #e5e5e5;
pointer-events: none; pointer-events: none;
} }
@ -178,7 +178,7 @@ export default {
padding: 20px 0; padding: 20px 0;
font-size: 20px; font-size: 20px;
font-weight: bold; font-weight: bold;
background-color: #e6a23c; background-color: rgba(#ccc, 0.2);
text-align: center; text-align: center;
&::after { &::after {
@ -189,9 +189,9 @@ export default {
left: 0; left: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
border-right: 1px solid #eee; border-right: 1px solid #e5e5e5;
pointer-events: none; pointer-events: none;
border-bottom: 1px solid #eee; border-bottom: 1px solid #e5e5e5;
} }
&.z-weekend { &.z-weekend {
@ -222,8 +222,8 @@ export default {
left: 0; left: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
border-right: 1px solid #eee; border-right: 1px solid #e5e5e5;
border-bottom: 1px solid #eee; border-bottom: 1px solid #e5e5e5;
pointer-events: none; pointer-events: none;
} }
@ -241,6 +241,15 @@ export default {
left: 0; left: 0;
right: 0; right: 0;
text-align: center; text-align: center;
color: #bbb;
font-size: 16px;
font-weight: bold;
}
&.z-weekend {
.date {
color: #ff3333;
}
} }
&.z-on { &.z-on {
@ -267,12 +276,6 @@ export default {
font-weight: 700; font-weight: 700;
} }
} }
&.z-weekend {
.date {
color: #ff3333;
}
}
} }
} }
} }

2
src/views/modules/communityParty/calendar/index.vue

@ -789,6 +789,8 @@ $red: #f33;
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
cursor: pointer; cursor: pointer;
opacity: 0.7;
transform: scale(0.94);
} }
} }
} }

Loading…
Cancel
Save