code: function() {
          var result = true;
          if (typeof this.options.onBeforeClose == 'function') {
              result = this.options.onBeforeClose();
              if (result === false) {
                  return;
              }
          }
  
          this.$container.hide();
      }
docs: 关闭下拉浮层