mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt msg item
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -146,7 +146,7 @@ class MineController
|
||||
Future<LoadingState<FavFolderData>> customGetData() {
|
||||
return FavHttp.userfavFolder(
|
||||
pn: 1,
|
||||
ps: 5,
|
||||
ps: 20,
|
||||
mid: accountService.mid,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -485,12 +485,12 @@ class _MediaPageState extends CommonPageState<MinePage, MineController>
|
||||
return SizedBox(
|
||||
height: 200,
|
||||
child: ListView.separated(
|
||||
padding: const EdgeInsets.only(left: 20, top: 12),
|
||||
padding: const EdgeInsets.only(left: 20, top: 12, right: 20),
|
||||
itemCount: response.list.length + (flag ? 1 : 0),
|
||||
itemBuilder: (context, index) {
|
||||
if (flag && index == favFolderList.length) {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.only(right: 14, bottom: 35),
|
||||
padding: const EdgeInsets.only(bottom: 35),
|
||||
child: Center(
|
||||
child: IconButton(
|
||||
tooltip: '查看更多',
|
||||
|
||||
@@ -704,29 +704,25 @@ class ChatItem extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
Divider(color: theme.colorScheme.primary.withValues(alpha: 0.05)),
|
||||
if ((content['text'] as String?)?.isNotEmpty == true)
|
||||
SelectableText(content['text']),
|
||||
if (modules?.isNotEmpty == true) ...[
|
||||
const SizedBox(height: 4),
|
||||
Text.rich(
|
||||
TextSpan(
|
||||
children: modules!.indexed
|
||||
.map(
|
||||
(e) => TextSpan(
|
||||
...modules!.map(
|
||||
(e) => Row(
|
||||
spacing: 10,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
TextSpan(
|
||||
text: e.$2['title'],
|
||||
style: TextStyle(
|
||||
color: theme.colorScheme.outline,
|
||||
SizedBox(
|
||||
width: 80,
|
||||
child: Text(
|
||||
e['title'],
|
||||
style: TextStyle(color: theme.colorScheme.outline),
|
||||
),
|
||||
),
|
||||
TextSpan(text: ' ${e.$2['detail']}'),
|
||||
if (e.$1 != modules.length - 1)
|
||||
const TextSpan(text: '\n'),
|
||||
Expanded(child: Text(e['detail'])),
|
||||
],
|
||||
),
|
||||
)
|
||||
.toList(),
|
||||
),
|
||||
),
|
||||
],
|
||||
if ((content['jump_text'] as String?)?.isNotEmpty == true &&
|
||||
|
||||
Reference in New Issue
Block a user