Browse Source

排版信息页和用户详情页

master
YakumoChen 4 months ago
parent
commit
2beeac8159
2 changed files with 51 additions and 0 deletions
  1. BIN
      assets/chat_btn.png
  2. 51
      lib/pages/user_info_page.dart

BIN
assets/chat_btn.png

Before After
Width: 53  |  Height: 48  |  Size: 618 B

51
lib/pages/user_info_page.dart

@ -237,6 +237,57 @@ class _UserInfoPageState extends State<UserInfoPage> {
fontSize: 18.w,
color: const Color.fromRGBO(144, 144, 144, 1)
),
),
Spacer(),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Container(
width: 493.w,
height: 76.w,
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(76.w)),
color: const Color.fromRGBO(51, 51, 51, 1)
),
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Image.asset(
"assets/chat_btn.png",
width: 26.w,
height: 24.w,
),
SizedBox(width: 8.w,),
Text(
"发消息",
style: TextStyle(
fontSize: 31.w,
color: Colors.white,
fontWeight: FontWeight.w500
),
)
],
),
),
Container(
width: 162.w,
height: 76.w,
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(76.w)),
color: const Color.fromRGBO(117, 98, 249, 1)
),
child: Center(
child: Text(
"关注",
style: TextStyle(
fontSize: 31.w,
color: Colors.white,
fontWeight: FontWeight.w500
),
),
),
),
],
)
],
),

Loading…
Cancel
Save