消息入口

This commit is contained in:
2026-01-07 16:02:10 +08:00
parent 8a4bc1d1ab
commit 953e5e773c

View File

@@ -80,28 +80,26 @@ class MinePage extends GetView<MineController> {
],
),
),
Container(
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
decoration: BoxDecoration(
color: Colors.blue[50],
borderRadius: BorderRadius.circular(12),
border: Border.all(color: Colors.blue, width: 0.5),
IconButton(
onPressed: () {
// TODO: 跳转
},
// 这里的 style 是为了模拟你图片里的灰色圆形背景
style: IconButton.styleFrom(
backgroundColor: Colors.grey[100],
padding: const EdgeInsets.all(8),
),
child: const Row(
children: [
Icon(Icons.shield_outlined, color: Colors.blue, size: 14),
SizedBox(width: 4),
Text(
'已认证',
style: TextStyle(
color: Colors.blue,
fontSize: 10,
fontWeight: FontWeight.bold,
),
),
],
icon: const Badge(
// label: Text('3'), // 如果你想显示数字,就加 label
smallSize: 8, // 红点的大小
backgroundColor: Colors.red, // 红点颜色
child: Icon(
Icons.notifications_outlined,
color: Colors.black87,
size: 25,
),
),
)
],
),
),