jsonwang 3 年 前
コミット
4c15e03d52
1 ファイル変更3 行追加1 行削除
  1. 3 1
      BFFramework/Classes/PModels/PQVideoListModel.swift

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

@@ -271,7 +271,9 @@ open 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: 16, weight: .bold), size: CGSize(width: cScreenWidth - cDefaultMargin * 2, height: CGFloat.greatestFiniteMagnitude)).height + cDefaultMargin
+ 
+            titleH = sizeWithText(text: title ?? "", font: UIFont.systemFont(ofSize: 26, weight: .medium), size: CGSize(width: cScreenWidth - cDefaultMargin * 2, height: CGFloat.greatestFiniteMagnitude)).height + cDefaultMargin
+
         }
         if titleH > 70 {
             titleH = 70