南鑫林 5 éve
szülő
commit
bac270cee5

+ 2 - 2
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/CardContent/CommentList/CardContentCommentListContentTableViewCell.swift

@@ -171,7 +171,7 @@ class CardContentCommentListContentTableViewCell: UITableViewCell {
             likeButton.snp_remakeConstraints { (make) in
                 make.right.equalTo(likeCountLabel.snp.left).offset(-5)
                 make.centerY.equalTo(likeCountLabel)
-                make.size.equalTo(16)
+                make.size.equalTo(20)
             }
             
             let likeCountWidth =  likeCount.widthForComment(font: kRegularFont14!, height: 25.5)
@@ -213,7 +213,7 @@ class CardContentCommentListContentTableViewCell: UITableViewCell {
             likeButton.snp_remakeConstraints { (make) in
                 make.right.equalTo(likeCountLabel.snp.left).offset(-5)
                 make.centerY.equalTo(likeCountLabel)
-                make.size.equalTo(16)
+                make.size.equalTo(20)
             }
             let likeCountWidth =  likeCount.widthForComment(font: kRegularFont14!, height: 25.5)
             commentLabel.snp_remakeConstraints { (make) in

+ 2 - 2
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/CardContent/CommentList/CardContentCommentListTableViewCell.swift

@@ -157,7 +157,7 @@ extension CardContentCommentListTableViewCell : UITableViewDelegate,UITableViewD
             let likeWidth = likeCountStr.widthForComment(font: kRegularFont14!, height: 25.5)
             
             let str =  nameStr + contentStr
-            let strHeight = (str.heightForComment(font: kRegularFont14!, width: kScreenWidth-28-10-16-5-likeWidth) + 5)
+            let strHeight = (str.heightForComment(font: kRegularFont14!, width: kScreenWidth-28-10-20-5-likeWidth) + 5)
             return strHeight
         }else {
             let communityRecommendCommentModel = communityRecommendDataModel?.comment?[indexPath.row]
@@ -168,7 +168,7 @@ extension CardContentCommentListTableViewCell : UITableViewDelegate,UITableViewD
             let likeWidth = likeCountStr.widthForComment(font: kRegularFont14!, height: 25.5)
             
             let str =  nameStr + contentStr
-            let strHeight = (str.heightForComment(font: kRegularFont14!, width: kScreenWidth-28-10-16-5-likeWidth) + 5)
+            let strHeight = (str.heightForComment(font: kRegularFont14!, width: kScreenWidth-28-10-20-5-likeWidth) + 5)
             return strHeight
         }
     }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/ViewController/Follow/CommunityFollowViewController.swift

@@ -670,7 +670,7 @@ extension CommunityFollowViewController : UITableViewDelegate,UITableViewDataSou
                     let likeWidth = likeCountStr.widthForComment(font: kRegularFont14!, height: 25.5)
                     
                     let str =  nameStr + contentStr
-                    let strHeight = (str.heightForComment(font: kRegularFont14!, width:  kScreenWidth-28-10-16-5-likeWidth) + 10)
+                    let strHeight = (str.heightForComment(font: kRegularFont14!, width:  kScreenWidth-28-10-20-5-likeWidth) + 10)
                     height = (height ?? 0) + strHeight
                 }
                 

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/ViewController/Recommend/CommunityRecommnendViewController.swift

@@ -546,7 +546,7 @@ extension CommunityRecommnendViewController : UITableViewDelegate,UITableViewDat
                         let likeWidth = likeCountStr.widthForComment(font: kRegularFont14!, height: 25.5)
                         
                         let str =  nameStr + contentStr
-                        let strHeight = (str.heightForComment(font: kRegularFont14!, width:  kScreenWidth-28-10-16-5-likeWidth) + 5)
+                        let strHeight = (str.heightForComment(font: kRegularFont14!, width:  kScreenWidth-28-10-20-5-likeWidth) + 5)
                         height = (height ?? 0) + strHeight
                     }
                     

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/View/AllCommentCell/RecommendSubCommentTableViewCell.swift

@@ -89,7 +89,7 @@ class RecommendSubCommentTableViewCell: UITableViewCell {
         likeButton.snp.makeConstraints { (make) in
             make.right.equalTo(likeCountLabel.snp.left).offset(-5)
             make.centerY.equalTo(timeLabel)
-            
+            make.size.equalTo(20)
         }
     }
     

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunitySubComment/View/CommunityMajorCommentCell.swift

@@ -80,7 +80,7 @@ class CommunityMajorCommentCell: UITableViewCell {
         likeButton.snp.makeConstraints { (make) in
             make.right.equalTo(likeCountLabel.snp.left).offset(-5)
             make.centerY.equalTo(timeLabel)
-            
+            make.size.equalTo(20)
         }
     }
     

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunitySubComment/View/CommunityReplyCommentCell.swift

@@ -82,7 +82,7 @@ class CommunityReplyCommentCell: UITableViewCell {
         likeButton.snp.makeConstraints { (make) in
             make.right.equalTo(likeCountLabel.snp.left).offset(-5)
             make.centerY.equalTo(timeLabel)
-            
+            make.size.equalTo(20)
         }
     }
     

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityVideoContent/View/CommunityVideoMajorCommentCell.swift

@@ -87,7 +87,7 @@ class CommunityVideoMajorCommentCell: UITableViewCell {
         likeButton.snp.makeConstraints { (make) in
             make.right.equalTo(likeCountLabel.snp.left).offset(-5)
             make.centerY.equalTo(timeLabel)
-            
+            make.size.equalTo(20)
         }
         tableView.snp.remakeConstraints { (make) in
             make.top.equalTo(timeLabel.snp_bottom).offset(10)