mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt show more text
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import 'dart:math';
|
||||
|
||||
import 'package:PiliPlus/common/constants.dart';
|
||||
import 'package:PiliPlus/common/widgets/dialog/report.dart';
|
||||
import 'package:PiliPlus/common/widgets/pendant_avatar.dart';
|
||||
import 'package:PiliPlus/http/constants.dart';
|
||||
@@ -243,10 +244,7 @@ class AuthorPanel extends StatelessWidget {
|
||||
children: [
|
||||
InkWell(
|
||||
onTap: Get.back,
|
||||
borderRadius: const BorderRadius.only(
|
||||
topLeft: Radius.circular(18),
|
||||
topRight: Radius.circular(18),
|
||||
),
|
||||
borderRadius: StyleString.bottomSheetRadius,
|
||||
child: Container(
|
||||
height: 35,
|
||||
padding: const EdgeInsets.only(bottom: 2),
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// 内容
|
||||
import 'package:PiliPlus/common/widgets/custom_icon.dart';
|
||||
import 'package:PiliPlus/common/widgets/image/image_view.dart';
|
||||
import 'package:PiliPlus/common/widgets/text/text.dart' as custom_text;
|
||||
import 'package:PiliPlus/models/dynamics/result.dart';
|
||||
import 'package:PiliPlus/pages/dynamics/widgets/rich_node_panel.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -68,13 +69,12 @@ Widget content(
|
||||
? const TextStyle(fontSize: 15)
|
||||
: const TextStyle(fontSize: 16),
|
||||
)
|
||||
: Text.rich(
|
||||
: custom_text.Text.rich(
|
||||
style: floor == 1
|
||||
? const TextStyle(fontSize: 15)
|
||||
: const TextStyle(fontSize: 14),
|
||||
richNodes,
|
||||
maxLines: isSave ? null : 6,
|
||||
overflow: isSave ? null : TextOverflow.ellipsis,
|
||||
),
|
||||
if (item.modules.moduleDynamic?.major?.opus?.pics?.isNotEmpty == true)
|
||||
LayoutBuilder(
|
||||
|
||||
Reference in New Issue
Block a user