Commit 49320b4b authored by Steven杜宇's avatar Steven杜宇

// tab

parent 50f7a08e
...@@ -35,7 +35,7 @@ class YHCommunityViewController: YHBaseViewController { ...@@ -35,7 +35,7 @@ class YHCommunityViewController: YHBaseViewController {
dataSource.isItemSpacingAverageEnabled = false dataSource.isItemSpacingAverageEnabled = false
dataSource.itemWidth = JXSegmentedViewAutomaticDimension dataSource.itemWidth = JXSegmentedViewAutomaticDimension
dataSource.itemSpacing = 24 dataSource.itemSpacing = 28.0
return dataSource return dataSource
}() }()
......
...@@ -72,6 +72,16 @@ class YHMatchUserViewController: YHBaseViewController { ...@@ -72,6 +72,16 @@ class YHMatchUserViewController: YHBaseViewController {
return label return label
}() }()
lazy var matchTipsLabel:UILabel = {
let label = UILabel()
label.text = "AI 人脉雷达正在为您智能匹配..."
label.textAlignment = .center
label.textColor = UIColor.white
label.font = UIFont.PFSC_R(ofSize:16)
label.isHidden = true
return label
}()
lazy var firstImageView: UIImageView = { lazy var firstImageView: UIImageView = {
let imageView = UIImageView() let imageView = UIImageView()
imageView.image = UIImage(named: "people_first_bg_image") imageView.image = UIImage(named: "people_first_bg_image")
...@@ -143,6 +153,7 @@ class YHMatchUserViewController: YHBaseViewController { ...@@ -143,6 +153,7 @@ class YHMatchUserViewController: YHBaseViewController {
self.view.addSubview(launchLottieView) self.view.addSubview(launchLottieView)
self.view.addSubview(rotateLottieView) self.view.addSubview(rotateLottieView)
self.view.addSubview(headLottieView) self.view.addSubview(headLottieView)
self.view.addSubview(matchTipsLabel)
self.headLottieView.play() self.headLottieView.play()
launchLottieView.snp.makeConstraints { make in launchLottieView.snp.makeConstraints { make in
...@@ -184,6 +195,13 @@ class YHMatchUserViewController: YHBaseViewController { ...@@ -184,6 +195,13 @@ class YHMatchUserViewController: YHBaseViewController {
make.top.equalTo(self.bottomBtn.snp.bottom).offset(12) make.top.equalTo(self.bottomBtn.snp.bottom).offset(12)
} }
self.matchTipsLabel.snp.makeConstraints { make in
make.centerX.equalToSuperview()
make.top.equalTo(self.launchLottieView.snp.bottom).offset(20)
make.height.equalTo(18.0)
}
self.wingLeftImgV.snp.makeConstraints { make in self.wingLeftImgV.snp.makeConstraints { make in
make.width.height.equalTo(19) make.width.height.equalTo(19)
make.right.equalTo(self.topLabel.snp.left) make.right.equalTo(self.topLabel.snp.left)
...@@ -233,6 +251,8 @@ class YHMatchUserViewController: YHBaseViewController { ...@@ -233,6 +251,8 @@ class YHMatchUserViewController: YHBaseViewController {
self.wingRightImgV.isHidden = false self.wingRightImgV.isHidden = false
self.topLabel.isHidden = false self.topLabel.isHidden = false
self.bottomBtn.isHidden = false self.bottomBtn.isHidden = false
self.matchTipsLabel.isHidden = true
} }
} }
...@@ -246,6 +266,7 @@ extension YHMatchUserViewController: YHMatchProtocol { ...@@ -246,6 +266,7 @@ extension YHMatchUserViewController: YHMatchProtocol {
@objc func startMatchUsers() { @objc func startMatchUsers() {
self.isStartMatch = true self.isStartMatch = true
self.bottomBtn.isHidden = true self.bottomBtn.isHidden = true
self.matchTipsLabel.isHidden = false
self.headLottieView.isHidden = true self.headLottieView.isHidden = true
self.launchLottieView.isHidden = false self.launchLottieView.isHidden = false
self.topLabel.isHidden = true self.topLabel.isHidden = true
......
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