Authored by yoho-js001

Fix bug YH-6476.

... ... @@ -27,7 +27,7 @@ export default class BrandCell extends Component {
let shop_logo = data.get('shop_logo');
let shops_id = data.get('shops_id');
let new_product_num = data.get('new_product_num');
shop_logo = shop_logo.replace('{width}', 83).replace('{height}', 34).replace('{mode}',2);
shop_logo = shop_logo.replace('{width}', 166).replace('{height}', 68).replace('{mode}',2);
return (
<TouchableOpacity style={styles.container} onPress={()=>{this.props.onPressShop&&this.props.onPressShop(data, index);}}>
<View style={{flex:1}}>
... ...
... ... @@ -15,16 +15,16 @@ export default class HomeService {
async fetchRecommendShop(yh_channel) {
let contentCode = '1f2e07cb63811680154ba693c954dd62';
switch (yh_channel) {
case 1:
case '1':
contentCode = '1f2e07cb63811680154ba693c954dd62';
break;
case 2:
case '2':
contentCode = '375f201d1ec56f7515509249c9c66959';
break;
case 3:
case '3':
contentCode = '74c62151673e7dde9fb154c90dcff3f0';
break;
case 4:
case '4':
contentCode = 'b9b4bd0de670f982e1f8e7dc23980e81';
break;
default:
... ...