ui fix — reviewed by yjc
Showing
1 changed file
with
15 additions
and
1 deletions
1 | 'use strict'; | 1 | 'use strict'; |
2 | 2 | ||
3 | import React, {Component} from 'react'; | 3 | import React, {Component} from 'react'; |
4 | -import ReactNative, {AsyncStorage, Platform, StyleSheet, View} from 'react-native' | 4 | +import ReactNative, {AsyncStorage, Dimensions, Platform, StyleSheet, Text, View} from 'react-native' |
5 | 5 | ||
6 | import {bindActionCreators} from 'redux'; | 6 | import {bindActionCreators} from 'redux'; |
7 | import {connect} from 'react-redux'; | 7 | import {connect} from 'react-redux'; |
@@ -232,6 +232,7 @@ class DataContainer extends Component { | @@ -232,6 +232,7 @@ class DataContainer extends Component { | ||
232 | 232 | ||
233 | jumpWithActivityUrl={this._jumpWithActivityUrl} | 233 | jumpWithActivityUrl={this._jumpWithActivityUrl} |
234 | /> | 234 | /> |
235 | + <Text style={styles.instructionText}>佣金打款、报税由南京顺通人力资源开发服务有限公司代操作</Text> | ||
235 | <LoadingIndicator isVisible={isFetching}/> | 236 | <LoadingIndicator isVisible={isFetching}/> |
236 | </View> | 237 | </View> |
237 | 238 | ||
@@ -239,10 +240,23 @@ class DataContainer extends Component { | @@ -239,10 +240,23 @@ class DataContainer extends Component { | ||
239 | } | 240 | } |
240 | } | 241 | } |
241 | 242 | ||
243 | +let {width, height} = Dimensions.get('window'); | ||
244 | + | ||
242 | let styles = StyleSheet.create({ | 245 | let styles = StyleSheet.create({ |
243 | container: { | 246 | container: { |
244 | flex: 1, | 247 | flex: 1, |
245 | }, | 248 | }, |
249 | + instructionText: { | ||
250 | + fontSize: 11, | ||
251 | + color: '#B0B0B0', | ||
252 | + width: width, | ||
253 | + textAlign: 'center', | ||
254 | + // marginTop: 200, | ||
255 | + position: 'absolute', | ||
256 | + // textAlignVertical: 'bottom', | ||
257 | + // flex: 1, | ||
258 | + bottom: 10, | ||
259 | + } | ||
246 | }); | 260 | }); |
247 | 261 | ||
248 | export default connect(mapStateToProps, mapDispatchToProps)(DataContainer); | 262 | export default connect(mapStateToProps, mapDispatchToProps)(DataContainer); |
-
Please register or login to post a comment