first commit

This commit is contained in:
PC-202306242200\Administrator
2026-03-28 23:10:55 +08:00
commit 1c24452b6c
1735 changed files with 150474 additions and 0 deletions

View File

@@ -0,0 +1 @@
"use strict";const e=require("../z-paging/js/z-paging-static.js"),t=require("../../../../common/vendor.js"),i={name:"z-paging-empty-view",data:()=>({}),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?e.zStatic.base64Error:e.zStatic.base64Empty},finalEmptyViewStyle(){return this.emptyViewStyle["z-index"]=this.emptyViewZIndex,this.emptyViewStyle}},methods:{reloadClick(){this.$emit("reload")},emptyViewClick(){this.$emit("viewClick")}}};const p=t._export_sfc(i,[["render",function(e,i,p,y,l,m){return t.e({a:!p.emptyViewImg.length},p.emptyViewImg.length?{f:"rpx"===p.unit?1:"",g:"px"===p.unit?1:"",h:t.s(p.emptyViewImgStyle),i:p.emptyViewImg}:{b:"rpx"===p.unit?1:"",c:"px"===p.unit?1:"",d:t.s(p.emptyViewImgStyle),e:m.emptyImg},{j:t.t(p.emptyViewText),k:"rpx"===p.unit?1:"",l:"px"===p.unit?1:"",m:t.s(p.emptyViewTitleStyle),n:p.showEmptyViewReload},p.showEmptyViewReload?{o:t.t(p.emptyViewReloadText),p:"rpx"===p.unit?1:"",q:"px"===p.unit?1:"",r:t.s(p.emptyViewReloadStyle),s:t.o(((...e)=>m.reloadClick&&m.reloadClick(...e)))}:{},{t:p.emptyViewFixed?1:"",v:t.s(m.finalEmptyViewStyle),w:t.o(((...e)=>m.emptyViewClick&&m.emptyViewClick(...e)))})}],["__scopeId","data-v-15f3d1f0"]]);wx.createComponent(p);

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="{{['data-v-15f3d1f0', 'zp-container', t && 'zp-container-fixed']}}" style="{{v}}" bindtap="{{w}}"><view class="zp-main data-v-15f3d1f0"><image wx:if="{{a}}" class="{{['data-v-15f3d1f0', b && 'zp-main-image-rpx', c && 'zp-main-image-px']}}" style="{{d}}" src="{{e}}"/><image wx:else class="{{['data-v-15f3d1f0', f && 'zp-main-image-rpx', g && 'zp-main-image-px']}}" mode="aspectFit" style="{{h}}" src="{{i}}"/><text class="{{['zp-main-title', 'data-v-15f3d1f0', k && 'zp-main-title-rpx', l && 'zp-main-title-px']}}" style="{{m}}">{{j}}</text><text wx:if="{{n}}" class="{{['data-v-15f3d1f0', 'zp-main-error-btn', p && 'zp-main-error-btn-rpx', q && 'zp-main-error-btn-px']}}" style="{{r}}" catchtap="{{s}}">{{o}}</text></view></view>

View File

@@ -0,0 +1 @@
.zp-container.data-v-15f3d1f0{display:flex;align-items:center;justify-content:center}.zp-container-fixed.data-v-15f3d1f0{position:absolute;top:0;left:0;width:100%;height:100%}.zp-main.data-v-15f3d1f0{display:flex;flex-direction:column;align-items:center;padding:50rpx 0rpx}.zp-main-image-rpx.data-v-15f3d1f0{width:240rpx;height:240rpx}.zp-main-image-px.data-v-15f3d1f0{width:120px;height:120px}.zp-main-title.data-v-15f3d1f0{color:#aaa;text-align:center}.zp-main-title-rpx.data-v-15f3d1f0{font-size:28rpx;margin-top:10rpx;padding:0rpx 20rpx}.zp-main-title-px.data-v-15f3d1f0{font-size:14px;margin-top:5px;padding:0 10px}.zp-main-error-btn.data-v-15f3d1f0{border:solid 1px #dddddd;color:#aaa}.zp-main-error-btn-rpx.data-v-15f3d1f0{font-size:28rpx;padding:8rpx 24rpx;border-radius:6rpx;margin-top:50rpx}.zp-main-error-btn-px.data-v-15f3d1f0{font-size:14px;padding:4px 12px;border-radius:3px;margin-top:25px}