Showing
6 changed files
with
9 additions
and
6 deletions
@@ -102,6 +102,7 @@ let styles = StyleSheet.create({ | @@ -102,6 +102,7 @@ let styles = StyleSheet.create({ | ||
102 | width: width, | 102 | width: width, |
103 | height: height, | 103 | height: height, |
104 | backgroundColor:'#f0f0f0', | 104 | backgroundColor:'#f0f0f0', |
105 | + overflow: 'hidden', | ||
105 | }, | 106 | }, |
106 | banner: { | 107 | banner: { |
107 | backgroundColor: '#ffffff', | 108 | backgroundColor: '#ffffff', |
@@ -78,7 +78,8 @@ let styles = StyleSheet.create({ | @@ -78,7 +78,8 @@ let styles = StyleSheet.create({ | ||
78 | container: { | 78 | container: { |
79 | width: width, | 79 | width: width, |
80 | flexDirection: 'row', | 80 | flexDirection: 'row', |
81 | - height: 180 | 81 | + height: 180, |
82 | + overflow: 'hidden', | ||
82 | }, | 83 | }, |
83 | 84 | ||
84 | image: { | 85 | image: { |
@@ -116,7 +116,7 @@ let styles = StyleSheet.create({ | @@ -116,7 +116,7 @@ let styles = StyleSheet.create({ | ||
116 | height: 67, | 116 | height: 67, |
117 | top: 17, | 117 | top: 17, |
118 | left: 17, | 118 | left: 17, |
119 | - backgroundColor: 'gray', | 119 | + backgroundColor: 'white', |
120 | }, | 120 | }, |
121 | cellContent: { | 121 | cellContent: { |
122 | left: 34, | 122 | left: 34, |
@@ -57,7 +57,7 @@ let styles = StyleSheet.create({ | @@ -57,7 +57,7 @@ let styles = StyleSheet.create({ | ||
57 | width: 50, | 57 | width: 50, |
58 | height: 50, | 58 | height: 50, |
59 | borderRadius: 25, | 59 | borderRadius: 25, |
60 | - backgroundColor: 'gray', | 60 | + backgroundColor: 'white', |
61 | }, | 61 | }, |
62 | headerRight: { | 62 | headerRight: { |
63 | marginTop: 24, | 63 | marginTop: 24, |
@@ -166,7 +166,7 @@ let styles = StyleSheet.create({ | @@ -166,7 +166,7 @@ let styles = StyleSheet.create({ | ||
166 | }, | 166 | }, |
167 | image: { | 167 | image: { |
168 | width: width, | 168 | width: width, |
169 | - backgroundColor: 'gray', | 169 | + backgroundColor: 'white', |
170 | height: width, | 170 | height: width, |
171 | }, | 171 | }, |
172 | tagContainer: { | 172 | tagContainer: { |
@@ -33,6 +33,7 @@ export default class MessageCell extends Component { | @@ -33,6 +33,7 @@ export default class MessageCell extends Component { | ||
33 | return null; | 33 | return null; |
34 | } | 34 | } |
35 | msgNumber = msgNumber > 9 ? '9+' : msgNumber; | 35 | msgNumber = msgNumber > 9 ? '9+' : msgNumber; |
36 | + | ||
36 | return ( | 37 | return ( |
37 | <View style={styles.unreadMsgContainer}> | 38 | <View style={styles.unreadMsgContainer}> |
38 | <Text style={styles.unreadMsg}> | 39 | <Text style={styles.unreadMsg}> |
@@ -143,8 +144,8 @@ let styles = StyleSheet.create({ | @@ -143,8 +144,8 @@ let styles = StyleSheet.create({ | ||
143 | }, | 144 | }, |
144 | unreadMsgContainer: { | 145 | unreadMsgContainer: { |
145 | height: 18, | 146 | height: 18, |
146 | - marginTop: -5, | ||
147 | - marginLeft: -12, | 147 | + top: -5, |
148 | + left: -12, | ||
148 | backgroundColor: '#d0021b', | 149 | backgroundColor: '#d0021b', |
149 | justifyContent: 'center', | 150 | justifyContent: 'center', |
150 | borderRadius: 10, | 151 | borderRadius: 10, |
-
Please register or login to post a comment