フォントサイズの調整
This commit is contained in:
parent
c4a28d6c39
commit
081cbe0f50
8
menu.js
8
menu.js
@ -33,7 +33,7 @@ const UsefulBox = (props) =>{
|
|||||||
return(
|
return(
|
||||||
<TouchableOpacity style={{flex:flex,backgroundColor:backgroundColor,padding:10,alignItems:"center",margin:2}} onPress={onPressButton}>
|
<TouchableOpacity style={{flex:flex,backgroundColor:backgroundColor,padding:10,alignItems:"center",margin:2}} onPress={onPressButton}>
|
||||||
<MaterialCommunityIcons name={icon} color="white" size={50}/>
|
<MaterialCommunityIcons name={icon} color="white" size={50}/>
|
||||||
<Text style={{color:"white",fontWeight:"bold",fontSize:20}}>{children}</Text>
|
<Text style={{color:"white",fontWeight:"bold",fontSize:18}}>{children}</Text>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@ -41,7 +41,7 @@ const TicketBox = (props) =>{
|
|||||||
const { icon, backgroundColor, flex, onPressButton, children } = props;
|
const { icon, backgroundColor, flex, onPressButton, children } = props;
|
||||||
return(
|
return(
|
||||||
<TouchableOpacity style={{flex:flex,backgroundColor:backgroundColor,borderColor:"#0099CC",padding:10,borderWidth:1,margin:2,alignItems:"center"}} onPress={onPressButton}>
|
<TouchableOpacity style={{flex:flex,backgroundColor:backgroundColor,borderColor:"#0099CC",padding:10,borderWidth:1,margin:2,alignItems:"center"}} onPress={onPressButton}>
|
||||||
<Text style={{color:"white",fontWeight:"bold",fontSize:20}}>{children}</Text>
|
<Text style={{color:"white",fontWeight:"bold",fontSize:18}}>{children}</Text>
|
||||||
{icon}
|
{icon}
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
)
|
)
|
||||||
@ -233,8 +233,8 @@ export default function Menu(props) {
|
|||||||
<UsefulBox backgroundColor={"#91C31F"} icon="clipboard-list-outline" flex={1} onPressButton={()=>Linking.openURL("https://www.jr-shikoku.co.jp/e5489/")}>予約</UsefulBox>
|
<UsefulBox backgroundColor={"#91C31F"} icon="clipboard-list-outline" flex={1} onPressButton={()=>Linking.openURL("https://www.jr-shikoku.co.jp/e5489/")}>予約</UsefulBox>
|
||||||
</View>
|
</View>
|
||||||
<TextBox backgroundColor="#0099CC" flex={1} onPressButton={()=>Linking.openURL("https://www.jr-shikoku.co.jp/02_information/suspension/sp/")}>
|
<TextBox backgroundColor="#0099CC" flex={1} onPressButton={()=>Linking.openURL("https://www.jr-shikoku.co.jp/02_information/suspension/sp/")}>
|
||||||
<Text style={{color:"white",fontWeight:"bold",fontSize:20}}>新型コロナウイルスに関するお知らせ</Text>
|
<Text style={{color:"white",fontWeight:"bold",fontSize:18}}>新型コロナウイルスに関するお知らせ</Text>
|
||||||
<Text style={{color:"white",fontSize:18}}>列車の運行計画・混雑状況・感染症対策への取り組み</Text>
|
<Text style={{color:"white",fontSize:15}}>列車の運行計画・混雑状況・感染症対策への取り組み</Text>
|
||||||
</TextBox>
|
</TextBox>
|
||||||
{currentStation && <Sign currentStation={currentStation} originalStationList={originalStationList} oP={() => StationBoardAcSR.current?.setModalVisible()} />}
|
{currentStation && <Sign currentStation={currentStation} originalStationList={originalStationList} oP={() => StationBoardAcSR.current?.setModalVisible()} />}
|
||||||
{currentStation && <LED_vision station={currentStation[0]} />}
|
{currentStation && <LED_vision station={currentStation[0]} />}
|
||||||
|
Loading…
Reference in New Issue
Block a user