/** * Created by Sean on 2018/5/9. */ import { View, Text, StyleSheet, TouchableOpacity, TouchableWithoutFeedback, ScrollView, SectionList, Image, FlatList } from 'react-native' import React, {Component} from 'react' import PropTypes from 'prop-types'; import {NavigationBarHeight, TabBarHeight, ScreenDimensions} from '../../../utils/DimensionsTools' export default class CAVideoDiscussPage extends Component { constructor(props) { super(props); } render() { return( 全部讨论(3) this.renderItem(item)} keyExtractor = {(item,index) =>{ return 'key' + item.key + index }} ListFooterComponent = {() => { return( ) }} /> ); } renderItem(item) { let LikeIcon = require('../../../resources/images/TabBar/Community/SmallVideo/VideoDetails/like_hover.png'); return( Michae 仍然是早晚半小时,把所有的单词都口头造不同的句子 04-03 23:34 2324 ) } } const styles = StyleSheet.create({ pageContainer: { width: ScreenDimensions.width, height: ScreenDimensions.height - NavigationBarHeight.height - 78 - 78 - 45 - 10, }, titleContainer: { height: 56, borderBottomColor: '#efeff4', borderBottomWidth: 1, justifyContent:'center' }, discussTitle: { fontSize: 18, color: "#666666", marginHorizontal: 12 }, itemContainer:{ flex: 1, flexDirection: 'row', height: 140, width: ScreenDimensions.width, }, leftContainer: { flex: 1, justifyContent: 'center', alignItems:'center', }, rightContainer: { flex: 1, justifyContent: 'center', alignItems: 'center' }, avatarImage: { width: 48, height: 48, borderRadius: 24, }, likeIcon:{ width: 52/2, height: 25, }, normalText: { fontSize: 14, color: "#434242" }, lightColorText: { fontSize: 13, lineHeight: 12, color: "#9c9c9c", }, bottomContainer: { marginTop: 17, height: 20, flexDirection: 'row', alignItems: 'center' } });