"use strict";const y=require("../z-paging/js/z-paging-static.js"),t=require("../../../../common/vendor.js"),l={name:"z-paging-empty-view",data(){return{}},props:{emptyViewText:{type:String,default:"没有数据哦~"},emptyViewImg:{type:String,default:""},showEmptyViewReload:{type:Boolean,default:!1},emptyViewReloadText:{type:String,default:"重新加载"},isLoadFailed:{type:Boolean,default:!1},emptyViewStyle:{type:Object,default:function(){return{}}},emptyViewImgStyle:{type:Object,default:function(){return{}}},emptyViewTitleStyle:{type:Object,default:function(){return{}}},emptyViewReloadStyle:{type:Object,default:function(){return{}}},emptyViewZIndex:{type:Number,default:9},emptyViewFixed:{type:Boolean,default:!0},unit:{type:String,default:"rpx"}},computed:{emptyImg(){return this.isLoadFailed?y.zStatic.base64Error:y.zStatic.base64Empty},finalEmptyViewStyle(){return this.emptyViewStyle["z-index"]=this.emptyViewZIndex,this.emptyViewStyle}},methods:{reloadClick(){this.$emit("reload")},emptyViewClick(){this.$emit("viewClick")}}};function m(d,u,e,w,c,i){return t.e({a:!e.emptyViewImg.length},e.emptyViewImg.length?{f:e.unit==="rpx"?1:"",g:e.unit==="px"?1:"",h:t.s(e.emptyViewImgStyle),i:e.emptyViewImg}:{b:e.unit==="rpx"?1:"",c:e.unit==="px"?1:"",d:t.s(e.emptyViewImgStyle),e:i.emptyImg},{j:t.t(e.emptyViewText),k:e.unit==="rpx"?1:"",l:e.unit==="px"?1:"",m:t.s(e.emptyViewTitleStyle),n:e.showEmptyViewReload},e.showEmptyViewReload?{o:t.t(e.emptyViewReloadText),p:e.unit==="rpx"?1:"",q:e.unit==="px"?1:"",r:t.s(e.emptyViewReloadStyle),s:t.o((...n)=>i.reloadClick&&i.reloadClick(...n))}:{},{t:e.emptyViewFixed?1:"",v:t.s(i.finalEmptyViewStyle),w:t.o((...n)=>i.emptyViewClick&&i.emptyViewClick(...n))})}const a=t._export_sfc(l,[["render",m],["__scopeId","data-v-b7999e14"]]);wx.createComponent(a);
