This commit is contained in:
guozhigq
2023-09-20 22:53:29 +08:00
parent 252f39e8c7
commit 092b1cee3d
3 changed files with 13 additions and 44 deletions

View File

@ -97,7 +97,7 @@ class HistoryController extends GetxController {
builder: (BuildContext context) {
return AlertDialog(
title: const Text('提示'),
content: const Text('啊叻?你要清空历史记录功能吗?'),
content: const Text('你要清空历史记录功能吗?'),
actions: [
TextButton(
onPressed: () => SmartDialog.dismiss(),

View File

@ -38,26 +38,11 @@ Widget searchUserPanel(BuildContext context, ctr, list) {
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Row(
children: [
Text(
i!.uname,
style: const TextStyle(
fontSize: 14,
),
),
const SizedBox(width: 6),
Image.asset(
'assets/images/lv/lv${i!.level}.png',
height: 11,
),
],
),
Row(
children: [
Text('粉丝:${i.fans} ', style: style),
Text(' 视频:${i.videos}', style: style)
],
Text(
i!.uname,
style: const TextStyle(
fontSize: 14,
),
),
if (i.officialVerify['desc'] != '')
Text(

View File

@ -57,29 +57,13 @@ class IntroDetail extends StatelessWidget {
),
),
const SizedBox(height: 6),
Row(
children: [
StatView(
theme: 'gray',
view: videoDetail!.stat!.view,
size: 'medium',
),
const SizedBox(width: 10),
StatDanMu(
theme: 'gray',
danmu: videoDetail!.stat!.danmaku,
size: 'medium',
),
const SizedBox(width: 10),
Text(
Utils.dateFormat(videoDetail!.pubdate,
formatType: 'detail'),
style: TextStyle(
fontSize: 12,
color: Theme.of(context).colorScheme.outline,
),
),
],
Text(
Utils.dateFormat(videoDetail!.pubdate,
formatType: 'detail'),
style: TextStyle(
fontSize: 12,
color: Theme.of(context).colorScheme.outline,
),
),
const SizedBox(height: 20),
SizedBox(