|
@@ -20,7 +20,7 @@ import { convertApply, getApplyResult } from '@/services/award';
|
|
|
|
|
|
|
|
const { width: SCREEN_WIDTH } = Dimensions.get('window');
|
|
const { width: SCREEN_WIDTH } = Dimensions.get('window');
|
|
|
const CARD_WIDTH = (SCREEN_WIDTH - 60) / 3;
|
|
const CARD_WIDTH = (SCREEN_WIDTH - 60) / 3;
|
|
|
-const CARD_HEIGHT = CARD_WIDTH * 1.5;
|
|
|
|
|
|
|
+const CARD_HEIGHT = CARD_WIDTH * 1.78;
|
|
|
|
|
|
|
|
const CDN_BASE = 'https://cdn.acetoys.cn';
|
|
const CDN_BASE = 'https://cdn.acetoys.cn';
|
|
|
const imgUrl = `${CDN_BASE}/kai_xin_ma_te/supermart`;
|
|
const imgUrl = `${CDN_BASE}/kai_xin_ma_te/supermart`;
|
|
@@ -345,9 +345,9 @@ export const LotteryResultModal = forwardRef<LotteryResultModalRef, LotteryResul
|
|
|
</Animated.View>
|
|
</Animated.View>
|
|
|
{/* 正面 - 商品信息 */}
|
|
{/* 正面 - 商品信息 */}
|
|
|
<Animated.View style={[styles.cardFront, { transform: [{ rotateY: frontRotate }], opacity: frontOpacity }]}>
|
|
<Animated.View style={[styles.cardFront, { transform: [{ rotateY: frontRotate }], opacity: frontOpacity }]}>
|
|
|
- <ImageBackground source={{ uri: levelConfig.resultBg }} style={styles.cardFrontBg} resizeMode="cover">
|
|
|
|
|
|
|
+ <ImageBackground source={{ uri: levelConfig.resultBg }} style={styles.cardFrontBg} resizeMode="stretch">
|
|
|
<Image source={{ uri: item.cover }} style={styles.productImage} contentFit="contain" />
|
|
<Image source={{ uri: item.cover }} style={styles.productImage} contentFit="contain" />
|
|
|
- <Image source={{ uri: levelConfig.borderImg }} style={styles.borderImage} contentFit="cover" />
|
|
|
|
|
|
|
+ <Image source={{ uri: levelConfig.borderImg }} style={styles.borderImage} contentFit="fill" />
|
|
|
<View style={styles.cardInfo}>
|
|
<View style={styles.cardInfo}>
|
|
|
<View style={styles.infoRow}>
|
|
<View style={styles.infoRow}>
|
|
|
<Text style={styles.levelText}>{levelConfig.title}</Text>
|
|
<Text style={styles.levelText}>{levelConfig.title}</Text>
|
|
@@ -368,9 +368,9 @@ export const LotteryResultModal = forwardRef<LotteryResultModalRef, LotteryResul
|
|
|
return (
|
|
return (
|
|
|
<View key={item.id || index} style={styles.cardWrapper}>
|
|
<View key={item.id || index} style={styles.cardWrapper}>
|
|
|
<View style={styles.cardFrontStatic}>
|
|
<View style={styles.cardFrontStatic}>
|
|
|
- <ImageBackground source={{ uri: levelConfig.resultBg }} style={styles.cardFrontBg} resizeMode="cover">
|
|
|
|
|
|
|
+ <ImageBackground source={{ uri: levelConfig.resultBg }} style={styles.cardFrontBg} resizeMode="stretch">
|
|
|
<Image source={{ uri: item.cover }} style={styles.productImage} contentFit="contain" />
|
|
<Image source={{ uri: item.cover }} style={styles.productImage} contentFit="contain" />
|
|
|
- <Image source={{ uri: levelConfig.borderImg }} style={styles.borderImage} contentFit="cover" />
|
|
|
|
|
|
|
+ <Image source={{ uri: levelConfig.borderImg }} style={styles.borderImage} contentFit="fill" />
|
|
|
<View style={styles.cardInfo}>
|
|
<View style={styles.cardInfo}>
|
|
|
<View style={styles.infoRow}>
|
|
<View style={styles.infoRow}>
|
|
|
<Text style={styles.levelText}>{levelConfig.title}</Text>
|
|
<Text style={styles.levelText}>{levelConfig.title}</Text>
|