fix: ele mp 素材管理
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { UploadProps, UploadRawFile } from 'element-plus';
|
import type { UploadProps } from 'element-plus';
|
||||||
|
|
||||||
import type { UploadData } from './upload';
|
import type { UploadData } from './upload';
|
||||||
|
|
||||||
|
|||||||
@@ -163,4 +163,3 @@ const customRequest: UploadProps['httpRequest'] = async function (options) {
|
|||||||
</ElForm>
|
</ElForm>
|
||||||
</ElDialog>
|
</ElDialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ onMounted(async () => {
|
|||||||
<template>
|
<template>
|
||||||
<Grid class="image-table-grid mt-4 pb-0">
|
<Grid class="image-table-grid mt-4 pb-0">
|
||||||
<template #toolbar-tools>
|
<template #toolbar-tools>
|
||||||
<slot name="toolbar-tools" />
|
<slot name="toolbar-tools"></slot>
|
||||||
</template>
|
</template>
|
||||||
<template #image="{ row }">
|
<template #image="{ row }">
|
||||||
<div class="flex items-center justify-center" style="height: 192px">
|
<div class="flex items-center justify-center" style="height: 192px">
|
||||||
@@ -104,4 +104,3 @@ onMounted(async () => {
|
|||||||
</template>
|
</template>
|
||||||
</Grid>
|
</Grid>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ watch(
|
|||||||
<template>
|
<template>
|
||||||
<Grid class="mt-4">
|
<Grid class="mt-4">
|
||||||
<template #toolbar-tools>
|
<template #toolbar-tools>
|
||||||
<slot name="toolbar-tools" />
|
<slot name="toolbar-tools"></slot>
|
||||||
</template>
|
</template>
|
||||||
<template #video="{ row }">
|
<template #video="{ row }">
|
||||||
<WxVideoPlayer v-if="row.url" :url="row.url" />
|
<WxVideoPlayer v-if="row.url" :url="row.url" />
|
||||||
@@ -96,4 +96,3 @@ watch(
|
|||||||
</template>
|
</template>
|
||||||
</Grid>
|
</Grid>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -96,4 +96,3 @@ watch(
|
|||||||
</template>
|
</template>
|
||||||
</Grid>
|
</Grid>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ function showTotal(total: number) {
|
|||||||
<template>
|
<template>
|
||||||
<Page auto-content-height class="flex flex-col">
|
<Page auto-content-height class="flex flex-col">
|
||||||
<!-- 搜索工作栏 -->
|
<!-- 搜索工作栏 -->
|
||||||
<div class="bg-background mb-4 rounded-lg p-4">
|
<div class="mb-4 rounded-lg bg-background p-4">
|
||||||
<ElForm
|
<ElForm
|
||||||
ref="queryFormRef"
|
ref="queryFormRef"
|
||||||
:model="queryParams"
|
:model="queryParams"
|
||||||
@@ -174,7 +174,7 @@ function showTotal(total: number) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<div class="bg-background flex-1 rounded-lg p-4">
|
<div class="flex-1 rounded-lg bg-background p-4">
|
||||||
<MessageTable :list="list" :loading="loading" @send="handleSend" />
|
<MessageTable :list="list" :loading="loading" @send="handleSend" />
|
||||||
<div v-show="total > 0" class="mt-4 flex justify-end">
|
<div v-show="total > 0" class="mt-4 flex justify-end">
|
||||||
<ElPagination
|
<ElPagination
|
||||||
@@ -208,4 +208,3 @@ function showTotal(total: number) {
|
|||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user