No Description

MyAnswerAnswerPageViewItem.js 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /**
  2. * Created by zack on 2018/4/30.
  3. */
  4. import {
  5. View,
  6. Text,
  7. StyleSheet,
  8. Image,
  9. TouchableOpacity,
  10. TextInput
  11. } from 'react-native'
  12. import React, {Component} from 'react'
  13. import {NavigationBarHeight, TabBarHeight, ScreenDimensions} from '../../../../utils/DimensionsTools'
  14. export default class MyAnswerAnswerPageViewItem extends Component {
  15. render() {
  16. return(
  17. <View style={styles.View}>
  18. <Text style={styles.TitleText}>{'英语学习的重要性用英语提问五个日常问题? '}</Text>
  19. <Text style={styles.SubTitleText}>{'语法看一遍,就只看一遍,重点了解。'}</Text>
  20. <Text style={styles.ReadNumberText}>{'2赞.3阅读'}</Text>
  21. <View style={styles.BottomLineView}/>
  22. </View>
  23. )
  24. }
  25. }
  26. const styles = StyleSheet.create({
  27. View: {
  28. width: ScreenDimensions.width,
  29. backgroundColor: 'white',
  30. },
  31. TitleText: {
  32. fontSize: 16,
  33. color: '#000000',
  34. marginTop: 17,
  35. marginLeft: 22,
  36. marginRight: 22,
  37. },
  38. SubTitleText: {
  39. fontSize: 15,
  40. marginTop: 18,
  41. marginLeft: 22,
  42. color: "rgba(36, 35, 35, 0.75)",
  43. opacity: 0.75,
  44. marginRight: 22,
  45. },
  46. ReadNumberText: {
  47. fontSize: 15,
  48. color: '#9c9c9c',
  49. marginTop: 21,
  50. marginLeft: 22,
  51. },
  52. BottomLineView: {
  53. width: ScreenDimensions.width,
  54. height: 8,
  55. backgroundColor: '#efeff4',
  56. marginTop: 20,
  57. }
  58. })