Authored by 王钱钧

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

@@ -54,14 +54,14 @@ export default class MsgCenterCatgoryCell extends React.Component { @@ -54,14 +54,14 @@ export default class MsgCenterCatgoryCell extends React.Component {
54 </View> 54 </View>
55 55
56 <View style={styles.middle}> 56 <View style={styles.middle}>
57 - <Text style={styles.title}  
58 - numberOfLines={1}  
59 - >{this.props.title}</Text> 57 + <Text style={styles.title}
  58 + numberOfLines={1}
  59 + >{this.props.title}</Text>
60 60
61 - <View style={styles.contentContainer}>  
62 - <Text style={styles.content} numberOfLines={1}>{tips}</Text>  
63 - <Text style={styles.timeago}>{timeagoStr}</Text>  
64 - </View> 61 + <View style={styles.contentContainer}>
  62 + <Text style={styles.content} numberOfLines={1}>{tips}</Text>
  63 + <Text style={styles.timeago}>{timeagoStr}</Text>
  64 + </View>
65 65
66 </View> 66 </View>
67 67
@@ -122,7 +122,7 @@ let styles = StyleSheet.create({ @@ -122,7 +122,7 @@ let styles = StyleSheet.create({
122 // flex:1, 122 // flex:1,
123 fontFamily: 'Helvetica Light', 123 fontFamily: 'Helvetica Light',
124 fontSize: 10, 124 fontSize: 10,
125 - minWidth: 80, 125 + // minWidth: 80,
126 maxWidth: contentMaxLenght, 126 maxWidth: contentMaxLenght,
127 127
128 // backgroundColor:'red', 128 // backgroundColor:'red',
@@ -133,7 +133,7 @@ let styles = StyleSheet.create({ @@ -133,7 +133,7 @@ let styles = StyleSheet.create({
133 fontSize: 10, 133 fontSize: 10,
134 marginLeft:15, 134 marginLeft:15,
135 color: '#b0b0b0', 135 color: '#b0b0b0',
136 - // backgroundColor:'white', 136 + // backgroundColor:'yellow',
137 137
138 }, 138 },
139 right: { 139 right: {
@@ -171,7 +171,7 @@ let styles = StyleSheet.create({ @@ -171,7 +171,7 @@ let styles = StyleSheet.create({
171 }, 171 },
172 172
173 line: { 173 line: {
174 - height: 1, 174 + height: 0.5,
175 position: 'absolute', 175 position: 'absolute',
176 width: width, 176 width: width,
177 bottom: 0, 177 bottom: 0,
@@ -205,7 +205,7 @@ let styles = StyleSheet.create({ @@ -205,7 +205,7 @@ let styles = StyleSheet.create({
205 }, 205 },
206 206
207 lineInCell: { 207 lineInCell: {
208 - height: 1, 208 + height: 0.1,
209 marginLeft: 15, 209 marginLeft: 15,
210 marginTop: 15, 210 marginTop: 15,
211 // marginBottom: 15, 211 // marginBottom: 15,