Commit 6668d6a7 authored by David黄金龙's avatar David黄金龙

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

* '630-dev' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS:
  // UI
  边框问题
  //  UI
parents 4274e170 5ee5bd25
...@@ -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
......
...@@ -389,7 +389,7 @@ class YHEditInterestViewCell: UICollectionViewCell { ...@@ -389,7 +389,7 @@ class YHEditInterestViewCell: UICollectionViewCell {
if dataSource.isNormal { if dataSource.isNormal {
deleteButton.isHidden = true deleteButton.isHidden = true
if dataSource.isSelect { if dataSource.isSelect {
contentView.layer.borderWidth = 0.5 contentView.layer.borderWidth = 1
contentView.layer.borderColor = UIColor.brandMainColor.cgColor contentView.layer.borderColor = UIColor.brandMainColor.cgColor
titleLabel.textColor = UIColor.brandMainColor titleLabel.textColor = UIColor.brandMainColor
} else { } else {
...@@ -399,7 +399,7 @@ class YHEditInterestViewCell: UICollectionViewCell { ...@@ -399,7 +399,7 @@ class YHEditInterestViewCell: UICollectionViewCell {
} }
} else { } else {
if dataSource.isSelect { if dataSource.isSelect {
contentView.layer.borderWidth = 0.5 contentView.layer.borderWidth = 1
contentView.layer.borderColor = UIColor.brandMainColor.cgColor contentView.layer.borderColor = UIColor.brandMainColor.cgColor
titleLabel.textColor = UIColor.brandMainColor titleLabel.textColor = UIColor.brandMainColor
deleteButton.isHidden = true deleteButton.isHidden = true
......
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "wode_activity.png", "filename" : "Frame@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "wode_activity 1.png", "filename" : "Frame@3x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }
......
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