From 95e9968bdd854f09e6ba9f50ac37b2fc25e034d4 Mon Sep 17 00:00:00 2001 From: jim Date: Mon, 12 Feb 2018 14:33:39 +0800 Subject: [PATCH] fix style warning --- src/routes/Userinfo/BaseView.less | 1 + src/routes/Userinfo/Info.less | 2 +- src/routes/Userinfo/MessageView.js | 7 +------ 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/routes/Userinfo/BaseView.less b/src/routes/Userinfo/BaseView.less index 4040393b..81566c6d 100644 --- a/src/routes/Userinfo/BaseView.less +++ b/src/routes/Userinfo/BaseView.less @@ -2,6 +2,7 @@ .baseView { display: flex; + margin-top: 12px; &.md { flex-direction: column-reverse; .right { diff --git a/src/routes/Userinfo/Info.less b/src/routes/Userinfo/Info.less index d0f245e1..60b967aa 100644 --- a/src/routes/Userinfo/Info.less +++ b/src/routes/Userinfo/Info.less @@ -28,7 +28,7 @@ color: rgba(0, 0, 0, 0.85); line-height: 28px; font-weight: bold; - margin-bottom: 24px; + margin-bottom: 12px; } } } diff --git a/src/routes/Userinfo/MessageView.js b/src/routes/Userinfo/MessageView.js index 54f23295..d2f3f986 100644 --- a/src/routes/Userinfo/MessageView.js +++ b/src/routes/Userinfo/MessageView.js @@ -1,7 +1,7 @@ import React, { Component, Fragment } from 'react'; import { Switch, List } from 'antd'; -const Action = ; +const Action = ; export default class MessageView extends Component { getData = () => { @@ -11,11 +11,6 @@ export default class MessageView extends Component { description: '其他用户的消息将以站内信的形式通知', actions: [Action], }, - { - title: '消息通知', - description: '已绑定手机:138****8293', - actions: [Action], - }, { title: '系统消息', description: '系统消息将以站内信的形式通知', -- GitLab