mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
mod: 认证标识说明与位置大小调整
This commit is contained in:
@@ -429,7 +429,7 @@ class _MemberPageState extends State<MemberPage>
|
|||||||
TextSpan(
|
TextSpan(
|
||||||
text: _memberController.memberInfo.value.official!['role'] == 1
|
text: _memberController.memberInfo.value.official!['role'] == 1
|
||||||
? '个人认证:'
|
? '个人认证:'
|
||||||
: '企业认证:',
|
: '机构认证:',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: Theme.of(context).primaryColor,
|
color: Theme.of(context).primaryColor,
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -111,11 +111,12 @@ class ReplyItem extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
//https://www.bilibili.com/blackboard/activity-whPrHsYJ2.html
|
||||||
if (replyItem!.member!.officialVerify != null &&
|
if (replyItem!.member!.officialVerify != null &&
|
||||||
replyItem!.member!.officialVerify!['type'] == 0)
|
replyItem!.member!.officialVerify!['type'] == 0)
|
||||||
Positioned(
|
Positioned(
|
||||||
left: -1,
|
left: 0,
|
||||||
bottom: -1,
|
bottom: 0,
|
||||||
child: Container(
|
child: Container(
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
// borderRadius: BorderRadius.circular(8),
|
// borderRadius: BorderRadius.circular(8),
|
||||||
@@ -125,15 +126,16 @@ class ReplyItem extends StatelessWidget {
|
|||||||
child: const Icon(
|
child: const Icon(
|
||||||
Icons.offline_bolt,
|
Icons.offline_bolt,
|
||||||
color: Colors.yellow,
|
color: Colors.yellow,
|
||||||
size: 16,
|
size: 14,
|
||||||
|
semanticLabel: "认证个人",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (replyItem!.member!.officialVerify != null &&
|
if (replyItem!.member!.officialVerify != null &&
|
||||||
replyItem!.member!.officialVerify!['type'] == 1)
|
replyItem!.member!.officialVerify!['type'] == 1)
|
||||||
Positioned(
|
Positioned(
|
||||||
left: -1,
|
left: 0,
|
||||||
bottom: -1,
|
bottom: 0,
|
||||||
child: Container(
|
child: Container(
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
// borderRadius: BorderRadius.circular(8),
|
// borderRadius: BorderRadius.circular(8),
|
||||||
@@ -143,7 +145,8 @@ class ReplyItem extends StatelessWidget {
|
|||||||
child: const Icon(
|
child: const Icon(
|
||||||
Icons.offline_bolt,
|
Icons.offline_bolt,
|
||||||
color: Colors.lightBlueAccent,
|
color: Colors.lightBlueAccent,
|
||||||
size: 16,
|
size: 14,
|
||||||
|
semanticLabel: "认证机构",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user