import * as WebBrowser from "expo-web-browser"; import * as React from "react"; import { StyleSheet } from "react-native"; import { Layout, useTheme, Button, Icon, Menu, MenuItem, MenuGroup, } from "@ui-kitten/components"; import { useModel } from "flooks"; import { useFocusEffect } from "@react-navigation/native"; import NavHeaderBar from "../components/NavHeaderBar"; const ForwardIcon = props => ( ); const styles = StyleSheet.create({ container: { backgroundColor: "#EEEEEE", flex: 1, }, menu: { flex: 1, backgroundColor: "#EEEEEE", marginBottom: 50, }, menuItem: { marginVertical: 3 }, menuGroup: { marginTop: 3, }, menuGroup2: { marginTop: 6, }, loginOut: { position: "absolute", bottom: 10, left: 20, right: 20, }, }); export default function UserScreen({ navigation }) { const theme = useTheme(); const { changeBackground } = useModel("barModel"); const { closeMer, isOpening } = useModel("userModel"); const { tab3, userTitle1, userTitle2, userTitle3, userTitle4, userTitle5, userTitle6, userTitle31, userTitle32, userTitle33, userTitle34, userTitle41, userTitle42, userTitle61, userTitle62, userTitle21, // userTitle22, userTitle23, userTitle24, DMCJVT, BZIQEA, YUZQBC, HMVTGZ, } = useModel("wordsModel"); useFocusEffect( React.useCallback(() => { changeBackground(theme["color-primary-500"]); }, []) ); return ( <> { navigation.navigate("Home", { screen: "homeTab3", }); }} /> { navigation.navigate("FullReduction"); }} /> {/* { navigation.navigate("AddClassification", { type: "signboard", }); }} /> */} { navigation.navigate("FirstOrder"); }} /> { navigation.navigate("CouponList"); }} /> { navigation.navigate("EditGoods"); }} /> { navigation.navigate("ClassificationManage"); }} /> { navigation.navigate("AddClassification", { type: "signboard", }); }} /> { navigation.navigate("AddClassification", { type: "recommend", }); }} /> { navigation.navigate("OrderSetting"); }} /> { navigation.navigate("OrderSetting"); }} /> { navigation.navigate("Automatic"); }} /> { navigation.navigate("Complaintlist"); }} /> { navigation.navigate("Money"); }} /> { navigation.navigate("Bank"); }} /> { navigation.navigate("Money"); }} /> { navigation.navigate("Distribution"); }} /> { // navigation.navigate("Home", { // screen: "homeTab3", // }); }} /> {/* */} ); }