menuのレイアウト更新

This commit is contained in:
harukin-expo-dev-env 2025-07-16 23:46:26 +00:00
parent 8d10fbf998
commit f75582ee53

View File

@ -50,26 +50,10 @@ export const SearchUnitBox = ({
flexDirection: "column", flexDirection: "column",
display: "flex", display: "flex",
flex: 1, flex: 1,
alignContent: "center",
justifyContent: "flex-end",
}} }}
> >
<View
style={{
backgroundColor: "white",
borderRadius: 25,
height: 30,
paddingRight: 10,
paddingLeft: 10,
flex: 1,
}}
>
<TextInput
placeholder="駅名や駅ナンバリングを入力してフィルタリングします。"
onEndEditing={() => {}}
onChange={(ret) => setInput(ret.nativeEvent.text)}
value={input}
style={{ flex: 1 }}
/>
</View>
<View style={{ flexDirection: "row", alignItems: "center" }}> <View style={{ flexDirection: "row", alignItems: "center" }}>
<TouchableOpacity <TouchableOpacity
onPress={() => { onPress={() => {
@ -87,6 +71,26 @@ export const SearchUnitBox = ({
style={{ marginRight: 10 }} style={{ marginRight: 10 }}
/> />
</TouchableOpacity> </TouchableOpacity>
<View
style={{
backgroundColor: "white",
borderRadius: 25,
height: 30,
paddingRight: 10,
paddingLeft: 10,
flex: 1,
}}
>
<TextInput
placeholder="駅名や駅ナンバリングを入力してフィルタリングします。"
onEndEditing={() => {}}
onChange={(ret) => setInput(ret.nativeEvent.text)}
value={input}
style={{ flex: 1 }}
/>
</View>
</View>
{!input &&<View style={{ flexDirection: "row", alignItems: "center" }}>
{Object.keys(lineList_LineWebID).map((d) => ( {Object.keys(lineList_LineWebID).map((d) => (
<TouchableOpacity <TouchableOpacity
style={{ style={{
@ -123,7 +127,7 @@ export const SearchUnitBox = ({
</Text> </Text>
</TouchableOpacity> </TouchableOpacity>
))} ))}
</View> </View>}
</View> </View>
)} )}
</TouchableOpacity> </TouchableOpacity>