/** * Created by Sean on 2018/5/9. */ import { View, Text, StyleSheet, TouchableOpacity, TouchableWithoutFeedback, ScrollView, Image, Animated } from 'react-native' import React, {Component} from 'react' import PropTypes from 'prop-types'; import {NavigationBarHeight, TabBarHeight, ScreenDimensions} from '../../../utils/DimensionsTools' export default class CAVideoListRow extends Component { constructor(props) { super(props) } render() { return( ); } } class CAVideoListItem extends Component { constructor(props) { super(props) } render() { return( {this.props.title} {this.props.viewCount} {this.props.commentCount} ); } } const styles = StyleSheet.create({ rowContainer: { flex: 1, flexDirection: 'row', width: ScreenDimensions.width, height: 160, }, itemContainer: { flex: 1, }, itemImage: { marginLeft: 9, marginTop: 16, width: (ScreenDimensions.width - 30) / 2, height: (ScreenDimensions.width - 30) / 2 * (93/165) }, itemTitleContainer: { marginTop: 7, marginLeft: 9, }, itemTitle: { fontSize: 11, width: (ScreenDimensions.width - 30) / 2, }, itemBottomContainer: { flexDirection: 'row', alignItems: 'center', marginLeft: 11, }, itemBottomImage: { height: 9, width: 14, justifyContent: 'center' }, itemBottomTitle: { marginLeft: 3, fontSize: 10, color: "#aaaaaa", } })