Ver código fonte

修复热区

南鑫林 5 anos atrás
pai
commit
24faa8b4c8

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

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