import * as React from 'react';
import { useState } from 'react';
import { Alert, Button, Image, StyleSheet, Dimensions, SafeAreaView, ScrollView, TouchableOpacity, ImageBackground, Modal, Pressable } from 'react-native';
import { LinearGradient } from 'expo-linear-gradient';
import { Ionicons, FontAwesome } from '@expo/vector-icons';
import EditScreenInfo from '../components/EditScreenInfo';
import { Text, View } from '../components/Themed';
import { TextInput } from 'react-native-gesture-handler';
import { useNavigation } from '@react-navigation/native';
import Swiper from 'react-native-swiper';
import { Picker } from '@react-native-picker/picker';
import { RadioButton, Checkbox } from 'react-native-paper';
export default function ProductDetail() {
return (
);
}
const SliderImageProductDetail = () => {
const imageSlider = [
{
img: require('../assets/images/product.png'),
},
{
img: require('../assets/images/product.png'),
},
{
img: require('../assets/images/product.png'),
},
]
return (
{
imageSlider.map((item, index) => {
return ();
})
}
);
}
const DetailContentTop = () => {
const [openKhuyenMai, setOpenKhuyenMai] = useState(false);
const [openDacTinh, setOpenDacTinh] = useState(false);
const [openDichVu, setOpenDichVu] = useState(false);
const [openConFig, setOpenConFig] = useState(false);
return (
Điều hòa Super Fantastic Nagakawa NS–C(A)24SK15 - Hàng Chính Hãng
34
Giá sốc online
4.100.000đ
4.500.000đ
-30%
Đã bán 6
Đã bán
6
/ 30 sản phẩm
Kết thúc trong
04
Giờ
:
08
Phút
:
56
Giây
Khuyến mãi
Quà tặng trị giá 3.800.000
setOpenKhuyenMai(true)} style={styles.boxDetailContentTopButton}>
Đặc tính
Mã sản phẩm, Tình trạng
setOpenDacTinh(true)} style={styles.boxDetailContentTopButton}>
Dịch vụ
Mã sản phẩm, Tình trạng
setOpenDichVu(true)} style={styles.boxDetailContentTopButton}>
Lựa chọn
Công xuất làm lạnh
setOpenConFig(true)} style={styles.boxDetailContentTopButton}>
{ setOpenKhuyenMai(!openKhuyenMai); }}>
setOpenKhuyenMai(!openKhuyenMai)} style={styles.popDetailContentBg}>
Khuyến mại
setOpenKhuyenMai(!openKhuyenMai)}>
Khuyến mãi trị giá 3.880.000đ. Áp dụng đến 30/3/2021
Tặng Máy xay thịt Elmich hoặc Máy xay thịt đa năng Z-000207
Tặng Máy xay thịt Elmich hoặc Máy xay thịt đa năng Z-000207
{ setOpenDacTinh(!openDacTinh); }}>
setOpenDacTinh(!openDacTinh)} style={styles.popDetailContentBg}>
Đặc tính
setOpenDacTinh(!openDacTinh)}>
Mã sản phẩm
NS-A18BL
Tình trạng
Còn hàng
{ setOpenDichVu(!openDichVu); }}>
setOpenDichVu(!openDichVu)} style={styles.popDetailContentBg}>
Dịch vụ
setOpenDichVu(!openDichVu)}>
Hàng chính hãng
Sản phẩm chính hãng 100%
Bảo hành 24 tháng
Trả bảo hành tận nơi sử dụng
Giao hàng toàn quốc
Giao hàng tận nơi trong vòng 24 giờ trong phạm vi bán kính 20Km
Đổi trả hàng miễn phí
Đổi trả hàng miễn phí trong 7 ngày
{ setOpenConFig(!openConFig); }}>
setOpenConFig(!openConFig)} style={styles.popDetailContentBg}>
Lựa chọn
setOpenConFig(!openConFig)}>
Chọn công xuất làm lạnh
1HP
19.990.000đ
1.6HP
20.990.000đ
2HP
22.990.000đ
Số lượng
+
-
)
}
const BuyComboDetail = () => {
const [checked, setChecked] = React.useState(false);
return (
Sản phẩm thường được mua cùng
setChecked(!checked)} />
Ấm Siêu Tốc Nagakawa NAG0308
1.292.000đ
setChecked(!checked)} />
Ấm Siêu Tốc Nagakawa NAG0308
1.292.000đ
setChecked(!checked)} />
Ấm Siêu Tốc Nagakawa NAG0308
1.292.000đ
Tổng Tiền
10.338.000đ
10.738.000đ
Thêm tất cả vào giỏ hàng
1 sản phẩm được chọn
)
}
const ProductDetailSpec = () => {
const [showAllSpec, setShowAllSpec] = useState(true);
return (
Thông số kỹ thuật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
setShowAllSpec(!showAllSpec)} style={styles.boxProductDetailSpecVnButton}>
{
showAllSpec
? Xem thêm
: Rút gọn
}
{
showAllSpec
?
:
}
)
}
const ProductDetailDes = () => {
const [showAllDes, setShowAllDes] = useState(true);
return (
Mô tả sản phẩm
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
Nội dung đang được cập nhật
setShowAllDes(!showAllDes)} style={styles.boxProductDetailSpecVnButton}>
{
showAllDes
? Xem thêm
: Rút gọn
}
{
showAllDes
?
:
}
)
}
const ProductReview = () => {
return (
Đánh giá & Nhận xét
Xem tất cả
4.5
/5
Q
Quân
Đã mua hàng
Nhận hàng cực nhanh, đóng gói đẹp.
Trả lời
| 22/2/2021
Đức Hào
QTV
Cảm ơn bạn đã mua hàng của chúng tôi.
)
}
const ProductDetailComment = () => {
const [openPopCmt, setOpenPopCmt] = useState(false)
return (
Hỏi và đáp (3)
Xem tất cả
Q
Quân
Sản phẩm này còn không shop?
Đức Hào: Chào bạn, nhân viên sẽ liên hệ lại tư vấn cho bạn ạ.
setOpenPopCmt(true)} style={styles.commentSubmitButton}>
Đặt câp hỏi
{ setOpenPopCmt(!openPopCmt); }}>
setOpenPopCmt(!openPopCmt)} style={styles.popDetailContentBg}>
Đặt câu hỏi
setOpenPopCmt(!openPopCmt)}>
Gửi câu hỏi
)
}
const ProductCompare = () => {
return (
So sánh sản phẩm tương đương
Nồi áp suất inox 304 cao cấp Nagakawa NAG1452 (5L)
1.292.000đ
1.634.000đ
-30%
Công suất: 1.0HP - 9000 BTU
Chế độ vận hành khi ngủ
Loại máy lạnh: 2 chiều
Xem so sánh chi tiết
Nồi áp suất inox 304 cao cấp Nagakawa NAG1452 (5L)
1.292.000đ
1.634.000đ
-30%
Công suất: 1.0HP - 9000 BTU
Chế độ vận hành khi ngủ
Loại máy lạnh: 2 chiều
Xem so sánh chi tiết
Nồi áp suất inox 304 cao cấp Nagakawa NAG1452 (5L)
1.292.000đ
1.634.000đ
-30%
Công suất: 1.0HP - 9000 BTU
Chế độ vận hành khi ngủ
Loại máy lạnh: 2 chiều
Xem so sánh chi tiết
)
}
const ProductDetailFixBot = () => {
return (
Mua trả góp
Thủ tục đơn giản
Mua ngay
4.100.000đ
)
}
const winWidth = Dimensions.get('window').width; //full width
const winHeight = Dimensions.get('window').height; //full height
const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
},
sliderImgDetail: {
width: winWidth,
marginBottom: 20,
},
sliderSwipperImgDetail: {
height: winWidth,
},
itemSliderImgDetail: {
width: winWidth,
height: winWidth,
position: 'relative',
overflow: 'hidden',
},
imgSliderImgDetail: {
position: 'absolute',
width: winWidth,
height: winWidth,
top: 0,
left: 0,
right: 0,
bottom: 0,
},
boxFlastSaleHomeFirstAllPrice: {
width: '100%',
flexDirection: 'row',
marginBottom: 10,
},
boxFlastSaleHomeFirstPrice: {
width: '50%',
paddingRight: 5,
},
boxFlastSaleHomeFirstPriceName: {
fontSize: 14,
fontWeight: 'bold',
marginBottom: 8,
},
boxFlastSaleHomeFirstPriceText: {
fontSize: 22,
fontWeight: 'bold',
color: '#D8262F'
},
boxFlastSaleHomeFirstPriceOld: {
width: '50%',
paddingLeft: 5,
},
boxFlastSaleHomeFirstOldPrice: {
fontSize: 16,
fontWeight: 'bold',
textDecorationLine: 'line-through',
marginBottom: 2,
},
boxFlastSaleHomeFirstDiscount: {
paddingVertical: 5,
backgroundColor: '#D8262F',
width: 60,
textAlign: 'center',
color: '#fff',
borderRadius: 5,
overflow: 'hidden'
},
boxFlastSaleHomeFirstSaleQuan: {
width: '100%',
flexDirection: 'row',
alignItems: 'center',
paddingBottom: 10,
borderBottomWidth: 1,
borderBottomColor: '#e1e1e1',
marginBottom: 10,
},
boxFlastSaleHomeFirstSaleQuanLeft: {
width: '50%',
paddingRight: 5,
},
boxFlastSaleHomeFirstSaleQuanLeftCt: {
width: '100%',
height: 15,
borderRadius: 7.5,
backgroundColor: '#FFE2E2',
position: 'relative',
},
boxFlastSaleHomeFirstSaleQuanLeftDown: {
position: 'absolute',
width: '20%',
top: 0,
left: 0,
backgroundColor: '#D8262F',
zIndex: 2,
height: 15,
borderRadius: 7.5,
},
boxFlastSaleHomeFirstSaleQuanLeftText: {
marginLeft: 10,
fontSize: 10,
color: '#fff',
lineHeight: 15,
position: 'relative',
zIndex: 5,
},
boxFlastSaleHomeFirstSaleQuanRight: {
width: '50%',
paddingLeft: 5,
},
boxFlastSaleHomeFirstSaleQuanRightCt: {
flexDirection: 'row',
alignItems: 'center'
},
boxFlastSaleHomeFirstSaleQuanRightText: {
fontSize: 13,
},
boxFlastSaleHomeFirstSaleQuanRightTextRed: {
fontSize: 13,
color: '#D8262F',
marginHorizontal: 5,
},
boxFlastSaleHomeFirstTime: {
width: '100%',
flexDirection: 'row',
alignItems: 'center',
},
boxFlastSaleHomeFirstTimeTitle: {
fontSize: 14,
width: 100,
},
boxFlastSaleHomeFirstTimeList: {
width: winWidth - 120,
flexDirection: 'row',
alignItems: 'center',
},
boxFlastSaleHomeFirstTimeItem: {
width: 48,
backgroundColor: '#3B3B3B',
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
borderRadius: 10,
},
boxFlastSaleHomeFirstItemCt: {
height: 34,
backgroundColor: 'rgba(0,0,0,0)',
width: '100%',
borderBottomColor: 'rgba(255,255,255,0.3)',
borderBottomWidth: 1,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center',
},
boxFlastSaleHomeFirstTimeNum: {
fontSize: 22,
fontWeight: 'bold',
color: '#fff',
},
boxFlastSaleHomeFirstTimeText: {
height: 30,
lineHeight: 30,
textTransform: 'uppercase',
color: '#fff',
},
boxFlastSaleHomeFirstTimeTextChia: {
marginHorizontal: 10,
fontSize: 24,
},
boxDetailContentTop: {
width: winWidth,
backgroundColor: '#f2f2f2'
},
boxDetailContentTopSt: {
width: winWidth,
padding: 10,
marginBottom: 10,
},
boxDetailContentName: {
fontSize: 18,
fontWeight: '500',
marginBottom: 10,
},
boxDetailContentTopRate: {
flexDirection: 'row',
marginBottom: 10,
justifyContent: 'space-between',
alignItems: 'center',
},
boxDetailContentTopShare: {},
boxDetailContentTopShareIcon: {
fontSize: 18,
},
boxDetailContentTopShowPop: {
width: winWidth,
padding: 10,
marginBottom: 10,
flexDirection: 'row',
alignItems: 'center',
},
boxDetailContentTopTextBold: {
width: 100,
fontSize: 16,
fontWeight: 'bold',
},
boxDetailContentTopText: {
width: winWidth - 160,
},
boxDetailContentTopButton: {
width: 40,
height: 40,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'flex-end',
},
boxDetailContentTopButtonIcon: {
fontSize: 26,
},
boxDetailContentTopShowPopNd: {
width: winWidth,
paddingHorizontal: 10,
},
boxDetailContentTopShowPopNdCt: {
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
paddingVertical: 10,
borderBottomColor: '#e1e1e1',
borderBottomWidth: 1,
},
boxDetailContentTopShowPopNdCtLeft: {
width: winWidth - 60,
},
boxDetailContentTopShowPopNdCtTb: {
fontSize: 16,
fontWeight: 'bold',
marginBottom: 5,
},
boxDetailContentTopShowPopNdCtT: {
fontSize: 14,
color: '#888888'
},
boxDetailContentTopShowPopNdCtImgCt: {
flexDirection: 'row',
alignItems: 'flex-end'
},
boxDetailContentTopShowPopNdCtImg: {
marginRight: 10,
},
popDetail: {
flex: 1,
backgroundColor: 'rgba(0,0,0,0)',
},
popDetailContentBg: {
width: winWidth,
height: 180,
backgroundColor: 'rgba(0,0,0,0.5)',
},
popDetailClose: {
width: 40,
height: 40,
fontSize: 20,
lineHeight: 40,
textAlign: 'center',
},
headerPopDetail: {
width: winWidth,
padding: 10,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
},
headerPopDetailText: {
width: winWidth - 60,
textAlign: 'center',
fontSize: 16,
fontWeight: 'bold',
},
red: {
color: '#D8262F',
},
popDetailList: {
width: winWidth,
padding: 10,
height: winHeight - 220,
},
itemKm: {
flexDirection: 'row',
alignItems: 'center',
marginBottom: 10,
},
itemKmImg: {
width: 24,
height: 24,
marginRight: 10,
position: 'relative',
},
itemKmImgCt: {
width: '100%',
position: 'absolute',
top: 0,
left: 0,
right: 0,
bottom: 0,
},
itemKmText: {
width: winWidth - 45,
},
itemKmTextLine: {
width: '100%',
marginBottom: 10,
},
dacTinhItem: {
marginBottom: 10,
},
dacTinhItemText: {
marginBottom: 5,
},
dacTinhItemCt: {
flexDirection: 'row',
alignItems: 'center'
},
dacTinhItemCtIcon: {
marginRight: 5,
color: '#888'
},
dacTinhItemCtText: {
color: '#A1A1A1'
},
green: {
color: '#008445'
},
dichVuItem: {
marginBottom: 10,
flexDirection: 'row',
alignItems: 'center',
},
dichVuItemImg: {
width: 50,
marginRight: 10,
},
dichVuItemImgCt: {
maxWidth: '100%'
},
dichVuItemText: {
width: winWidth - 80,
},
dichVuItemTextSt: {
fontSize: 14,
marginBottom: 2,
},
dichVuItemTextNd: {
fontSize: 14,
color: '#888'
},
listConFig: {
marginBottom: 10,
paddingBottom: 20,
borderBottomWidth: 1,
borderBottomColor: '#e1e1e1',
},
listConFigName: {
marginBottom: 10,
},
listConFigList: {
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
flexWrap: 'wrap',
},
conFigItem: {
width: (winWidth - 50) / 3,
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
padding: 10,
borderWidth: 1,
borderColor: '#C9C9C9',
borderRadius: 8,
position: 'relative',
},
conFigItemActive: {
borderColor: '#D8262F',
},
conFigName: {
fontWeight: '500',
},
conFigItemActiveBg: {
width: 16,
height: 16,
position: 'absolute',
bottom: 0,
right: 0,
backgroundColor: 'rgba(0,0,0,0)'
},
conFigItemActiveBgImg: {
width: '100%',
height: '100%',
},
conFigItemActiveBgIcon: {
fontSize: 10,
color: '#fff',
position: 'absolute',
top: 5,
right: 0,
},
conFigNamePrice: {},
selecCount: {
flexDirection: 'row',
alignItems: 'center',
},
selecCountText: {
width: '50%',
fontSize: 14,
},
selecCountContent: {
width: '50%',
flexDirection: 'row',
justifyContent: 'flex-end',
alignItems: 'center',
},
selecCountButton: {
width: 40,
height: 40,
flexDirection: 'row',
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#DFDFDF',
},
selecCountButtonText: {
fontSize: 24,
},
selecCountInput: {
width: 60,
height: 40,
textAlign: 'center',
backgroundColor: '#f2f2f2',
fontSize: 22,
},
comboDetail: {
width: winWidth,
padding: 10,
marginBottom: 10,
},
comboDetailText: {
marginBottom: 20,
fontSize: 16,
fontWeight: 'bold'
},
comboDetailList: {
width: '100%',
paddingBottom: 20,
marginBottom: 20,
borderBottomWidth: 1,
borderBottomColor: '#e1e1e1',
},
comboDetailItem: {
width: 180,
marginRight: 20,
},
comboDetailItemImg: {
width: 180,
height: 180,
position: 'relative',
marginBottom: 10,
},
comboDetailItemImgCt: {
width: '100%',
height: '100%',
position: 'absolute',
top: 0,
left: 0,
right: 0,
bottom: 0,
},
comboDetailItemInfo: {
width: '100%',
flexDirection: 'row',
marginBottom: 15,
},
comboDetailItemCheck: {
width: 36,
height: 36,
marginRight: 10,
backgroundColor: '#f2f2f2',
borderRadius: 3,
},
comboDetailItemName: {
width: 134,
},
comboDetailItemPrice: {
width: '100%',
textAlign: 'center',
color: '#D8262F',
fontSize: 14,
fontWeight: 'bold',
},
comboDetailBuy: {},
comboDetailBuyPrice: {
flexDirection: 'row',
alignItems: 'flex-end',
justifyContent: 'center',
marginBottom: 10,
},
comboDetailBuyPriceText: {
marginRight: 10,
},
comboDetailBuyPriceTotal: {
color: '#D8262F',
fontWeight: 'bold',
marginRight: 10,
},
comboDetailBuyPriceOldTotal: {
color: '#888',
textDecorationLine: 'line-through',
},
comboDetailBuyButton: {
width: '100%',
height: 40,
borderRadius: 10,
backgroundColor: '#D8262F',
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center',
marginBottom: 10,
},
comboDetailBuyButtonText: {
fontSize: 16,
fontWeight: 'bold',
textTransform: 'uppercase',
color: '#fff'
},
comboDetailBuyCount: {
width: '100%',
textAlign: 'center',
},
boxProductDetailSpec: {
width: winWidth,
padding: 10,
marginBottom: 10,
},
boxProductDetailSpecTitle: {
fontSize: 16,
fontWeight: 'bold',
marginBottom: 15,
},
boxProductDetailSpecContent: {
width: '100%',
maxHeight: 100,
overflow: 'hidden',
},
boxProductDetailSpecContentActive: {
maxHeight: 'auto',
},
boxProductDetailSpecVn: {
width: '100%',
marginTop: 15,
flexDirection: 'row',
justifyContent: 'center',
},
boxProductDetailSpecVnButton: {
width: 100,
flexDirection: 'row',
justifyContent: 'center',
height: 30,
alignItems: 'center',
},
boxProductDetailSpecVmText: {
color: '#D8262F',
marginRight: 10,
},
boxProductDetailSpecVmIcon: {
color: '#D8262F'
},
boxProductReview: {
width: winWidth,
padding: 10,
marginBottom: 10,
},
boxProductReviewHeader: {
flexDirection: 'row',
justifyContent: 'space-between',
alignItems: 'center',
marginBottom: 10,
},
boxProductReviewHeaderTitle: {
fontSize: 16,
fontWeight: 'bold',
},
boxProductReviewHeaderTitleVm: {
flexDirection: 'row',
alignItems: 'center',
},
boxProductReviewHeaderTitleVMText: {
fontSize: 12,
fontWeight: '500',
marginRight: 5,
color: '#D8262F',
},
boxProductReviewHeaderTitleVmIcon: {
color: '#D8262F',
},
boxProductReviewHeaderRate: {
flexDirection: 'row',
alignItems: 'center',
paddingBottom: 20,
marginBottom: 20,
borderBottomColor: '#e1e1e1',
borderBottomWidth: 1,
},
boxProductReviewHeaderRateCt: {
flexDirection: 'row',
marginRight: 20,
alignItems: 'flex-end'
},
boxProductReviewHeaderRateTotal: {
fontWeight: '500',
fontSize: 18,
},
boxProductReviewHeaderRateAll: {
color: '#777',
},
boxProductReviewHeaderRateImg: {},
reviewList: {},
reviewItem: {
marginBottom: 20,
},
reviewItemHeader: {
flexDirection: 'row',
alignItems: 'center',
marginBottom: 10,
},
reviewItemHeaderNameSort: {
width: 24,
height: 24,
borderRadius: 3,
textAlign: 'center',
lineHeight: 24,
backgroundColor: '#DFDFDF',
fontSize: 16,
fontWeight: 'bold',
color: '#777777',
overflow: 'hidden',
marginRight: 8,
},
reviewItemHeadername: {
fontSize: 14,
fontWeight: 'bold',
marginRight: 8,
},
reviewItemHeaderBuy: {
flexDirection: 'row',
alignItems: 'center',
marginRight: 8,
},
reviewItemHeaderBuyIcon: {
marginRight: 3,
color: '#19B000',
},
reviewItemHeaderBuyText: {
color: '#19B000',
},
reviewItemHeaderStar: {},
reviewItemCt: {
width: '100%',
marginBottom: 10,
},
reviewItemContent: {
marginBottom: 10,
},
reviewItemContentImg: {
width: '100%',
flexDirection: 'row',
alignItems: 'center',
flexWrap: 'wrap',
},
reviewItemImg: {
maxWidth: 64,
maxHeight: 64,
marginRight: 10,
},
reviewItemOther: {
flexDirection: 'row',
alignItems: 'center',
marginBottom: 10,
},
reviewItemOtherButton: {
flexDirection: 'row',
alignItems: 'center',
marginRight: 10,
},
reviewItemOtherButtonIcon: {
fontSize: 12,
color: '#D8262F',
marginRight: 5,
},
reviewItemOtherButtonText: {
fontSize: 12,
color: '#D8262F',
fontWeight: '700',
},
reviewItemOtherTime: {
fontSize: 12,
color: '#888888',
},
reviewItemReplyList: {
width: '100%',
padding: 10,
backgroundColor: '#F1F1F1',
borderRadius: 5,
position: 'relative',
},
reviewItemReplyListBefore: {
fontSize: 24,
position: 'absolute',
left: 20,
top: -16,
zIndex: 1,
color: '#F1F1F1',
},
reviewItemReplyItem: {
width: '100%',
marginBottom: 10,
backgroundColor: 'rgba(0,0,0,0)',
},
reviewItemReplyItemHeader: {
flexDirection: 'row',
alignItems: 'center',
backgroundColor: 'rgba(0,0,0,0)',
marginBottom: 10,
},
reviewItemReplyItemHeaderLogo: {
width: 24,
height: 24,
backgroundColor: '#D8262F',
borderRadius: 5,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center',
marginRight: 10,
},
reviewItemReplyItemHeaderLogoImg: {},
reviewItemReplyItemHeaderName: {
fontWeight: 'bold',
marginRight: 10,
},
reviewItemReplyItemHeaderQtv: {
paddingHorizontal: 8,
paddingVertical: 3,
backgroundColor: '#D8262F',
color: '#fff',
borderRadius: 3,
overflow: 'hidden',
fontSize: 10,
},
reviewItemReplyItemCt: {
backgroundColor: 'rgba(0,0,0,0)',
},
reviewItemReplyItemContent: {},
boxProductDetailComment: {
width: winWidth,
padding: 10,
marginBottom: 10,
},
commentList: {},
commentItem: {
marginBottom: 10,
},
commentItemHeader: {
flexDirection: 'row',
alignItems: 'center',
marginBottom: 10,
},
commentItemHeaderLogo: {
width: 32,
height: 28,
position: 'relative',
borderRadius: 3,
backgroundColor: '#D8262F',
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center',
marginRight: 10,
},
commentItemHeaderLogoText: {
fontSize: 18,
fontWeight: 'bold',
color: '#fff'
},
commentItemHeaderIcon: {
fontSize: 24,
color: '#D8262F',
zIndex: 1,
position: 'absolute',
left: 0,
bottom: -12,
},
commentItemHeadername: {
fontWeight: 'bold',
},
commentItemCt: {
marginTop: 5,
marginBottom: 10,
},
commentItemCtText: {},
commentItemRep: {
marginBottom: 10,
},
commentItemRepText: {
color: '#888'
},
commentSubmit: {
paddingTop: 10,
borderTopColor: '#e1e1e1',
borderTopWidth: 1,
flexDirection: 'row',
justifyContent: 'center',
},
commentSubmitButton: {},
commentSubmitText: {
color: '#D8262F',
fontWeight: '500',
},
popArea: {
width: '100%',
height: 110,
borderWidth: 1,
padding: 10,
borderColor: '#e1e1e1',
marginBottom: 10,
borderRadius: 5,
},
popInput: {
width: '100%',
height: 40,
borderWidth: 1,
paddingHorizontal: 10,
borderColor: '#e1e1e1',
marginBottom: 10,
borderRadius: 5,
},
popSubmit: {
width: '100%',
height: 40,
paddingHorizontal: 10,
marginBottom: 10,
borderRadius: 5,
backgroundColor: '#D8262F',
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center',
},
popSubmitText: {
textTransform: 'uppercase',
color: '#fff'
},
pContainer: {
width: '100%',
padding: 10,
},
pImgContent: {
width: '100%',
position: 'relative',
paddingTop: '100%',
marginBottom: 10,
},
pNew: {
width: 24,
height: 18,
position: 'absolute',
zIndex: 6,
top: 0,
left: 0,
},
pImg: {
width: '100%',
position: 'absolute',
zIndex: 5,
top: 0,
left: 0,
right: 0,
bottom: 0,
},
pTraGop: {
width: 68,
height: 16,
position: 'absolute',
zIndex: 6,
bottom: 0,
left: '50%',
transform: [{ translateX: -34 }],
},
pInfo: {
width: '100%',
},
pName: {
width: '100%',
fontSize: 14,
marginBottom: 10,
},
pPrice: {
width: '100%',
fontSize: 18,
marginBottom: 10,
color: '#D8262F',
fontWeight: 'bold',
},
pAllSale: {
width: '100%',
flexDirection: 'row',
alignItems: 'center',
marginBottom: 10,
},
pOldPrice: {
color: '#A1A1A1',
fontSize: 14,
textDecorationLine: 'line-through',
},
pDiscount: {
paddingVertical: 5,
backgroundColor: '#D8262F',
width: 50,
textAlign: 'center',
color: '#fff',
borderRadius: 5,
overflow: 'hidden',
marginLeft: 5,
},
pOffer: {
flexDirection: 'row',
alignItems: 'center',
},
pOfferText: {
fontSize: 10,
color: '#A1A1A1',
},
pOfferPrice: {
fontSize: 10,
color: '#D8262F',
},
boxProductCompare: {
width: winWidth,
padding: 10,
marginBottom: 10,
},
boxProductCompareTitle: {
fontSize: 16,
marginBottom: 15,
fontWeight: 'bold',
},
boxProductCompareList: {},
boxProductCompareItem: {
width: 180,
marginRight: 10,
},
boxProductCompareSummary: {
marginBottom: 10,
},
boxProductCompareSummaryText: {
fontSize: 11,
color: '#888888'
},
boxProductCompareButton: {},
boxProductCompareButtonText: {
fontSize: 11,
color: '#19B000',
},
boxFixDetail: {
width: winWidth,
padding: 10,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
},
boxFixDetailWishList: {
width: 40,
height: 40,
backgroundColor: '#DFDFDF',
borderRadius: 8,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center',
},
boxFixDetailWishListIcon: {
fontSize: 24,
},
boxFixDetailBuyGop: {
width: (winWidth - 80) / 2,
height: 40,
backgroundColor: '#008445',
borderRadius: 8,
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
},
boxFixDetailBuyTextSt: {
textTransform: 'uppercase',
color: '#fff',
fontWeight: 'bold',
},
boxFixDetailBuyTextNd: {
fontSize: 10,
color: '#fff'
},
boxFixDetailBuyNow: {
width: (winWidth - 80) / 2,
height: 40,
backgroundColor: '#D8262F',
borderRadius: 8,
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
},
});