123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- /**
- * Created by zack on 2018/4/30.
- */
- import {
- View,
- Text,
- StyleSheet,
- Image,
- TouchableOpacity,
- TextInput
- } from 'react-native'
- import React, {Component} from 'react'
- import {NavigationBarHeight, TabBarHeight, ScreenDimensions} from '../../../../utils/DimensionsTools'
-
- export default class MyAnswerCollectionPageViewItem extends Component {
- render() {
- return(
- <View style={styles.View}>
- <View style={styles.TitleBgView}>
- <Text style={styles.TitleText}>{'英语学习的重要性用英语提问五个日常问题? '}</Text>
- <Image source={require('../../../../resources/images/TabBar/Community/Answer/img_1.png')} style={styles.ImageView}/>
- </View>
-
- <Text style={styles.SubTitleText}>{'语法看一遍,就只看一遍,重点了解各种句子结构,特殊的要记一下例句和如何翻译的技巧'}</Text>
-
- <Text style={styles.ReadNumberText}>{'25回答'}</Text>
-
- <View style={styles.BottomLineView}/>
- </View>
- )
- }
- }
-
- const styles = StyleSheet.create({
- View: {
- width: ScreenDimensions.width,
- backgroundColor: 'white',
- },
- TitleBgView: {
- width: ScreenDimensions.width - 42,
- flexDirection: 'row',
- marginLeft: 21,
- marginTop: 16
- },
- TitleText: {
- fontSize: 16,
- color: '#000000',
- width: ScreenDimensions.width - 42 - 56 - 42,
- marginRight: 42
- },
- ImageView: {
- width: 56,
- height: 56,
- },
- SubTitleText: {
- fontSize: 15,
- color: '#9c9c9c',
- marginTop: 15,
- marginLeft: 21,
- marginRight: 21
- },
- ReadNumberText: {
- fontSize: 15,
- color: '#9c9c9c',
- marginTop: 16,
- marginLeft: 21,
- },
- BottomLineView: {
- width: ScreenDimensions.width,
- height: 8,
- backgroundColor: '#efeff4',
- marginTop: 20,
- }
- })
|