import 'react-native-gesture-handler'; import * as React from 'react'; import { useState } from 'react'; import { Alert, Button, Image, StyleSheet, Dimensions, SafeAreaView, ScrollView, TouchableOpacity, Modal, Pressable, Share } from 'react-native'; import Constants from 'expo-constants'; import { Ionicons, FontAwesome } from '@expo/vector-icons'; import { LinearGradient } from 'expo-linear-gradient'; import Swiper from 'react-native-swiper'; import { ShowProductItem, ItemComboSet, ItemComboSetProDetail } from '../components/product/productItem'; import { Table, TableWrapper, Row, Rows, Col, Cols, Cell } from 'react-native-table-component'; import YoutubePlayer from "react-native-youtube-iframe"; import { PolicyFooter, Social, ShowroomList, FooterInfo } from '../components/footer/footerMain'; import EditScreenInfo from '../components/EditScreenInfo'; import { Text, View, } from '../components/Themed'; import useColorScheme from '../hooks/useColorScheme'; import { TextInput } from 'react-native-gesture-handler'; export default function ProductDetail() { return ( Trang chủ Laptop, Máy Tính Xách Tay ) } const winWidth = Dimensions.get('window').width; //full width const winHeight = Dimensions.get('window').height; //full height const halfWinWidth = winWidth / 2; const ratio = winWidth / 500; //541 is actual image width const SliderImgDetail = () => { const imageSlider = [ { uri: 'https://hanoicomputercdn.com/media/product/52019_14zd90n_v_ax55a5.png', }, { uri: 'https://hanoicomputercdn.com/media/product/52019_laptop_lg_gram_14zd90n_v_ax55a5_i5_xam_04.jpg', }, { uri: 'https://hanoicomputercdn.com/media/product/52019_laptop_lg_gram_14zd90n_v_ax55a5_i5_xam_05.jpg', }, ] return ( { imageSlider.map((item, index) => { return ( ); }) } ) } const ContentTopDetail = () => { return ( Laptop LG Gram 14ZD90N-V.AX55A5 (i5 1035G7/8GB RAM/512GBSSD/14.0 inch FHD/FP/Xám Bạc) (model 2020) Mã sản phẩm TESTABCD Đánh giá: 26.000.000 đ (Giá đã bao gồm VAT) Giá thị trường: 30.000.000 đ (Tiết kiệm: 4.000.000 đ) Kho hàng: 129+131 Lê Thanh Nghị - HBT - Hà Nội 43 Thái Hà - Đống Đa - Hà Nội Bảo hành: 12 Tháng Lượt Xem: 12000 HOT Giảm thêm đến 200.000đ cho học sinh - sinh viên khi mua Laptop, PC nguyên chiếc(Không cộng gộp với khuyến mãi của PC lắp ráp) HOT Chính sách Bảo Hành Vàng dành cho doanh nghiệp Chương trình khuyến mại BỘ QUÀ TẶNG TRỊ GIÁ 1.600.000Đ + Chuột không dây Logitech M185 trị giá 249.000đ (MELO055) + Chuột không dây Logitech M185 trị giá 249.000đ (MELO055) + Chuột không dây Logitech M185 trị giá 249.000đ (MELO055) + Chuột không dây Logitech M185 trị giá 249.000đ (MELO055) + Chuột không dây Logitech M185 trị giá 249.000đ (MELO055) ) } function formatCurrency(price: string | number) { let priceConvert = parseFloat(`${price}`).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1.").toString(); let len = priceConvert.length; return priceConvert.substring(0, len - 3); } const ProductDetailConfigGroup = () => { const dataConfigGroup = [ { url: '/a', name: 'LG 14ZD90N-V.AX53A5 (RAM/256GB/Trắng)', price: 25000000, isCurrent: 1, }, { url: '/a', name: 'LG 14ZD90N-V.AX53A5 (RAM/512GB/Trắng)', price: 30000000, isCurrent: 0, }, { url: '/a', name: 'LG 14ZD90N-V.AX53A5 (RAM/256GB/Đen)', price: 27000000, isCurrent: 0, }, ] return ( Tùy chọn sản phẩm { dataConfigGroup.map((item, index) => ) } ) } const ConfigGroupItem = (props: { url: string, name: string, price: number, isCurrent: number }) => { const { url, name, price, isCurrent } = props; return ( { isCurrent == 1 ? : } {name} {formatCurrency(price)} đ ) } const ProductDetailDes = () => { return ( Giới thiệu sản phẩm Nội dung đang được cập nhật! ) } const ProductDetailSpec = () => { return ( Thông số kỹ thuật ) } const TableDetailSpec = () => { const tableData = { tableHead: ['', 'Head1', 'Head2', 'Head3'], tableTitle: ['Title', 'Title2', 'Title3', 'Title4'], tableData: [ ['1', '2', '3'], ['a', 'b', 'd'], ['1', '2', '3'], ['a', 'b', 'c'] ] } return (
) } const Comboset = () => { const dataProDetail = { id: 1, productName: 'Laptop LG Gram 14ZD90N-V.AX55A5 (i5 1035G7/8GB RAM/512GBSSD/14.0 inch FHD/FP/Xám Bạc) (model 2020)', productSKU: 'TESTSKU', productImage: { small: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', medium: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', large: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', original: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', }, price: 30000000, marketPrice: 50000000, quantity: 1, } const dataCombo = [ { id: 1, productName: 'Laptop LG Gram 14ZD90N-V.AX55A5 (i5 1035G7/8GB RAM/512GBSSD/14.0 inch FHD/FP/Xám Bạc) (model 2020)', productSKU: 'TESTSKU', productImage: { small: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', medium: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', large: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', original: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', }, price: 30000000, marketPrice: 50000000, quantity: 1, }, { id: 2, productName: 'Laptop LG Gram 14ZD90N-V.AX55A5 (i5 1035G7/8GB RAM/512GBSSD/14.0 inch FHD/FP/Xám Bạc) (model 2020)', productSKU: 'TESTSKU', productImage: { small: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', medium: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', large: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', original: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', }, price: 30000000, marketPrice: 50000000, quantity: 1, }, { id: 3, productName: 'Laptop LG Gram 14ZD90N-V.AX55A5 (i5 1035G7/8GB RAM/512GBSSD/14.0 inch FHD/FP/Xám Bạc) (model 2020)', productSKU: 'TESTSKU', productImage: { small: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', medium: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', large: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', original: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', }, price: 30000000, marketPrice: 50000000, quantity: 1, }, { id: 4, productName: 'Laptop LG Gram 14ZD90N-V.AX55A5 (i5 1035G7/8GB RAM/512GBSSD/14.0 inch FHD/FP/Xám Bạc) (model 2020)', productSKU: 'TESTSKU', productImage: { small: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', medium: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', large: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', original: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', }, price: 30000000, marketPrice: 50000000, quantity: 1, }, ] return ( Ưu đãi khi mua phụ kiện cùng Laptop LG Gram 14ZD90N-V.AX55A5 (i5 1035G7/8GB RAM/512GBSSD/14.0 inch FHD/FP/Xám Bạc) (model 2020) { dataCombo.map(item => ) } Tổng tiền: 79.000.000 đ 89.000.000 đ Mua thêm 0 sản phẩm ) } const ProductDetailVideo = () => { const [playing, setPlaying] = useState(false); const heightVideo = winWidth / 2 + 15; return ( Video Sản phẩm ) } const ProductDetailSameCategory = () => { const itemProductStyle = { width: halfWinWidth, borderBottomWidth: 1, borderBottomColor: '#e8e8e8', borderRightWidth: 1, borderRightColor: '#e8e8e8', } const productData = [ { id: 1, productName: 'Laptop LG Gram 14ZD90N-V.AX55A5 (i5 1035G7/8GB RAM/512GBSSD/14.0 inch FHD/FP/Xám Bạc) (model 2020)', productSKU: 'TESTSKU', productImage: { small: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', medium: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', large: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', original: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', }, price: 30000000, marketPrice: 50000000, quantity: 1, }, { id: 2, productName: 'Laptop LG Gram 14ZD90N-V.AX55A5 (i5 1035G7/8GB RAM/512GBSSD/14.0 inch FHD/FP/Xám Bạc) (model 2020)', productSKU: 'TESTSKU', productImage: { small: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', medium: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', large: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', original: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', }, price: 25000000, marketPrice: 50000000, quantity: 0, }, { id: 3, productName: 'Laptop LG Gram 14ZD90N-V.AX55A5 (i5 1035G7/8GB RAM/512GBSSD/14.0 inch FHD/FP/Xám Bạc) (model 2020)', productSKU: 'TESTSKU', productImage: { small: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', medium: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', large: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', original: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', }, price: 35000000, marketPrice: 50000000, quantity: 1, }, { id: 4, productName: 'Laptop LG Gram 14ZD90N-V.AX55A5 (i5 1035G7/8GB RAM/512GBSSD/14.0 inch FHD/FP/Xám Bạc) (model 2020)', productSKU: 'TESTSKU', productImage: { small: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', medium: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', large: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', original: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', }, price: 40000000, marketPrice: 50000000, quantity: 1, }, { id: 5, productName: 'Laptop LG Gram 14ZD90N-V.AX55A5 (i5 1035G7/8GB RAM/512GBSSD/14.0 inch FHD/FP/Xám Bạc) (model 2020)', productSKU: 'TESTSKU', productImage: { small: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', medium: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', large: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', original: 'https://hanoicomputercdn.com/media/product/120_52019_14zd90n_v_ax55a5.png', }, price: 30000000, marketPrice: 50000000, quantity: 1, }, ] return ( Lap top, máy tính xách tay { productData.map(item => ) } ) } const ProductDetailReview = () => { const dataReview = { summary: { total: 10, avgRate: 4, }, list: [ { custommerName: 'Hurasoft Test', date: 15 / 3 / 2021, content: 'Test bình luận thôi nhé', raply: [ { custommerName: 'Admin', date: 15 / 3 / 2021, content: 'Test trả lời thôi nhé', } ] }, { custommerName: 'Hurasoft Test', date: 15 / 3 / 2021, content: 'Test bình luận thôi nhé', raply: [ { custommerName: 'Admin', date: 15 / 3 / 2021, content: 'Test trả lời thôi nhé', } ] }, ] } const abc = [1, 2, 3, 4, 5] const bcd = { 1: 1, 2: 3, } return ( Bình luận về sản phẩm {dataReview.summary.avgRate}/5 Chia sẻ nhận xét về sản phẩm Alert.alert('show form review')}>Gửi đánh giá của bạn ) } type listItem = { rate: number, total: number, } const ListCounterRatingReviewItem = () => { const listRate = [ { rate: 5, total: 3 }, { rate: 4, total: 3 }, { rate: 3, total: 2 }, { rate: 2, total: 2 }, { rate: 1, total: 0 }, ] return ( { listRate.map((item, index) => {item.rate} {item.total} đánh giá ) } ) } const Rating = () => { const listRate = [1, 2, 3, 4, 5]; const listStatusRate = ['Không thích', 'Tạm được', 'Bình thường', 'Hài lòng', 'Rất hài lòng']; const [defaultRating, setDefaultRating] = useState(5); const [statusRating, setStatusRating] = useState(5); return ( Chọn đánh giá của bạn { listRate.map((item, index) => { return ( { setDefaultRating(item) setStatusRating(item) }} key={index}> { item <= defaultRating ? : } ) } ) } { listStatusRate.map((item, index) => { const key = index + 1; if (statusRating == key) { return ( {item} ) } }) } ) } const FormInputReview = () => { return ( Alert.alert('Chức năng up ảnh')}> Đính kèm ảnh Gửi đánh giá ) } const ProductDetailComment = () => { const [modalVisible, setModalVisible] = useState(false); return ( Alert.alert('Chức năng up ảnh')}> Đính kèm ảnh Quy định đăng bình luận setModalVisible(true)}> Gửi bình luận { setModalVisible(!modalVisible); }}> setModalVisible(!modalVisible)} style={styles.popupCmt}> setModalVisible(!modalVisible)}> Gửi đánh giá ) } const styles = StyleSheet.create({ container: { flex: 1, alignItems: 'center', justifyContent: 'center', backgroundColor: '#fff', }, title: { fontSize: 20, fontWeight: 'bold', }, brecrumb: { display: 'flex', width: winWidth, paddingLeft: 10, paddingRight: 10, flexDirection: 'row', height: 18, alignItems: 'center', marginTop: 10, marginBottom: 10, }, brecrumbText: { fontSize: 13, color: '#222', }, brecrumbTextLast: { fontSize: 13, color: '#b7b7b7', }, brecrumbIcon: { fontSize: 13, color: '#222', marginLeft: 6, marginRight: 6 }, sliderSwipperDetailBox: { width: winWidth, height: 500 * ratio, paddingHorizontal: 10, }, sliderSwipperDetail: { marginBottom: 20, }, imgSliderDetailItem: { height: winWidth - 20, width: winWidth - 20, position: 'relative', flexDirection: 'row', justifyContent: 'center', alignItems: 'center' }, imgSliderDetail: { height: winWidth - 20, width: winWidth - 20, maxHeight: winWidth - 20, maxWidth: winWidth - 20, }, boxContentTopDetail: { paddingHorizontal: 10, }, ProductDetailTitle: { marginVertical: 5, fontSize: 18, fontWeight: 'bold', }, ProductDetailSkuRate: { marginVertical: 14, display: 'flex', flexDirection: 'row' }, ProductDetailSku: { fontSize: 14, marginRight: 20, }, ProductDetailSkuText: { color: '#f00' }, ProductDetailRate: { fontSize: 14, }, ProductDetailRateImg: {}, ProductDetailBoxPrice: { backgroundColor: '#fcf8e4', padding: 10, borderRadius: 5, width: '100%', marginBottom: 10, }, backGroundBoxPrice: { backgroundColor: '#fcf8e4', }, ProductDetailPrice: { flexDirection: 'row', alignItems: 'baseline', paddingBottom: 5, }, ProductDetailBoxPriceText: { marginRight: 20, fontSize: 18, fontWeight: 'bold', color: '#f10000' }, ProductDetailBoxPriceVat: {}, ProductDetailOldPrice: { flexDirection: 'row', display: 'flex', flexWrap: 'wrap', paddingBottom: 10, }, ProductDetailOldPriceTitle: {}, ProductDetailOldPriceText: { fontWeight: 'bold', fontSize: 14, textDecorationLine: 'line-through', }, ProductDetailOldPriceDiscount: {}, ProductDetailConfig: {}, ProductDetailConfigTitle: { paddingBottom: 5, fontSize: 14, fontWeight: 'bold', }, ProductDetailConfigItem: { paddingBottom: 10, backgroundColor: '#fcf8e4', display: 'flex', flexDirection: 'column', width: '100%', }, ProductDetailConfigItemName: { paddingHorizontal: 10, paddingVertical: 10, paddingBottom: 5, display: 'flex', flexDirection: 'row', backgroundColor: '#fff', borderTopLeftRadius: 3, borderTopRightRadius: 3, alignItems: 'center', }, ProductDetailConfigItemIcon: { fontSize: 16, marginRight: 10, color: '#666' }, ProductDetailConfigItemIconCurent: { color: '#26b214', fontSize: 16, marginRight: 10, }, ProductDetailConfigItemNamePro: { fontSize: 14, }, ProductDetailConfigItemPrice: { paddingHorizontal: 10, paddingVertical: 10, paddingTop: 5, display: 'flex', flexDirection: 'row', backgroundColor: '#fff', borderBottomLeftRadius: 3, borderBottomRightRadius: 3, alignItems: 'center', fontSize: 15, color: '#d82a29', fontWeight: 'bold' }, ProductDetailBoxWarehouse: { marginBottom: 10, display: 'flex', flexDirection: 'column', }, ProductDetailBoxWarehouseTitle: { fontSize: 14, marginBottom: 5, }, ProductDetailBoxWarehouseList: { display: 'flex', flexDirection: 'column', }, ProductDetailBoxWarehouseItem: { fontSize: 14, marginBottom: 5, color: '#f00', display: 'flex', flexDirection: 'row', }, ProductDetailBoxWarehouseIcon: { color: '#26b214', marginRight: 5, }, ProductDetailMgb10: { marginBottom: 10, }, ProductDetailText14: { fontSize: 14, }, detailOfferFix: { display: 'flex', flexDirection: 'column', marginBottom: 10, }, detailOfferFixItem: { marginBottom: 10, display: 'flex', flexDirection: 'row', alignItems: 'flex-start', width: '100%' }, linearGradientHot: { width: 42, height: 24, display: 'flex', flexDirection: 'row', justifyContent: 'center', alignItems: 'center', borderRadius: 12, marginRight: 10, }, linearGradientHotText: { color: '#fff' }, detailOfferFixItemText: { width: winWidth - 72, }, detailOffer: { marginBottom: 20, display: 'flex', flexDirection: 'column' }, linearGradientOffer: { padding: 10, borderRadius: 3, marginBottom: 10, }, detailOfferTitle: { textTransform: 'uppercase', color: '#fff', fontSize: 14, }, detailOfferList: { padding: 10, backgroundColor: '#f1f1f1', borderRadius: 3, }, detailOfferItem: { marginBottom: 10, }, productDetailDes: { marginBottom: 20, paddingHorizontal: 10, }, productDetailDesTitle: { padding: 10, backgroundColor: '#243a76', borderRadius: 3, fontSize: 16, fontWeight: 'bold', color: '#fff', textTransform: 'uppercase', overflow: 'hidden', marginBottom: 10, }, productDetailDesContent: {}, productDetailSpec: { marginBottom: 20, paddingHorizontal: 10, }, productDetailSpecTitle: { padding: 10, backgroundColor: '#243a76', borderRadius: 3, fontSize: 16, fontWeight: 'bold', color: '#fff', textTransform: 'uppercase', overflow: 'hidden', marginBottom: 10, }, productDetailSpecContent: { display: 'flex', justifyContent: 'center', flexDirection: 'row', }, tableTitle: { height: 40, }, tableSpec: { width: winWidth - 20, }, row: { height: 28, }, col: { height: 28, }, tableWrapper: { flexDirection: 'row', display: 'flex', justifyContent: 'center' }, boxproductCombo: { width: winWidth, paddingHorizontal: 10, marginBottom: 20, }, boxproductComboTotalPrice: { display: 'flex', flexDirection: 'column', }, boxproductComboPrice: { marginTop: 5, fontSize: 18, fontWeight: 'bold', color: '#e00' }, boxproductComboPriceOld: { marginVertical: 5, fontSize: 18, fontWeight: 'bold', color: '#999', textDecorationLine: 'line-through' }, boxproductComboButtonBuy: { width: '100%', display: 'flex', flexDirection: 'row', height: 42, justifyContent: 'center', alignItems: 'center', backgroundColor: '#e00', marginTop: 5, }, boxproductComboBuyCount: { textTransform: 'uppercase', color: '#fff', fontSize: 16, fontWeight: 'bold', borderRadius: 3, }, productDetailVideo: { paddingHorizontal: 10, marginBottom: 20, }, videoDetail: { width: winWidth - 20, height: 300, }, bloxProductHome: { width: winWidth, marginBottom: 20, padding: 10, }, titleProductHome: { backgroundColor: '#243a76', fontSize: 15, paddingLeft: 10, paddingRight: 10, borderRadius: 3, lineHeight: 40, marginBottom: 5, textTransform: 'uppercase', fontWeight: '700', color: '#fff', overflow: 'hidden', }, listProductHomeBao: { overflow: 'hidden', }, listProductHome: { marginRight: -5, marginLeft: -5, }, boxProductReview: { paddingHorizontal: 10, marginBottom: 20, }, reviewRate: { borderWidth: 1, borderColor: '#e1e1e1', borderRadius: 5, padding: 10, display: 'flex', flexDirection: 'row', alignItems: 'center', marginBottom: 10, }, reviewRateTotal: { width: (winWidth - 20) / 2, flexDirection: 'row', alignItems: 'center', }, reviewRateTotalNum: { marginRight: 5, fontSize: 16, }, reviewRateTotalIcon: { fontSize: 16, }, reviewRateList: { }, reviewRateListItem: { flexDirection: 'row', alignItems: 'center', marginBottom: 10, }, reviewRateListItemNum: { flexDirection: 'row', alignItems: 'center', marginRight: 10, }, reviewRateListItemCount: { flexDirection: 'row', }, reviewRateListText: { }, reviewRateListIcon: {}, reviewRateListCount: { color: '#288ad6', fontWeight: 'bold', }, reviewRateListCountText: { color: '#288ad6', }, reviewButtonShowForm: { width: '100%', borderRadius: 5, borderWidth: 1, borderColor: '#288ad6', flexDirection: 'row', justifyContent: 'center', height: 46, alignItems: 'center', marginVertical: 10, }, reviewButtonShowFormText: { color: '#288ad6', }, reviewForm: {}, reviewFormContent: {}, reviewFormTitle: { marginRight: 10, }, ratingStyle: { flexDirection: 'row', alignItems: 'center', marginBottom: 8, }, ratingStyleStar: { marginHorizontal: 1, }, ratingStyleIcon: { fontSize: 16, color: '#dadada' }, ratingStyleIconActive: { fontSize: 16, color: '#ffa53f' }, ratingStyleText: { marginLeft: 8, lineHeight: 18, paddingHorizontal: 5, color: '#fff', backgroundColor: '#52b858' }, boxFormReview: { }, boxFormReviewContentText: { borderColor: '#e1e1e1', borderWidth: 1, borderRadius: 5, overflow: 'hidden', marginBottom: 10, }, boxFormReviewContent: { height: 100, padding: 10, borderBottomWidth: 1, borderBottomColor: '#e1e1e1' }, boxFormReviewFile: { padding: 10, flexDirection: 'row', alignItems: 'center', backgroundColor: '#f7f7f7' }, boxFormReviewFileIcon: { marginRight: 10, fontSize: 16, }, boxFormReviewFileText: { }, boxFormReviewInput: { borderColor: '#e1e1e1', borderWidth: 1, borderRadius: 5, overflow: 'hidden', marginBottom: 10, padding: 10, }, boxFormReviewSubmit: { width: '100%', borderRadius: 5, borderWidth: 1, borderColor: '#288ad6', flexDirection: 'row', justifyContent: 'center', height: 46, alignItems: 'center', marginVertical: 10, }, boxFormReviewSubmitText: { color: '#288ad6', }, boxFormComment: { paddingHorizontal: 10, marginBottom: 20, }, boxFormComentShowForm: { padding: 10, backgroundColor: '#f7f7f7', flexDirection: 'row', justifyContent: 'flex-end', }, boxFormComentShowFormButton: { padding: 10, width: 150, backgroundColor: '#288ad6', borderRadius: 5, flexDirection: 'row', justifyContent: 'center', }, boxFormComentShowFormButtonText: { textTransform: 'uppercase', color: '#fff', }, popupCmt: { flex: 1, justifyContent: 'center', alignItems: 'center', backgroundColor: 'rgba(0,0,0,0.5)', position: 'relative', zIndex: 1, }, popupCmtContent: { width: winWidth - 30, maxWidth: 300, maxHeight: 450, backgroundColor: '#fff', shadowColor: "#000", shadowOffset: { width: 0, height: 0, }, shadowOpacity: 2.22, shadowRadius: 2.22, elevation: 3, borderRadius: 5, position: 'relative', zIndex: 2, padding: 10, paddingTop: 20, }, popupCmtClose: { width: 30, height: 30, borderRadius: 15, position: 'absolute', right: -20, top: -30, shadowColor: "#000", shadowOffset: { width: 0, height: 0, }, shadowOpacity: 2.22, shadowRadius: 2.22, backgroundColor: '#fff', zIndex: 11, overflow: 'hidden', textAlign: 'center', lineHeight: 30, fontSize: 16, }, boxFormComentFileText: {}, })