fix: 多个大会员标识存在时,仅展示非静态版本

This commit is contained in:
orz12
2024-06-14 21:16:16 +08:00
parent 33c98f1705
commit 1e390dea75

View File

@@ -163,36 +163,36 @@ class _MemberPageState extends State<MemberPage>
Row(children: [ Row(children: [
const Spacer(), const Spacer(),
InkWell( InkWell(
onTap: _memberController.pushDynamicsPage, onTap: _memberController.pushDynamicsPage,
child: const Row( child: const Row(
children: [ children: [
Text('Ta的动态', style: TextStyle(height: 2)), Text('Ta的动态', style: TextStyle(height: 2)),
SizedBox(width: 5), SizedBox(width: 5),
Icon(Icons.arrow_forward_ios, size: 19), Icon(Icons.arrow_forward_ios, size: 19),
], ],
), ),
), ),
const Spacer(), const Spacer(),
InkWell( InkWell(
onTap: _memberController.pushArchivesPage, onTap: _memberController.pushArchivesPage,
child: const Row( child: const Row(
children: [ children: [
Text('Ta的投稿', style: TextStyle(height: 2)), Text('Ta的投稿', style: TextStyle(height: 2)),
SizedBox(width: 5), SizedBox(width: 5),
Icon(Icons.arrow_forward_ios, size: 19), Icon(Icons.arrow_forward_ios, size: 19),
], ],
), ),
), ),
const Spacer(), const Spacer(),
InkWell( InkWell(
onTap: () {}, onTap: () {},
child: const Row( child: const Row(
children: [ children: [
Text('Ta的专栏', style: TextStyle(height: 2)), Text('Ta的专栏', style: TextStyle(height: 2)),
SizedBox(width: 5), SizedBox(width: 5),
], ],
), ),
), ),
const Spacer(), const Spacer(),
]), ]),
MediaQuery.removePadding( MediaQuery.removePadding(
@@ -391,8 +391,8 @@ class _MemberPageState extends State<MemberPage>
height: 20, height: 20,
semanticLabel: semanticLabel:
_memberController.memberInfo.value.vip!.label!['text'], _memberController.memberInfo.value.vip!.label!['text'],
), )
if (_memberController.memberInfo.value.vip else if (_memberController.memberInfo.value.vip
?.label?['img_label_uri_hans_static'] != ?.label?['img_label_uri_hans_static'] !=
'') '')
Image.network( Image.network(