mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 08:08:19 +08: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(
|
TextStyle(
|
||||||
decoration:
|
decoration:
|
||||||
style?.strikethrough == true ? TextDecoration.lineThrough : null,
|
style?.strikethrough == true ? TextDecoration.lineThrough : null,
|
||||||
decorationColor: color
|
decorationColor: color,
|
||||||
fontStyle: style?.italic == true ? FontStyle.italic : null,
|
fontStyle: style?.italic == true ? FontStyle.italic : null,
|
||||||
fontWeight: style?.bold == true ? FontWeight.bold : null,
|
fontWeight: style?.bold == true ? FontWeight.bold : null,
|
||||||
color: color,
|
color: color,
|
||||||
|
|||||||
@@ -195,7 +195,7 @@ class _ArticleListPageState extends State<ArticleListPage> {
|
|||||||
tooltip: '浏览器打开',
|
tooltip: '浏览器打开',
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
PageUtils.inAppWebview(
|
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),
|
icon: const Icon(Icons.open_in_browser_outlined, size: 19),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ class ArticleListItem extends StatelessWidget {
|
|||||||
height: 1.42,
|
height: 1.42,
|
||||||
letterSpacing: 0.3,
|
letterSpacing: 0.3,
|
||||||
),
|
),
|
||||||
maxLines: 1,
|
maxLines: 2,
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
),
|
),
|
||||||
const SizedBox(height: 3),
|
const SizedBox(height: 3),
|
||||||
@@ -59,7 +59,7 @@ class ArticleListItem extends StatelessWidget {
|
|||||||
fontSize: 13,
|
fontSize: 13,
|
||||||
color: theme.colorScheme.outline,
|
color: theme.colorScheme.outline,
|
||||||
),
|
),
|
||||||
maxLines: 2,
|
maxLines: 1,
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
),
|
),
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
|
|||||||
@@ -55,8 +55,7 @@ class FavNoteItem extends StatelessWidget {
|
|||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Expanded(
|
Text(
|
||||||
child: Text(
|
|
||||||
item.title ?? '',
|
item.title ?? '',
|
||||||
maxLines: 2,
|
maxLines: 2,
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
@@ -66,18 +65,18 @@ class FavNoteItem extends StatelessWidget {
|
|||||||
fontWeight: FontWeight.bold,
|
fontWeight: FontWeight.bold,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
const Spacer(),
|
||||||
Text(
|
Text(
|
||||||
item.summary ?? '',
|
item.summary ?? '',
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 13,
|
fontSize: 14,
|
||||||
height: 1,
|
height: 1,
|
||||||
color: theme.colorScheme.outline,
|
color: theme.colorScheme.outline,
|
||||||
overflow: TextOverflow.clip,
|
overflow: TextOverflow.clip,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 3),
|
const Spacer(),
|
||||||
Text(
|
Text(
|
||||||
item.message ?? '',
|
item.message ?? '',
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user