From 2e8c40d119a177fbc7e253ecec88a1ceefd73c45 Mon Sep 17 00:00:00 2001 From: xuwenyang Date: Sat, 9 Nov 2019 22:04:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E6=B3=A8=E6=8F=90=E9=86=92=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=A4=B4=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/component/notification/notification.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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: {