|
@@ -80,27 +80,53 @@ export default {
|
|
|
if (key === "PAGE_INTERFACE_SHOW") {
|
|
if (key === "PAGE_INTERFACE_SHOW") {
|
|
|
this.option.column = [
|
|
this.option.column = [
|
|
|
{
|
|
{
|
|
|
- label: "主页轮播图",
|
|
|
|
|
- prop: "indexImageList",
|
|
|
|
|
- dataType: 'array',
|
|
|
|
|
- type: 'upload',
|
|
|
|
|
- propsHttp: {
|
|
|
|
|
- res: 'data',
|
|
|
|
|
- url: 'link'
|
|
|
|
|
- },
|
|
|
|
|
- span: 24,
|
|
|
|
|
- listType: 'picture-card',
|
|
|
|
|
- tip: '只能上传jpg/png文件,且不超过500kb',
|
|
|
|
|
- action: '/api/blade-resource/oss/endpoint/put-file',
|
|
|
|
|
- },{
|
|
|
|
|
label: "主页标题",
|
|
label: "主页标题",
|
|
|
prop: "indexTitle",
|
|
prop: "indexTitle",
|
|
|
- span: 12,
|
|
|
|
|
|
|
+ span: 24,
|
|
|
rules: [{
|
|
rules: [{
|
|
|
required: true,
|
|
required: true,
|
|
|
message: "请输入热力值/票",
|
|
message: "请输入热力值/票",
|
|
|
trigger: "blur"
|
|
trigger: "blur"
|
|
|
}],
|
|
}],
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label: "主页轮播图",
|
|
|
|
|
+ prop: "indexImageList",
|
|
|
|
|
+ type: 'dynamic',
|
|
|
|
|
+ span: 24,
|
|
|
|
|
+ children: {
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ headerAlign: 'center',
|
|
|
|
|
+ column: [{
|
|
|
|
|
+ label: '轮播图',
|
|
|
|
|
+ prop: "url",
|
|
|
|
|
+ dataType: "string",
|
|
|
|
|
+ type: 'upload',
|
|
|
|
|
+ propsHttp: {
|
|
|
|
|
+ res: 'data',
|
|
|
|
|
+ url: 'link'
|
|
|
|
|
+ },
|
|
|
|
|
+ listType: 'picture-img',
|
|
|
|
|
+ tip: '只能上传jpg/png文件,且不超过500kb',
|
|
|
|
|
+ action: '/api/blade-resource/oss/endpoint/put-file',
|
|
|
|
|
+ },{
|
|
|
|
|
+ label: '类型',
|
|
|
|
|
+ prop: "type",
|
|
|
|
|
+ rules: [{
|
|
|
|
|
+ required: true,
|
|
|
|
|
+ message: "请输入类型",
|
|
|
|
|
+ trigger: "blur"
|
|
|
|
|
+ }],
|
|
|
|
|
+ },{
|
|
|
|
|
+ label: '地址',
|
|
|
|
|
+ prop: "path",
|
|
|
|
|
+ rules: [{
|
|
|
|
|
+ required: true,
|
|
|
|
|
+ message: "请输入地址",
|
|
|
|
|
+ trigger: "blur"
|
|
|
|
|
+ }],
|
|
|
|
|
+ }]
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
} else if(key === "ACTIVE_SETTING"){
|
|
} else if(key === "ACTIVE_SETTING"){
|
|
@@ -127,17 +153,6 @@ export default {
|
|
|
trigger: "blur"
|
|
trigger: "blur"
|
|
|
}],
|
|
}],
|
|
|
},
|
|
},
|
|
|
- // {
|
|
|
|
|
- // label: "用户免费票/天",
|
|
|
|
|
- // prop: "userFreeVoteCount",
|
|
|
|
|
- // type: "number",
|
|
|
|
|
- // span: 12,
|
|
|
|
|
- // rules: [{
|
|
|
|
|
- // required: true,
|
|
|
|
|
- // message: "请输入用户免费票/天",
|
|
|
|
|
- // trigger: "blur"
|
|
|
|
|
- // }],
|
|
|
|
|
- // }
|
|
|
|
|
]
|
|
]
|
|
|
} else {
|
|
} else {
|
|
|
this.option.column = [];
|
|
this.option.column = [];
|