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