更换logo,修改作品墙管理图片映射,推荐管理添加排序项

This commit is contained in:
Double-_-Z 2025-01-23 15:44:32 +08:00
parent c98b04a85b
commit 4a69c4bcfe
4 changed files with 3 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -35,6 +35,7 @@ const getArticleDetailById = async(id:number) => {
let res = await artApi.getArticleDetail(id); let res = await artApi.getArticleDetail(id);
if(res?.success) { if(res?.success) {
state.data = res.data; state.data = res.data;
if(res.data.title) document.title = res.data.title;
} }
} catch (error) { } catch (error) {
ElMessage.error('获取文章详情失败'); ElMessage.error('获取文章详情失败');

View File

@ -44,6 +44,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="serviceName" align="center" label="作品类型" show-overflow-tooltip></el-table-column> <el-table-column prop="serviceName" align="center" label="作品类型" show-overflow-tooltip></el-table-column>
<el-table-column prop="number" align="center" label="排序" show-overflow-tooltip></el-table-column>
<el-table-column prop="createtime" align="center" label="时间" :formatter="dateFormatter" show-overflow-tooltip></el-table-column> <el-table-column prop="createtime" align="center" label="时间" :formatter="dateFormatter" show-overflow-tooltip></el-table-column>
<el-table-column label="操作" width="200" align="center"> <el-table-column label="操作" width="200" align="center">
<template #default="scope"> <template #default="scope">

View File

@ -255,7 +255,7 @@ const state = reactive({
}); });
// //
const viteUrl = import.meta.env.DEV ? 'http://8.138.171.103/pixel/' : import.meta.env.VITE_API_URL; const viteUrl = import.meta.env.DEV ? 'http://8.138.171.103/pixel/' : (import.meta.env.VITE_API_URL+'pixel/');
// api // api
const photoApi = photosApi(); const photoApi = photosApi();