feat(brand): 添加品牌列表

This commit is contained in:
有来技术
2021-12-28 23:19:25 +08:00
parent 93a173d4ba
commit 2b86029e69
4 changed files with 393 additions and 25 deletions

View File

@@ -5,7 +5,7 @@
ref="queryForm"
:model="queryParams"
:inline="true"
size="mini"
size="small"
>
<el-form-item>
<el-button type="success" :icon="Plus" @click="handleAdd">新增</el-button>
@@ -40,7 +40,7 @@
<template #default="scope">
<el-popover
placement="right"
:width="540"
:width="400"
trigger="hover">
<img :src="scope.row.picUrl" width="400" height="400"/>
<template #reference>
@@ -58,7 +58,7 @@
</template>
</el-table-column>
<el-table-column prop="sort" label="排序" min-width="6"/>
<el-table-column label="操作" align="center" min-width="10" class-name="small-padding fixed-width">
<el-table-column label="操作" align="center" width="150">
<template #default="scope">
<el-button
type="primary"
@@ -206,7 +206,6 @@ const state = reactive({
picUrl: [
{required: true, message: '请上传广告图片', trigger: 'blur'}
]
}
})