feat: 个人中心
This commit is contained in:
parent
081e79fbb8
commit
487f0a773d
@ -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}>
|
||||
|
||||
@ -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',
|
||||
|
||||
@ -55,6 +55,7 @@ const styles = StyleSheet.create({
|
||||
display: "flex",
|
||||
flexDirection: "row",
|
||||
alignItems: "center",
|
||||
paddingHorizontal: 16,
|
||||
justifyContent: "center",
|
||||
gap: 8,
|
||||
},
|
||||
|
||||
@ -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();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user