jsonwang 3 år sedan
förälder
incheckning
87d9fb61fa
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      BFFramework/Classes/PModels/PQVideoListModel.swift

+ 1 - 1
BFFramework/Classes/PModels/PQVideoListModel.swift

@@ -271,7 +271,7 @@ public class PQVideoListModel: PQBaseModel {
         itemHeight = (cScreenWidth - cDefaultMargin * 3) / 2 * originImageH / originImageW + tempTitleH + cDefaultMargin * 4.5
 
         if title != nil, (title?.count ?? 0) > 0 {
-            titleH = sizeWithText(text: title ?? "", font: UIFont.systemFont(ofSize: 26, weight: .medium), size: CGSize(width: cScreenWidth - cDefaultMargin * 2, height: CGFloat.greatestFiniteMagnitude)).height + cDefaultMargin
+            titleH = sizeWithText(text: title ?? "", font: UIFont.systemFont(ofSize: 16, weight: .bold), size: CGSize(width: cScreenWidth - cDefaultMargin * 2, height: CGFloat.greatestFiniteMagnitude)).height + cDefaultMargin
         }
         if titleH > 70 {
             titleH = 70