|
|
@@ -185,7 +185,34 @@ export default {
|
|
|
message: "请选择默认活动",
|
|
|
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',
|
|
|
+ rules: [{
|
|
|
+ required: true,
|
|
|
+ message: "请输入类型",
|
|
|
+ trigger: "blur"
|
|
|
+ }]
|
|
|
+ }]
|
|
|
+ }
|
|
|
+ }
|
|
|
];
|
|
|
} else if (this.key === "POINT_GOODS_SETTING") {
|
|
|
this.formOption.column = [
|