服务端接口优化

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

@@ -8,6 +8,7 @@ import 'package:provider/provider.dart';
import 'package:flutter_staggered_grid_view/flutter_staggered_grid_view.dart';
import 'package:http/http.dart' as http;
import '../../providers/app_provider.dart';
import '../../widgets/fade_in_local_image.dart';
import '../../models/data_models.dart';
import '../../utils/toast_util.dart';
import '../../utils/image_path_helper.dart';
@@ -158,15 +159,9 @@ class _MoviePostersPageState extends State<MoviePostersPage> {
fit: StackFit.expand,
children: [
// 海报图片
Image.file(
File(poster.posterPath),
FadeInLocalImage(
path: poster.posterPath,
fit: BoxFit.cover,
errorBuilder: (_, __, ___) => Center(
child: Icon(
Icons.broken_image,
color: colors.onSurface.withValues(alpha: 0.25),
),
),
),
// 渐变遮罩(底部)
Positioned(