/*! bxs-vue-ui v3.3.0 */
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

require('../utils/entry-virtual.js');
var normalizeComponent = require('../utils/normalize-component.js');

//
var script = normalizeComponent.create({
  name: 'load-more',
  props: {
    // 是否还有更多
    hasMore: {
      type: Boolean,
      default: true
    },
    // 是否在加载中
    isLoading: {
      type: Boolean,
      default: false
    },
    // 是否出错
    isError: {
      type: Boolean,
      default: false
    }
  }
});

/* script */
var __vue_script__ = script;
/* template */

var __vue_render__ = function __vue_render__() {
  var _vm = this;

  var _h = _vm.$createElement;

  var _c = _vm._self._c || _h;

  return _c('div', [_c('div', {
    staticClass: "bx-load"
  }, [_vm.hasMore && !_vm.isLoading && !_vm.isError ? _c('div', {
    staticClass: "bx-load-text"
  }, [_vm._v("\n      上拉加载更多\n    ")]) : _vm._e(), _vm.isLoading ? _c('div', {
    staticClass: "bx-load-text"
  }, [_vm._v("\n      加载中...\n    ")]) : _vm._e(), !_vm.hasMore ? _c('div', {
    staticClass: "bx-load-text"
  }, [_vm._v("\n      没有更多了\n    ")]) : _vm._e(), !_vm.isLoading && _vm.isError ? _c('div', {
    staticClass: "bx-load-text"
  }, [_vm._v("\n      加载失败，请上拉重试\n    ")]) : _vm._e()])]);
};

var __vue_staticRenderFns__ = [];
/* style */

var __vue_inject_styles__ = undefined;
/* scoped */

var __vue_scope_id__ = undefined;
/* module identifier */

var __vue_module_identifier__ = undefined;
/* functional template */

var __vue_is_functional_template__ = false;
/* style inject */

/* style inject SSR */

var index = normalizeComponent.__vue_normalize__({
  render: __vue_render__,
  staticRenderFns: __vue_staticRenderFns__
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, undefined, undefined);

exports.default = index;
