"use client" import { Camera } from "lucide-react" import Link from "next/link" import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar" import { Button } from "@/components/ui/button" import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card" import { Input } from "@/components/ui/input" import { Label } from "@/components/ui/label" import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group" import { Separator } from "@/components/ui/separator" import { Switch } from "@/components/ui/switch" import { Textarea } from "@/components/ui/textarea" import type { UserRole } from "@/lib/types" import { useAuthStore } from "@/store/auth" export default function SettingsPage() { const { currentRole, verifiedRoles, switchRole, user } = useAuthStore() const isRoleVerified = (role: UserRole) => verifiedRoles.includes(role) return (
点击更换头像,支持 JPG、PNG 格式
如需更换手机号请联系客服
切换身份后,导航和功能将对应变化
订单通知
接单、完成、争议等状态变更
社区通知
点赞、评论、关注
系统通知
平台公告、活动推送