|
@@ -14,7 +14,7 @@ const { |
|
@@ -14,7 +14,7 @@ const { |
14
|
Dimensions,
|
14
|
Dimensions,
|
15
|
} = ReactNative;
|
15
|
} = ReactNative;
|
16
|
|
16
|
|
17
|
-export default class ReplyCell extends React.Component {
|
17
|
+export default class SysMsgCell extends React.Component {
|
18
|
|
18
|
|
19
|
static propTypes = {
|
19
|
static propTypes = {
|
20
|
data: ImmutablePropTypes.contains({
|
20
|
data: ImmutablePropTypes.contains({
|
|
@@ -77,6 +77,7 @@ export default class ReplyCell extends React.Component { |
|
@@ -77,6 +77,7 @@ export default class ReplyCell extends React.Component { |
77
|
<Image
|
77
|
<Image
|
78
|
defaultSource={require('../../images/message/duihuakuang.png')}
|
78
|
defaultSource={require('../../images/message/duihuakuang.png')}
|
79
|
style={styles.bubble}
|
79
|
style={styles.bubble}
|
|
|
80
|
+ resizeMode={'stretch'}
|
80
|
>
|
81
|
>
|
81
|
<Text style={styles.reply}
|
82
|
<Text style={styles.reply}
|
82
|
numberOfLines={1}
|
83
|
numberOfLines={1}
|
|
@@ -106,6 +107,8 @@ export default class ReplyCell extends React.Component { |
|
@@ -106,6 +107,8 @@ export default class ReplyCell extends React.Component { |
106
|
}
|
107
|
}
|
107
|
}
|
108
|
}
|
108
|
|
109
|
|
|
|
110
|
+let {width, height} = Dimensions.get('window');
|
|
|
111
|
+
|
109
|
let styles = StyleSheet.create({
|
112
|
let styles = StyleSheet.create({
|
110
|
container: {
|
113
|
container: {
|
111
|
flexDirection:'column',
|
114
|
flexDirection:'column',
|
|
@@ -158,7 +161,6 @@ let styles = StyleSheet.create({ |
|
@@ -158,7 +161,6 @@ let styles = StyleSheet.create({ |
158
|
alignItems:'center',
|
161
|
alignItems:'center',
|
159
|
height: 40,
|
162
|
height: 40,
|
160
|
padding: 10,
|
163
|
padding: 10,
|
161
|
- resizeMode:'contain',
|
|
|
162
|
},
|
164
|
},
|
163
|
|
165
|
|
164
|
reply: {
|
166
|
reply: {
|
|
@@ -166,7 +168,8 @@ let styles = StyleSheet.create({ |
|
@@ -166,7 +168,8 @@ let styles = StyleSheet.create({ |
166
|
fontFamily: 'Helvetica Light',
|
168
|
fontFamily: 'Helvetica Light',
|
167
|
fontSize: 12,
|
169
|
fontSize: 12,
|
168
|
color: '#8b8b8b',
|
170
|
color: '#8b8b8b',
|
169
|
- marginTop: 8,
|
171
|
+ marginTop: 6,
|
|
|
172
|
+ width: width - 30 - 20,
|
170
|
},
|
173
|
},
|
171
|
|
174
|
|
172
|
section: {
|
175
|
section: {
|