refa: article (#757)

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
dom
2025-04-26 14:54:22 +08:00
committed by GitHub
parent 64f7ba2a1a
commit 40fb93f036
87 changed files with 2628 additions and 993 deletions

View File

@@ -793,12 +793,13 @@ class ReplyItemGrpc extends StatelessWidget {
firstMatch?.group(2) ??
firstMatch?.group(3);
if (cvid != null) {
Get.toNamed('/htmlRender', parameters: {
'url': 'https://www.bilibili.com/read/cv$cvid',
'title': title,
'id': 'cv$cvid',
'dynamicType': 'read'
});
Get.toNamed(
'/articlePage',
parameters: {
'id': cvid,
'type': 'read',
},
);
return;
}
PageUtils.handleWebview(matchStr);
@@ -902,12 +903,13 @@ class ReplyItemGrpc extends StatelessWidget {
.firstMatch(patternStr)
?.group(1);
if (cvid != null) {
Get.toNamed('/htmlRender', parameters: {
'url': 'https://www.bilibili.com/read/cv$cvid',
'title': '',
'id': 'cv$cvid',
'dynamicType': 'read'
});
Get.toNamed(
'/articlePage',
parameters: {
'id': cvid,
'type': 'read',
},
);
return;
}