diff --git a/ln_jq_app/lib/pages/c_page/mine/view.dart b/ln_jq_app/lib/pages/c_page/mine/view.dart index 17b0b87..e7374a9 100644 --- a/ln_jq_app/lib/pages/c_page/mine/view.dart +++ b/ln_jq_app/lib/pages/c_page/mine/view.dart @@ -80,28 +80,26 @@ class MinePage extends GetView { ], ), ), - 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, + ), ), - ), + ) ], ), ),