feat: 观看记录查询
This commit is contained in:
@ -380,11 +380,18 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
|
||||
duration: const Duration(milliseconds: 150),
|
||||
child: SizedBox(
|
||||
height: 36,
|
||||
child: Obx(()=>
|
||||
videoIntroController.followStatus.isNotEmpty ? ElevatedButton(
|
||||
onPressed: () => videoIntroController.actionRelationMod(),
|
||||
child: Text(videoIntroController.followStatus['attribute'] == 0 ? '关注' : '已关注'),
|
||||
) : const SizedBox(),
|
||||
child: Obx(
|
||||
() => videoIntroController.followStatus.isNotEmpty
|
||||
? ElevatedButton(
|
||||
onPressed: () => videoIntroController
|
||||
.actionRelationMod(),
|
||||
child: Text(videoIntroController
|
||||
.followStatus['attribute'] ==
|
||||
0
|
||||
? '关注'
|
||||
: '已关注'),
|
||||
)
|
||||
: const SizedBox(),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user