mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
Update task_page.dart
This commit is contained in:
@@ -162,7 +162,7 @@ class TaskItemCell extends StatelessWidget {
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
QLCupertinoContextMenuAction(
|
QLCupertinoContextMenuAction(
|
||||||
child: Text("查看日志"),
|
child: const Text("查看日志"),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
logCron(context, ref);
|
logCron(context, ref);
|
||||||
@@ -238,13 +238,16 @@ class TaskItemCell extends StatelessWidget {
|
|||||||
Row(
|
Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Material(
|
||||||
bean.name ?? "",
|
color:Colors.transparent,
|
||||||
maxLines: 1,
|
child: Text(
|
||||||
style: TextStyle(
|
bean.name ?? "",
|
||||||
overflow: TextOverflow.ellipsis,
|
maxLines: 1,
|
||||||
color: bean.isDisabled == 1 ? Color(0xffF85152) : ref.watch(themeProvider).themeColor.taskTitleColor(),
|
style: TextStyle(
|
||||||
fontSize: 18,
|
overflow: TextOverflow.ellipsis,
|
||||||
|
color: bean.isDisabled == 1 ? Color(0xffF85152) : ref.watch(themeProvider).themeColor.taskTitleColor(),
|
||||||
|
fontSize: 18,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
@@ -260,13 +263,16 @@ class TaskItemCell extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
Text(
|
Material(
|
||||||
(bean.lastExecutionTime == null || bean.lastExecutionTime == 0) ? "-" : Utils.formatMessageTime(bean.lastExecutionTime!),
|
color:Colors.transparent,
|
||||||
maxLines: 1,
|
child: Text(
|
||||||
style: const TextStyle(
|
(bean.lastExecutionTime == null || bean.lastExecutionTime == 0) ? "-" : Utils.formatMessageTime(bean.lastExecutionTime!),
|
||||||
overflow: TextOverflow.ellipsis,
|
maxLines: 1,
|
||||||
color: Color(0xff999999),
|
style: const TextStyle(
|
||||||
fontSize: 12,
|
overflow: TextOverflow.ellipsis,
|
||||||
|
color: Color(0xff999999),
|
||||||
|
fontSize: 12,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
@@ -274,13 +280,16 @@ class TaskItemCell extends StatelessWidget {
|
|||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 8,
|
height: 8,
|
||||||
),
|
),
|
||||||
Text(
|
Material(
|
||||||
bean.schedule ?? "",
|
color:Colors.transparent,
|
||||||
maxLines: 1,
|
child: Text(
|
||||||
style: const TextStyle(
|
bean.schedule ?? "",
|
||||||
overflow: TextOverflow.ellipsis,
|
maxLines: 1,
|
||||||
color: Color(0xff999999),
|
style: const TextStyle(
|
||||||
fontSize: 12,
|
overflow: TextOverflow.ellipsis,
|
||||||
|
color: Color(0xff999999),
|
||||||
|
fontSize: 12,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user