import { ThemedText } from '@/components/ThemedText'; import { View, ScrollView, Text, StyleSheet, Pressable } from 'react-native'; import { Link, useRouter } from 'expo-router'; import StatusItem from '@/components/ui/StatusItem'; import { useState } from 'react'; // import { Modal, Portal } from 'react-native-paper'; import { Button, ButtonText } from "@/components/ui/button"; export default function Index() { const router = useRouter(); return ( <> 北京铁路局/客运段/京沪线/左侧 修改 {/* [styles.btn, { opacity: pressed ? 0.7 : 1 }]} onPress={() => {}}> 开始测量 [styles.btn, { opacity: pressed ? 0.7 : 1 }]} onPress={showModal}> 保存 */} ); } const styles = StyleSheet.create({ config: { height: 40, backgroundColor: '#e3e8f5', flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', paddingHorizontal: 16, }, btnBox: { flexDirection: 'row', paddingHorizontal: 20, justifyContent: 'space-between', gap: 20, marginVertical: 16, }, btn: { flex: 1, height: 40, // borderRadius: 4, // color: '#fff', // lineHeight: 40, // justifyContent: 'center', backgroundColor: '#3165D2', }, btnText: { color: '#FFF', textAlign: 'center', fontSize: 16, }, statusBox: { flexDirection: 'row', paddingHorizontal: 16, gap: 16, marginBottom: 16, }, subStatus: { flex: 1, gap: 10, }, });