添加 老项目的代码 参考
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
import { MenuEnum } from '@/enum/MenuEnum'
|
||||
|
||||
export type IClothType =
|
||||
| 'topCloth'
|
||||
| 'bottomCloth'
|
||||
| 'dress'
|
||||
| 'suit'
|
||||
| 'hair'
|
||||
| 'figure'
|
||||
| 'underwear'
|
||||
|
||||
export type IClotheInfo = {
|
||||
suitList?: [IClotheInfo, IClotheInfo]
|
||||
clothId: string
|
||||
fileUrl: string
|
||||
isHas: 'yes' | 'no'
|
||||
clothType: IClothType
|
||||
thumbnailFileUrl: string
|
||||
fileStatus: 'disable' | 'enable'
|
||||
buyLink: string | null
|
||||
}
|
||||
|
||||
export type IClotheList = IClotheInfo[]
|
||||
|
||||
export type iGenderOptions = 'male' | 'female'
|
||||
|
||||
export type IModelInfo = {
|
||||
fileUrl: string
|
||||
id: string
|
||||
thumbnailFileUrl: string
|
||||
}
|
||||
|
||||
export type IMainNav = MenuEnum.CLOTHES_LIBRARY | MenuEnum.MY_WARDROBE
|
||||
|
||||
export type ISubNav =
|
||||
| MenuEnum.ALL
|
||||
| MenuEnum.UPPER_OUTER_GARMENT
|
||||
| MenuEnum.BOTTOMS
|
||||
| MenuEnum.DRESS
|
||||
| MenuEnum.SUIT
|
||||
| MenuEnum.HAIRSTYLE
|
||||
| MenuEnum.FIGURE
|
||||
| MenuEnum.UNDERWEAR
|
||||
|
||||
export type INavStatus = {
|
||||
mainNav: IMainNav
|
||||
subNav: ISubNav
|
||||
}
|
||||
|
||||
export type IRoomInfo = {
|
||||
roomId: string | number
|
||||
roomName: string
|
||||
createTime?: string
|
||||
}
|
||||
Reference in New Issue
Block a user