Commit 07dd3eb9 authored by afc163's avatar afc163

change avatars

parent 00278519
...@@ -24,7 +24,7 @@ const proxy = { ...@@ -24,7 +24,7 @@ const proxy = {
}, },
$body: { $body: {
name: 'Serati Ma', name: 'Serati Ma',
avatar: 'https://gw.alipayobjects.com/zos/rmsportal/eHBsAsOrrJcnvFlnzNTT.png', avatar: 'https://gw.alipayobjects.com/zos/rmsportal/keeYtvRpGFVVKOOiOZDS.png',
userid: '00000001', userid: '00000001',
notifyCount: 12, notifyCount: 12,
}, },
......
...@@ -20,6 +20,20 @@ const avatars = [ ...@@ -20,6 +20,20 @@ const avatars = [
'https://gw.alipayobjects.com/zos/rmsportal/ComBAopevLwENQdKWiIn.png', // Vue 'https://gw.alipayobjects.com/zos/rmsportal/ComBAopevLwENQdKWiIn.png', // Vue
'https://gw.alipayobjects.com/zos/rmsportal/nxkuOJlFJuAUhzlMTCEe.png', // Webpack 'https://gw.alipayobjects.com/zos/rmsportal/nxkuOJlFJuAUhzlMTCEe.png', // Webpack
]; ];
const avatars2 = [
'https://gw.alipayobjects.com/zos/rmsportal/keeYtvRpGFVVKOOiOZDS.png',
'https://gw.alipayobjects.com/zos/rmsportal/HpGtMMahFSHCFrLHoRgp.png',
'https://gw.alipayobjects.com/zos/rmsportal/vbkXPXkeyhWWEQKpTmyB.png',
'https://gw.alipayobjects.com/zos/rmsportal/UXeAaBwlPaPqIVOjMqpK.png',
'https://gw.alipayobjects.com/zos/rmsportal/lPPRIxHBXYiVglbTqzUM.png',
'https://gw.alipayobjects.com/zos/rmsportal/gGbnPtZRDoBIzgnviJSd.png',
'https://gw.alipayobjects.com/zos/rmsportal/uDbwqVZzLhaZeVaTDahw.png',
'https://gw.alipayobjects.com/zos/rmsportal/HtgZoejyvBLuuRtmMfFh.png',
'https://gw.alipayobjects.com/zos/rmsportal/XvQuAhIgggZWZEjWJsuu.png',
'https://gw.alipayobjects.com/zos/rmsportal/RsKCNHXwelfBwCzjYfNb.png',
];
const covers = [ const covers = [
'https://gw.alipayobjects.com/zos/rmsportal/uMfMFlvUuceEyPpotzlq.png', 'https://gw.alipayobjects.com/zos/rmsportal/uMfMFlvUuceEyPpotzlq.png',
'https://gw.alipayobjects.com/zos/rmsportal/iZBVOIhGJiAnhplqjvZW.png', 'https://gw.alipayobjects.com/zos/rmsportal/iZBVOIhGJiAnhplqjvZW.png',
...@@ -178,7 +192,7 @@ export const getActivities = [ ...@@ -178,7 +192,7 @@ export const getActivities = [
updatedAt: new Date(), updatedAt: new Date(),
user: { user: {
name: '林东东', name: '林东东',
avatar: avatars[0], avatar: avatars2[0],
}, },
group: { group: {
name: '高逼格设计天团', name: '高逼格设计天团',
...@@ -195,7 +209,7 @@ export const getActivities = [ ...@@ -195,7 +209,7 @@ export const getActivities = [
updatedAt: new Date(), updatedAt: new Date(),
user: { user: {
name: '付小小', name: '付小小',
avatar: avatars[1], avatar: avatars2[1],
}, },
group: { group: {
name: '高逼格设计天团', name: '高逼格设计天团',
...@@ -212,7 +226,7 @@ export const getActivities = [ ...@@ -212,7 +226,7 @@ export const getActivities = [
updatedAt: new Date(), updatedAt: new Date(),
user: { user: {
name: '曲丽丽', name: '曲丽丽',
avatar: avatars[2], avatar: avatars2[2],
}, },
group: { group: {
name: '中二少女团', name: '中二少女团',
...@@ -229,7 +243,7 @@ export const getActivities = [ ...@@ -229,7 +243,7 @@ export const getActivities = [
updatedAt: new Date(), updatedAt: new Date(),
user: { user: {
name: '周星星', name: '周星星',
avatar: avatars[3], avatar: avatars2[3],
}, },
project: { project: {
name: '5 月日常迭代', name: '5 月日常迭代',
...@@ -242,7 +256,7 @@ export const getActivities = [ ...@@ -242,7 +256,7 @@ export const getActivities = [
updatedAt: new Date(), updatedAt: new Date(),
user: { user: {
name: '朱偏右', name: '朱偏右',
avatar: avatars[4], avatar: avatars2[4],
}, },
project: { project: {
name: '工程效能', name: '工程效能',
...@@ -259,7 +273,7 @@ export const getActivities = [ ...@@ -259,7 +273,7 @@ export const getActivities = [
updatedAt: new Date(), updatedAt: new Date(),
user: { user: {
name: '乐哥', name: '乐哥',
avatar: avatars[5], avatar: avatars2[5],
}, },
group: { group: {
name: '程序员日常', name: '程序员日常',
......
...@@ -96,8 +96,7 @@ ...@@ -96,8 +96,7 @@
}, },
"lint-staged": { "lint-staged": {
"**/*.{js,jsx}": "lint-staged:js", "**/*.{js,jsx}": "lint-staged:js",
"**/*.less": "stylelint --syntax less", "**/*.less": "stylelint --syntax less"
"*.{js,jsx,less,json}": ["prettier --write", "git add"]
}, },
"browserslist": ["> 1%", "last 2 versions", "not ie <= 10"] "browserslist": ["> 1%", "last 2 versions", "not ie <= 10"]
} }
...@@ -5,6 +5,7 @@ import DocumentTitle from 'react-document-title'; ...@@ -5,6 +5,7 @@ import DocumentTitle from 'react-document-title';
import { Icon } from 'antd'; import { Icon } from 'antd';
import GlobalFooter from '../components/GlobalFooter'; import GlobalFooter from '../components/GlobalFooter';
import styles from './UserLayout.less'; import styles from './UserLayout.less';
import logo from '../assets/logo.svg';
const links = [{ const links = [{
title: '帮助', title: '帮助',
...@@ -47,7 +48,7 @@ class UserLayout extends React.PureComponent { ...@@ -47,7 +48,7 @@ class UserLayout extends React.PureComponent {
<div className={styles.top}> <div className={styles.top}>
<div className={styles.header}> <div className={styles.header}>
<Link to="/"> <Link to="/">
<img alt="" className={styles.logo} src="https://gw.alipayobjects.com/zos/rmsportal/NGCCBOENpgTXpBWUIPnI.svg" /> <img alt="logo" className={styles.logo} src={logo} />
<span className={styles.title}>Ant Design</span> <span className={styles.title}>Ant Design</span>
</Link> </Link>
</div> </div>
......
...@@ -41,31 +41,31 @@ const members = [ ...@@ -41,31 +41,31 @@ const members = [
{ {
id: 'members-1', id: 'members-1',
title: '科学搬砖组', title: '科学搬砖组',
logo: 'https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png', logo: 'https://gw.alipayobjects.com/zos/rmsportal/keeYtvRpGFVVKOOiOZDS.png',
link: '', link: '',
}, },
{ {
id: 'members-2', id: 'members-2',
title: '程序员日常', title: '程序员日常',
logo: 'https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png', logo: 'https://gw.alipayobjects.com/zos/rmsportal/HpGtMMahFSHCFrLHoRgp.png',
link: '', link: '',
}, },
{ {
id: 'members-3', id: 'members-3',
title: '设计天团', title: '设计天团',
logo: 'https://gw.alipayobjects.com/zos/rmsportal/dURIMkkrRFpPgTuzkwnB.png', logo: 'https://gw.alipayobjects.com/zos/rmsportal/vbkXPXkeyhWWEQKpTmyB.png',
link: '', link: '',
}, },
{ {
id: 'members-4', id: 'members-4',
title: '中二少女团', title: '中二少女团',
logo: 'https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png', logo: 'https://gw.alipayobjects.com/zos/rmsportal/UXeAaBwlPaPqIVOjMqpK.png',
link: '', link: '',
}, },
{ {
id: 'members-5', id: 'members-5',
title: '骗你学计算机', title: '骗你学计算机',
logo: 'https://gw.alipayobjects.com/zos/rmsportal/siCrBXXhmvTQGWPNLBow.png', logo: 'https://gw.alipayobjects.com/zos/rmsportal/lPPRIxHBXYiVglbTqzUM.png',
link: '', link: '',
}, },
]; ];
...@@ -139,7 +139,7 @@ export default class Workplace extends PureComponent { ...@@ -139,7 +139,7 @@ export default class Workplace extends PureComponent {
const pageHeaderContent = ( const pageHeaderContent = (
<div className={styles.pageHeaderContent}> <div className={styles.pageHeaderContent}>
<div className={styles.avatar}> <div className={styles.avatar}>
<Avatar size="large" src="https://gw.alipayobjects.com/zos/rmsportal/lctvVCLfRpYCkYxAsiVQ.png" /> <Avatar size="large" src="https://gw.alipayobjects.com/zos/rmsportal/keeYtvRpGFVVKOOiOZDS.png" />
</div> </div>
<div className={styles.content}> <div className={styles.content}>
<div className={styles.contentTitle}>早安曲丽丽祝你开心每一天</div> <div className={styles.contentTitle}>早安曲丽丽祝你开心每一天</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment