first commit
This commit is contained in:
42
mock/home.ts
Normal file
42
mock/home.ts
Normal file
@@ -0,0 +1,42 @@
|
||||
export default {
|
||||
// 获取首页轮播 Banner 列表
|
||||
'GET /api/home/banners': {
|
||||
code: 0,
|
||||
data: [
|
||||
{
|
||||
id: 1,
|
||||
title: '武汉高校校园招聘会',
|
||||
highlightText: '校园',
|
||||
subtitle: '科技无限 · 海量职位等你来',
|
||||
date: '活动时间:2026/01/01',
|
||||
imageUrl: 'https://test02-1302947942.cos.ap-shanghai.myqcloud.com/%E6%B3%BD%E6%9E%97-banner/banner.png',
|
||||
linkUrl: '/jobs?event=1',
|
||||
sort: 1,
|
||||
status: 1,
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
title: 'AI助力职业发展',
|
||||
highlightText: '职业',
|
||||
subtitle: '智能匹配 · 精准推荐好工作',
|
||||
date: '平台持续更新中',
|
||||
imageUrl: 'https://test02-1302947942.cos.ap-shanghai.myqcloud.com/%E6%B3%BD%E6%9E%97-banner/banner.png',
|
||||
linkUrl: '/jobs',
|
||||
sort: 2,
|
||||
status: 1,
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
title: '春季校园专场招聘',
|
||||
highlightText: '专场',
|
||||
subtitle: '名企云集 · 优质岗位等你来',
|
||||
date: '活动时间:2026/03/15',
|
||||
imageUrl: 'https://test02-1302947942.cos.ap-shanghai.myqcloud.com/%E6%B3%BD%E6%9E%97-banner/banner.png',
|
||||
linkUrl: '/jobs?event=3',
|
||||
sort: 3,
|
||||
status: 1,
|
||||
},
|
||||
],
|
||||
message: 'ok',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user