|
|
@@ -7,6 +7,7 @@ import {
|
|
|
FlatList,
|
|
|
ImageBackground,
|
|
|
Platform,
|
|
|
+ Pressable,
|
|
|
RefreshControl,
|
|
|
ScrollView,
|
|
|
StatusBar,
|
|
|
@@ -294,7 +295,13 @@ export default function StoreScreen() {
|
|
|
style={styles.cell}
|
|
|
resizeMode="stretch"
|
|
|
>
|
|
|
- <View style={styles.cellContent}>
|
|
|
+ <Pressable
|
|
|
+ style={styles.cellContent}
|
|
|
+ onPress={() => {
|
|
|
+ console.log('[仓库] 点击商品详情, id:', item.id);
|
|
|
+ router.push({ pathname: '/cloud-warehouse/detail', params: { id: item.id } } as any);
|
|
|
+ }}
|
|
|
+ >
|
|
|
<TouchableOpacity
|
|
|
style={styles.cellHeader}
|
|
|
onPress={() => canSelect && handleChoose(item)}
|
|
|
@@ -331,13 +338,8 @@ export default function StoreScreen() {
|
|
|
/>
|
|
|
</TouchableOpacity>
|
|
|
</TouchableOpacity>
|
|
|
- <TouchableOpacity
|
|
|
+ <View
|
|
|
style={styles.cellBody}
|
|
|
- onPress={() => {
|
|
|
- console.log('[仓库] 点击商品详情, id:', item.id);
|
|
|
- router.push({ pathname: '/cloud-warehouse/detail', params: { id: item.id } } as any);
|
|
|
- }}
|
|
|
- activeOpacity={0.7}
|
|
|
>
|
|
|
<ImageBackground
|
|
|
source={{ uri: Images.mine.storeGoodsImgBg }}
|
|
|
@@ -358,8 +360,8 @@ export default function StoreScreen() {
|
|
|
</Text>
|
|
|
</View>
|
|
|
<Text style={styles.arrow}>{">"}</Text>
|
|
|
- </TouchableOpacity>
|
|
|
- </View>
|
|
|
+ </View>
|
|
|
+ </Pressable>
|
|
|
</ImageBackground>
|
|
|
);
|
|
|
};
|