Pending.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. import React, { Component } from 'react'
  2. import {
  3. StyleSheet,
  4. ScrollView,
  5. View,
  6. Image,
  7. ImageBackground,
  8. Text,
  9. Dimensions,
  10. StatusBar,
  11. TouchableOpacity,
  12. } from 'react-native'
  13. import { connect } from 'react-redux'
  14. import { Button } from '../../../components'
  15. import Icon from '../../../components/Iconfont/Iconfont'
  16. import { NavigationActions, createAction } from '../../../utils'
  17. const { width, height } = Dimensions.get('window')
  18. @connect(({ theme }) => ({ ...theme }))
  19. class Pending extends Component {
  20. constructor(props) {
  21. super(props)
  22. this.state = {}
  23. // console.disableYellowBox = true;
  24. }
  25. static navigationOptions = {
  26. title: '待审核',
  27. }
  28. render() {
  29. const { appTheme } = this.props
  30. return (
  31. <View
  32. style={[
  33. styles.container,
  34. { backgroundColor: appTheme.backgroundColor },
  35. ]}
  36. >
  37. <StatusBar
  38. animated={true}
  39. barStyle={appTheme.barStyle}
  40. // barStyle={"dark-content"}
  41. backgroundColor={'transparent'}
  42. translucent={true}
  43. />
  44. <Text>待审核</Text>
  45. </View>
  46. )
  47. }
  48. }
  49. const styles = StyleSheet.create({
  50. container: {
  51. flex: 1,
  52. },
  53. pngstyle: {
  54. width: width,
  55. },
  56. buttonStyle: {
  57. backgroundColor: 'transparent',
  58. flexDirection: 'column',
  59. alignItems: 'center',
  60. },
  61. buttonText: {
  62. marginTop: 9,
  63. fontSize: 14,
  64. color: '#FFF',
  65. },
  66. })
  67. export default Pending