...
|
...
|
@@ -49,10 +49,12 @@ export default class category extends Component { |
|
|
s.map(item => {
|
|
|
return (
|
|
|
<View className="item" key={item.product_id} key={item.product_id}>
|
|
|
<Navigator url={`/pages/productDetail/index?id=${item.product_id}`} hover-class="none">
|
|
|
<Image src={getImgUrl(item.image_url, 140, 140)} mode="aspectFill" className="item-img" mode="aspectFill"/>
|
|
|
<Navigator className="item-navigator" url={`/pages/productDetail/index?id=${item.product_id}`} hover-class="none">
|
|
|
<View className="item-img">
|
|
|
<Image className="img" src={getImgUrl(item.image_url, 140, 140)} mode="aspectFill"/>
|
|
|
</View>
|
|
|
<View className="product-dec">
|
|
|
<View className="item-name">{item.product_name}</View>
|
|
|
<Text className="item-name">{item.product_name}</Text>
|
|
|
<View className="item-code">货号 {item.product_code}</View>
|
|
|
</View>
|
|
|
</Navigator>
|
...
|
...
|
|