Browse Source

style(home): 调整用户信息页面字体大小和间距

- 增大昵称字体大小从19.w到22.w
- 增大年龄标签字体大小从9.w到11.w
- 增大在线状态标签字体大小从9.w到11.w
- 增大实名标签字体大小从9.w到11.w
- 增大地区标签字体大小从9.w到11.w
- 增大个人描述字体大小从11.w到14.w
- 增大标签间距从7.w到12.w
- 增大IP属地和用户ID字体大小从9.w到12.w
- 增大标签容器内边距垂直从2.w到5.w,水平从6.w到10.w
- 增大标签文字字体大小从11.w到13.w
ios
Jolie 4 months ago
parent
commit
43159da3d2
1 changed files with 13 additions and 13 deletions
  1. 26
      lib/pages/home/user_information_page.dart

26
lib/pages/home/user_information_page.dart

@ -65,7 +65,7 @@ class UserInformationPage extends StatelessWidget {
Text(
controller.userData.value.nickName ?? "",
style: TextStyle(
fontSize: 19.w,
fontSize: 22.w,
color: const Color.fromRGBO(51, 51, 51, 1),
fontWeight: FontWeight.w600
),
@ -90,7 +90,7 @@ class UserInformationPage extends StatelessWidget {
Text(
"${controller.userData.value.age}",
style: TextStyle(
fontSize: 9.w,
fontSize: 11.w,
color: const Color.fromRGBO(255, 66, 236, 1)
),
)
@ -110,7 +110,7 @@ class UserInformationPage extends StatelessWidget {
child: Text(
"在线",
style: TextStyle(
fontSize: 9.w,
fontSize: 11.w,
color: const Color.fromRGBO(38, 199, 124, 1)
),
),
@ -136,7 +136,7 @@ class UserInformationPage extends StatelessWidget {
Text(
"实名",
style: TextStyle(
fontSize: 9.w,
fontSize: 11.w,
color: const Color.fromRGBO(160, 92, 255, 1)
),
)
@ -163,7 +163,7 @@ class UserInformationPage extends StatelessWidget {
Text(
"${controller.userData.value.age}",
style: TextStyle(
fontSize: 9.w,
fontSize: 11.w,
color: const Color.fromRGBO(120, 140, 255, 1)
),
)
@ -210,14 +210,14 @@ class UserInformationPage extends StatelessWidget {
Text(
"父母催婚找个结婚的",
style: TextStyle(
fontSize: 11.w,
fontSize: 14.w,
color: const Color.fromRGBO(144, 144, 144, 1)
),
),
SizedBox(height: 11.w,),
Wrap(
spacing: 7.w,
runSpacing: 7.w,
spacing: 12.w,
runSpacing: 12.w,
children: [
...controller.tagList.map((e){
return TagItem(label: e);
@ -228,14 +228,14 @@ class UserInformationPage extends StatelessWidget {
if ((controller.userData.value.provinceName?.isNotEmpty ?? false)) Text(
"IP属地:${controller.userData.value.provinceName}",
style: TextStyle(
fontSize: 9.w,
fontSize: 12.w,
color: const Color.fromRGBO(144, 144, 144, 1)
),
),
Text(
"动我ID:${userId}",
style: TextStyle(
fontSize: 9.w,
fontSize: 12.w,
color: const Color.fromRGBO(144, 144, 144, 1)
),
),
@ -462,8 +462,8 @@ class TagItem extends StatelessWidget {
Widget build(BuildContext context) {
return Container(
padding: EdgeInsets.symmetric(
vertical: 2.w,
horizontal: 6.w
vertical: 5.w,
horizontal: 10.w
),
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(13.w)),
@ -472,7 +472,7 @@ class TagItem extends StatelessWidget {
child: Text(
label,
style: TextStyle(
fontSize: 11.w,
fontSize: 13.w,
color: const Color.fromRGBO(51, 51, 51, 1)
),
),

Loading…
Cancel
Save