Skip to content

Commit

Permalink
feat(ui): add AlbumManagementView
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiinaKin committed Nov 25, 2024
1 parent 4067525 commit ea33e1f
Show file tree
Hide file tree
Showing 4 changed files with 513 additions and 2 deletions.
27 changes: 27 additions & 0 deletions ui/src/locales/zh_cn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -286,3 +286,30 @@ adminImageManageView:
imageIsPublicYes: "公开"
imageIsPublicNo: "私密"
imageDesc: "图片描述"
adminAlbumManageView:
albumFilter:
createTimeASC: "创建时间升序"
createTimeDESC: "创建时间降序"
albumTable:
albumId: "相册ID"
albumName: "相册名"
albumOwnerName: "所属用户"
imageCount: "图片数量"
createTime: "创建时间"
opsTitle: "操作"
opsDetail: "查看"
albumDetail:
title: "相册详情"
albumId: "相册ID"
albumName: "相册名"
albumDesc: "相册描述"
albumOwnerId: "所属用户ID"
albumOwnerName: "所属用户"
albumImageCount: "图片数量"
albumIsUncategorized: "是否为未分类"
albumIsUncategorizedYes: ""
albumIsUncategorizedNo: ""
albumIsDefault: "是否默认"
albumIsDefaultYes: ""
albumIsDefaultNo: ""
albumCreateTime: "创建时间"
11 changes: 11 additions & 0 deletions ui/src/types/AlbumType.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
interface AlbumManageDisplay {
id: number,
name: string,
userId: number,
username: string,
userAvatarUrl: string,
imageCount: number,
createTime: string
}

export type { AlbumManageDisplay };
Loading

0 comments on commit ea33e1f

Please sign in to comment.