postshow记录
2016-10-15 本文已影响12人
剌小胥
<ScrollView>
<View style={styles.postDateBox}>
<Text numberOfLines={1} style={styles.postDate}>{post.date }</Text>
</View>
<View style={styles.postTitleBox}>
<Text numberOfLines={2} style={styles.postTitle}>{post.post.title }</Text>
</View>
<View style={styles.line}>
</View>
<View style={styles.tagsBox}>
{ post.post.tags.map((item, i) => this._renderTags(item, i))}
</View>
<View style={styles.likeImgBox}>
{ post.likelist.map((item, i) => this._renderLikeList(item, i))}
</View>
{ this._renderLikeNumber(post.post.likes)}
{ this._renderLike(post.isCheck)}
{ post.commentData.map((item, i) => this._renderComments(item, i))}
</ScrollView>