调整比赛卡片样式,优化图标和文本尺寸
This commit is contained in:
@@ -394,7 +394,7 @@ export function MatchCard({
|
|||||||
>
|
>
|
||||||
<IconSymbol
|
<IconSymbol
|
||||||
name={isFav ? "star" : "star-outline"}
|
name={isFav ? "star" : "star-outline"}
|
||||||
size={20}
|
size={15}
|
||||||
color={isFav ? "#FFD700" : iconColor}
|
color={isFav ? "#FFD700" : iconColor}
|
||||||
/>
|
/>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
@@ -407,7 +407,7 @@ export function MatchCard({
|
|||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
card: {
|
card: {
|
||||||
height: 78,
|
height: 78,
|
||||||
paddingHorizontal: 12,
|
paddingHorizontal: 8,
|
||||||
marginBottom: 8,
|
marginBottom: 8,
|
||||||
borderRadius: 14,
|
borderRadius: 14,
|
||||||
borderWidth: 1,
|
borderWidth: 1,
|
||||||
@@ -424,7 +424,7 @@ const styles = StyleSheet.create({
|
|||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
},
|
},
|
||||||
left: {
|
left: {
|
||||||
width: 44,
|
width: 33,
|
||||||
alignItems: "flex-start",
|
alignItems: "flex-start",
|
||||||
justifyContent: "center",
|
justifyContent: "center",
|
||||||
gap: 4,
|
gap: 4,
|
||||||
@@ -461,11 +461,11 @@ const styles = StyleSheet.create({
|
|||||||
minWidth: 0,
|
minWidth: 0,
|
||||||
},
|
},
|
||||||
teamLogo: {
|
teamLogo: {
|
||||||
width: 22,
|
width: 18,
|
||||||
height: 22,
|
height: 18,
|
||||||
},
|
},
|
||||||
teamName: {
|
teamName: {
|
||||||
fontSize: 14,
|
fontSize: 12,
|
||||||
fontWeight: "600",
|
fontWeight: "600",
|
||||||
marginLeft: 6,
|
marginLeft: 6,
|
||||||
flex: 1,
|
flex: 1,
|
||||||
@@ -497,7 +497,7 @@ const styles = StyleSheet.create({
|
|||||||
gap: 6,
|
gap: 6,
|
||||||
},
|
},
|
||||||
scoreBox: {
|
scoreBox: {
|
||||||
width: 36,
|
width: 30,
|
||||||
height: 54,
|
height: 54,
|
||||||
borderRadius: 8,
|
borderRadius: 8,
|
||||||
borderWidth: 1.5,
|
borderWidth: 1.5,
|
||||||
|
|||||||
Reference in New Issue
Block a user