mod: 评论跳转cv
This commit is contained in:
@ -703,14 +703,11 @@ InlineSpan buildContent(
|
|||||||
'',
|
'',
|
||||||
);
|
);
|
||||||
} else if (RegExp(r'^cv\d+$').hasMatch(matchStr)) {
|
} else if (RegExp(r'^cv\d+$').hasMatch(matchStr)) {
|
||||||
Get.toNamed(
|
Get.toNamed('/read', parameters: {
|
||||||
'/webview',
|
'title': title,
|
||||||
parameters: {
|
'id': Utils.matchNum(matchStr).first.toString(),
|
||||||
'url': 'https://www.bilibili.com/read/$matchStr',
|
'articleType': 'read',
|
||||||
'type': 'url',
|
});
|
||||||
'pageTitle': title
|
|
||||||
},
|
|
||||||
);
|
|
||||||
} else {
|
} else {
|
||||||
Uri uri = Uri.parse(matchStr.replaceAll('/?', '?'));
|
Uri uri = Uri.parse(matchStr.replaceAll('/?', '?'));
|
||||||
SchemeEntity scheme = SchemeEntity(
|
SchemeEntity scheme = SchemeEntity(
|
||||||
|
Reference in New Issue
Block a user