Merge branch 'main' into design

This commit is contained in:
guozhigq
2024-07-06 23:47:02 +08:00
14 changed files with 132 additions and 49 deletions

View File

@ -644,6 +644,15 @@ InlineSpan buildContent(
title,
'',
);
} else if (RegExp(r'^cv\d+$').hasMatch(matchStr)) {
Get.toNamed(
'/webview',
parameters: {
'url': 'https://www.bilibili.com/read/$matchStr',
'type': 'url',
'pageTitle': title
},
);
} else {
Uri uri = Uri.parse(matchStr.replaceAll('/?', '?'));
SchemeEntity scheme = SchemeEntity(