Prechádzať zdrojové kódy

修改图片位置,清理多余图片

harry 3 rokov pred
rodič
commit
dda470389d

BIN
BFFramework/Assets/Stuckpoint/ic_heart@2x.png


BIN
BFFramework/Assets/Stuckpoint/icon_oder@2x.png


BIN
BFFramework/Assets/Stuckpoint/pic_network@2x.png


BIN
BFFramework/Assets/base/icon_detail_back@2x.png


BIN
BFFramework/Assets/base/icon_detail_back@3x.png


+ 9 - 9
BFFramework/Classes/Stuckpoint/Controller/PQStuckPointMusicSearchController.swift

@@ -27,15 +27,15 @@ class PQStuckPointMusicSearchController: PQStuckPointMusicContentController {
 
     override func viewDidLoad() {
         super.viewDidLoad()
-        emptyData?.title = "没有搜索到相关音乐"
-        emptyData?.emptyImage = "pic_search_empty"
-        emptyRemindView.remindLab.font = UIFont.systemFont(ofSize: 14)
-        emptyRemindView.remindLab.textColor = UIColor.hexColor(hexadecimal: "#999999")
-        emptyRemindView.frame = CGRect(x: 0, y: 0, width: view.frame.width, height: 200)
-        emptyRemindView.emptyData = emptyData
-        refreshHandle = { [weak self] _, _ in
-            self?.loadRequestData(isRefresh: false)
-        }
+//        emptyData?.title = "没有搜索到相关音乐"
+//        emptyData?.emptyImageName = "pic_search_empty"
+//        emptyRemindView.remindLab.font = UIFont.systemFont(ofSize: 14)
+//        emptyRemindView.remindLab.textColor = UIColor.hexColor(hexadecimal: "#999999")
+//        emptyRemindView.frame = CGRect(x: 0, y: 0, width: view.frame.width, height: 200)
+//        emptyRemindView.emptyData = emptyData
+//        refreshHandle = { [weak self] _, _ in
+//            self?.loadRequestData(isRefresh: false)
+//        }
     }
 
     /// 开始搜索

+ 2 - 1
BFFramework/Classes/Stuckpoint/View/PQStuckPointLoadingView.swift

@@ -9,6 +9,7 @@
 import Kingfisher
 import UIKit
 import BFCommonKit
+import BFUIKit
 
 class PQStuckPointLoadingView: UIView {
     var cancelHandle: ((_ sender: UIButton) -> Void)?
@@ -31,7 +32,7 @@ class PQStuckPointLoadingView: UIView {
         navBarLeftBtn.imageEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: -5, right: 0)
         navBarLeftBtn.imageEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: -5, right: 0)
         navBarLeftBtn.tintColor = PQBFConfig.shared.styleTitleColor
-        navBarLeftBtn.setImage(UIImage.moduleImage(named: "icon_detail_back", moduleName: "BFFramework",isAssets: false)?.withRenderingMode(.alwaysTemplate), for: .normal)
+        navBarLeftBtn.setImage(imageInUIKit(by: "icon_detail_back")?.withRenderingMode(.alwaysTemplate), for: .normal)
         navBarLeftBtn.addTarget(self, action: #selector(cancelDownload(sender:)), for: .touchUpInside)
         return navBarLeftBtn
     }()

+ 1 - 1
BFFramework/Classes/Stuckpoint/View/PQStuckPointSearchEmptyCell.swift

@@ -11,7 +11,7 @@ import BFCommonKit
 
 class PQStuckPointSearchEmptyCell: UICollectionViewCell {
     lazy var emptyImageView: UIImageView = {
-        let emptyImageView = UIImageView(image:UIImage.moduleImage(named: "pic_search_empty", moduleName: "BFFramework",isAssets: false))
+        let emptyImageView = UIImageView(image:UIImage.moduleImage(named: "pic_search_empty", moduleName: "BFUIKit",isAssets: false))
         emptyImageView.backgroundColor = UIColor.clear
         emptyImageView.contentMode = .scaleAspectFit
         return emptyImageView

+ 1 - 1
BFFramework/Classes/selectImage/PQImageCropVC.swift

@@ -127,7 +127,7 @@ class PQImageCropVC: BFBaseViewController, UIScrollViewDelegate {
         let bottomView = UIView(frame: CGRect(x: 0, y: cScreenHeigth - cDevice_iPhoneTabBarHei, width: cScreenWidth, height: cDevice_iPhoneTabBarHei))
         let deleteBtn = UIButton(frame: CGRect(x: cDefaultMargin, y: 0, width: cDevice_iPhoneTabBarHei, height: cDevice_iPhoneTabBarHei))
         bottomView.backgroundColor = PQBFConfig.shared.styleBackGroundColor
-        deleteBtn.setImage(UIImage.moduleImage(named: "icon_detail_back", moduleName: "BFCommonKit"), for: .normal)
+        deleteBtn.setImage(imageInUIKit(by: "icon_detail_back"), for: .normal)
         deleteBtn.addTarget(self, action: #selector(tappedClose), for: .touchUpInside)
 
         bottomView.addSubview(deleteBtn)

+ 1 - 1
BFFramework/Classes/selectImage/PQImageSelectedController.swift

@@ -14,7 +14,7 @@ class PQImageSelectedController: PQUploadController {
     override func viewDidLoad() {
         super.viewDidLoad()
         emptyData?.title = "哦呜~ 你没有可上传的图片~"
-        emptyData?.emptyImage = "icon_authorError"
+        emptyData?.emptyImageName = "icon_authorError"
         // Do any additional setup after loading the view.
     }
 

+ 2 - 2
BFFramework/Classes/selectImage/PQUploadController.swift

@@ -146,14 +146,14 @@ class PQUploadController: BFBaseViewController {
         let anthorEmptyData = PQEmptyModel()
         anthorEmptyData.title = "开始上传"
         anthorEmptyData.summary = "要开始上传视频,请先授予相册使用权限"
-        anthorEmptyData.emptyImage = "icon_authorError"
+        anthorEmptyData.emptyImageName = "icon_authorError"
         return anthorEmptyData
     }()
 
     var emptyData: PQEmptyModel? = {
         let emptyData = PQEmptyModel()
         emptyData.title = "哦呜~ 你没有可上传的视频~"
-        emptyData.emptyImage = "video_empty"
+        emptyData.emptyImageName = "video_empty"
         emptyData.netDisRefreshBgColor = UIColor.hexColor(hexadecimal: "#FA6400")
         emptyData.netDisTitle = "内容加载失败"
         emptyData.netDisTitleColor = UIColor.hexColor(hexadecimal: "#333333")