Browse Source

fix style warning

pull/1058/head
jim 9 years ago
parent
commit
95e9968bdd
  1. 1
      src/routes/Userinfo/BaseView.less
  2. 2
      src/routes/Userinfo/Info.less
  3. 7
      src/routes/Userinfo/MessageView.js

1
src/routes/Userinfo/BaseView.less

@ -2,6 +2,7 @@
.baseView {
display: flex;
margin-top: 12px;
&.md {
flex-direction: column-reverse;
.right {

2
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;
}
}
}

7
src/routes/Userinfo/MessageView.js

@ -1,7 +1,7 @@
import React, { Component, Fragment } from 'react';
import { Switch, List } from 'antd';
const Action = <Switch defaultChecked />;
const Action = <Switch checkedChildren="开" unCheckedChildren="关" defaultChecked />;
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: '系统消息将以站内信的形式通知',

Loading…
Cancel
Save