import React, { useState } from "react"; import { useNavigation, NavigationProp } from "@react-navigation/native"; import AppLayout from "@layouts/AppLayout"; import { View, Text, StyleSheet, Image, FlatList, TouchableOpacity, ScrollView, Dimensions, } from "react-native"; import { globalStyles } from "styles/globalStyles"; import { Ionicons } from "@expo/vector-icons"; import Feather from "@expo/vector-icons/Feather"; import Swiper from "react-native-swiper"; const { width } = Dimensions.get("window"); import ProductGallery from "@components/product/ProductGallery"; import SupplierList from "./SupplierList"; import ReviewSection from "./BoxReview"; import ProductInformation from "./ProductInformation"; import ProductSpecification from "./ProductSpecification"; import { products } from "../../data/product"; import ProductItem from "@components/product/ItemProduct"; const ProductDetail = () => { const navigation = useNavigation>(); return ( {/* Breadcrumb */} navigation.navigate("homepage" as never)} > Màn hình máy tính Laptop Gaming Asus TUF FX505GE-BQ037T Core i7-8750H/Win10(15.6" FHD) - Hàng Chính Hãng 5/5 120 12/03/2025 Chia sẻ Reviews trên: Internet - 1233 đánh giá | BestPC - 12003 đánh giá Giá: 9.000.000đ - 12.000.000đ icon store Có 12 cửa hàng bán • CPU: Intel Core i7-8750H (2.2GHz - 4.1GHz / 9MB / 6 nhân, 12 luồng) • Màn hình: 15.6" (1920 x 1080), không cảm ứng • RAM: 1 x 8GB DDR4 2666MHz • GPU: Intel UHD 630 / NVIDIA GTX 1050Ti 4GB • Lưu trữ: 128GB SSD M.2 NVMe / 1TB HDD • OS: Windows 10 Home SL 64-bit • Pin: 4 cell 64Wh, liền • Nặng: 2.5kg • Cổng: 1x USB 2.0,... Lưu sản phẩm lại xem sau {/* nhà cung cấp */} {/* đánh giá */} {/* mô tả sản phẩm */} {/* thông số sản phẩm */} {/* sản phẩm tương tự */} Sản phẩm tương tự {products.map((item) => ( ))} Xem tất cả {/* sản phẩm bạn thích */} Sản phẩm có thể bạn thích {products.map((item) => ( ))} Xem tất cả ); }; export default ProductDetail; const styles = StyleSheet.create({ container: { flex: 1, paddingHorizontal: 10, backgroundColor: "#efefef", paddingBottom: 10, }, top: {}, bigSwiper: { height: 250, }, slide: { justifyContent: "center", alignItems: "center", height: 250, }, bigImage: { width: "100%", height: "100%", }, thumbnailWrapper: { marginTop: 12, flexDirection: "row", }, thumbItem: { marginRight: 10, }, thumbImage: { width: 60, height: 60, borderWidth: 1, borderColor: "#ccc", borderRadius: 8, }, bottom: { marginTop: 20, }, productTitle: { fontSize: 16, fontWeight: "bold", color: "#000", marginBottom: 10, }, row: { flexDirection: "row", flexWrap: "wrap", marginBottom: 5, gap: 10, }, review: { marginRight: 10 }, view: { marginRight: 10, color: "#1877f2" }, date: { marginRight: 10 }, share: {}, link: { color: "#1877F2", fontWeight: "600", }, priceBox: { flexDirection: "row", alignItems: "center", marginVertical: 10, }, priceLabel: { fontSize: 16 }, price: { fontSize: 24, color: "#D80A00", fontWeight: "bold", }, storeBox: { flexDirection: "row", alignItems: "center", marginBottom: 10, }, summaryBox: { marginTop: 10, }, saveButton: { flexDirection: "row", alignItems: "center", marginTop: 15, padding: 10, borderWidth: 1, borderColor: "#D3D3D3", borderRadius: 4, justifyContent: "center", }, saveIcon: { width: 18, height: 24, marginRight: 10, }, saveText: { fontSize: 16, fontWeight: "600", }, boxStore: { flexDirection: "row", alignItems: "center", marginTop: 5, }, boxIconStore: { width: 24, height: 24, borderRadius: 25, backgroundColor: "#FF7A00", flexDirection: "row", justifyContent: "center", alignItems: "center", marginRight: 5, }, iconStore: { width: 18, height: 18, }, storeName: { fontSize: 14, fontWeight: 400, color: "#000", }, BoxSimilarProduct: { backgroundColor: "#fff", marginTop: 15, borderRadius: 8, }, textSimilarProduct: { flexDirection: "row", justifyContent: "space-between", borderBottomWidth: 1, borderBottomColor: "#B1B1B1", padding: 10, fontSize: 16, fontWeight: "bold", }, listProductSimilar: { flexDirection: "row", flexWrap: "wrap", gap: 5, marginLeft: 7, marginTop: 10, }, BoxLikeProduct: { backgroundColor: "#fff", marginTop: 15, borderRadius: 8, }, textLikeProduct: { flexDirection: "row", justifyContent: "space-between", borderBottomWidth: 1, borderBottomColor: "#B1B1B1", padding: 10, fontSize: 16, fontWeight: "bold", }, listProductLike: { flexDirection: "row", flexWrap: "wrap", gap: 5, marginTop: 10, marginLeft: 7, }, });