Commit 6aab2ca2 authored by 高宇's avatar 高宇

修复周末没有背景色问题;

parent cfb7eb45
...@@ -102,6 +102,7 @@ ...@@ -102,6 +102,7 @@
$('[data-toggle="tooltip"]').tooltip() $('[data-toggle="tooltip"]').tooltip()
}, },
eventRender (info) { eventRender (info) {
// console.log(info)
// info.el = $('el-tooltip') // info.el = $('el-tooltip')
info.el.setAttribute('data-id', info.event.id) info.el.setAttribute('data-id', info.event.id)
info.el.setAttribute('data-model', info.event.extendedProps.nonstandard.model) info.el.setAttribute('data-model', info.event.extendedProps.nonstandard.model)
...@@ -122,13 +123,6 @@ ...@@ -122,13 +123,6 @@
}) })
this.$emit('update:add', info, this.$refs.fullCalendar.getApi().view.type) this.$emit('update:add', info, this.$refs.fullCalendar.getApi().view.type)
}, },
// handleDateClick (info) {
// // info.jsEvent.preventDefault()
// this.$message({
// message: '添加'
// })
// this.$emit('update:add', info)
// },
eventClick (info) { eventClick (info) {
info.jsEvent.preventDefault() info.jsEvent.preventDefault()
this.$message({ this.$message({
...@@ -185,7 +179,10 @@ ...@@ -185,7 +179,10 @@
@import '../../assets/css/tooltip.css'; @import '../../assets/css/tooltip.css';
</style> </style>
<style> <style>
.demo-app-calendar .fc-day.fc-sat,.demo-app-calendar .fc-day.fc-sun{
background: #d7d7d7;
opacity: .3;
}
.tooltip p { .tooltip p {
text-align: left; text-align: left;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment