feat: sort zone of video search

This commit is contained in:
bggRGjQaUbCoE
2024-09-28 10:39:20 +08:00
parent 1650f138b6
commit 9e8ce5b093
4 changed files with 132 additions and 43 deletions

View File

@@ -14,6 +14,7 @@ class SearchPanelController extends CommonController {
RxString order = ''.obs;
// 视频时长筛选 仅用于搜索视频
RxInt duration = 0.obs;
int? tids;
@override
void onInit() {
@@ -69,5 +70,6 @@ class SearchPanelController extends CommonController {
page: currentPage,
order: searchType!.type != 'video' ? null : order.value,
duration: searchType!.type != 'video' ? null : duration.value,
tids: tids,
);
}