Authored by 王钱钧

修改消息中心UI。code review by 于良

... ... @@ -54,14 +54,14 @@ export default class MsgCenterCatgoryCell extends React.Component {
</View>
<View style={styles.middle}>
<Text style={styles.title}
numberOfLines={1}
>{this.props.title}</Text>
<Text style={styles.title}
numberOfLines={1}
>{this.props.title}</Text>
<View style={styles.contentContainer}>
<Text style={styles.content} numberOfLines={1}>{tips}</Text>
<Text style={styles.timeago}>{timeagoStr}</Text>
</View>
<View style={styles.contentContainer}>
<Text style={styles.content} numberOfLines={1}>{tips}</Text>
<Text style={styles.timeago}>{timeagoStr}</Text>
</View>
</View>
... ... @@ -122,7 +122,7 @@ let styles = StyleSheet.create({
// flex:1,
fontFamily: 'Helvetica Light',
fontSize: 10,
minWidth: 80,
// minWidth: 80,
maxWidth: contentMaxLenght,
// backgroundColor:'red',
... ... @@ -133,7 +133,7 @@ let styles = StyleSheet.create({
fontSize: 10,
marginLeft:15,
color: '#b0b0b0',
// backgroundColor:'white',
// backgroundColor:'yellow',
},
right: {
... ... @@ -171,7 +171,7 @@ let styles = StyleSheet.create({
},
line: {
height: 1,
height: 0.5,
position: 'absolute',
width: width,
bottom: 0,
... ...
... ... @@ -205,7 +205,7 @@ let styles = StyleSheet.create({
},
lineInCell: {
height: 1,
height: 0.1,
marginLeft: 15,
marginTop: 15,
// marginBottom: 15,
... ...