Showing
17 changed files
with
5 additions
and
13 deletions
@@ -43,7 +43,6 @@ export default class ContentMessageView extends Component { | @@ -43,7 +43,6 @@ export default class ContentMessageView extends Component { | ||
43 | 43 | ||
44 | _renderHeader() { | 44 | _renderHeader() { |
45 | let tipHeight = this.props.contentTipFlag==='0'?40:0; | 45 | let tipHeight = this.props.contentTipFlag==='0'?40:0; |
46 | - let tipBorderWidth = this.props.contentTipFlag==='0'?1:0; | ||
47 | let lineHeight = this.props.contentTipFlag==='0'?1:0; | 46 | let lineHeight = this.props.contentTipFlag==='0'?1:0; |
48 | let buttonHeight = this.props.contentTipFlag==='0'?25:0; | 47 | let buttonHeight = this.props.contentTipFlag==='0'?25:0; |
49 | 48 | ||
@@ -77,7 +76,7 @@ export default class ContentMessageView extends Component { | @@ -77,7 +76,7 @@ export default class ContentMessageView extends Component { | ||
77 | <View style={[styles.tipContainer,{height: tipHeight}]}> | 76 | <View style={[styles.tipContainer,{height: tipHeight}]}> |
78 | <Text style={[styles.tipStyle]}>{'开启推送通知,第一时间收到互动消息'}</Text> | 77 | <Text style={[styles.tipStyle]}>{'开启推送通知,第一时间收到互动消息'}</Text> |
79 | <TouchableOpacity style={{width:60, height: buttonHeight}} onPress={()=> {onNotifyPress()}}> | 78 | <TouchableOpacity style={{width:60, height: buttonHeight}} onPress={()=> {onNotifyPress()}}> |
80 | - <Text style={[styles.openButton,{borderWidth: tipBorderWidth}]}>{'开启'}</Text> | 79 | + <Image style={styles.openImage} source={require('../../images/open_btn.png')}/> |
81 | </TouchableOpacity> | 80 | </TouchableOpacity> |
82 | <View style={{backgroundColor: '#EEEEEE', left: 0, right: 0, bottom: 0, position: 'absolute', height: lineHeight}}/> | 81 | <View style={{backgroundColor: '#EEEEEE', left: 0, right: 0, bottom: 0, position: 'absolute', height: lineHeight}}/> |
83 | </View> | 82 | </View> |
@@ -212,17 +211,10 @@ let styles = StyleSheet.create({ | @@ -212,17 +211,10 @@ let styles = StyleSheet.create({ | ||
212 | backgroundColor: 'transparent', | 211 | backgroundColor: 'transparent', |
213 | textAlign: 'center', | 212 | textAlign: 'center', |
214 | }, | 213 | }, |
215 | - openButton: { | ||
216 | - fontFamily: 'PingFang-SC-Medium', | ||
217 | - fontSize: 14, | ||
218 | - color: '#4A4A4A', | ||
219 | - borderColor: '#4A4A4A', | ||
220 | - borderRadius: 5, | ||
221 | - paddingTop: 2, | ||
222 | - paddingLeft: 10, | ||
223 | - paddingRight: 10, | ||
224 | - paddingBottom: 2, | ||
225 | - textAlign: 'center', | 214 | + openImage: { |
215 | + width: 60, | ||
216 | + height: 25, | ||
217 | + marginRight: 14 | ||
226 | }, | 218 | }, |
227 | line: { | 219 | line: { |
228 | backgroundColor: '#EEEEEE', | 220 | backgroundColor: '#EEEEEE', |
js/message/images/content_attentioned@2x.png
0 → 100644
1.93 KB
js/message/images/content_attentioned@3x.png
0 → 100644
2.91 KB
js/message/images/content_fan@2x.png
0 → 100644
1.82 KB
js/message/images/content_fan@3x.png
0 → 100644
2.83 KB
js/message/images/content_gz@2x.png
0 → 100644
2.31 KB
js/message/images/content_gz@3x.png
0 → 100644
3.69 KB
js/message/images/content_icon@2x.png
0 → 100644
1.85 KB
js/message/images/content_icon@3x.png
0 → 100644
2.95 KB
js/message/images/content_reply@2x.png
0 → 100644
1.34 KB
js/message/images/content_reply@3x.png
0 → 100644
2.04 KB
js/message/images/content_tz@2x.png
0 → 100644
1.81 KB
js/message/images/content_tz@3x.png
0 → 100644
2.88 KB
js/message/images/content_zan@2x.png
0 → 100644
1.57 KB
js/message/images/content_zan@3x.png
0 → 100644
2.53 KB
js/message/images/open_btn@2x.png
0 → 100644
1.22 KB
js/message/images/open_btn@3x.png
0 → 100644
1.86 KB
-
Please register or login to post a comment