feat: read专栏内容渲染

This commit is contained in:
guozhigq
2024-09-26 23:45:58 +08:00
parent 1ed098fd81
commit 71566ba064
13 changed files with 856 additions and 60 deletions

View File

@ -154,12 +154,10 @@ class DynamicsController extends GetxController {
Iterable<Match> matches = digitRegExp.allMatches(jumpUrl);
String number = matches.first.group(0)!;
if (jumpUrl.contains('read')) {
number = 'cv$number';
Get.toNamed('/htmlRender', parameters: {
'url': url,
Get.toNamed('/read', parameters: {
'title': title,
'id': number,
'dynamicType': url.split('/')[1]
'articleType': url.split('/')[1]
});
} else {
Get.toNamed('/opus', parameters: {