レイアウトの微修正

This commit is contained in:
harukin-OneMix4 2023-07-01 15:04:59 +09:00
parent b2624d319b
commit 26111e7ce8
2 changed files with 20 additions and 19 deletions

View File

@ -213,7 +213,7 @@ export default function Apps({
}, []);
if (returnDataBase.length) {
setStationBoardData(returnDataBase);
sleep(30, function () {
sleep(25, function () {
StationBoardAcSR.current?.show();
});
} else {

View File

@ -180,23 +180,14 @@ export const EachTrainInfo = ({
onPress={() => openStationACFromEachTrainInfo(station)}
key={station}
>
<View
style={{
padding: 8,
flexDirection: "row",
borderBottomWidth: 1,
borderBottomColor: "#f0f0f0",
paddingLeft: 60,
}}
>
<View style={{ flexDirection: "row" }}>
<View
style={{
width: 35,
height: 41,
position: "absolute",
left: 10,
top: 0,
position: "relative",
marginHorizontal: 15,
flexDirection: "row",
height: "101%",
}}
>
{colorIDs.map((color, index) => (
@ -232,12 +223,22 @@ export const EachTrainInfo = ({
</View>
))}
</View>
<View
style={{
padding: 8,
flexDirection: "row",
borderBottomWidth: 1,
borderBottomColor: "#f0f0f0",
flex: 1,
}}
>
<Text style={{ fontSize: 20 }}>{station}</Text>
<View style={{ flex: 1 }} />
<Text style={{ fontSize: 20 }}>
{time} {se}
</Text>
</View>
</View>
</TouchableWithoutFeedback>
);
})}