服务端接口优化

todo:待添加影评海报,书评书摘的接口与标签接口
This commit is contained in:
DelLevin-Home
2026-05-28 02:31:51 +08:00
parent 5022a13b74
commit 21f9c55018
29 changed files with 898 additions and 973 deletions

View File

@@ -1,6 +1,7 @@
import 'dart:io';
import 'package:flutter/material.dart';
import '../../models/data_models.dart';
import '../../widgets/fade_in_local_image.dart';
/// 海报画廊页面 - 支持左右滑动浏览
class PosterGalleryPage extends StatefulWidget {
@@ -53,16 +54,9 @@ class _PosterGalleryPageState extends State<PosterGalleryPage> {
minScale: 0.5,
maxScale: 3.0,
child: Center(
child: Image.file(
File(poster.posterPath),
child: FadeInLocalImage(
path: poster.posterPath,
fit: BoxFit.contain,
errorBuilder: (_, __, ___) => const Center(
child: Icon(
Icons.broken_image,
color: Colors.white54,
size: 64,
),
),
),
),
);