|
@@ -132,7 +132,7 @@ export default class BrandCell extends Component{ |
|
@@ -132,7 +132,7 @@ export default class BrandCell extends Component{ |
132
|
<View style={styles.container}>
|
132
|
<View style={styles.container}>
|
133
|
<View style={styles.topContainer}>
|
133
|
<View style={styles.topContainer}>
|
134
|
<View style={styles.left}>
|
134
|
<View style={styles.left}>
|
135
|
- <YH_Image style={styles.icon} url={icon} />
|
135
|
+ <Image style={styles.icon} resizeMode= {'contain'} source={{uri: icon}} />
|
136
|
<View>
|
136
|
<View>
|
137
|
<Text style={styles.name} numberOfLines={1}>{data.get('brand_name')}</Text>
|
137
|
<Text style={styles.name} numberOfLines={1}>{data.get('brand_name')}</Text>
|
138
|
{this.renderDesc()}
|
138
|
{this.renderDesc()}
|
|
@@ -141,17 +141,15 @@ export default class BrandCell extends Component{ |
|
@@ -141,17 +141,15 @@ export default class BrandCell extends Component{ |
141
|
<View style={styles.right}>
|
141
|
<View style={styles.right}>
|
142
|
<TouchableOpacity
|
142
|
<TouchableOpacity
|
143
|
activeOpacity={1}
|
143
|
activeOpacity={1}
|
144
|
- style={styles.optTouch}
|
|
|
145
|
onPress={this.props.onPressLike}
|
144
|
onPress={this.props.onPressLike}
|
146
|
>
|
145
|
>
|
147
|
- <View><Image style={styles.optIcon} source={heartIcon} /></View>
|
146
|
+ <View style={styles.optTouch}><Image style={styles.optIcon} resizeMode= {'contain'} source={heartIcon} /></View>
|
148
|
</TouchableOpacity>
|
147
|
</TouchableOpacity>
|
149
|
<TouchableOpacity
|
148
|
<TouchableOpacity
|
150
|
activeOpacity={1}
|
149
|
activeOpacity={1}
|
151
|
- style={styles.optTouch}
|
|
|
152
|
onPress={this.props.onPressHome}
|
150
|
onPress={this.props.onPressHome}
|
153
|
>
|
151
|
>
|
154
|
- <Image style={styles.optIcon} source={homeIcon} />
|
152
|
+ <View style={styles.optTouch}><Image style={styles.optIcon} resizeMode= {'contain'} source={homeIcon} /></View>
|
155
|
</TouchableOpacity>
|
153
|
</TouchableOpacity>
|
156
|
</View>
|
154
|
</View>
|
157
|
</View>
|
155
|
</View>
|
|
@@ -203,7 +201,6 @@ let styles = StyleSheet.create({ |
|
@@ -203,7 +201,6 @@ let styles = StyleSheet.create({ |
203
|
marginLeft: 10,
|
201
|
marginLeft: 10,
|
204
|
width: 50,
|
202
|
width: 50,
|
205
|
height: 50,
|
203
|
height: 50,
|
206
|
- resizeMode: 'contain',
|
|
|
207
|
},
|
204
|
},
|
208
|
name: {
|
205
|
name: {
|
209
|
marginTop: 10,
|
206
|
marginTop: 10,
|
|
@@ -230,11 +227,12 @@ let styles = StyleSheet.create({ |
|
@@ -230,11 +227,12 @@ let styles = StyleSheet.create({ |
230
|
optTouch: {
|
227
|
optTouch: {
|
231
|
width: 44,
|
228
|
width: 44,
|
232
|
height: 44,
|
229
|
height: 44,
|
|
|
230
|
+ alignItems: 'center',
|
|
|
231
|
+ justifyContent: 'center',
|
233
|
},
|
232
|
},
|
234
|
optIcon: {
|
233
|
optIcon: {
|
235
|
- width: 38,
|
|
|
236
|
- height: 38,
|
|
|
237
|
- resizeMode: 'center',
|
234
|
+ width: 17,
|
|
|
235
|
+ height: 17,
|
238
|
},
|
236
|
},
|
239
|
rowContainer: {
|
237
|
rowContainer: {
|
240
|
width: 113,
|
238
|
width: 113,
|