diff --git a/assets/chat_btn.png b/assets/chat_btn.png new file mode 100644 index 0000000..5eb0385 Binary files /dev/null and b/assets/chat_btn.png differ diff --git a/lib/pages/user_info_page.dart b/lib/pages/user_info_page.dart index 9b0e4b8..c9b2078 100644 --- a/lib/pages/user_info_page.dart +++ b/lib/pages/user_info_page.dart @@ -237,6 +237,57 @@ class _UserInfoPageState extends State { 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 + ), + ), + ), + ), + ], ) ], ),