|
@@ -323,7 +323,7 @@ extension PQEmptyRemindView {
|
|
// }
|
|
// }
|
|
remindSubLab.isHidden = !(emptyData?.title != nil && emptyData?.title?.count ?? 0 > 0)
|
|
remindSubLab.isHidden = !(emptyData?.title != nil && emptyData?.title?.count ?? 0 > 0)
|
|
remindSubLab.isHidden = !(emptyData?.summary != nil && emptyData?.summary?.count ?? 0 > 0)
|
|
remindSubLab.isHidden = !(emptyData?.summary != nil && emptyData?.summary?.count ?? 0 > 0)
|
|
- imageView.image = emptyData?.emptySoureImage ?? UIImage.moduleImage(named: emptyData?.emptyImage ?? "", moduleName: "BFCommonKit")
|
|
|
|
|
|
+ imageView.image = emptyData?.emptySoureImage ?? UIImage.moduleImage(named: emptyData?.emptyImageName ?? "", moduleName: "BFCommonKit")
|
|
remindLab.text = emptyData?.title
|
|
remindLab.text = emptyData?.title
|
|
remindSubLab.text = emptyData?.summary
|
|
remindSubLab.text = emptyData?.summary
|
|
refreshBtn.isHidden = emptyData?.isRefreshHidden ?? true
|
|
refreshBtn.isHidden = emptyData?.isRefreshHidden ?? true
|
|
@@ -352,7 +352,7 @@ extension PQEmptyRemindView {
|
|
var contentH: CGFloat = 0
|
|
var contentH: CGFloat = 0
|
|
let normalH : CGFloat = margin * 2
|
|
let normalH : CGFloat = margin * 2
|
|
|
|
|
|
- if (emptyData?.emptySoureImage != nil) || (emptyData?.emptyImage != nil && emptyData?.emptyImage?.count ?? 0 > 0) || isNetLost {
|
|
|
|
|
|
+ if (emptyData?.emptySoureImage != nil) || (emptyData?.emptyImageName != nil && emptyData?.emptyImage?.count ?? 0 > 0) || isNetLost {
|
|
contentH = contentH + imageH
|
|
contentH = contentH + imageH
|
|
} else {
|
|
} else {
|
|
imageH = 0
|
|
imageH = 0
|