通過情報を追加

This commit is contained in:
harukin-expo-dev-env
2025-08-23 17:37:44 +00:00
parent ebf72e35bc
commit 8cc1fcf3de
4 changed files with 27 additions and 12 deletions

View File

@@ -392,7 +392,7 @@ export const EachTrainInfoCore = ({
containerProps={{
style: {
maxHeight: isLandscape ? height - 94 : (height / 100) * 70,
backgroundColor:getTrainType(customTrainDataDetector(data.trainNum, allCustomTrainData).type).data === "notService" ? "#868686ff" :"white"
backgroundColor:getTrainType(customTrainDataDetector(data.trainNum, allCustomTrainData).type).data === "notService" ? "#777777ff" :"white"
},
}}
shortHeader={
@@ -423,7 +423,7 @@ export const EachTrainInfoCore = ({
/>
}
>
{getTrainType(customTrainDataDetector(data.trainNum, allCustomTrainData).type).data === "notService" &&<Text>この列車には乗車できません</Text>}
{getTrainType(customTrainDataDetector(data.trainNum, allCustomTrainData).type).data === "notService" &&<Text style={{backgroundColor:"#ffffffc2",fontWeight:"bold"}}>この列車には乗車できません</Text>}
{headStation.length != 0 &&
headStation.map((i, index) =>
showHeadStation.findIndex((d) => d == index) == -1 ? (
@@ -496,7 +496,7 @@ export const EachTrainInfoCore = ({
/>
)
)}
<Text style={{backgroundColor:"#ffffffc2"}}>背景が緑色時刻が斜体になっている時刻はコミュニティで追加されている独自データです</Text>
<Text style={{backgroundColor:"#ffffffc2"}}>時刻が斜体,青色になっている時刻はコミュニティで追加されている独自データです</Text>
{tailStation.length != 0 &&
tailStation.map(({ station, dia }, index) =>
showTailStation.findIndex((d) => d == index) == -1 ? (