Commit 6d00cc0a authored by Steven杜宇's avatar Steven杜宇

// UI更改

parent 9c7966bd
......@@ -45,8 +45,6 @@ class YHMatchUserViewController: YHBaseViewController {
return btn
}()
var isBottomBtnEnabled = true
lazy var headLottieView: LottieAnimationView = {
let view = LottieAnimationView(name: "people_head")
view.loopMode = .loop
......@@ -227,6 +225,7 @@ class YHMatchUserViewController: YHBaseViewController {
self.wingLeftImgV.isHidden = false
self.wingRightImgV.isHidden = false
self.topLabel.isHidden = false
self.bottomBtn.isHidden = false
}
}
......@@ -238,12 +237,7 @@ extension YHMatchUserViewController: JXSegmentedListContainerViewListDelegate {
extension YHMatchUserViewController: YHMatchProtocol {
func startMatchUsers() {
if !self.isBottomBtnEnabled {
return
}
self.isBottomBtnEnabled = false
self.bottomBtn.isHidden = true
self.headLottieView.isHidden = true
self.launchLottieView.isHidden = false
self.topLabel.isHidden = true
......@@ -268,7 +262,6 @@ extension YHMatchUserViewController {
func requestMatchUserList() {
self.viewModel.getMatchUserlist {
success, error in
self.isBottomBtnEnabled = true
if success, self.viewModel.matchUserArr.count > 0 {
let vc = YHMatchResultListViewController()
vc.delegate = self
......
......@@ -106,7 +106,7 @@ class YHNameCardInfoView: DragCardView {
let nameLabel = UILabel()
nameLabel.textAlignment = .center
nameLabel.textColor = UIColor.mainTextColor
nameLabel.font = UIFont.PFSC_B(ofSize:18)
nameLabel.font = UIFont.PFSC_M(ofSize:21)
return nameLabel
}()
......@@ -137,7 +137,7 @@ class YHNameCardInfoView: DragCardView {
lazy var bottomBtn:UIButton = {
let btn = UIButton()
btn.backgroundColor = .brandMainColor
btn.setBackgroundImage(UIImage(named: "people_exchange_btn"), for: .normal)
btn.setTitle("交换名片", for: .normal)
btn.setTitleColor(.white, for: .normal)
btn.titleLabel?.font = .PFSC_M(ofSize: 15)
......@@ -180,7 +180,7 @@ class YHNameCardInfoView: DragCardView {
private func initUI() {
self.backgroundColor = .white
self.layer.cornerRadius = 3.0
self.layer.cornerRadius = 6.0
self.clipsToBounds = true
}
......
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Rectangle 30 Copy@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Rectangle 30 Copy@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
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