南鑫林 před 5 roky
rodič
revize
012d7641bd

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CircleModule/Circle/View/CircleEssenceView/CircleEssenceView.swift

@@ -416,7 +416,7 @@ extension CircleEssenceView : UITableViewDelegate,UITableViewDataSource {
                     let likeWidth = likeCountStr.widthForComment(font: kRegularFont14!, height: 25.5)
                     
                     let str =  nameStr + contentStr
-                    let strHeight = (str.heightForComment(font: kRegularFont14!, width:  kScreenWidth-28-10-20-5-likeWidth) + 5)
+                    let strHeight = (str.heightForComment(font: kMediumFont14!, width:  kScreenWidth-28-10-20-5-likeWidth) + 5)
                     height = (height ?? 0) + strHeight
                 }
                 

+ 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-20-5-likeWidth) + 5)
+            let strHeight = (str.heightForComment(font: kMediumFont14!, 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-20-5-likeWidth) + 5)
+            let strHeight = (str.heightForComment(font: kMediumFont14!, width: kScreenWidth-28-10-20-5-likeWidth) + 5)
             return strHeight
         }
     }

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

@@ -683,7 +683,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-20-5-likeWidth) + 10)
+                    let strHeight = (str.heightForComment(font: kMediumFont14!, width:  kScreenWidth-28-10-20-5-likeWidth) + 10)
                     height = (height ?? 0) + strHeight
                 }
                 

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

@@ -575,7 +575,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-20-5-likeWidth) + 5)
+                        let strHeight = (str.heightForComment(font: kMediumFont14!, width:  kScreenWidth-28-10-20-5-likeWidth) + 5)
                         height = (height ?? 0) + strHeight
                     }
                     

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityFeaturedTopics/ViewController/CommunityFeaturedTopicsViewController.swift

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