feat(reward): 新增客户端奖励中心
This commit is contained in:
1 parent
67670d46b1
commit
bea08110c9
68 files changed
+3987
-332
No files matched your search
@@ -5,7 +5,7 @@ import 'package:flutter/foundation.dart';
|
||||
import '../../core/data/models/drama.dart';
|
||||
|
||||
/// 推荐页与根导航之间的动作。
|
||||
enum DiscoverPageAction { home, recommend, following, mine }
|
||||
enum DiscoverPageAction { home, recommend, reward, following, mine }
|
||||
|
||||
/// 剧场页导航回调;没有 `onAction` 时按独立页面处理。
|
||||
class DiscoverPageCallbacks {
|
||||
|
||||
@@ -472,6 +472,7 @@ class _DiscoverPageState extends State<DiscoverPage> {
|
||||
DiscoverPageAction _actionOf(AppRootTab tab) => switch (tab) {
|
||||
AppRootTab.home => DiscoverPageAction.home,
|
||||
AppRootTab.recommend => DiscoverPageAction.recommend,
|
||||
AppRootTab.reward => DiscoverPageAction.reward,
|
||||
AppRootTab.following => DiscoverPageAction.following,
|
||||
AppRootTab.mine => DiscoverPageAction.mine,
|
||||
};
|
||||
|
||||
@@ -14,7 +14,7 @@ const double _columnGap = 8;
|
||||
const double _cardGap = 14;
|
||||
const double _gridHorizontalPadding = 12;
|
||||
const double _coverAspectRatio = 3 / 4;
|
||||
const double _coverRadius = 10;
|
||||
const double _coverRadius = AppDimens.coverRadius;
|
||||
const double _titleGap = 8;
|
||||
const double _tagsGap = 6;
|
||||
const double _titleFontSize = 15;
|
||||
|
||||
Reference in new issue
Block a user