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}>
{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.cardinfo}>

View File

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

View File

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

View File

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