Commit 12009c47 authored by Alex朱枝文's avatar Alex朱枝文

跳七鱼的增加loading

parent 67723368
......@@ -372,7 +372,9 @@ extension YHCommunityViewController {
return
}
//YHAnalytics.track("APP_HomeTab_IntelligentAssistant")
YHHUD.show(.progress(message: "加载中..."))
YHButlerServiceManager.shared.gotoButlerServiceSessionVC(navigationController: navigationController, completion: { _ in
YHHUD.hide()
})
}
}
......@@ -615,7 +615,9 @@ extension YHServiceCenterViewController {
return
}
//YHAnalytics.track("APP_HomeTab_IntelligentAssistant")
YHHUD.show(.progress(message: "加载中..."))
YHButlerServiceManager.shared.gotoButlerServiceSessionVC(navigationController: navigationController, completion: { _ in
YHHUD.hide()
})
}
}
......@@ -798,7 +798,9 @@ extension YHJsApi {
guard let userId = YHLoginManager.shared.userModel?.id, userId.count > 0, let navigationController = UIViewController.current?.navigationController else {
return
}
YHHUD.show(.progress(message: "加载中..."))
YHButlerServiceManager.shared.gotoButlerServiceSessionVC(navigationController: navigationController, completion: { _ in
YHHUD.hide()
})
}
}
......
......@@ -570,7 +570,9 @@ extension YHMyNewViewController {
return
}
//YHAnalytics.track("APP_HomeTab_IntelligentAssistant")
YHHUD.show(.progress(message: "加载中..."))
YHButlerServiceManager.shared.gotoButlerServiceSessionVC(navigationController: navigationController, completion: { _ in
YHHUD.hide()
})
}
}
......
......@@ -610,7 +610,9 @@ extension YHMyViewController {
return
}
//YHAnalytics.track("APP_HomeTab_IntelligentAssistant")
YHHUD.show(.progress(message: "加载中..."))
YHButlerServiceManager.shared.gotoButlerServiceSessionVC(navigationController: navigationController, completion: { _ in
YHHUD.hide()
})
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment