改造文章管理系统

This commit is contained in:
2024-08-27 07:22:22 +08:00
parent 13832d9de0
commit 31ec8e057a
41 changed files with 4041 additions and 525 deletions

View File

@@ -10,9 +10,11 @@
</div>
<div class="image-upload-item" v-else>
<a-image
:width="width"
:height="width"
style="border: 1px dashed var(--grey-7)"
:style="{
border: '1px dashed var(--grey-7)',
width: width + 'px',
height: height + 'px'
}"
:src="item.url"
/>
<a class="image-upload-close" @click="onDeleteItem(index)">
@@ -23,6 +25,7 @@
<a-button
@click="openEdit"
v-if="data?.length < limit"
:style="{ width: width + 'px', height: height + 'px' }"
class="select-picture-btn ele-text-placeholder"
>
<PlusOutlined />
@@ -51,6 +54,7 @@
value?: any;
data?: any[];
width?: number;
height?: number;
type?: string;
limit?: number;
placeholder?: string;
@@ -59,6 +63,7 @@
{
placeholder: '请选择数据',
width: 80,
height: 80,
limit: 1
}
);
@@ -93,8 +98,6 @@
.select-picture-btn {
background-color: var(--grey-9);
border: 1px dashed var(--border-color-base);
width: 80px;
height: 80px;
font-size: 16px;
}
//.ant-image-img {