mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-28 03:58:39 +00:00
opt: readlist url, note item
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -37,7 +37,7 @@ class OpusContent extends StatelessWidget {
|
||||
TextStyle(
|
||||
decoration:
|
||||
style?.strikethrough == true ? TextDecoration.lineThrough : null,
|
||||
decorationColor: color
|
||||
decorationColor: color,
|
||||
fontStyle: style?.italic == true ? FontStyle.italic : null,
|
||||
fontWeight: style?.bold == true ? FontWeight.bold : null,
|
||||
color: color,
|
||||
|
||||
@@ -195,7 +195,7 @@ class _ArticleListPageState extends State<ArticleListPage> {
|
||||
tooltip: '浏览器打开',
|
||||
onPressed: () {
|
||||
PageUtils.inAppWebview(
|
||||
'${HttpString.baseUrl}/read/readlist/rl${_controller.id}');
|
||||
'${HttpString.baseUrl}/read/mobile-readlist/rl${_controller.id}');
|
||||
},
|
||||
icon: const Icon(Icons.open_in_browser_outlined, size: 19),
|
||||
)
|
||||
|
||||
@@ -48,7 +48,7 @@ class ArticleListItem extends StatelessWidget {
|
||||
height: 1.42,
|
||||
letterSpacing: 0.3,
|
||||
),
|
||||
maxLines: 1,
|
||||
maxLines: 2,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
const SizedBox(height: 3),
|
||||
@@ -59,7 +59,7 @@ class ArticleListItem extends StatelessWidget {
|
||||
fontSize: 13,
|
||||
color: theme.colorScheme.outline,
|
||||
),
|
||||
maxLines: 2,
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
const Spacer(),
|
||||
|
||||
@@ -55,29 +55,28 @@ class FavNoteItem extends StatelessWidget {
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Expanded(
|
||||
child: Text(
|
||||
item.title ?? '',
|
||||
maxLines: 2,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: const TextStyle(
|
||||
height: 1.4,
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
Text(
|
||||
item.title ?? '',
|
||||
maxLines: 2,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: const TextStyle(
|
||||
height: 1.4,
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
const Spacer(),
|
||||
Text(
|
||||
item.summary ?? '',
|
||||
maxLines: 1,
|
||||
style: TextStyle(
|
||||
fontSize: 13,
|
||||
fontSize: 14,
|
||||
height: 1,
|
||||
color: theme.colorScheme.outline,
|
||||
overflow: TextOverflow.clip,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 3),
|
||||
const Spacer(),
|
||||
Text(
|
||||
item.message ?? '',
|
||||
maxLines: 1,
|
||||
|
||||
Reference in New Issue
Block a user