Commit c9af43e1 authored by pete谢兆麟's avatar pete谢兆麟

Merge branch '630-dev' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS into 630-dev

parents b48f3846 be2045d9
...@@ -14,6 +14,7 @@ class YHMatchUserViewController: YHBaseViewController { ...@@ -14,6 +14,7 @@ class YHMatchUserViewController: YHBaseViewController {
let viewModel = YHMatchUserViewModel() let viewModel = YHMatchUserViewModel()
var informationAuthorizeViewModel: YHInformationAuthorizeViewModel = YHInformationAuthorizeViewModel() var informationAuthorizeViewModel: YHInformationAuthorizeViewModel = YHInformationAuthorizeViewModel()
var needToMatch: Bool = false var needToMatch: Bool = false
var isStartMatch: Bool = false
lazy var topLabel:UILabel = { lazy var topLabel:UILabel = {
let label = UILabel() let label = UILabel()
...@@ -101,7 +102,7 @@ class YHMatchUserViewController: YHBaseViewController { ...@@ -101,7 +102,7 @@ class YHMatchUserViewController: YHBaseViewController {
} else { } else {
self.firstImageView.isHidden = true self.firstImageView.isHidden = true
self.bottomLabel.isHidden = true self.bottomLabel.isHidden = true
self.headLottieView.isHidden = false self.headLottieView.isHidden = self.isStartMatch ? true : false
self.launchLottieView.isHidden = false self.launchLottieView.isHidden = false
self.rotateLottieView.isHidden = true self.rotateLottieView.isHidden = true
self.bottomBtn.setTitle("AI人脉雷达匹配", for: .normal) self.bottomBtn.setTitle("AI人脉雷达匹配", for: .normal)
...@@ -217,6 +218,7 @@ class YHMatchUserViewController: YHBaseViewController { ...@@ -217,6 +218,7 @@ class YHMatchUserViewController: YHBaseViewController {
} }
func resetAnimation() { func resetAnimation() {
self.isStartMatch = false
self.launchLottieView.stop() self.launchLottieView.stop()
self.rotateLottieView.stop() self.rotateLottieView.stop()
self.headLottieView.isHidden = false self.headLottieView.isHidden = false
...@@ -237,6 +239,7 @@ extension YHMatchUserViewController: JXSegmentedListContainerViewListDelegate { ...@@ -237,6 +239,7 @@ extension YHMatchUserViewController: JXSegmentedListContainerViewListDelegate {
extension YHMatchUserViewController: YHMatchProtocol { extension YHMatchUserViewController: YHMatchProtocol {
func startMatchUsers() { func startMatchUsers() {
self.isStartMatch = true
self.bottomBtn.isHidden = true self.bottomBtn.isHidden = true
self.headLottieView.isHidden = true self.headLottieView.isHidden = true
self.launchLottieView.isHidden = false self.launchLottieView.isHidden = false
......
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