价格日历API文档 -JS/jQuery代码 -演示与下载 -时代Java

文档索引

快速上手

引入文件

在页面head引入YUI3.x.x种子

<script src="http://yui.yahooapis.com/3.5.1/build/yui/yui-min.js"></script>

配置

var config = {
    modules: {
        'price-calendar': {
            fullpath: 'price-calendar.js', //根据项目路径调整
            type    : 'js',
            requires: ['price-calendar-css']
        },
        'price-calendar-css': {
            fullpath: 'price-calendar.css', //根据项目路径调整
            type    : 'css'
        }
    }
};

使用

YUI(config).use('price-calendar', function(Y) {
    var oCalendar = new Y.PriceCalendar();    
    //do something
})

配置参数

接口

自定义事件

配置参数改变事件

下载代码说明
X关闭

酒店含有价格的日历组件

酒店含有价格的日历组件,支持单日历,双日历,三日历,限定范围天数等多种日历选择代码。