Compare commits

...
2 changed files with 3 additions and 2 deletions
@@ -285,7 +285,6 @@ export const EachTrainInfo = ({
style={{ margin: 5 }} style={{ margin: 5 }}
onPress={() => { onPress={() => {
LayoutAnimation.easeInEaseOut(); //setLoadingDelayData(true); LayoutAnimation.easeInEaseOut(); //setLoadingDelayData(true);
navigate("trainbase", { navigate("trainbase", {
info: "train.html?tn=" + data.trainNum, info: "train.html?tn=" + data.trainNum,
from, from,
@@ -299,6 +298,7 @@ export const EachTrainInfo = ({
style={{ style={{
flexDirection: "row", flexDirection: "row",
//width: widthPercentageToDP("200%"), //width: widthPercentageToDP("200%"),
minHeight: 200,
height: heightPercentageToDP("20%"), height: heightPercentageToDP("20%"),
}} }}
horizontal horizontal
@@ -307,6 +307,7 @@ export const EachTrainInfo = ({
<View <View
style={{ style={{
flexDirection: "row", flexDirection: "row",
minHeight: 200,
height: heightPercentageToDP("20%"), height: heightPercentageToDP("20%"),
width: widthPercentageToDP("100%"), width: widthPercentageToDP("100%"),
}} }}
+1 -1
View File
@@ -1 +1 @@
export const news = "2023-3-27"; export const news = "2023-7-16";