OKProject/Class/Home/Controller/HomeVC.swift
@@ -700,8 +700,9 @@ case "公务用车": let vc = TravelVC.init(orderType: .offical) vc.showCar = showCar vc.officialCharterClouse = { [weak self] in vc.officialCharterClouse = { [weak self] (viewModel) in let officialCharterVC = OfficialCharterVC() officialCharterVC.viewModel = viewModel officialCharterVC.view.frame = CGRect(x: 0, y: ScreenHeight, width: ScreenWidth, height: self?.view.height ?? 0) self?.view.addSubview(officialCharterVC.view) self?.addChild(officialCharterVC)