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,47 @@
import { defineMixin } from '../../libs/vue'
import defProps from '../../libs/config/props.js'
export const props = defineMixin({
props: {
// 当前form的需要验证字段的集合
model: {
type: Object,
default: () => defProps.form.model
},
// 验证规则
rules: {
type: [Object, Function, Array],
default: () => defProps.form.rules
},
// 有错误时的提示方式message-提示信息toast-进行toast提示
// border-bottom-下边框呈现红色none-无提示
errorType: {
type: String,
default: () => defProps.form.errorType
},
// 是否显示表单域的下划线边框
borderBottom: {
type: Boolean,
default: () => defProps.form.borderBottom
},
// label的位置left-左边top-上边
labelPosition: {
type: String,
default: () => defProps.form.labelPosition
},
// label的宽度单位px
labelWidth: {
type: [String, Number],
default: () => defProps.form.labelWidth
},
// lable字体的对齐方式
labelAlign: {
type: String,
default: () => defProps.form.labelAlign
},
// lable的样式对象形式
labelStyle: {
type: Object,
default: () => defProps.form.labelStyle
}
}
})