浏览记录找相似图片style重复,去除;收藏品牌属性值修改——review by 于良
Showing
2 changed files
with
3 additions
and
3 deletions
@@ -107,7 +107,7 @@ export default class ProductCell extends Component{ | @@ -107,7 +107,7 @@ export default class ProductCell extends Component{ | ||
107 | this.props.onPressFindSimilar && this.props.onPressFindSimilar(data); | 107 | this.props.onPressFindSimilar && this.props.onPressFindSimilar(data); |
108 | }} | 108 | }} |
109 | > | 109 | > |
110 | - <Image style={styles.similar} source={require('../../images/browse/shopcart_findResemblance.png')}/> | 110 | + <Image source={require('../../images/browse/shopcart_findResemblance.png')}/> |
111 | </TouchableOpacity> | 111 | </TouchableOpacity> |
112 | 112 | ||
113 | <View style={styles.separator} /> | 113 | <View style={styles.separator} /> |
@@ -68,12 +68,12 @@ class BrandContainer extends Component { | @@ -68,12 +68,12 @@ class BrandContainer extends Component { | ||
68 | } | 68 | } |
69 | 69 | ||
70 | onPressProduct(product) { | 70 | onPressProduct(product) { |
71 | - let proudctSkn = data.get('product_skn', 0) | 71 | + let productSkn = product.get('product_skn', 0) |
72 | if (!productSkn) { | 72 | if (!productSkn) { |
73 | return; | 73 | return; |
74 | } | 74 | } |
75 | 75 | ||
76 | - let isGlobalProduct = data.get('is_global', 'N') == 'Y'; // 是否全球购商品 | 76 | + let isGlobalProduct = product.get('is_global', 'N') == 'Y'; // 是否全球购商品 |
77 | let action = ''; | 77 | let action = ''; |
78 | if (isGlobalProduct) { | 78 | if (isGlobalProduct) { |
79 | 79 |
-
Please register or login to post a comment