src/action-sheet.js
function(){
        var doc = document.documentElement;

        this.el = $(tpl);

        this.el.hide().css({
            width: doc.clientWidth + 'px',
            height: doc.clientHeight + 'px'
        });

        bindTapEvent(this.el.find('.as-cover')[0], this.hide.bind(this));

        $('body').append(this.el);
        
        return this;
    }
function(){
        var doc = document.documentElement;

        this.el = $(tpl);

        this.el.hide().css({
            width: doc.clientWidth + 'px',
            height: doc.clientHeight + 'px'
        });

        bindTapEvent(this.el.find('.as-cover')[0], this.hide.bind(this));

        $('body').append(this.el);
        
        return this;
    }
初始化渲染