更新样式

This commit is contained in:
jyuesong
2022-01-20 11:27:11 +08:00
parent 282695cc93
commit 25bc0d4101
2 changed files with 97 additions and 82 deletions

View File

@@ -32,7 +32,7 @@ class _LoginLogPageState extends ConsumerState<LoginLogPage> with LazyLoadState<
backCall: () {
Navigator.of(context).pop();
},
title: "任务日志",
title: "登录日志",
),
body: list.isEmpty
? const Center(

View File

@@ -138,9 +138,24 @@ class _OtherPageState extends ConsumerState<OtherPage> {
),
),
),
const Divider(
indent: 15,
],
),
),
Container(
margin: const EdgeInsets.symmetric(
horizontal: 15,
vertical: 15,
),
decoration: BoxDecoration(
color: ref.watch(themeProvider).themeColor.settingBgColor(),
borderRadius: const BorderRadius.all(
Radius.circular(15),
),
),
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: () {
@@ -176,24 +191,9 @@ class _OtherPageState extends ConsumerState<OtherPage> {
),
),
),
],
const Divider(
indent: 15,
),
),
Container(
margin: const EdgeInsets.symmetric(
horizontal: 15,
vertical: 15,
),
decoration: BoxDecoration(
color: ref.watch(themeProvider).themeColor.settingBgColor(),
borderRadius: const BorderRadius.all(
Radius.circular(15),
),
),
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
GestureDetector(
onTap: () {
if (getIt<UserInfoViewModel>().useSecretLogined) {
@@ -230,9 +230,24 @@ class _OtherPageState extends ConsumerState<OtherPage> {
),
),
),
const Divider(
indent: 15,
],
),
),
Container(
margin: const EdgeInsets.symmetric(
horizontal: 15,
vertical: 15,
),
decoration: BoxDecoration(
color: ref.watch(themeProvider).themeColor.settingBgColor(),
borderRadius: const BorderRadius.all(
Radius.circular(15),
),
),
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.only(
left: 15,