text: (window.webpackJsonp=window.webpackJsonp||[]).push([[13],{398:function(t,e,l){"use strict";l.r(e);var a=l(45),i=Object(a.a)({},(function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[l("h3",{attrs:{id:"空数据与加载失败配置"}},[l("a",{staticClass:"header-anchor",attrs:{href:"#空数据与加载失败配置"}},[t._v("#")]),t._v(" 空数据与加载失败配置")]),t._v(" "),l("div",{staticClass:"custom-block tip"},[l("p",{staticClass:"custom-block-title"},[t._v("说明")]),t._v(" "),l("p",[t._v("下方的“空数据图”与“加载失败图”等效，因为它们是共用同一个组件的。")])]),t._v(" "),l("table",[l("thead",[l("tr",[l("th",{staticStyle:{"text-align":"left"}},[t._v("参数")]),t._v(" "),l("th",{staticStyle:{"text-align":"left"}},[t._v("说明")]),t._v(" "),l("th",{staticStyle:{"text-align":"left"}},[t._v("类型")]),t._v(" "),l("th",{staticStyle:{"text-align":"left"}},[t._v("默认值")]),t._v(" "),l("th",{staticStyle:{"text-align":"left"}},[t._v("可选值")])])]),t._v(" "),l("tbody",[l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("hide-empty-view")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("是否强制隐藏空数据图")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("Boolean")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("false")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("true")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("empty-view-fixed "),l("Badge",{attrs:{text:"2.0.3"}})],1),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("空数据图片是否铺满z-paging，默认为是。若设置为否，则为填充满z-paging的剩余部分")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("Boolean")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("true")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("false")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("empty-view-center "),l("Badge",{attrs:{text:"2.0.6"}})],1),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("空数据图片是否垂直居中"),l("p",{staticStyle:{color:"red"}},[t._v("("),l("code",[t._v("empty-view-fixed")]),t._v("为false时有效)")])]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("Boolean")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("true")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("false")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("empty-view-text")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("空数据图描述文字"),l("p",{staticStyle:{color:"red"}},[t._v("(支持直接传字符串或形如：{'en':'英文配置':'zh-cn':'中文配置'}的i18n配置)")])]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("String|Object")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("没有数据哦~")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("-")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("empty-view-img")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("空数据图图片，默认使用z-paging内置的图片"),l("br"),l("p",{staticStyle:{color:"red"}},[t._v('(建议使用绝对路径，开头不要添加"@")')])]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("String")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("-")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("-")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("empty-view-error-img "),l("Badge",{attrs:{text:"1.6.7"}})],1),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("空数据图“加载失败”图片，默认使用z-paging内置的图片"),l("br"),l("p",{staticStyle:{color:"red"}},[t._v('(建议使用绝对路径，开头不要添加"@")')])]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("String")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("-")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("-")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("empty-view-reload-text "),l("Badge",{attrs:{text:"1.6.7"}})],1),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("空数据图点击重新加载文字"),l("p",{staticStyle:{color:"red"}},[t._v("(支持直接传字符串或形如：{'en':'英文配置':'zh-cn':'中文配置'}的i18n配置)")])]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("String|Object")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("重新加载")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("-")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("empty-view-error-text "),l("Badge",{attrs:{text:"1.6.7"}})],1),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("空数据图“加载失败”描述文字"),l("p",{staticStyle:{color:"red"}},[t._v("(支持直接传字符串或形如：{'en':'英文配置':'zh-cn':'中文配置'}的i18n配置)")])]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("String|Object")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("很抱歉，加载失败")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("-")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("empty-view-style")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("空数据图样式，可设置空数据view的top等，"),l("br"),t._v("如"),l("code",[t._v(":empty-view-style=\"{'top':'100rpx'}\"")]),t._v("(如果空数据图不是fixed布局，则此处是"),l("code",[t._v("margin-top")]),t._v(")")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("Object")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("{}")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("-")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("empty-view-img-style")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("空数据图img样式")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("Object")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("{}")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("-")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("empty-view-title-style")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("空数据图描述文字样式")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("Object")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("{}")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("-")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("empty-view-reload-style "),l("Badge",{attrs:{text:"1.6.7"}})],1),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("空数据图重新加载按钮样式")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("Object")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("{}")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("-")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("show-empty-view-reload "),l("Badge",{attrs:{text:"1.6.7"}})],1),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("是否显示空数据图重新加载按钮(无数据时)")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("Boolean")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("false")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("true")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("show-empty-view-reload-when-error "),l("Badge",{attrs:{text:"1.6.7"}})],1),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("加载失败时是否显示空数据图重新加载按钮")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("Boolean")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("true")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("false")])]),t._v(" "),l("tr",[l("td",{staticStyle:{"text-align":"left"}},[t._v("auto-hide-empty-view-when-loading")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("加载中时是否自动隐藏空数据图")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("Boolean")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("true")]),t._v(" "),l("td",{staticStyle:{"text-align":"left"}},[t._v("false")])])])])])}),[],!1,null,null,null);e.default=i.exports}}]);