yiming
2024-06-13 afa97d5f4e0ed176a556d9fe04d4655e005e6991
services/home/home.js
@@ -1,11 +1,11 @@
/** 获取首页数据 */
function mockFetchHome() {
  const { delay } = require('../_utils/delay');
  const {
    delay
  } = require('../_utils/delay');
  return delay().then(() => {
    return {
      tabList: [
        {
      tabList: [{
          text: '图书服务',
          key: 0,
          icon: '/static/images/home/zhutichuban@2x.png',
@@ -15,20 +15,30 @@
          text: '数字阅读',
          key: 1,
          icon: '/static/images/home/shuziyuedu@2x.png',
          url: '',
          url: '/pages/home/digitalRead/index',
        },
        {
          text: '数字课程',
          key: 2,
          icon: '/static/images/home/shuzikecheng@2x.png',
          url: '',
          url: '/pages/digitalCourses/index',
        },
        {
          text: '数字教材',
          key: 3,
          icon: '/static/images/home/shuzijiaocai@2x.png',
          url: '',
          url: '/pages/digitalTextbooks/index',
        },
        {
          text: '专题讨论',
          key: 4,
@@ -45,7 +55,7 @@
          text: '书目下载',
          key: 6,
          icon: '/static/images/home/shumuxiazai@2x.png',
          url: '',
          url: '/pages/bibliographyList/index',
        },
        {
          text: '教师认证',
@@ -73,4 +83,4 @@
/** 获取首页数据 */
export function fetchHome() {
  return mockFetchHome();
}
}