From c86ac49db2969495ec21fae2a27956cad9499752 Mon Sep 17 00:00:00 2001
From: 无故事王国 <841720330@qq.com>
Date: 星期二, 26 九月 2023 19:04:02 +0800
Subject: [PATCH] 修改

---
 WanPai/Common/View/BaseTableView.swift |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/WanPai/Common/View/BaseTableView.swift b/WanPai/Common/View/BaseTableView.swift
index 91ee7fc..7097cb6 100644
--- a/WanPai/Common/View/BaseTableView.swift
+++ b/WanPai/Common/View/BaseTableView.swift
@@ -7,12 +7,13 @@
 
 import UIKit
 import EmptyDataSet_Swift
+import JQTools
 
 class BaseTableView:UITableView{
-    public func jq_setEmptyView( _ noticeStr:String? = nil,image:UIImage? = UIImage(named: "icon_empty"),foregroundColor:UIColor = UIColor.gray.withAlphaComponent(0.5),clouse:((EmptyDataSetView)->Void)? = nil) {
+	public func jq_setEmptyView( _ noticeStr:String? = nil,image:UIImage? = UIImage(named: "icon_LOGO")?.jq_imageWithTintColor(color: .gray),foregroundColor:UIColor = UIColor.gray,clouse:((EmptyDataSetView)->Void)? = nil) {
         self.separatorStyle = .none
         self.emptyDataSetView { (emptyDataSetView) in
-            emptyDataSetView.titleLabelString(NSAttributedString.init(string: (noticeStr != nil) ? noticeStr! : "暂无数据", attributes: [.font:UIFont.systemFont(ofSize: 16), .foregroundColor:foregroundColor as Any]))
+			emptyDataSetView.titleLabelString(NSAttributedString.init(string: (noticeStr != nil) ? noticeStr! : "暂无数据", attributes: [.font:UIFont.systemFont(ofSize: 18,weight: .medium), .foregroundColor:foregroundColor as Any]))
                 .image(image)
                 .dataSetBackgroundColor(UIColor.white)
                 .verticalOffset(0)
@@ -30,9 +31,9 @@
 }
 
 class BaseCollectionView:UICollectionView{
-    public func jq_setEmptyView( _ noticeStr:String? = nil,image:UIImage? = UIImage(named: "icon_empty"),foregroundColor:UIColor = UIColor.gray.withAlphaComponent(0.5),clouse:((EmptyDataSetView)->Void)? = nil) {
+    public func jq_setEmptyView( _ noticeStr:String? = nil,image:UIImage? = UIImage(named: "icon_LOGO")?.jq_imageWithTintColor(color: .gray),foregroundColor:UIColor = UIColor.gray,clouse:((EmptyDataSetView)->Void)? = nil) {
         self.emptyDataSetView { (emptyDataSetView) in
-            emptyDataSetView.titleLabelString(NSAttributedString.init(string: (noticeStr != nil) ? noticeStr! : "暂无数据", attributes: [.font:UIFont.systemFont(ofSize: 16), .foregroundColor:foregroundColor as Any]))
+            emptyDataSetView.titleLabelString(NSAttributedString.init(string: (noticeStr != nil) ? noticeStr! : "暂无数据", attributes: [.font:UIFont.systemFont(ofSize: 18,weight: .medium), .foregroundColor:foregroundColor as Any]))
                 .image(image)
                 .dataSetBackgroundColor(UIColor.white)
                 .verticalOffset(0)

--
Gitblit v1.7.1