feat: 个人中心

This commit is contained in:
jinyaqiu 2025-08-07 16:16:59 +08:00
parent 081e79fbb8
commit 487f0a773d
4 changed files with 4 additions and 4 deletions

View File

@ -216,9 +216,9 @@ export default function Rights() {
{/* 会员卡 */} {/* 会员卡 */}
<View style={styles.card}> <View style={styles.card}>
{userType === 'normal' ? ( {userType === 'normal' ? (
<Image source={require('@/assets/images/png/owner/normal.png')} style={{ height: 150, objectFit: 'cover', width: '100%' }} /> <Image source={require('@/assets/images/png/owner/normal.png')} style={{ height: 150, objectFit: 'cover', width: '100%', borderRadius: 32 }} />
) : ( ) : (
<Image source={require('@/assets/images/png/owner/pro.png')} style={{ height: 150, objectFit: 'cover', width: '100%' }} /> <Image source={require('@/assets/images/png/owner/pro.png')} style={{ height: 150, objectFit: 'cover', width: '100%', borderRadius: 32 }} />
)} )}
<View style={styles.cardContent}> <View style={styles.cardContent}>
<View style={styles.cardinfo}> <View style={styles.cardinfo}>

View File

@ -127,7 +127,7 @@ const AskNavbar = ({ wsStatus }: AskNavbarProps) => {
position: 'absolute', position: 'absolute',
left: '50%', left: '50%',
top: -30, top: -30,
transform: [{ translateX: -42.5 }], transform: [{ translateX: -17 }],
width: 85, width: 85,
height: 85, height: 85,
justifyContent: 'center', justifyContent: 'center',

View File

@ -55,6 +55,7 @@ const styles = StyleSheet.create({
display: "flex", display: "flex",
flexDirection: "row", flexDirection: "row",
alignItems: "center", alignItems: "center",
paddingHorizontal: 16,
justifyContent: "center", justifyContent: "center",
gap: 8, gap: 8,
}, },

View File

@ -8,7 +8,6 @@ import IpSvg from './ipSvg';
const MemberCard = ({ pro, points }: { pro: string, points: number }) => { const MemberCard = ({ pro, points }: { pro: string, points: number }) => {
const { t } = useTranslation(); const { t } = useTranslation();
const proPng = require("@/assets/images/png/owner/pro.png");
const width = Dimensions.get("window").width; const width = Dimensions.get("window").width;
const router = useRouter(); const router = useRouter();