opt: readlist url, note item

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-12 21:19:39 +08:00
parent de9eb2292e
commit d15b8091bc
4 changed files with 15 additions and 16 deletions

View File

@@ -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,

View File

@@ -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),
)

View File

@@ -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(),

View File

@@ -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,