1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
| /** 获取首页数据 */
| function mockFetchHome() {
| const {
| delay
| } = require('../_utils/delay');
| return delay().then(() => {
| return {
| tabList: [{
| text: '图书服务',
| key: 0,
| icon: '/static/images/home/zhutichuban@2x.png',
| url: '/pages/bookServices/assort/index',
| },
| {
| text: '数字阅读',
| key: 1,
| icon: '/static/images/home/shuziyuedu@2x.png',
| url: '/pages/home/digitalRead/index',
| },
| {
| text: '数字课程',
| key: 2,
| icon: '/static/images/home/shuzikecheng@2x.png',
| url: '/pages/digitalCourses/index',
| // url: ''
| },
| {
| text: '数字教材',
| key: 3,
| icon: '/static/images/home/shuzijiaocai@2x.png',
| url: '/pages/digitalTextbooks/index',
| // url: ''
| },
| {
| text: '专题讨论',
| key: 4,
| icon: '/static/images/home/zhuantitaolun@2x.png',
| url: '/pages/specialDiscussion/index',
| // url: ''
| },
| {
| text: '线上书展',
| key: 5,
| icon: '/static/images/home/xianshangshuzhan@2x.png',
| url: '/pages/bookExhibitionList/index',
| },
| {
| text: '书目下载',
| key: 6,
| icon: '/static/images/home/shumuxiazai@2x.png',
| url: '/pages/bibliographyList/index',
| },
| {
| text: '教师认证',
| key: 7,
| icon: '/static/images/home/jiaoshirenzheng@2x.png',
| url: '/packageDomain/pages/teacherCertification/index',
| },
| {
| text: '样书申请',
| key: 8,
| icon: '/static/images/home/yangshushenqing@2x.png',
| url: '/packageDomain/pages/sampleBookList/index',
| },
| {
| text: '我要出书',
| key: 9,
| icon: '/static/images/home/xueshuzhuzuo@2x.png',
| url: '',
| },
| ],
| };
| });
| }
|
| /** 获取首页数据 */
| export function fetchHome() {
| return mockFetchHome();
| }
|
|