diff --git a/src/pages/clazz/index.vue b/src/pages/clazz/index.vue index 4f9edb6..5bff1b7 100644 --- a/src/pages/clazz/index.vue +++ b/src/pages/clazz/index.vue @@ -1114,6 +1114,36 @@ export default defineComponent({ overflow-y: auto !important; -webkit-overflow-scrolling: touch; } + + // FullCalendar 按钮统一为白底描线,与矩阵视图一致 + :deep(.fc .fc-button-primary) { + background: #fff; + border: 1px solid #c8c9cc; + color: #333; + font-size: 0.24rem; + height: 0.5rem; + padding: 0 0.15rem; + border-radius: 0.06rem; + box-shadow: none; + text-shadow: none; + line-height: 1; + white-space: nowrap; + + &:hover { background: #f7f8fa; } + &:active { background: #e8e8e8; } + &:focus { box-shadow: none; } + } + + :deep(.fc .fc-button-primary:disabled) { + opacity: 0.5; + cursor: not-allowed; + } + + :deep(.fc .fc-button-primary.fc-button-active) { + background: #1989fa; + border-color: #1989fa; + color: #fff; + } } .calendar-wrapper {