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

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

parent cfb7eb45
......@@ -102,6 +102,7 @@
$('[data-toggle="tooltip"]').tooltip()
},
eventRender (info) {
// console.log(info)
// info.el = $('el-tooltip')
info.el.setAttribute('data-id', info.event.id)
info.el.setAttribute('data-model', info.event.extendedProps.nonstandard.model)
......@@ -122,13 +123,6 @@
})
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) {
info.jsEvent.preventDefault()
this.$message({
......@@ -185,7 +179,10 @@
@import '../../assets/css/tooltip.css';
</style>
<style>
.demo-app-calendar .fc-day.fc-sat,.demo-app-calendar .fc-day.fc-sun{
background: #d7d7d7;
opacity: .3;
}
.tooltip p {
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