Browse Source

购物车货币修改

main
Mac 2 weeks ago
parent
commit
938a9b58e8
  1. 4
      app/screens/CartScreen.tsx
  2. 6
      app/screens/HomeScreen.tsx

4
app/screens/CartScreen.tsx

@ -1549,13 +1549,13 @@ const styles = StyleSheet.create({
color: "black", color: "black",
}, },
highlightedText1: { highlightedText1: {
fontSize: fontSize(24), fontSize: fontSize(20),
fontFamily: "Segoe UI", fontFamily: "Segoe UI",
fontWeight: "700", fontWeight: "700",
color: "black", color: "black",
}, },
priceLabel: { priceLabel: {
fontSize: fontSize(11), fontSize: fontSize(10),
fontFamily: "Segoe UI", fontFamily: "Segoe UI",
fontWeight: "700", fontWeight: "700",
color: "black", color: "black",

6
app/screens/HomeScreen.tsx

@ -792,17 +792,17 @@ export const HomeScreen = () => {
<> <>
<View style={styles.swiperContainer}> <View style={styles.swiperContainer}>
<Carousel <Carousel
loop
width={screenWidth} width={screenWidth}
data={data} data={data}
height={widthUtils(286, 286).height} height={widthUtils(286, 286).height}
modeConfig={{ modeConfig={{
parallaxScrollingScale: 0.9, parallaxScrollingScale: 0,
parallaxScrollingOffset: 50, parallaxScrollingOffset: 0,
}} }}
renderItem={({ item }) => ( renderItem={({ item }) => (
<TouchableOpacity <TouchableOpacity
onPress={() => navigation.navigate(item.add)} onPress={() => navigation.navigate(item.add)}
activeOpacity={1}
key={item.imgUrl} key={item.imgUrl}
style={{ style={{
flex: 1, flex: 1,

Loading…
Cancel
Save