2025/2/8第一次更新

This commit is contained in:
爱吃咸鱼小猫咪
2025-02-08 18:50:38 +08:00
commit d7af560866
26519 changed files with 5046029 additions and 0 deletions
@@ -0,0 +1,79 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {
name: "fui-empty",
props: {
src: {
type: String,
default: ""
},
width: {
type: [Number, String],
default: 576
},
height: {
type: [Number, String],
default: 318
},
title: {
type: String,
default: ""
},
color: {
type: String,
default: ""
},
size: {
type: [Number, String],
default: 32
},
descr: {
type: String,
default: ""
},
descrColor: {
type: String,
default: ""
},
descrSize: {
type: [Number, String],
default: 24
},
isFixed: {
type: Boolean,
default: false
},
marginTop: {
type: [Number, String],
default: 0
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: $props.src
}, $props.src ? {
b: $props.src,
c: $props.width + "rpx",
d: $props.height + "rpx"
} : {}, {
e: $props.title
}, $props.title ? {
f: common_vendor.t($props.title),
g: !$props.color ? 1 : "",
h: $props.color,
i: $props.size + "rpx"
} : {}, {
j: $props.descr
}, $props.descr ? {
k: common_vendor.t($props.descr),
l: !$props.descrColor ? 1 : "",
m: $props.descrColor,
n: $props.descrSize + "rpx"
} : {}, {
o: $props.isFixed ? 1 : "",
p: $props.marginTop + "rpx"
});
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-df090840"]]);
wx.createComponent(Component);
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<view class="{{['fui-empty__wrap', 'data-v-df090840', o && 'fui-empty__fixed', virtualHostClass]}}" style="{{'margin-top:' + p + ';' + virtualHostStyle}}"><image wx:if="{{a}}" class="data-v-df090840" src="{{b}}" style="{{'width:' + c + ';' + ('height:' + d)}}" mode="widthFix"></image><text wx:if="{{e}}" class="{{['fui-empty__title', 'data-v-df090840', g && 'fui-empty__title-color']}}" style="{{'color:' + h + ';' + ('font-size:' + i)}}">{{f}}</text><text wx:if="{{j}}" class="{{['fui-empty__desc', 'data-v-df090840', l && 'fui-empty__descr-color']}}" style="{{'color:' + m + ';' + ('font-size:' + n)}}">{{k}}</text><slot></slot></view>
@@ -0,0 +1,44 @@
.fui-empty__wrap.data-v-df090840 {
flex: 1;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.fui-empty__fixed.data-v-df090840 {
position: fixed;
left: 0;
top: 50%;
transform: translateY(-50%);
z-index: 99;
}
.fui-empty__title.data-v-df090840 {
text-align: center;
font-weight: 500;
padding-top: 48rpx;
}
.fui-empty__desc.data-v-df090840 {
text-align: center;
font-weight: normal;
padding-top: 8rpx;
}
.fui-empty__title-color.data-v-df090840 {
color: var(--fui-color-section, #333333) !important;
}
.fui-empty__descr-color.data-v-df090840 {
color: var(--fui-color-label, #B2B2B2) !important;
}