|
@@ -78,9 +78,9 @@ export default class Recommend extends React.Component { |
|
@@ -78,9 +78,9 @@ export default class Recommend extends React.Component { |
78
|
}
|
78
|
}
|
79
|
|
79
|
|
80
|
let backgroundWidth = width;
|
80
|
let backgroundWidth = width;
|
81
|
- let backgroundHeight = 40 + Math.ceil(list.length / 4) * itemWidth;
|
81
|
+ let backgroundHeight = 40 + Math.ceil(list.length / 4) * itemWidth + 30;
|
82
|
return (
|
82
|
return (
|
83
|
- <View style={{width: backgroundWidth, height:backgroundHeight, backgroundColor:'#f0f0f0'}}>
|
83
|
+ <View style={{width: backgroundWidth, height:backgroundHeight, backgroundColor:'#f4f7f2'}}>
|
84
|
<ListView
|
84
|
<ListView
|
85
|
contentContainerStyle={styles.contentContainer}
|
85
|
contentContainerStyle={styles.contentContainer}
|
86
|
dataSource={this.dataSource.cloneWithRows(list)}
|
86
|
dataSource={this.dataSource.cloneWithRows(list)}
|
|
@@ -111,7 +111,7 @@ const styles = StyleSheet.create({ |
|
@@ -111,7 +111,7 @@ const styles = StyleSheet.create({ |
111
|
rowContainer: {
|
111
|
rowContainer: {
|
112
|
borderRightWidth: 1,
|
112
|
borderRightWidth: 1,
|
113
|
borderBottomWidth: 1,
|
113
|
borderBottomWidth: 1,
|
114
|
- borderColor: '#CCC',
|
114
|
+ borderColor: '#e5e5e5',
|
115
|
},
|
115
|
},
|
116
|
thumbnail: {
|
116
|
thumbnail: {
|
117
|
width: itemWidth-1,
|
117
|
width: itemWidth-1,
|
|
@@ -124,7 +124,9 @@ const styles = StyleSheet.create({ |
|
@@ -124,7 +124,9 @@ const styles = StyleSheet.create({ |
124
|
width:width,
|
124
|
width:width,
|
125
|
backgroundColor: 'white',
|
125
|
backgroundColor: 'white',
|
126
|
borderBottomWidth: 1,
|
126
|
borderBottomWidth: 1,
|
127
|
- borderBottomColor: '#CCC',
|
127
|
+ borderBottomColor: '#e5e5e5',
|
|
|
128
|
+ borderTopColor: '#e5e5e5',
|
|
|
129
|
+ borderTopWidth: 1,
|
128
|
},
|
130
|
},
|
129
|
itemTitle: {
|
131
|
itemTitle: {
|
130
|
marginLeft:5,
|
132
|
marginLeft:5,
|
|
@@ -138,7 +140,7 @@ const styles = StyleSheet.create({ |
|
@@ -138,7 +140,7 @@ const styles = StyleSheet.create({ |
138
|
fontWeight: 'bold',
|
140
|
fontWeight: 'bold',
|
139
|
textAlign: 'center',
|
141
|
textAlign: 'center',
|
140
|
color: 'gray',
|
142
|
color: 'gray',
|
141
|
- fontSize: 10,
|
143
|
+ fontSize: 9,
|
142
|
},
|
144
|
},
|
143
|
text: {
|
145
|
text: {
|
144
|
textAlign: 'center',
|
146
|
textAlign: 'center',
|