feat: 原网页查看专栏
This commit is contained in:
@ -39,6 +39,7 @@ class OpusController extends GetxController {
|
||||
'articleType': 'cv',
|
||||
});
|
||||
} else {
|
||||
title.value = res['data'].detail!.basic!.title!;
|
||||
opusData.value = res['data'];
|
||||
}
|
||||
}
|
||||
@ -91,6 +92,15 @@ class OpusController extends GetxController {
|
||||
);
|
||||
}
|
||||
|
||||
// 跳转webview
|
||||
void onJumpWebview() {
|
||||
Get.toNamed('/webview', parameters: {
|
||||
'url': url,
|
||||
'type': 'webview',
|
||||
'pageTitle': title.value,
|
||||
});
|
||||
}
|
||||
|
||||
@override
|
||||
void onClose() {
|
||||
scrollController.removeListener(_scrollListener);
|
||||
|
||||
Reference in New Issue
Block a user