司机 预约 样式修改

This commit is contained in:
2026-01-27 17:35:37 +08:00
parent 18c04272e2
commit f8a8ecb0ed
4 changed files with 495 additions and 283 deletions

View File

@@ -689,6 +689,18 @@ class C_ReservationController extends GetxController with BaseControllerMixin {
} finally {
HttpService.to.setBaseUrl(AppTheme.test_service_url);
}
renderSliderTheme();
}
double current = 0.0;
double maxVal = 0.0;
void renderSliderTheme() {
current = double.tryParse(amountController.text) ?? 0.0;
maxVal = double.tryParse(difference) ?? 100.0;
if (maxVal <= 0) maxVal = 100.0;
updateUi();
}
void getSiteList() async {