ui fix reviewd by aozhe.zhu
Showing
1 changed file
with
11 additions
and
5 deletions
@@ -65,12 +65,18 @@ export default class ContentLikedListCell extends Component { | @@ -65,12 +65,18 @@ export default class ContentLikedListCell extends Component { | ||
65 | 65 | ||
66 | <View style={ styles.originView} > | 66 | <View style={ styles.originView} > |
67 | <Text style={styles.copyText}>原文</Text> | 67 | <Text style={styles.copyText}>原文</Text> |
68 | - <YH_Image url={imageUrl} style={styles.imageStyle} /> | 68 | + { imageUrl ? <YH_Image url={imageUrl} style={styles.imageStyle} /> : null } |
69 | + | ||
69 | {rowData.content ? | 70 | {rowData.content ? |
70 | - <Text style={styles.originText} numberOfLines={1}>{rowData.content}</Text> | ||
71 | - : | ||
72 | - <View style={{height: 5}} /> | 71 | + |
72 | + <Text style={styles.originText} numberOfLines={1}> | ||
73 | + <Text>{rowData.content}</Text> | ||
74 | + <Text>{'...'}</Text> | ||
75 | + </Text> | ||
76 | + : | ||
77 | + <View style={{height: 5}} /> | ||
73 | } | 78 | } |
79 | + | ||
74 | </View> | 80 | </View> |
75 | 81 | ||
76 | : | 82 | : |
@@ -78,7 +84,7 @@ export default class ContentLikedListCell extends Component { | @@ -78,7 +84,7 @@ export default class ContentLikedListCell extends Component { | ||
78 | <View style={ styles.originView} > | 84 | <View style={ styles.originView} > |
79 | <Text style={styles.deleteText} numberOfLines={1}>{'原文已被作者删除'}</Text> | 85 | <Text style={styles.deleteText} numberOfLines={1}>{'原文已被作者删除'}</Text> |
80 | </View> } | 86 | </View> } |
81 | - | 87 | + |
82 | </TouchableOpacity> | 88 | </TouchableOpacity> |
83 | 89 | ||
84 | <View style={styles.timeView}> | 90 | <View style={styles.timeView}> |
-
Please register or login to post a comment