前端打包
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import type { ICategory } from '@/domain/iCategory';
|
||||
import type { ISysFileInfo } from '@/domain/iSysFile';
|
||||
|
||||
/** 首页轮播图 */
|
||||
@@ -7,8 +8,14 @@ export interface ICarousel {
|
||||
title: string;
|
||||
/** 轮播图图片信息(ISysFileInfo 对象) */
|
||||
image: ISysFileInfo | string;
|
||||
/** 跳转链接 */
|
||||
/** 跳转类型:0=链接,1=分类 */
|
||||
link_type?: number;
|
||||
/** 跳转链接(link_type=0 时生效) */
|
||||
link?: string;
|
||||
/** 分类ID(link_type=1 时生效) */
|
||||
category_id?: number;
|
||||
/** 所属分类(后端关联返回) */
|
||||
category?: ICategory;
|
||||
/** 状态:0=启用,1=禁用 */
|
||||
status: number;
|
||||
/** 排序 */
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
/** 首页分类 */
|
||||
export interface ICategory {
|
||||
id?: number;
|
||||
/** 分类名称 */
|
||||
name: string;
|
||||
/** 状态:0=启用,1=禁用 */
|
||||
status: number;
|
||||
/** 排序 */
|
||||
sort: number;
|
||||
created_at?: string;
|
||||
updated_at?: string;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
import type { ISysFileInfo } from '@/domain/iSysFile';
|
||||
|
||||
/** 首页分类项(字段与宫格导航一致) */
|
||||
export interface ICategoryItem {
|
||||
id?: number;
|
||||
/** 所属分类ID */
|
||||
category_id?: number;
|
||||
/** 导航标题 */
|
||||
title: string;
|
||||
/** 导航图标信息(ISysFileInfo 对象) */
|
||||
image: ISysFileInfo | string;
|
||||
/** 跳转链接 */
|
||||
link?: string;
|
||||
/** 状态:0=启用,1=禁用 */
|
||||
status: number;
|
||||
/** 排序 */
|
||||
sort: number;
|
||||
created_at?: string;
|
||||
updated_at?: string;
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
import type { ICategory } from '@/domain/iCategory';
|
||||
import type { ISysFileInfo } from '@/domain/iSysFile';
|
||||
|
||||
/** 首页宫格导航 */
|
||||
@@ -7,8 +8,14 @@ export interface IGridNav {
|
||||
title: string;
|
||||
/** 导航图标信息(ISysFileInfo 对象) */
|
||||
image: ISysFileInfo | string;
|
||||
/** 跳转链接 */
|
||||
/** 跳转类型:0=链接,1=分类 */
|
||||
link_type?: number;
|
||||
/** 跳转链接(link_type=0 时生效) */
|
||||
link?: string;
|
||||
/** 分类ID(link_type=1 时生效) */
|
||||
category_id?: number;
|
||||
/** 所属分类(后端关联返回) */
|
||||
category?: ICategory;
|
||||
/** 状态:0=启用,1=禁用 */
|
||||
status: number;
|
||||
/** 排序 */
|
||||
|
||||
Reference in New Issue
Block a user