diff --git a/src/component/notification/notification.js b/src/component/notification/notification.js index 619bbde..efb2657 100644 --- a/src/component/notification/notification.js +++ b/src/component/notification/notification.js @@ -81,13 +81,17 @@ export default class Notification extends Component { } renderFollow(msg) { - const body = `${msg.content.user.name} 关注了你`; + const userIcon = msg.link_user_icon; return ( this.props.onFollowPress(msg)}> - - {body} + + + 关注了你 {this.renderDeleteButton(msg)} @@ -145,7 +149,8 @@ const localStyle = StyleSheet.create({ icon2: { width: 15, height: 15, - marginRight: 10, + marginLeft: -1, + marginRight: 9, marginTop: 7, }, delete: {