zoukankan      html  css  js  c++  java
  • fullCalendar

    events: [
                        <#if map??>
                            <#if map.holidays??>
                            <#list map.holidays as holiday>
                                {
                                title:'休',
                                start: '${holiday}'
                            } ,
                            </#list>
                            </#if>
                            <#if map.workday??>
                            <#list map.workday as workday>
                                {
                                title:'班',
                                start: '${workday}',
                                backgroundColor:'#106EA4'
                            }
                            <#if workday_index<map.workday.size()-1>,</#if>
                            </#list>
                            </#if>
                        </#if>
                    ], 

    为事件设置不同的背景色!

  • 相关阅读:
    react 学习
    redux saga学习
    Power BI连接至Amazon Redshift
    php时间日期
    layui select 禁止点击
    微信小程序二维码是无法识别二维码跳转到小程序
    JSON字符串与JSON对象的区别
    前端切图要选择png和jpg呢?
    @media媒体查询
    TortoiseGit revert failed
  • 原文地址:https://www.cnblogs.com/lius1/p/4299631.html
Copyright © 2011-2022 走看看