From 8ea19a6bb34daab1410f6186992a4c1e90299c92 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Wed, 14 Sep 2022 08:54:44 +0800
Subject: [PATCH] 服务器配置

---
 api/mock/home.js |   74 ++++++++++++++++++++----------------
 1 files changed, 41 insertions(+), 33 deletions(-)

diff --git a/api/mock/home.js b/api/mock/home.js
index 6af0a4b..83ded78 100644
--- a/api/mock/home.js
+++ b/api/mock/home.js
@@ -18,17 +18,19 @@
 export function fakeBannerList() {
 	return new Promise((resolute, reject) => {
 		try {
-			const list = [{
-				id: '1',
-				img: '/static/images/home/banner.png',
-				url: ''
-			}, {
+			const list = [
+			// 	{
+			// 	id: '1',
+			// 	img: 'http://61.131.136.25:2081/zhba/upload/20210913/3d9fd42a80094268ab83fdd3bcb18541.jpg',
+			// 	url: '../article/article_detail?detailData=' + '{"id":"119"}'
+			// },
+			{
 				id: '2',
-				img: '/static/images/home/banner.png',
-				url: ''
+				img: 'http://61.131.136.25:2081/zhba/upload/20220216/b3d4c45eb7202974b3155318914df829.jpg',
+				url: '../article/article_video?detailData=' + '{"id":981,"title":"千万别被“冰墩墩”的诱惑冲昏头 小心被盯上!","content":"","url":"http://61.131.136.25:2081/zhba/upload/20220216/b3d4c45eb7202974b3155318914df829.jpg","videoUrl":"http://61.131.136.25:2081/zhba/upload/depl/aed8c0b92b8f49b18c7c2d5056290af8.mp4","createTime":"2022-02-15 00:00:00","updateTime":"2022-02-16 22:49:21","sourceId":"","sourceName":"中国警察网","articleType":"ksp003","recommend":-1,"publish":"0","iscomment":"","iswords":"0","wordsContent":"","type":0}'
 			}, {
 				id: '3',
-				img: '/static/images/home/banner.png',
+				img: '/static/images/home/homeTop3.png',
 				url: ''
 			}];
 			resolute(list);
@@ -46,11 +48,11 @@
 			const list = [{
 				id: '1',
 				img: '/static/images/home/focus.png',
-				title: '神舟十二号载人发射任务取得圆满成功'
+				title: '江西工程学院召开反诈骗承诺书签定工作部署会'
 			}, {
 				id: '2',
 				img: '/static/images/home/service.png',
-				title: '全国累计报告接种新冠疫苗超9亿剂次'
+				title: '江西最严标准惩处妨害疫情防控犯罪,首例涉疫情诈骗'
 			}];
 			resolute(list);
 		} catch (e) {
@@ -60,7 +62,7 @@
 	})
 }
 
-// 获取顶部按钮数据
+// 获取业务按钮数据
 export function fakeNavButton() {
 	return new Promise((resolute, reject) => {
 		try {
@@ -103,40 +105,46 @@
 	})
 }
 
-// 获取服务按钮数据
+// 获取业务按钮数据
 export function fakeServiceButton() {
 	return new Promise((resolute, reject) => {
 		try {
 			const list = [{
 					name: '我要看',
 					img: '/static/images/home/s1.png',
-					url: ''
+					url: '../article/article'
 				},
 				{
 					name: '我要查',
-					img: '/static/images/home/s2.png',
-					url: ''
+					img: '/static/images/home/search004.png',
+					url: '../alarm_list/alarm_list'
+				},
+				// {
+				// 	name: '我要报',
+				// 	img: '/static/images/home/report001.png',
+				// 	url: '../reported/reported'
+				// },
+				// {
+				// 	name: '我要说',
+				// 	img: '/static/images/home/s4.png',
+				// 	url: '../groupChat/groupChat'
+				// },
+				{
+					name: '我参与',
+					img: '/static/images/home/jusou.png',
+					// url: '../business/business'
+					url: '../grabOrders/grabOrdersMain/business'
 				},
 				{
-					name: '我要报',
-					img: '/static/images/home/s3.png',
-					url: ''
+					name: '积分商城',
+					img: '/static/workbench/task8.png',
+					url: '../grabOrders/grabOrders'
 				},
-				{
-					name: '我要说',
-					img: '/static/images/home/s4.png',
-					url: ''
-				},
-				{
-					name: '我要巡',
-					img: '/static/images/home/s5.png',
-					url: ''
-				},
-				{
-					name: '我要办',
-					img: '/static/images/home/s6.png',
-					url: ''
-				}
+				// {
+				// 	name: '我要办',
+				// 	img: '/static/images/home/handle002.png',
+				// 	url: '../handle/handle'
+				// }
 			];
 			resolute(list);
 		} catch (e) {

--
Gitblit v1.9.3