feat: 引入uView Plus组件库,新增部分静态页面

This commit is contained in:
admin
2026-01-17 16:55:19 +08:00
parent 34c63780a8
commit 849647d3c9
562 changed files with 73370 additions and 121 deletions

View File

@@ -0,0 +1,61 @@
import { defineMixin } from '../../libs/vue'
import defProps from '../../libs/config/props.js'
export const props = defineMixin({
props: {
// 内置图标名称,或图片路径,建议绝对路径
icon: {
type: String,
default: () => defProps.empty.icon
},
// 提示文字
text: {
type: String,
default: () => defProps.empty.text
},
// 文字颜色
textColor: {
type: String,
default: () => defProps.empty.textColor
},
// 文字大小
textSize: {
type: [String, Number],
default: () => defProps.empty.textSize
},
// 图标的颜色
iconColor: {
type: String,
default: () => defProps.empty.iconColor
},
// 图标的大小
iconSize: {
type: [String, Number],
default: () => defProps.empty.iconSize
},
// 选择预置的图标类型
mode: {
type: String,
default: () => defProps.empty.mode
},
// 图标宽度单位px
width: {
type: [String, Number],
default: () => defProps.empty.width
},
// 图标高度单位px
height: {
type: [String, Number],
default: () => defProps.empty.height
},
// 是否显示组件
show: {
type: Boolean,
default: () => defProps.empty.show
},
// 组件距离上一个元素之间的距离默认px单位
marginTop: {
type: [String, Number],
default: () => defProps.empty.marginTop
}
}
})