feat: bugfix

This commit is contained in:
2025-12-03 01:28:18 -08:00
parent dbcdf8b8a4
commit ce4abb7e01
15 changed files with 280 additions and 79 deletions
@@ -31,10 +31,10 @@ class UserInfoCard extends StatelessWidget {
// 让整个卡片的透明区域也能响应点击
behavior: HitTestBehavior.opaque,
child: Container(
padding: EdgeInsets.fromLTRB(7.w, 4, 18.w, 4),
padding: EdgeInsets.fromLTRB(5, 4, 18, 4),
decoration: BoxDecoration(
color: Colors.transparent,
borderRadius: BorderRadius.circular(35.5.r),
borderRadius: BorderRadius.circular(35.5),
border: Border.all(
color: Colors.white,
width: 2.0, // 👇 核心改动: 将边框宽度设置为 2.0
@@ -43,16 +43,16 @@ class UserInfoCard extends StatelessWidget {
child: Row(
children: [
CircleAvatar(
radius: 18.r,
radius: 18,
backgroundColor: Colors.white,
child: KrLocalImage(
imageName: 'hi-home-logo',
imageType: ImageType.svg,
width: 16.w,
height: 16.h,
width: 16,
height: 16,
),
),
SizedBox(width: 12.w),
SizedBox(width: 12),
Expanded(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,