Authored by vane

消息中心UI,逻辑调整 # review by 孙凯

@@ -33,7 +33,7 @@ export default class MessageCell extends Component { @@ -33,7 +33,7 @@ export default class MessageCell extends Component {
33 if (msgNumber <= 0) { 33 if (msgNumber <= 0) {
34 return null; 34 return null;
35 } 35 }
36 - msgNumber = msgNumber > 9 ? '9+' : msgNumber; 36 + msgNumber = msgNumber > 99 ? '99+' : msgNumber;
37 37
38 return ( 38 return (
39 <View style={styles.unreadMsgContainer}> 39 <View style={styles.unreadMsgContainer}>
@@ -162,6 +162,7 @@ let styles = StyleSheet.create({ @@ -162,6 +162,7 @@ let styles = StyleSheet.create({
162 color: 'white', 162 color: 'white',
163 backgroundColor: 'transparent', 163 backgroundColor: 'transparent',
164 padding: 5, 164 padding: 5,
  165 + top: -2,
165 }, 166 },
166 cellContent: { 167 cellContent: {
167 flexDirection: 'column', 168 flexDirection: 'column',