code: function(options) {
          var title = this.$main.attr('title'),
              id = this.$main.attr('id') || '';
          this.$main.after('<label for="' + id + '"><i class="biz-icon"></i>' + title + '</label>').hide();
  
          this.$label = this.$main.next();
          this.defaultClass = defaultClass + ' biz-label-' + options.theme;
          this.$label.addClass(this.defaultClass);
          this.$icon = this.$label.children('i');
  
          //初始状态
          if (this.main.checked) {
              this.$label.addClass(this.main.disabled ? checkedDisabled : checked);
              this.$icon.html(checkCodepoint);
          } else {
              this.$label.addClass(this.main.disabled ? uncheckedDisabled : unchecked);
              this.$icon.html(uncheckCodepoint);
          }
  
          var self = this;
          this.$label.on('mouseover.bizCheckbox', function() {
              if (!self.main.disabled) {
                  $(this).addClass(self.main.checked ? checkedHover : uncheckedHover);
              }
          }).on('mouseout.bizCheckbox', function() {
              if (!self.main.disabled) {
                  $(this).removeClass(self.main.checked ? checkedHover : uncheckedHover);
              }
          }).on('click.bizCheckbox', function() {
              if (!self.main.disabled) {
                  if (self.main.checked) { // label 的点击先于 input 的点击
                      $(this).attr('class', [self.defaultClass, unchecked, uncheckedHover].join(' '));
                      self.$icon.html(uncheckCodepoint);
                  } else {
                      $(this).attr('class', [self.defaultClass, checked, checkedHover].join(' '));
                      self.$icon.html(checkCodepoint);
                  }
                  if (id === '') {
                      self.main.checked = !self.main.checked;
                  }
              }
          });
      }
docs: 初始化
  @param {Object} options 参数
  @private