// 公司介绍 import React, { useRef, useState } from "react"; import { View, Text, Image, TouchableOpacity, ScrollView, StyleSheet, SafeAreaView, StatusBar, Platform, } from "react-native"; import { useNavigation } from "@react-navigation/native"; import { NativeStackNavigationProp } from "@react-navigation/native-stack"; import { RootStackParamList } from "../../types/navigation"; import { VideoView, useVideoPlayer } from "expo-video"; import BackIcon from "../../components/BackIcon"; export const CompanyScreen = () => { const [showVideo, setShowVideo] = useState(false); const player = useVideoPlayer({ uri: "https://app.brainnel.com/static/uploadfile/file/2023-02-03/63dcb246a86aa.mp4", }); const navigation = useNavigation>(); // Only UI, no logic or API const goDetail = () => {}; return ( {/* Top Bar */} navigation.goBack()}> 关于公司 {/* Introduction */} A world-leading customization service for small business. Brainnel offers comprehensive, highly competitive benefits to the brainners and consumers that have used the application since Day One, including better selection at a more advantaged price, reliable after-sales service, and harmonious community culture. {/* Product Data */} 56M+ Customizable products 1M+ Customization service provider {/* Media */} What we do What we do Brainnel offers comprehensive, highly competitive benefits to the brainners and consumers that have used the application since Day One, including better selection at a more advantaged price, reliable after-sales service, and harmonious community culture. {/* {indexProductList.info.map((item, i) => ( ))} */} Media Media {/* Register/Login */} Register or sign in ); }; const styles = StyleSheet.create({ safeArea: { flex: 1, backgroundColor: '#fff', }, scrollView: { flex: 1, paddingTop: 0, }, indexTop: { width: "100%", backgroundColor: "#fff", // Other styles }, headAbsolute: { position: "absolute", left: 0, right: 0, top: 0, height: 48, flexDirection: "row", alignItems: "center", paddingLeft: 19, paddingRight: 19, paddingTop: 10, paddingBottom: 10, zIndex: 10, }, headTitleWrapper: { position: "absolute", left: 0, right: 0, top: 0, bottom: 0, justifyContent: "center", alignItems: "center", pointerEvents: "none", }, headTitle: { // 不再需要 marginLeft }, headTitleText: { fontSize: 16, fontWeight: "bold", }, indexTopItemFirst: { // Styles }, intro: { padding: 20, marginTop: 20, }, introworld: { fontSize: 22, fontWeight: "bold", color: "#242529", }, offredes: { fontSize: 16, color: "#000", marginTop: 10, }, products: { flexDirection: "row", justifyContent: "space-between", marginTop: 20, }, productItem: { width: "45%", alignItems: "center", }, productItemTop: { fontSize: 30, fontWeight: "bold", color: "#002fa7", }, productItemBot: { marginTop: 10, backgroundColor: "rgba(186, 221, 255, 0.15)", borderRadius: 5, fontSize: 14, color: "#05A9C8", padding: 6, textAlign: "center", }, faisons: { fontSize: 30, fontWeight: "bold", color: "#D4D8E0", opacity: 0.6, textAlign: "center", }, faisons1: { fontSize: 24, fontWeight: "bold", color: "#0035a3", textAlign: "center", marginTop: -19, }, showImages1: { width: 300, marginRight: 10, }, videoFooter: { height: 40, backgroundColor: "#000", justifyContent: "center", alignItems: "center", borderBottomLeftRadius: 10, borderBottomRightRadius: 10, }, registerBtn: { margin: 20, backgroundColor: "#FF5100", borderRadius: 20, padding: 15, }, video: { alignSelf: "center", width: "100%", height: 200, }, });