From f1e20feafa89c8d50af5e69c0333a9efc239ee49 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期一, 01 四月 2024 14:09:11 +0800
Subject: [PATCH] 图书详情页bug修改,我的错题、收藏模式下答题卡添加题目类型,非单选题添加查看解析按钮

---
 services/home/home.js |   25 ++++++++++---------------
 1 files changed, 10 insertions(+), 15 deletions(-)

diff --git a/services/home/home.js b/services/home/home.js
index dc57e72..8c27ad4 100644
--- a/services/home/home.js
+++ b/services/home/home.js
@@ -1,11 +1,11 @@
-import { config } from '../../config/index';
 /** 鑾峰彇棣栭〉鏁版嵁 */
 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,7 +15,7 @@
           text: '鏁板瓧闃呰',
           key: 1,
           icon: '/static/images/home/shuziyuedu@2x.png',
-          url: '',
+          url: '/pages/home/digitalRead/index',
         },
         {
           text: '鏁板瓧璇剧▼',
@@ -45,19 +45,19 @@
           text: '涔︾洰涓嬭浇',
           key: 6,
           icon: '/static/images/home/shumuxiazai@2x.png',
-          url: '',
+          url: '/pages/bibliographyList/index',
         },
         {
           text: '鏁欏笀璁よ瘉',
           key: 7,
           icon: '/static/images/home/jiaoshirenzheng@2x.png',
-          url: '/pages/teacherCertification/index',
+          url: '/packageDomain/pages/teacherCertification/index',
         },
         {
           text: '鏍蜂功鐢宠',
           key: 8,
           icon: '/static/images/home/yangshushenqing@2x.png',
-          url: '',
+          url: '/packageDomain/pages/sampleBookList/index',
         },
         {
           text: '鎴戣鍑轰功',
@@ -72,10 +72,5 @@
 
 /** 鑾峰彇棣栭〉鏁版嵁 */
 export function fetchHome() {
-  if (config.useMock) {
-    return mockFetchHome();
-  }
-  return new Promise((resolve) => {
-    resolve('real api');
-  });
-}
+  return mockFetchHome();
+}
\ No newline at end of file

--
Gitblit v1.9.1