- 輸出成果:
[{"id":"1","title":"09:00-18:00","start":"2015-09-20","end":"2015"}, {"id":"2","title":"08:00-22:00","start":"2015-09-21","end":"2015"}, {"id":"3","title":"09:00-22:00","start":"2015-09-26","end":"2015"}]
[{"id":"1","title":"09:00-18:00","start":"2015-09-20","end":"2015"}, {"id":"2","title":"08:00-22:00","start":"2015-09-21","end":"2015"}, {"id":"3","title":"09:00-22:00","start":"2015-09-26","end":"2015"}]
events: [
{
title: '09:00-18:00',
start: '2015-09-20',
backgroundColor: '#E66F89'
},
{
title: '08:00-22:00',
start: '2015-09-21',
end: '2015-09-26',
backgroundColor: '#20D788'
},
<style>
.fc-sat{
background-color: #BBE7F2;
}
.fc-sun{
background-color: #FC8D90;
}
.fc-mon{
background-color: #CBF8A8;
}
.fc-tue{
background-color: #CBF8A8;
}
.fc-wed{
background-color: #CBF8A8;
}
.fc-thu{
background-color: #CBF8A8;
}
.fc-fri{
background-color: #CBF8A8;
}
</style>