From 7edbade4d2b1c74360d0cf40cdaa2eb0de379132 Mon Sep 17 00:00:00 2001 From: unknown <unknown@example.com> Date: 星期二, 27 二月 2024 09:32:14 +0800 Subject: [PATCH] 中台 --- services/home/home.js | 52 ++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 40 insertions(+), 12 deletions(-) diff --git a/services/home/home.js b/services/home/home.js index 7d4469d..5bb98db 100644 --- a/services/home/home.js +++ b/services/home/home.js @@ -1,43 +1,71 @@ -import { config, cdnBase } from '../../config/index'; - +import { config } from '../../config/index'; /** 鑾峰彇棣栭〉鏁版嵁 */ function mockFetchHome() { const { delay } = require('../_utils/delay'); - const { genSwiperImageList } = require('../../model/swiper'); return delay().then(() => { return { - swiper: genSwiperImageList(), tabList: [ { - text: '绮鹃�夋帹鑽�', + text: '鍥句功鏈嶅姟', key: 0, + icon: '/static/images/home/1.png', + url: '/pages/bookServices/index', }, { - text: '澶忔棩闃叉檼', + text: '鏁板瓧闃呰', key: 1, + icon: '', + url: '', }, { - text: '浜岃儙澶т綔鎴�', + text: '鏁板瓧璇剧▼', key: 2, + icon: "", + url: '', }, { - text: '浜烘皵姒�', + text: '鏁板瓧鏁欐潗', key: 3, + icon: "", + url: '', }, { - text: '濂借瘎姒�', + text: '涓撻璁ㄨ', key: 4, + icon: "", + url: '', }, { - text: 'RTX 30', + text: '绾夸笂涔﹀睍', key: 5, + icon: "", + url: '', }, { - text: '鎵嬫満涔熺柉鐙�', + text: '涔︾洰涓嬭浇', key: 6, + icon: "", + url: '', }, + { + text: '鏁欏笀璁よ瘉', + key: 7, + icon: "", + url: '', + }, + { + text: '鏍蜂功鐢宠', + key: 8, + icon: "", + url: '', + }, + { + text: '鎴戣鍑轰功', + key: 9, + icon: "", + url: '', + } ], - activityImg: `${cdnBase}/activity/banner.png`, }; }); } -- Gitblit v1.9.1