Commit 13a8852b authored by David黄金龙's avatar David黄金龙

1、替换真机的包

2、处理首页星星的问题
parent e955ef8e
......@@ -249,12 +249,15 @@ extension YHHomeCollectionViewCell {
guard let self = self else { return }
if success {
listModel.is_like = true
listModel.like_count = listModel.like_count + 1
self.numLable.text = listModel.like_count.string
self.heartImageViewBtn.setImage(UIImage(named: ""), for: .selected)
self.heartImageViewBtn.setImage(UIImage(named: ""), for: .normal)
self.animationView.isHidden = false
self.animationView.loopMode = .playOnce
self.updataSubViews()
// self.updataSubViews()
self.animationView.play {[weak self] completed in
guard let self = self else { return }
self.animationView.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