mirror of
https://github.com/timepill/timepill-app.git
synced 2025-04-30 09:59:31 +08:00
修复bug:
1.评论,ok绷的icon移到列表右侧 2.调整评论icon的颜色
This commit is contained in:
parent
2da961b2cc
commit
b210fa92fd
5 changed files with 14 additions and 9 deletions
|
@ -114,7 +114,7 @@ const localStyle = StyleSheet.create({
|
|||
moreIcon: {
|
||||
position: 'absolute',
|
||||
bottom: 0,
|
||||
right: 10,
|
||||
right: 15,
|
||||
paddingHorizontal: 12,
|
||||
paddingVertical: 5
|
||||
}
|
||||
|
|
|
@ -89,6 +89,8 @@ export default class DiaryBrief extends Component {
|
|||
<Photo uri={diary.photoThumbUrl} onPress={this.props.onPhotoPress}></Photo>
|
||||
|
||||
<View style={localStyle.actionBar}>
|
||||
<View style={{flex: 1}} />
|
||||
|
||||
<View style={localStyle.icons}>
|
||||
<DiaryIconComment count={diary.comment_count}></DiaryIconComment>
|
||||
<DiaryIconOkB diaryId={diary.id}
|
||||
|
@ -98,7 +100,7 @@ export default class DiaryBrief extends Component {
|
|||
refreshBack={this.refreshDiary.bind(this)}
|
||||
></DiaryIconOkB>
|
||||
</View>
|
||||
<View style={{flex: 1}} />
|
||||
|
||||
{
|
||||
isMine && !expired
|
||||
? <TouchableOpacity onPress={this.onDiaryAction.bind(this)}>
|
||||
|
@ -134,7 +136,8 @@ const localStyle = StyleSheet.create({
|
|||
title: {
|
||||
flexDirection: "row",
|
||||
alignItems: "flex-end",
|
||||
paddingBottom: 5
|
||||
paddingBottom: 5,
|
||||
paddingRight: 9
|
||||
},
|
||||
titleName: {
|
||||
fontWeight: 'bold',
|
||||
|
@ -164,7 +167,7 @@ const localStyle = StyleSheet.create({
|
|||
flexDirection: 'row'
|
||||
},
|
||||
moreIcon: {
|
||||
paddingVertical: 5,
|
||||
paddingHorizontal: 5
|
||||
marginLeft: 7,
|
||||
marginRight: 13
|
||||
}
|
||||
});
|
||||
|
|
|
@ -157,7 +157,7 @@ const localStyle = StyleSheet.create({
|
|||
title: {
|
||||
flexDirection: "row",
|
||||
alignItems: "flex-end",
|
||||
paddingRight: 10,
|
||||
paddingRight: 9,
|
||||
paddingBottom: 5
|
||||
},
|
||||
titleName: {
|
||||
|
|
|
@ -29,9 +29,11 @@ export default class DiaryIconComment extends Component {
|
|||
const localStyle = StyleSheet.create({
|
||||
wrap: {
|
||||
flexDirection: 'row',
|
||||
marginRight: 6
|
||||
marginRight: 6,
|
||||
marginTop: -1
|
||||
},
|
||||
icon: {
|
||||
color: Color.inactiveText,
|
||||
marginLeft: 2,
|
||||
marginRight: 4
|
||||
},
|
||||
|
|
|
@ -101,8 +101,8 @@ const localStyle = StyleSheet.create({
|
|||
icon: {
|
||||
width: 18,
|
||||
height: 18,
|
||||
marginLeft: 2,
|
||||
marginRight: 4
|
||||
marginLeft: 4,
|
||||
marginRight: 1
|
||||
},
|
||||
text: {
|
||||
fontSize: 15
|
||||
|
|
Loading…
Reference in a new issue