mod: 操作组件调小;横屏番剧操作优化

This commit is contained in:
orz12
2024-03-22 00:56:02 +08:00
parent 3b6068fced
commit 9891aeeb34
4 changed files with 25 additions and 19 deletions

View File

@@ -396,7 +396,7 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
onTap: onPushMember,
child: Container(
padding: const EdgeInsets.symmetric(
vertical: 12, horizontal: 4),
vertical: 8, horizontal: 4),
child: Row(
children: [
NetworkImgLayer(
@@ -491,8 +491,8 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
return LayoutBuilder(
builder: (BuildContext context, BoxConstraints constraints) {
return Container(
margin: const EdgeInsets.only(top: 6, bottom: 4),
height: constraints.maxWidth / 5 * 0.8,
margin: const EdgeInsets.only(top: 1),
height: 48,
child: GridView.count(
primary: false,
padding: EdgeInsets.zero,

View File

@@ -41,7 +41,7 @@ class ActionItem extends StatelessWidget {
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
const SizedBox(height: 4),
// const SizedBox(height: 2),
Icon(
selectStatus
? selectIcon!.icon!
@@ -51,7 +51,7 @@ class ActionItem extends StatelessWidget {
? Theme.of(context).colorScheme.primary
: Theme.of(context).colorScheme.outline,
),
const SizedBox(height: 6),
const SizedBox(height: 3),
AnimatedOpacity(
opacity: loadingStatus! ? 0 : 1,
duration: const Duration(milliseconds: 200),