mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-17 23:56:13 +08:00
将评论区用户认证标识置于大会员标识上层;区分个人认证与机构认证,分别显示为黄色和蓝色
This commit is contained in:
@@ -94,23 +94,6 @@ class ReplyItem extends StatelessWidget {
|
|||||||
type: 'avatar',
|
type: 'avatar',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (replyItem!.member!.officialVerify != null &&
|
|
||||||
replyItem!.member!.officialVerify!['type'] == 0)
|
|
||||||
Positioned(
|
|
||||||
right: 0,
|
|
||||||
bottom: 0,
|
|
||||||
child: Container(
|
|
||||||
decoration: BoxDecoration(
|
|
||||||
borderRadius: BorderRadius.circular(7),
|
|
||||||
color: Theme.of(context).colorScheme.background,
|
|
||||||
),
|
|
||||||
child: Icon(
|
|
||||||
Icons.offline_bolt,
|
|
||||||
color: Theme.of(context).colorScheme.primary,
|
|
||||||
size: 16,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
if (replyItem!.member!.vip!['vipStatus'] > 0 &&
|
if (replyItem!.member!.vip!['vipStatus'] > 0 &&
|
||||||
replyItem!.member!.vip!['vipType'] == 2)
|
replyItem!.member!.vip!['vipType'] == 2)
|
||||||
Positioned(
|
Positioned(
|
||||||
@@ -118,7 +101,8 @@ class ReplyItem extends StatelessWidget {
|
|||||||
bottom: 0,
|
bottom: 0,
|
||||||
child: Container(
|
child: Container(
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.circular(7),
|
//borderRadius: BorderRadius.circular(7),
|
||||||
|
shape: BoxShape.circle,
|
||||||
color: Theme.of(context).colorScheme.background,
|
color: Theme.of(context).colorScheme.background,
|
||||||
),
|
),
|
||||||
child: Image.asset(
|
child: Image.asset(
|
||||||
@@ -128,6 +112,42 @@ class ReplyItem extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
if (replyItem!.member!.officialVerify != null &&
|
||||||
|
replyItem!.member!.officialVerify!['type'] == 0)
|
||||||
|
Positioned(
|
||||||
|
right: -1,
|
||||||
|
bottom: -1,
|
||||||
|
child: Container(
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
// borderRadius: BorderRadius.circular(8),
|
||||||
|
shape: BoxShape.circle,
|
||||||
|
color: Theme.of(context).colorScheme.background,
|
||||||
|
),
|
||||||
|
child: const Icon(
|
||||||
|
Icons.offline_bolt,
|
||||||
|
color: Colors.yellow,
|
||||||
|
size: 16,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
if (replyItem!.member!.officialVerify != null &&
|
||||||
|
replyItem!.member!.officialVerify!['type'] == 1)
|
||||||
|
Positioned(
|
||||||
|
right: -1,
|
||||||
|
bottom: -1,
|
||||||
|
child: Container(
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
// borderRadius: BorderRadius.circular(8),
|
||||||
|
shape: BoxShape.circle,
|
||||||
|
color: Theme.of(context).colorScheme.background,
|
||||||
|
),
|
||||||
|
child: const Icon(
|
||||||
|
Icons.offline_bolt,
|
||||||
|
color: Colors.lightBlueAccent,
|
||||||
|
size: 16,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user