...
|
...
|
@@ -77,7 +77,7 @@ export default class HotCategoryList extends Component{ |
|
|
<TouchableOpacity activeOpacity={1} onPress={() => this.props.onPressHotCategoryItem && this.props.onPressHotCategoryItem(rowData.toJS(),rowID)}>
|
|
|
<View style={styles.rowContainer}>
|
|
|
<Image style={styles.rowThumbnail} source={{uri: imageUrl}}/>
|
|
|
<Text style={styles.rowText} numberOfLines={1}>{rowData.get("category_name")}</Text>
|
|
|
<View style={styles.rowTextContainer}><Text style={styles.rowText} numberOfLines={2}>{rowData.get("category_name")}</Text></View>
|
|
|
</View>
|
|
|
</TouchableOpacity>
|
|
|
);
|
...
|
...
|
@@ -119,7 +119,7 @@ let styles = StyleSheet.create({ |
|
|
flexDirection: 'row',
|
|
|
flexWrap: 'wrap',
|
|
|
alignItems:'center',
|
|
|
backgroundColor: '#fdfbff',
|
|
|
backgroundColor: '#f5f7f6',
|
|
|
},
|
|
|
|
|
|
headerContainer:{
|
...
|
...
|
@@ -168,7 +168,7 @@ let styles = StyleSheet.create({ |
|
|
|
|
|
rowContainer:{
|
|
|
width: 70 * DEVICE_WIDTH_RATIO,
|
|
|
height: 70 * DEVICE_WIDTH_RATIO,
|
|
|
height: 83 * DEVICE_WIDTH_RATIO,
|
|
|
paddingLeft: 8.5 * DEVICE_WIDTH_RATIO,
|
|
|
paddingRight: 8.5 * DEVICE_WIDTH_RATIO,
|
|
|
justifyContent: 'center',
|
...
|
...
|
@@ -180,9 +180,13 @@ let styles = StyleSheet.create({ |
|
|
height: 55 * DEVICE_WIDTH_RATIO,
|
|
|
},
|
|
|
|
|
|
rowText:{
|
|
|
rowTextContainer:{
|
|
|
width: 53 * DEVICE_WIDTH_RATIO,
|
|
|
height: 15 * DEVICE_WIDTH_RATIO,
|
|
|
height: 28 * DEVICE_WIDTH_RATIO,
|
|
|
marginTop: 2 * DEVICE_WIDTH_RATIO,
|
|
|
},
|
|
|
|
|
|
rowText:{
|
|
|
fontSize: 9 * DEVICE_WIDTH_RATIO,
|
|
|
color: '#B0B0B0',
|
|
|
textAlign: 'center',
|
...
|
...
|
|