feat: 背景图优化
This commit is contained in:
parent
40b6eb2c0d
commit
6e83165e96
@ -1,6 +1,4 @@
|
||||
import ProCardSvg from '@/assets/icons/svg/proCard.svg';
|
||||
import ReturnArrowSvg from '@/assets/icons/svg/returnArrow.svg';
|
||||
import RightsCardSvg from '@/assets/icons/svg/rightCard.svg';
|
||||
import StarSvg from '@/assets/icons/svg/whiteStart.svg';
|
||||
import PrivacyModal from '@/components/owner/qualification/privacy';
|
||||
import Normal from '@/components/owner/rights/normal';
|
||||
@ -11,7 +9,7 @@ import { ThemedText } from '@/components/ThemedText';
|
||||
import { fetchApi } from '@/lib/server-api-util';
|
||||
import { useLocalSearchParams, useRouter } from "expo-router";
|
||||
import { useEffect, useState } from 'react';
|
||||
import { StyleSheet, TouchableOpacity, View } from 'react-native';
|
||||
import { Image, StyleSheet, TouchableOpacity, View } from 'react-native';
|
||||
import { useSafeAreaInsets } from "react-native-safe-area-context";
|
||||
|
||||
export default function Rights() {
|
||||
@ -61,9 +59,9 @@ export default function Rights() {
|
||||
{/* 会员卡 */}
|
||||
<View style={styles.card}>
|
||||
{userType === 'normal' ? (
|
||||
<RightsCardSvg width={"100%"} />
|
||||
<Image source={require('@/assets/images/png/owner/normal.png')} style={{ height: 150, objectFit: 'cover', width: '100%' }} />
|
||||
) : (
|
||||
<ProCardSvg width={"100%"} />
|
||||
<Image source={require('@/assets/images/png/owner/pro.png')} style={{ height: 150, objectFit: 'cover', width: '100%' }} />
|
||||
)}
|
||||
<View style={styles.cardContent}>
|
||||
<View style={styles.cardinfo}>
|
||||
|
||||
BIN
assets/images/png/owner/normal.png
Normal file
BIN
assets/images/png/owner/normal.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
BIN
assets/images/png/owner/pro.png
Normal file
BIN
assets/images/png/owner/pro.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
Loading…
x
Reference in New Issue
Block a user