/** * 价值前沿 - 启动页 * 黑金主题设计 */ import React from "react"; import { View, Image, StyleSheet, StatusBar, Dimensions, Platform, Pressable, } from "react-native"; import { Box, VStack, HStack, Text, Center } from "native-base"; import { LinearGradient } from "expo-linear-gradient"; import { useSafeAreaInsets } from "react-native-safe-area-context"; const { height, width } = Dimensions.get("screen"); // 金色渐变 const GOLD_GRADIENT = ['#D4AF37', '#F5D77A', '#D4AF37']; const GOLD_DARK = '#B8962E'; const GOLD_LIGHT = '#F5D77A'; const GOLD_PRIMARY = '#D4AF37'; const Pro = ({ navigation }) => { const insets = useSafeAreaInsets(); return ( {/* 背景装饰 */} {/* 顶部金色光晕 */} {/* 底部深色渐变 */} {/* 主内容 */} {/* 上部空间 */} {/* Logo 区域 */}
{/* 品牌名称 */} 价值前沿 VALUE FRONTIER
{/* 特性描述 */}
智能投资决策平台{"\n"} 发现市场热点,把握投资机会
{/* 底部按钮区域 */} {/* 开始使用按钮 */} navigation.navigate("App")}> {({ isPressed }) => ( 开始使用 )} {/* 版本信息 */}
Version 1.0.0
); }; const styles = StyleSheet.create({ logoContainer: { shadowColor: '#D4AF37', shadowOffset: { width: 0, height: 0 }, shadowOpacity: 0.3, shadowRadius: 30, elevation: 10, }, logo: { width: 160, height: 160, }, brandText: { color: '#D4AF37', textShadowColor: 'rgba(212, 175, 55, 0.5)', textShadowOffset: { width: 0, height: 0 }, textShadowRadius: 20, }, primaryButton: { height: 56, borderRadius: 16, alignItems: 'center', justifyContent: 'center', shadowColor: '#D4AF37', shadowOffset: { width: 0, height: 4 }, shadowOpacity: 0.4, shadowRadius: 12, elevation: 8, }, }); export default Pro;