mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: 调整横版卡片尺寸
This commit is contained in:
@@ -77,7 +77,7 @@ class _FavPageState extends State<FavPage> {
|
|||||||
context,
|
context,
|
||||||
Grid.maxRowWidth * 2,
|
Grid.maxRowWidth * 2,
|
||||||
StyleString.safeSpace) /
|
StyleString.safeSpace) /
|
||||||
1.9 /
|
2.1 /
|
||||||
StyleString.aspectRatio),
|
StyleString.aspectRatio),
|
||||||
delegate: SliverChildBuilderDelegate(
|
delegate: SliverChildBuilderDelegate(
|
||||||
childCount:
|
childCount:
|
||||||
|
|||||||
@@ -223,7 +223,7 @@ class _FavDetailPageState extends State<FavDetailPage> {
|
|||||||
context,
|
context,
|
||||||
Grid.maxRowWidth * 2,
|
Grid.maxRowWidth * 2,
|
||||||
StyleString.safeSpace) /
|
StyleString.safeSpace) /
|
||||||
1.9 /
|
2.1 /
|
||||||
StyleString.aspectRatio),
|
StyleString.aspectRatio),
|
||||||
delegate:
|
delegate:
|
||||||
SliverChildBuilderDelegate((context, index) {
|
SliverChildBuilderDelegate((context, index) {
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ class _LaterPageState extends State<LaterPage> {
|
|||||||
context,
|
context,
|
||||||
Grid.maxRowWidth * 2,
|
Grid.maxRowWidth * 2,
|
||||||
StyleString.safeSpace) /
|
StyleString.safeSpace) /
|
||||||
1.9 /
|
2.1 /
|
||||||
StyleString.aspectRatio),
|
StyleString.aspectRatio),
|
||||||
delegate:
|
delegate:
|
||||||
SliverChildBuilderDelegate((context, index) {
|
SliverChildBuilderDelegate((context, index) {
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ class _MemberArchivePageState extends State<MemberArchivePage> {
|
|||||||
context,
|
context,
|
||||||
Grid.maxRowWidth * 2,
|
Grid.maxRowWidth * 2,
|
||||||
StyleString.safeSpace) /
|
StyleString.safeSpace) /
|
||||||
1.9 /
|
2.1 /
|
||||||
StyleString.aspectRatio),
|
StyleString.aspectRatio),
|
||||||
delegate: SliverChildBuilderDelegate(
|
delegate: SliverChildBuilderDelegate(
|
||||||
(BuildContext context, index) {
|
(BuildContext context, index) {
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ Widget searchArticlePanel(BuildContext context, ctr, list) {
|
|||||||
maxCrossAxisExtent: Grid.maxRowWidth * 2,
|
maxCrossAxisExtent: Grid.maxRowWidth * 2,
|
||||||
mainAxisExtent: Grid.calculateActualWidth(
|
mainAxisExtent: Grid.calculateActualWidth(
|
||||||
context, Grid.maxRowWidth * 2, StyleString.safeSpace) /
|
context, Grid.maxRowWidth * 2, StyleString.safeSpace) /
|
||||||
1.9 /
|
2.1 /
|
||||||
StyleString.aspectRatio),
|
StyleString.aspectRatio),
|
||||||
delegate: SliverChildBuilderDelegate(
|
delegate: SliverChildBuilderDelegate(
|
||||||
(BuildContext context, int index) {
|
(BuildContext context, int index) {
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ class SearchVideoPanel extends StatelessWidget {
|
|||||||
maxCrossAxisExtent: Grid.maxRowWidth * 2,
|
maxCrossAxisExtent: Grid.maxRowWidth * 2,
|
||||||
mainAxisExtent: Grid.calculateActualWidth(context,
|
mainAxisExtent: Grid.calculateActualWidth(context,
|
||||||
Grid.maxRowWidth * 2, StyleString.safeSpace) /
|
Grid.maxRowWidth * 2, StyleString.safeSpace) /
|
||||||
1.9 /
|
2.1 /
|
||||||
StyleString.aspectRatio),
|
StyleString.aspectRatio),
|
||||||
delegate: SliverChildBuilderDelegate(
|
delegate: SliverChildBuilderDelegate(
|
||||||
(BuildContext context, int index) {
|
(BuildContext context, int index) {
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ class _SubPageState extends State<SubPage> {
|
|||||||
context,
|
context,
|
||||||
Grid.maxRowWidth * 2,
|
Grid.maxRowWidth * 2,
|
||||||
StyleString.safeSpace) /
|
StyleString.safeSpace) /
|
||||||
1.9 /
|
2.1 /
|
||||||
StyleString.aspectRatio),
|
StyleString.aspectRatio),
|
||||||
delegate: SliverChildBuilderDelegate(
|
delegate: SliverChildBuilderDelegate(
|
||||||
childCount:
|
childCount:
|
||||||
|
|||||||
Reference in New Issue
Block a user