From a8f3a075e6beec73339ac8c6d95efa5cbefc6b26 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 31 Oct 2017 11:56:09 +0800 Subject: [PATCH] update avatars --- mock/api.js | 14 +++++++------- src/routes/Dashboard/Workplace.js | 10 +++++----- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/mock/api.js b/mock/api.js index e6f3b67d..6a167c14 100644 --- a/mock/api.js +++ b/mock/api.js @@ -1,4 +1,4 @@ -import { imgMap, getUrlParams } from './utils'; +import { getUrlParams } from './utils'; const titles = [ 'Alipay', @@ -178,7 +178,7 @@ export const getActivities = [ updatedAt: new Date(), user: { name: '林东东', - avatar: imgMap.a, + avatar: avatars[0], }, group: { name: '高逼格设计天团', @@ -195,7 +195,7 @@ export const getActivities = [ updatedAt: new Date(), user: { name: '付小小', - avatar: imgMap.c, + avatar: avatars[1], }, group: { name: '高逼格设计天团', @@ -212,7 +212,7 @@ export const getActivities = [ updatedAt: new Date(), user: { name: '曲丽丽', - avatar: imgMap.b, + avatar: avatars[2], }, group: { name: '中二少女团', @@ -229,7 +229,7 @@ export const getActivities = [ updatedAt: new Date(), user: { name: '周星星', - avatar: imgMap.c, + avatar: avatars[3], }, project: { name: '5 月日常迭代', @@ -242,7 +242,7 @@ export const getActivities = [ updatedAt: new Date(), user: { name: '朱偏右', - avatar: imgMap.a, + avatar: avatars[4], }, project: { name: '工程效能', @@ -259,7 +259,7 @@ export const getActivities = [ updatedAt: new Date(), user: { name: '乐哥', - avatar: imgMap.b, + avatar: avatars[5], }, group: { name: '程序员日常', diff --git a/src/routes/Dashboard/Workplace.js b/src/routes/Dashboard/Workplace.js index bd819f1a..aab68e90 100644 --- a/src/routes/Dashboard/Workplace.js +++ b/src/routes/Dashboard/Workplace.js @@ -41,31 +41,31 @@ const members = [ { id: 'members-1', title: '科学搬砖组', - logo: 'https://gw.alipayobjects.com/zos/rmsportal/CRxBvUggxBYzWBTGmkxF.png', + logo: 'https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png', link: '', }, { id: 'members-2', title: '程序员日常', - logo: 'https://gw.alipayobjects.com/zos/rmsportal/RBytOnluTcyeyDazAbvs.png', + logo: 'https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png', link: '', }, { id: 'members-3', title: '设计天团', - logo: 'https://gw.alipayobjects.com/zos/rmsportal/HQVJYAXtWHEJvLxQjmPa.png', + logo: 'https://gw.alipayobjects.com/zos/rmsportal/dURIMkkrRFpPgTuzkwnB.png', link: '', }, { id: 'members-4', title: '中二少女团', - logo: 'https://gw.alipayobjects.com/zos/rmsportal/HQVJYAXtWHEJvLxQjmPa.png', + logo: 'https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png', link: '', }, { id: 'members-5', title: '骗你学计算机', - logo: 'https://gw.alipayobjects.com/zos/rmsportal/RBytOnluTcyeyDazAbvs.png', + logo: 'https://gw.alipayobjects.com/zos/rmsportal/siCrBXXhmvTQGWPNLBow.png', link: '', }, ]; -- GitLab