feat: 🚀 nav迭代(产品推荐和商场入口)

This commit is contained in:
2026-03-30 09:44:34 +08:00
parent 0881897885
commit 1047306d27
34 changed files with 1740 additions and 8 deletions

View File

@@ -0,0 +1,72 @@
interface FormItem {
prop: string;
label?: string;
placeholder?: string;
type: string;
isCopy?: boolean;
optionProps?: any;
startPlaceholder?: string;
endPlaceholder?: string;
options?: any;
isArray?: boolean;
startDate?: string; //开始时间(传入后台需要的参数)
endDate?: string; //结束时间(传入后台需要的参数)
startProp?: string;
endProp?: string;
isInteger?: boolean;
disabled?: boolean;
fileList?: any;
}
export const EDIT_FORM_DATA: FormItem[] = [
{
prop: "name",
placeholder: "请输入",
type: "input",
label: "商场名称: "
},
{
prop: "link",
placeholder: "请输入",
type: "input",
label: "链接地址: "
},
{
prop: "sort",
placeholder: "请输入",
type: "inputNumber",
label: "排序: "
},
{
prop: "disabled",
placeholder: "",
type: "radio",
label: "是否启用: ",
options: [
{
label: "是",
value: 0
},
{
label: "否",
value: 1
}
]
},
{
prop: "image",
type: "upImg",
label: "图片: "
},
{
prop: "hover_image",
type: "upImg",
label: "悬浮图: "
}
];
export const EDIT_RULE_FORM = {
disabled: 0,
sort: 1
};
// editRuleForm: {},
//editFormData: [],