feat: up主页显示获赞数 issues #160

This commit is contained in:
guozhigq
2023-12-16 22:35:01 +08:00
parent 6a888ad72b
commit 52ab78f332
4 changed files with 34 additions and 3 deletions

View File

@ -137,8 +137,14 @@ Widget profile(ctr, {loadingStatus = false}) {
),
Column(
children: [
const Text('-',
style: TextStyle(fontWeight: FontWeight.bold)),
Text(
!loadingStatus
? Utils.numFormat(
ctr.userStat!['likes'],
)
: '-',
style: const TextStyle(
fontWeight: FontWeight.bold)),
Text(
'获赞',
style: TextStyle(