// 会员权益 import { View, Text, StyleSheet, ImageBackground, ScrollView, Image, TouchableOpacity, } from "react-native"; import widthUtils from "../../utils/widthUtils"; import fontSize from "../../utils/fontsizeUtils"; import WatchAppIcon from "../../components/WatchAppIcon"; import CrownIcon from "../../components/CrownIcon"; import BookLabIcon from "../../components/BookLabIcon"; import { useNavigation } from "@react-navigation/native"; import { NativeStackNavigationProp } from "@react-navigation/native-stack"; import useUserStore from "../../store/user"; import BackIcon from "../../components/BackIcon"; type RootStackParamList = { Balance: undefined; }; export const MemberIntroduction = () => { const navigation = useNavigation>(); const userStore = useUserStore(); return ( navigation.goBack()}> 会员介绍 VIP {userStore.user?.vip_level || 0} 40000 / 50000 Service Client Dépensez 10000 FCFA supplémentaires pour devenir et bénéficiez de de réduction { navigation.navigate("Balance"); }} > Recharger Avantages pour les membres En savoir plus En tant que membre, vous bénéficierez des services et avantages suivants : {/* Member Pricing Section */} 01 Prix pour les membres Selon les différents niveaux vip, bénéfciez de reductions entre 5% et 20% {/* Dedicated Service Section */} Service dédié Service de suivi de la commande pendant{"\n"} le processus d'achat pour garantir une expérience d'achat sans tracas 02 {/* Photo Service Section */} Service de demande de photos Soumettez des photos de produits dans l'application brainnel, et l'acheteur vous aidera à compléter la recherche et le devis 03 {/* Dedicated Service Section */} Inspection Nous vérifierons les marchandises et vous enverrons des photos. Si vous n'êtes pas satisfait, vous pouvez échanger ou renvoyer les marchandises 04 {/* Photo Service Section */} Transitaire désigné Choisissez votre transitaire de confiance pour rendre vos achats plus flexibles et plus sûrs 05 {/* Dedicated Service Section */} Assistance pour les produits personnalisés Nous trouverons des fournisseurs de qualité pour vous fournir des emballages, des logos et d autres produits personnalisés 06 Comment devenir membre ? Calcul de la consommation et des recharges cumulées au cours des 365 derniers jours : {/* 第一张卡片 */} {/* SVG 图标可用 react-native-svg 实现 */} 1 Le montant total de la consommation + recharge atteint 500 000 FCFA Bénéficiez de 5% de réduction {/* 第二张卡片 */} {/* 可用渐变 */} 2 Le montant total de la consommation + recharge atteint 1 000 000 FCFA (1563 USD / 1502 EUR) Bénéficiez de 10% de réduction {/* 第三张卡片 */} {/* 可用渐变 */} 3 Le montant total de la consommation + recharge atteint 2 000 000 FCFA (3125 USD / 3005 EUR) Bénéficiez de 12% de réduction {/* 第四张卡片 */} {/* 可用渐变 */} 4 Le montant total de la consommation + recharge atteint 3 000 000 FCFA (4688 USD / 4507 EUR) Bénéficiez de 15% de réduction {/* 第五张卡片 */} {/* 可用渐变 */} 5 Le montant total de la consommation + recharge atteint 5 000 000 FCFA (7813 USD / 7512 EUR) Bénéficiez de 20% de réduction Informations importantes : Le niveau VIP est automatiquement mis à jour{"\n"} lorsque le montant requis est atteint, et{"\n"} rétrogradé lorsque le montant n'est pas atteint. Si vous descendez de VIP1 à VIP0, le montant cumulé des 365 derniers jours sera réinitialisé à zéro et devra être recalculé. Les autres niveaux VIP ne sont pas affectés par cette règle. Par exemple, si un utilisateur a dépensé 500 000 FCFA au cours des 365 derniers jours et est devenu VIP1, puis deux mois plus tard, la consommation des 365 derniers jours tombe à 450 000 FCFA, cet utilisateur devra dépenser ou recharger à nouveau 500 000 FCFA pour redevenir VIP1, et non seulement 50 000 FCFA. ); }; const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: "white", }, backgroundContainer: { width: "100%", height: widthUtils(300, 300).height, position: "relative", }, timecardWidget: { width: "100%", height: "100%", }, titleContainer: { width: "100%", flexDirection: "row", alignItems: "center", justifyContent: "center", position: "absolute", left: 0, right: 0, top: 10, height: 48, zIndex: 10, paddingLeft: 19, paddingRight: 19, paddingTop: 10, paddingBottom: 10, }, backIconContainer: { position: "absolute", left: 19, top: 10, zIndex: 11, }, titleHeading: { fontWeight: "600", fontSize: 20, lineHeight: 16, fontFamily: "PingFang SC", color: "#fff", }, VipContainer: { width: widthUtils(400, 400).width, height: widthUtils(200, 200).height, position: "absolute", left: "50%", top: widthUtils(300, 300).height / 2, transform: [{ translateX: -widthUtils(400, 400).width / 2 }], borderRadius: 10, }, VipContainerTop: { width: "100%", height: "60%", backgroundColor: "#dfb57b", padding: 10, borderTopLeftRadius: 10, borderTopRightRadius: 10, shadowColor: "#000", shadowOffset: { width: 0, height: -2, }, shadowOpacity: 0.25, shadowRadius: 3.84, elevation: 5, borderBottomWidth: 0, borderLeftWidth: 0, borderRightWidth: 0, }, VipContainerBottom: { width: "100%", height: "40%", backgroundColor: "#fee1b4", borderBottomLeftRadius: 10, borderBottomRightRadius: 10, padding: 10, shadowColor: "#000", shadowOffset: { width: 0, height: -2, }, shadowOpacity: 0.25, shadowRadius: 3.84, elevation: 5, overflow: "hidden", flexDirection: "row", }, VipContainerBox: { width: "100%", height: "50%", flexDirection: "row", alignItems: "center", }, VipContainerTopPhone: { width: "100%", height: "50%", }, VipContainerTopPhoneBox: { width: "60%", }, VipContainerTopPhoneBoxTop: { width: "100%", height: "100%", flexDirection: "row", alignItems: "center", paddingTop: 5, paddingBottom: 5, paddingLeft: 10, paddingRight: 10, borderRadius: 30, backgroundColor: "#00a849", justifyContent: "center", }, VipContainerTopPhoneBoxTopText: { fontSize: fontSize(20), color: "#fff", fontWeight: "bold", }, Vip: { width: "30%", height: "100%", alignItems: "center", justifyContent: "center", }, VipText: { fontSize: fontSize(34), fontFamily: "PingFangSC-Medium", color: "#6b3611", fontWeight: "900", fontStyle: "italic", }, VipLine: { width: "70%", height: "100%", alignItems: "center", justifyContent: "center", }, lineText: { width: "100%", height: "50%", }, lineTextText: { fontSize: 12, color: "#6b3611", fontWeight: "bold", }, line: { width: "100%", height: "5%", backgroundColor: "#fff2dc", }, left: { width: "60%", height: "100%", }, leftText: { fontSize: fontSize(14), color: "#6b3611", }, right: { width: "40%", height: "100%", }, rechargeContainer: { width: "100%", height: "100%", justifyContent: "center", alignItems: "center", }, rechargeText: { fontSize: fontSize(16), color: "#6b3611", fontWeight: "bold", borderRadius: 30, backgroundColor: "#deb479", padding: 10, }, scrollView: { flex: 1, backgroundColor: "#f1f3f6", }, scrollViewContent: { flex: 1, padding: 10, margin: 10, borderRadius: 10, }, membershipBenefitsContainer: { padding: 15, marginTop: 80, }, membershipBenefitsSection1: { alignItems: "center", }, membershipBenefitsTitle: { fontSize: 22, fontWeight: "900", color: "black", }, membershipBenefitsButton: { width: 200, height: 40, marginTop: 10, backgroundColor: "#fef7e9", borderRadius: 20, justifyContent: "center", alignItems: "center", }, buttonText: { fontSize: 14, fontWeight: "700", color: "#7e522c", }, membershipBenefitsSection: { marginTop: 20, }, membershipBenefitsDescription: { fontSize: 12, lineHeight: 18, color: "black", }, featureBoxContainer: { marginTop: 16, gap: 14, }, membershipPricingSection: { flexDirection: "column", }, membershipPricingSection1: { backgroundColor: "white", borderRadius: 5, overflow: "hidden", }, memberPricingSection1: { flexDirection: "row", padding: 16, backgroundColor: "#fff", borderRadius: 30, position: "relative", overflow: "hidden", }, vipDiscountDetails: { position: "absolute", top: -10, left: -10, width: 44, height: 44, borderRadius: 22, backgroundColor: "#0071f7", justifyContent: "center", alignItems: "center", fontSize: 20, color: "white", }, memberPricingDetailsContainer: { marginLeft: 16, flex: 1, }, memberPriceDescription: { fontSize: 14, fontWeight: "bold", color: "#002fa7", }, vipDiscountDetailsTextStyle: { fontSize: 12, lineHeight: 16, color: "#000", marginTop: 5, width: "75%", }, memberPricingSection: { alignSelf: "flex-end", marginTop: -76, paddingHorizontal: 27.5, }, blueBoxThumbnail: { width: 67, height: 91, shadowColor: "rgba(42, 136, 200, 0.3)", shadowOffset: { width: 3, height: 4 }, shadowOpacity: 1, shadowRadius: 4, elevation: 5, }, dedicatedServiceSection: { marginTop: 14, }, serviceCard: { backgroundColor: "white", borderRadius: 5, overflow: "hidden", position: "relative", }, serviceSection: { flexDirection: "row", justifyContent: "flex-end", padding: 16, backgroundColor: "#fff", }, serviceDetailsContainer: { flex: 1, alignItems: "flex-end", marginRight: 10, }, dedicatedServiceTextStyle: { fontSize: 14, color: "#002fa7", fontWeight: "bold", width: "50%", textAlign: "right", }, orderTrackingServiceDescriptionTextStyle: { fontSize: 12, lineHeight: 16, color: "#271f18", textAlign: "right", marginTop: 3, width: "75%", }, shoppingExperienceDetails: { marginTop: -86, paddingHorizontal: 16, }, imageContainer1: { width: 80, height: 100, shadowColor: "rgba(64, 111, 229, 0.3)", shadowOffset: { width: 2, height: 4 }, shadowOpacity: 1, shadowRadius: 4, elevation: 5, }, photoServiceSection: { marginTop: 14, }, photoServiceContainer1: { flexDirection: "row", backgroundColor: "white", borderRadius: 5, padding: 16, overflow: "hidden", position: "relative", }, circularGradientBadge: { width: 35, height: 35, borderRadius: 17.5, backgroundColor: "#3955f6", justifyContent: "center", alignItems: "center", }, photoRequestServiceBlock: { flex: 1, marginLeft: 16, }, photoServiceContainer: { marginTop: -84, paddingHorizontal: 9, alignSelf: "flex-end", width: 105, height: 105, }, imageContainer: { width: "100%", height: "100%", shadowColor: "rgba(181, 182, 186, 0.4)", shadowOffset: { width: 2, height: 4 }, shadowOpacity: 1, shadowRadius: 4, elevation: 5, }, inspectionSection: { marginTop: -10, }, inspectionCard: { backgroundColor: "white", borderRadius: 5, paddingBottom: 7, }, inspectionContainer: { flexDirection: "row", justifyContent: "flex-end", alignItems: "center", backgroundColor: "#fff", padding: 16, }, inspectionTitle: { fontSize: 14, color: "#002fa7", marginRight: 10, }, inspectionMessageStyle: { fontSize: 12, lineHeight: 15, color: "#271f18", textAlign: "right", marginTop: -52, paddingHorizontal: 33, }, contentWrapper: { marginTop: -61, paddingHorizontal: 16, }, imageContainer2: { width: 74, height: 77, shadowColor: "rgba(56, 186, 189, 0.3)", shadowOffset: { width: 2, height: 4 }, shadowOpacity: 1, shadowRadius: 4, elevation: 5, }, transitaireSection: { marginTop: -2, }, transitaireInfoBox: { flex: 1, marginLeft: 8, }, transitaireDesigneBlock: { marginTop: -71, paddingHorizontal: 23.5, alignSelf: "flex-end", }, imageContainerStyled: { width: 68, height: 88, shadowColor: "rgba(250, 155, 72, 0.3)", shadowOffset: { width: 2, height: 4 }, shadowOpacity: 1, shadowRadius: 4, elevation: 5, }, personalizedProductAssistanceContainer: { backgroundColor: "white", borderRadius: 5, paddingBottom: 10, }, personalizedProductAssistanceSection: { flexDirection: "row", justifyContent: "flex-end", height: 85, backgroundColor: "#002fa7", padding: 16, }, personalizedProductsAssistanceText: { fontSize: 14, lineHeight: 18, color: "#002fa7", textAlign: "right", marginRight: 10, }, customProductDescription: { marginTop: -33, paddingHorizontal: 39, }, customTextBlock: { fontSize: 12, lineHeight: 16, color: "#271f18", textAlign: "right", }, customProductAssistanceBlock: { marginTop: -86, }, imageContainerWithShadow: { width: 110, height: 110, shadowColor: "rgba(254, 89, 41, 0.2)", shadowOffset: { width: 2, height: 4 }, shadowOpacity: 1, shadowRadius: 4, elevation: 5, }, memberPricingBadge: { position: "absolute", top: -12, left: -12, width: 40, height: 40, borderRadius: 20, backgroundColor: "#1c62f3", justifyContent: "center", alignItems: "center", zIndex: 10, }, memberPricingBadgeText: { fontSize: 16, color: "#fff", fontWeight: "bold", textAlign: "center", marginLeft: 8, marginTop: 6, }, dedicatedServiceBadge: { position: "absolute", top: -12, right: -12, width: 40, height: 40, borderRadius: 20, backgroundColor: "#1c62f3", justifyContent: "center", alignItems: "center", zIndex: 10, }, dedicatedServiceBadgeText: { fontSize: 16, color: "#fff", fontWeight: "bold", textAlign: "center", marginRight: 8, marginTop: 6, }, photoServiceBadge: { position: "absolute", top: -12, left: -12, width: 40, height: 40, borderRadius: 20, backgroundColor: "#1c62f3", justifyContent: "center", alignItems: "center", zIndex: 10, }, photoServiceBadgeText: { fontSize: 16, color: "#fff", fontWeight: "bold", textAlign: "center", marginLeft: 8, marginTop: 6, }, membershipCard: { borderRadius: 10, padding: 19, backgroundColor: "#3a3128", // 可用渐变 }, inquirySection: { marginBottom: 20, }, gradientHeading: { fontSize: 24, fontWeight: "500", color: "#fa934f", // 可用渐变文字 marginBottom: 10, }, infoText: { color: "#fdd08f", marginTop: 26, }, cumulativeInfo: { fontSize: 13, color: "#fdd08f", }, highlightedText: { fontWeight: "900", fontSize: 15, color: "#fdd08f", }, totalStats: { fontWeight: "900", fontSize: 16, color: "#fdd08f", }, cardSection: { marginTop: 19, }, cardItem: { borderRadius: 10, padding: 15, marginBottom: 24, }, row: { flexDirection: "row", alignItems: "center", marginBottom: 10, }, iconPlaceholder: { width: 32, height: 32, backgroundColor: "#eee", // SVG 占位 borderRadius: 16, }, cardImage: { width: 62, height: 26, marginLeft: 10, resizeMode: "contain", }, majesticText: { fontStyle: "italic", fontWeight: "900", fontSize: 38, marginLeft: 10, color: "#3496ff", }, amountContainer: { marginTop: 11, }, amountMessage: { fontSize: 12, color: "#5fa9ff", }, amountLabel: { fontSize: 12, fontWeight: "900", color: "#2a8bfa", marginTop: -2, }, discountMessage: { fontSize: 14, color: "#2a8bfa", marginTop: 8, }, discountBold: { fontWeight: "900", fontSize: 14, }, outerContainer: { backgroundColor: "#f1f2f6", flex: 1, }, importantInfoContainer1: { paddingTop: 30, paddingRight: 20, paddingBottom: 17, paddingLeft: 20, }, contentWrapperq: { paddingRight: 30, paddingLeft: 30, }, svgContainer: { width: 24, height: 24, justifyContent: "center", alignItems: "center", color: "#0051ff", }, svgPlaceholder: { width: 24, height: 24, borderRadius: 12, }, importantInfoContainer2: { width: "100%", paddingRight: 19, paddingBottom: 26, paddingLeft: 19, marginTop: -5, borderBottomLeftRadius: 10, borderBottomRightRadius: 10, }, importantInfoContainer: { flexDirection: "row", alignItems: "flex-start", justifyContent: "flex-start", }, importantInfoHeading: { paddingTop: 10, fontWeight: "900", fontSize: 20, lineHeight: 22, color: "white", fontFamily: "System", }, importantInfoImage: { width: 90, height: 90, marginLeft: 4, borderRadius: 8, resizeMode: "cover", }, vipStatusUpdateContainer: { flexDirection: "row", alignItems: "flex-start", marginTop: 16, }, vipStatusContainer: { paddingTop: 3, }, svgContainer1: { width: 16, height: 16, justifyContent: "center", alignItems: "center", }, svgPlaceholderSmall: { width: 16, height: 16, backgroundColor: "#fff", borderRadius: 8, }, vipStatusMessageTextStyle: { marginLeft: 2, fontWeight: "500", fontSize: 13, lineHeight: 20, color: "white", textAlign: "left", fontFamily: "System", }, vipLevelInfoContainer: { width: "100%", marginTop: 18, }, vipDescriptionTextStyle: { flex: 1, marginLeft: 2, fontWeight: "500", fontSize: 13, lineHeight: 20, color: "white", textAlign: "left", fontFamily: "System", }, paragraphContainer: { paddingRight: 19, paddingLeft: 19, marginTop: 6, }, exampleParagraphStyle: { fontSize: 11, lineHeight: 16, color: "rgba(255,255,255,0.8)", textAlign: "left", fontFamily: "System", }, });