Эх сурвалжийг харах

调整擂台赏空车显示位置

zbb 3 сар өмнө
parent
commit
1b3e7fb7c2

+ 3 - 1
app/boxInBox/index.tsx

@@ -36,6 +36,8 @@ interface PoolData {
   price: number;
   specialPrice?: number;
   bigBoxPrizes?: ProductItem[];
+  mediumBoxPrizes?: ProductItem[];
+  smallBoxPrizes?: ProductItem[];
   activityGoods?: any[];
 }
 
@@ -601,7 +603,7 @@ const styles = StyleSheet.create({
   positionStore: { top: 256, right: 0 },
   positionRefresh: { top: 300, right: 0 },
 
-  emptyRunsBox: { alignItems: 'center', marginTop: -60, marginBottom: 10 },
+  emptyRunsBox: { alignItems: 'flex-start', marginLeft: 10, marginTop: -40, marginBottom: 10, zIndex: 20 },
   emptyRunsText: { color: '#fff', fontSize: 12, backgroundColor: 'rgba(0,0,0,0.5)', paddingHorizontal: 15, paddingVertical: 5, borderRadius: 10 },
 
   lockTimeBox: { flexDirection: 'row', alignItems: 'center', backgroundColor: '#71ccff', padding: 10, marginHorizontal: 10, borderRadius: 8, marginBottom: 10 },