feat:【mall 商城】文章分类(100% ele)
This commit is contained in:
@@ -5,32 +5,19 @@ import { requestClient } from '#/api/request';
|
|||||||
export namespace MallArticleApi {
|
export namespace MallArticleApi {
|
||||||
/** 文章管理 */
|
/** 文章管理 */
|
||||||
export interface Article {
|
export interface Article {
|
||||||
/** 文章编号 */
|
id: number; // 文章编号
|
||||||
id: number;
|
categoryId: number; // 分类编号
|
||||||
/** 分类编号 */
|
title: string; // 文章标题
|
||||||
categoryId: number;
|
author: string; // 作者
|
||||||
/** 文章标题 */
|
picUrl: string; // 封面图
|
||||||
title: string;
|
introduction: string; // 文章简介
|
||||||
/** 作者 */
|
browseCount: string; // 浏览数量
|
||||||
author: string;
|
sort: number; // 排序
|
||||||
/** 封面图 */
|
status: number; // 状态
|
||||||
picUrl: string;
|
spuId: number; // 商品编号
|
||||||
/** 文章简介 */
|
recommendHot: boolean; // 是否热门
|
||||||
introduction: string;
|
recommendBanner: boolean; // 是否轮播图
|
||||||
/** 浏览数量 */
|
content: string; // 文章内容
|
||||||
browseCount: string;
|
|
||||||
/** 排序 */
|
|
||||||
sort: number;
|
|
||||||
/** 状态 */
|
|
||||||
status: number;
|
|
||||||
/** 商品编号 */
|
|
||||||
spuId: number;
|
|
||||||
/** 是否热门 */
|
|
||||||
recommendHot: boolean;
|
|
||||||
/** 是否轮播图 */
|
|
||||||
recommendBanner: boolean;
|
|
||||||
/** 文章内容 */
|
|
||||||
content: string;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -31,9 +31,9 @@ function handleSearch(value: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** 选中部门 */
|
/** 选中部门 */
|
||||||
const handleSelect = (data: any) => {
|
function handleSelect(data: any) {
|
||||||
emit('select', data);
|
emit('select', data);
|
||||||
};
|
}
|
||||||
|
|
||||||
/** 初始化 */
|
/** 初始化 */
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user