Selaa lähdekoodia

1.修改背景色

wenweiwei 3 vuotta sitten
vanhempi
commit
acf905e43d

+ 3 - 4
BFFramework/Classes/Base/Controller/PQBaseViewController.swift

@@ -36,16 +36,15 @@ public class PQBaseViewController: UIViewController, UIGestureRecognizerDelegate
     override public func viewDidLoad() {
         super.viewDidLoad()
         navigationController?.isNavigationBarHidden = true
-        view.backgroundColor = UIColor.black
-
+        view.backgroundColor = PQBFConfig.shared.styleBackGroundColor
         navHeadImageView = UIImageView(image: UIImage())
         navHeadImageView?.isUserInteractionEnabled = true
-        navHeadImageView?.backgroundColor = UIColor.black
+        navHeadImageView?.backgroundColor = PQBFConfig.shared.styleBackGroundColor
         navHeadImageView?.frame = CGRect(x: 0, y: 0, width: cScreenWidth, height: cDevice_iPhoneNavBarAndStatusBarHei)
         view.addSubview(navHeadImageView!)
 
         lineView = UIView(frame: CGRect(x: 0, y: (navHeadImageView?.frame.maxY ?? cDevice_iPhoneNavBarAndStatusBarHei) - 0.5, width: cScreenWidth, height: 0.5))
-        lineView?.backgroundColor = UIColor.black
+        lineView?.backgroundColor = PQBFConfig.shared.styleBackGroundColor
         view.addSubview(lineView!)
         UINavigationBar.appearance().setBackgroundImage(UIImage(), for: .default)
         automaticallyAdjustsScrollViewInsets = false

+ 6 - 5
BFFramework/Classes/Stuckpoint/Controller/PQStuckPointEditerController.swift

@@ -56,6 +56,7 @@ class PQStuckPointEditerController: PQBaseViewController {
     lazy var playerView: PQGPUImagePlayerView = {
         let playerHeight = cScreenWidth
         let playerView = PQGPUImagePlayerView(frame: CGRect(x: 0, y: navHeadImageView?.frame.maxY ?? 0, width: playerHeight, height: playerHeight))
+        playerView.backgroundColor = PQBFConfig.shared.styleBackGroundColor
         playerView.isShowLine = false
         return playerView
     }()
@@ -155,7 +156,9 @@ class PQStuckPointEditerController: PQBaseViewController {
         musicNameView.frame = CGRect(x: (view.frame.width - nameWidth) / 2, y: cDevice_iPhoneStatusBarHei + (cDevice_iPhoneNavBarHei - cDefaultMargin * 3) / 2, width: nameWidth, height: cDefaultMargin * 3)
 //        musicNameView.backgroundColor = UIColor.hexColor(hexadecimal: "#333333")
         musicNameView.addCorner(corner: musicNameView.frame.height / 2)
-        let musicImageView = UIImageView(image:UIImage.init().BF_Image(named:  "stuckPoint_reCreate_music"))
+        let musicImageView = UIImageView()
+        musicImageView.tintColor = PQBFConfig.shared.styleTitleColor
+        musicImageView.image = UIImage.init().BF_Image(named:  "stuckPoint_reCreate_music").withRenderingMode(.alwaysTemplate)
         musicImageView.frame = CGRect(x: musicNameView.frame.height / 2 - 5, y: (musicNameView.frame.height - 22) / 2, width: 22, height: 22)
         musicNameView.addSubview(musicImageView)
         musicNameLab.frame.origin.x = musicImageView.frame.maxX + 5
@@ -168,7 +171,7 @@ class PQStuckPointEditerController: PQBaseViewController {
     lazy var musicNameLab: LMJHorizontalScrollText = {
         let nameWidth: CGFloat = sizeWithText(text: "\(stuckPointMusicData?.musicName ?? "")", font: UIFont.systemFont(ofSize: 13), size: CGSize(width: view.frame.width - ((cDefaultMargin * 6 + 16 * 2) * 2) - (25 + cDefaultMargin * 3), height: cDefaultMargin * 3)).width
         let musicNameLab = LMJHorizontalScrollText(frame: CGRect(x: 0, y: 0, width: nameWidth < cDefaultMargin * 4 ? cDefaultMargin * 4 : nameWidth, height: cDefaultMargin * 3))
-        musicNameLab.textColor = UIColor.white
+        musicNameLab.textColor = PQBFConfig.shared.styleTitleColor
         musicNameLab.textFont = UIFont.systemFont(ofSize: 13)
         musicNameLab.speed = 0.03
         musicNameLab.moveDirection = LMJTextScrollMoveLeft
@@ -230,9 +233,7 @@ class PQStuckPointEditerController: PQBaseViewController {
 
     override func viewDidLoad() {
         super.viewDidLoad()
-        view.backgroundColor = UIColor.hexColor(hexadecimal: "#191919")
-        navHeadImageView?.backgroundColor = UIColor.hexColor(hexadecimal: "#262626")
-        leftBackButton()
+        leftButton(image: "icon_detail_back",tintColor: PQBFConfig.shared.styleTitleColor)
         navHeadImageView?.addSubview(nextBtn)
         navHeadImageView?.addSubview(musicNameView)
         // 添加子视图

+ 2 - 6
BFFramework/Classes/Stuckpoint/Controller/PQStuckPointMaterialController.swift

@@ -114,11 +114,10 @@ public class PQStuckPointMaterialController: PQBaseViewController {
     // 确定按钮
     lazy var confirmBtn: UIButton = {
         let confirmBtn = UIButton(frame: CGRect(x: bottomRemindView.frame.width - cDefaultMargin * 9 - margin, y: margin / 2, width: cDefaultMargin * 9, height: bottomH - margin))
-        confirmBtn.backgroundColor = UIColor.hexColor(hexadecimal: "#F2F2F2")
+        confirmBtn.backgroundColor = PQBFConfig.shared.otherTintColor
 //        confirmBtn.backgroundColor = UIColor.hexColor(hexadecimal: "#EE0051")
         confirmBtn.setTitle("确定", for: .normal)
         confirmBtn.setTitleColor(UIColor.hexColor(hexadecimal: "#999999"), for: .normal)
-        confirmBtn.setTitleColor(UIColor.hexColor(hexadecimal: "#999999"), for: .normal)
         confirmBtn.setTitleColor(UIColor.white, for: .selected)
         confirmBtn.titleLabel?.font = UIFont.systemFont(ofSize: 13, weight: .medium)
         confirmBtn.addCorner(corner: 3)
@@ -199,9 +198,6 @@ public class PQStuckPointMaterialController: PQBaseViewController {
 
     public override func viewDidLoad() {
         super.viewDidLoad()
-        view.backgroundColor = PQBFConfig.shared.styleBackGroundColor
-        navHeadImageView?.backgroundColor = PQBFConfig.shared.styleBackGroundColor
-        lineView?.backgroundColor = PQBFConfig.shared.styleBackGroundColor
         leftButton(image: "upload_delete",tintColor: PQBFConfig.shared.styleTitleColor)
         navHeadImageView?.addSubview(changeCollecBtn)
         navHeadImageView?.frame.size.height = cDevice_iPhoneNavBarAndStatusBarHei + margin * 2 + choseBtnH
@@ -304,7 +300,7 @@ public class PQStuckPointMaterialController: PQBaseViewController {
 //                }
 //            }
         } else {
-            confirmBtn.backgroundColor = UIColor.hexColor(hexadecimal: "#F2F2F2")
+            confirmBtn.backgroundColor = PQBFConfig.shared.otherTintColor
 //            if materialHeadView.isHidden {
 //                UIView.animate(withDuration: 0.5, delay: 0, options: .allowUserInteraction) { [weak self] in
 //                    // 调整位置

+ 2 - 3
BFFramework/Classes/Stuckpoint/Controller/PQStuckPointMaterialDetailController.swift

@@ -27,7 +27,7 @@ class PQStuckPointMaterialDetailController: PQBaseViewController {
     lazy var preImageView: UIImageView = {
         let preImageView = UIImageView(frame: CGRect(x: (maxWidth - preViewWidth) / 2, y: cDevice_iPhoneNavBarAndStatusBarHei + (maxHeight - preViewHeight) / 2, width: preViewWidth, height: preViewHeight))
         preImageView.center.x = view.center.x
-        preImageView.backgroundColor = UIColor.black
+        preImageView.backgroundColor = PQBFConfig.shared.styleBackGroundColor
         preImageView.contentMode = .scaleAspectFit
         preImageView.isUserInteractionEnabled = true
         preImageView.clipsToBounds = true
@@ -129,7 +129,7 @@ class PQStuckPointMaterialDetailController: PQBaseViewController {
 
     override func viewDidLoad() {
         super.viewDidLoad()
-        leftBackButton()
+        leftButton(image: "icon_detail_back",tintColor: PQBFConfig.shared.styleTitleColor)
         navHeadImageView?.backgroundColor = UIColor.clear
         let width = CGFloat(materialData?.width ?? Float(preViewWidth))
         let height = CGFloat(materialData?.height ?? Float(preViewHeight))
@@ -141,7 +141,6 @@ class PQStuckPointMaterialDetailController: PQBaseViewController {
             preViewWidth = preViewHeight * width / height
         }
         lineView?.removeFromSuperview()
-        view.backgroundColor = UIColor.hexColor(hexadecimal: "#262626")
         view.addSubview(preImageView)
 //        preImageView.addSubview(changeModeBtn)
         if materialData?.type == StickerType.GIF.rawValue {

+ 0 - 1
BFFramework/Classes/Stuckpoint/Controller/PQStuckPointMusicContentController.swift

@@ -40,7 +40,6 @@ class PQStuckPointMusicContentController: PQBaseViewController {
             } else {
                 lastIndexPath = IndexPath(item: 0, section: 0)
             }
-            collectionView.backgroundColor = UIColor.hexColor(hexadecimal: contentType == .catagery ? "#212121" : "#111111")
         }
     }
 

+ 5 - 8
BFFramework/Classes/Stuckpoint/Controller/PQStuckPointMusicController.swift

@@ -81,9 +81,9 @@ class PQStuckPointMusicController: PQBaseViewController {
     lazy var searchTF: UITextField = {
         let searchTF = UITextField(frame: CGRect(x: leftMargin, y: cDevice_iPhoneNavBarAndStatusBarHei, width: cScreenWidth - leftMargin * 2, height: searchTFH))
         searchTF.font = UIFont.systemFont(ofSize: 17)
-        searchTF.backgroundColor = UIColor.hexColor(hexadecimal: "#333333")
-        searchTF.attributedPlaceholder = NSAttributedString(string: "搜索歌曲名称/歌手", attributes: [.foregroundColor: UIColor.hexColor(hexadecimal: "#999999"), .font: UIFont.systemFont(ofSize: 14)])
-        searchTF.textColor = UIColor.hexColor(hexadecimal: "#E2E2E2")
+        searchTF.backgroundColor = UIColor.hexColor(hexadecimal: "#F2F2F2")
+        searchTF.attributedPlaceholder = NSAttributedString(string: "搜索歌曲名称/歌手", attributes: [.foregroundColor: UIColor.hexColor(hexadecimal: "#BDBDBD"), .font: UIFont.systemFont(ofSize: 14)])
+        searchTF.textColor = PQBFConfig.shared.styleTitleColor
         searchTF.addCorner(corner: searchTFH / 2)
 
         searchTF.leftViewMode = .always
@@ -218,11 +218,8 @@ class PQStuckPointMusicController: PQBaseViewController {
 
     override func viewDidLoad() {
         super.viewDidLoad()
-        view.backgroundColor = UIColor.hexColor(hexadecimal: "#212121")
-        navHeadImageView?.backgroundColor = UIColor.hexColor(hexadecimal: "#212121")
-        lineView?.backgroundColor = UIColor.hexColor(hexadecimal: "#212121")
-        leftBackButton()
-        setTitle(title: "选择音乐主题")
+        leftButton(image: "icon_detail_back",tintColor: PQBFConfig.shared.styleTitleColor)
+        setTitle(title: "选择音乐主题",color: PQBFConfig.shared.styleTitleColor)
         view.addSubview(searchTF)
         addKeyboardObserver()
         /// 请求标签数据

+ 17 - 24
BFFramework/Classes/Stuckpoint/Controller/PQStuckPointPublicController.swift

@@ -203,24 +203,23 @@ class PQStuckPointPublicController: PQBaseViewController {
 
     lazy var remindLab: UILabel = {
         let remindLab = UILabel()
-        remindLab.isHidden = true
-        remindLab.text = "视频已保存至相册,分享秀一下吧😆"
+//        remindLab.isHidden = true
         remindLab.font = UIFont.systemFont(ofSize: 14)
-        remindLab.textColor = UIColor.hexColor(hexadecimal: "#CCCCCC")
+        remindLab.textColor = PQBFConfig.shared.styleTitleColor
         remindLab.textAlignment = .center
+        remindLab.numberOfLines = 2
+        let arr = NSMutableAttributedString.init(string: "制作完成啦🎉\n快分享秀一下")
+        arr.addAttributes([.font : UIFont.systemFont(ofSize: 30)], range: NSRange.init(location: arr.length - 6, length: 6))
+        remindLab.attributedText = arr
         return remindLab
     }()
 
     lazy var shareWechatBtn: UIButton = {
         let shareWechatBtn = UIButton(type: .custom)
-        shareWechatBtn.frame = CGRect(x: 0, y: 0, width: 165, height: 100)
+        shareWechatBtn.frame = CGRect(x: 0, y: 0, width: 70, height: 70)
         shareWechatBtn.setImage(UIImage.init().BF_Image(named:  "reCreate_opration_wechat"), for: .normal)
-        shareWechatBtn.setTitle("分享好友和群", for: .normal)
-        shareWechatBtn.titleLabel?.font = UIFont.systemFont(ofSize: 16)
-        shareWechatBtn.setTitleColor(UIColor.white, for: .normal)
-        shareWechatBtn.backgroundColor = UIColor.hexColor(hexadecimal: "#0F0F14")
+        shareWechatBtn.backgroundColor = PQBFConfig.shared.styleBackGroundColor
         shareWechatBtn.addCorner(corner: 6)
-        shareWechatBtn.imagePosition(at: .top, space: 5)
         shareWechatBtn.tag = 1
         shareWechatBtn.addTarget(self, action: #selector(btnClick(sender:)), for: .touchUpInside)
         return shareWechatBtn
@@ -228,14 +227,10 @@ class PQStuckPointPublicController: PQBaseViewController {
 
     lazy var shareFriendBtn: UIButton = {
         let shareFriendBtn = UIButton(type: .custom)
-        shareFriendBtn.frame = CGRect(x: 0, y: 0, width: 165, height: 100)
+        shareFriendBtn.frame = CGRect(x: 0, y: 0, width: 70, height: 70)
         shareFriendBtn.setImage(UIImage.init().BF_Image(named:  "reCreate_opration_friend"), for: .normal)
-        shareFriendBtn.setTitle("分享朋友圈", for: .normal)
-        shareFriendBtn.titleLabel?.font = UIFont.systemFont(ofSize: 16)
-        shareFriendBtn.setTitleColor(UIColor.white, for: .normal)
-        shareFriendBtn.backgroundColor = UIColor.hexColor(hexadecimal: "#0F0F14")
+        shareFriendBtn.backgroundColor = PQBFConfig.shared.styleBackGroundColor
         shareFriendBtn.addCorner(corner: 6)
-        shareFriendBtn.imagePosition(at: .top, space: 5)
         shareFriendBtn.tag = 2
         shareFriendBtn.addTarget(self, action: #selector(btnClick(sender:)), for: .touchUpInside)
         return shareFriendBtn
@@ -247,7 +242,7 @@ class PQStuckPointPublicController: PQBaseViewController {
         finishedBtn.setTitleColor(UIColor.hexColor(hexadecimal: "#999999"), for: .normal)
         finishedBtn.setTitleColor(UIColor.white, for: .selected)
         finishedBtn.titleLabel?.font = UIFont.systemFont(ofSize: 13, weight: .medium)
-        finishedBtn.backgroundColor = UIColor.hexColor(hexadecimal: "#333333")
+        finishedBtn.backgroundColor = PQBFConfig.shared.otherTintColor
         finishedBtn.tag = 3
         finishedBtn.addCorner(corner: 3)
         finishedBtn.addTarget(self, action: #selector(btnClick(sender:)), for: .touchUpInside)
@@ -266,8 +261,7 @@ class PQStuckPointPublicController: PQBaseViewController {
         // 注册上传成功的通知
         addNotification(self, selector: #selector(uploadSuccess(notify:)), name: cUploadSuccessKey, object: nil)
         PQNotification.addObserver(self, selector: #selector(didBecomeActiveNotification), name: UIApplication.didBecomeActiveNotification, object: nil)
-        leftButton(image: "upload_back")
-        view.backgroundColor = UIColor.hexColor(hexadecimal: "#262626")
+        leftButton(image: "icon_detail_back",tintColor: PQBFConfig.shared.styleTitleColor)
         navHeadImageView?.backgroundColor = UIColor.clear
         lineView?.removeFromSuperview()
         view.addSubview(bgTopView)
@@ -304,19 +298,18 @@ class PQStuckPointPublicController: PQBaseViewController {
             make.right.equalToSuperview().offset(-12)
         }
         shareWechatBtn.snp.makeConstraints { make in
-            make.right.equalTo(view.snp_centerX).offset(-6)
-            make.width.equalTo(165)
-            make.height.equalTo(cDefaultMargin * 10)
+            make.right.equalTo(view.snp_centerX).offset(-cDefaultMargin)
+            make.width.equalTo(70)
+            make.height.equalTo(cDefaultMargin * 7)
             make.bottom.equalToSuperview().offset(-(cSafeAreaHeight + 32))
         }
         shareFriendBtn.snp.makeConstraints { make in
-            make.left.equalTo(view.snp_centerX).offset(6)
+            make.left.equalTo(view.snp_centerX).offset(cDefaultMargin)
             make.width.bottom.height.equalTo(shareWechatBtn)
         }
         remindLab.snp.makeConstraints { make in
             make.centerX.equalToSuperview()
-            make.height.equalTo(cDefaultMargin * 4)
-            make.bottom.equalTo(shareWechatBtn.snp_top).offset(-cDefaultMargin)
+            make.bottom.equalTo(shareWechatBtn.snp_top).offset(-cDefaultMargin * 2)
         }
         // 取消所有的导出
         PQSingletoMemoryUtil.shared.allExportSession.forEach { _, exportSession in

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

@@ -30,7 +30,7 @@ class PQCustomSwitchView: UIView {
 
     init(frame: CGRect, titles: [String],defaultIndex : Int = 1) {
         super.init(frame: frame)
-        backgroundColor = UIColor.hexColor(hexadecimal: "#0F0F14")
+        backgroundColor = PQBFConfig.shared.otherTintColor
         addCorner(corner: frame.height / 2)
         addSubview(slideView)
         let itemWidth: CGFloat = frame.width / CGFloat(titles.count)

+ 2 - 2
BFFramework/Classes/Stuckpoint/View/PQStuckPointCuttingView.swift

@@ -78,7 +78,7 @@ class PQStuckPointCuttingView: UIView {
 
     lazy var rateView: UIView = {
         let rateView = UIView(frame: CGRect(x: 0, y: videoCropView.frame.minY + 16.5, width: scrollView.contentSize.width, height: rateHeight))
-        rateView.backgroundColor = UIColor.hexColor(hexadecimal: "#0F0F14")
+        rateView.backgroundColor = PQBFConfig.shared.otherTintColor
         return rateView
     }()
 
@@ -144,7 +144,7 @@ class PQStuckPointCuttingView: UIView {
         if cutEndTime > videoDuration {
             cutEndTime = videoDuration
         }
-        backgroundColor = UIColor.hexColor(hexadecimal: "#191919")
+        backgroundColor = PQBFConfig.shared.styleBackGroundColor
         addSubview(scrollView)
         addData()
     }

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

@@ -35,7 +35,8 @@ class PQStuckPointLoadingView: UIView {
         navBarLeftBtn.frame = CGRect(x: 0, y: cDevice_iPhoneStatusBarHei, width: cDefaultMargin * 4, height: cDefaultMargin * 4)
         navBarLeftBtn.imageEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: -5, right: 0)
         navBarLeftBtn.imageEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: -5, right: 0)
-        navBarLeftBtn.setImage(UIImage.init().BF_Image(named:  "icon_detail_back"), for: .normal)
+        navBarLeftBtn.tintColor = PQBFConfig.shared.styleTitleColor
+        navBarLeftBtn.setImage(UIImage.init().BF_Image(named:  "icon_detail_back").withRenderingMode(.alwaysTemplate), for: .normal)
         navBarLeftBtn.addTarget(self, action: #selector(cancelDownload(sender:)), for: .touchUpInside)
         return navBarLeftBtn
     }()

+ 5 - 7
BFFramework/Classes/Stuckpoint/View/PQStuckPointMusicContentCell.swift

@@ -36,14 +36,14 @@ class PQStuckPointMusicContentCell: UICollectionViewCell {
     lazy var titleLab: UILabel = {
         let titleLab = UILabel()
         titleLab.font = UIFont.systemFont(ofSize: 14)
-        titleLab.textColor = UIColor.white
+        titleLab.textColor = PQBFConfig.shared.styleTitleColor
         return titleLab
     }()
 
     /// 音乐歌曲名称
     lazy var musicNameLab: LMJHorizontalScrollText = {
         let musicNameLab = LMJHorizontalScrollText(frame: CGRect(x: 0, y: 0, width: cDefaultMargin * 6, height: cDefaultMargin * 3))
-        musicNameLab.textColor = UIColor.white
+        musicNameLab.textColor = PQBFConfig.shared.styleTitleColor
         musicNameLab.textFont = UIFont.systemFont(ofSize: 16)
         musicNameLab.speed = 0.03
         musicNameLab.moveDirection = LMJTextScrollMoveLeft
@@ -55,7 +55,7 @@ class PQStuckPointMusicContentCell: UICollectionViewCell {
     // 使用按钮
     lazy var confirmContentView: UIView = {
         let confirmContentView = UIView()
-        confirmContentView.backgroundColor = UIColor.hexColor(hexadecimal: "#0F0F15")
+        confirmContentView.backgroundColor = PQBFConfig.shared.styleBackGroundColor
         let ges = UITapGestureRecognizer(target: self, action: #selector(confirmClick))
         confirmContentView.addGestureRecognizer(ges)
         confirmContentView.isHidden = true
@@ -132,8 +132,6 @@ class PQStuckPointMusicContentCell: UICollectionViewCell {
                 musicNameLab.stop()
             }
         } else {
-            
-
             if (bgmData as? PQStuckPointMusicTagsModel)?.tagEmoji != nil {
                 audioImageView.setNetImage(url: "\((bgmData as? PQStuckPointMusicTagsModel)?.tagEmoji ?? "")", placeholder: UIImage.init().BF_Image(named: "videomk_music_default"))
             } else {
@@ -149,8 +147,8 @@ class PQStuckPointMusicContentCell: UICollectionViewCell {
             } else {
                 titleLab.font = UIFont.systemFont(ofSize: 14)
             }
-            contentView.backgroundColor = UIColor.hexColor(hexadecimal: ((bgmData as? PQStuckPointMusicTagsModel)?.isSelected ?? false) ? "#111111" : "#212121")
-            titleLab.textColor = UIColor.hexColor(hexadecimal: ((bgmData as? PQStuckPointMusicTagsModel)?.isSelected ?? false) ? PQBFConfig.shared.styleColor.rawValue : "#CCCCCC")
+            contentView.backgroundColor = ((bgmData as? PQStuckPointMusicTagsModel)?.isSelected ?? false) ? PQBFConfig.shared.styleBackGroundColor : PQBFConfig.shared.otherTintColor
+            titleLab.textColor = ((bgmData as? PQStuckPointMusicTagsModel)?.isSelected ?? false) ? UIColor.hexColor(hexadecimal: PQBFConfig.shared.styleColor.rawValue) : PQBFConfig.shared.styleTitleColor
             remindView.isHidden = !((bgmData as? PQStuckPointMusicTagsModel)?.isSelected ?? false)
         }
     }

+ 1 - 1
BFFramework/Classes/Stuckpoint/ViewModel/PQGPUImagePlayerView.swift

@@ -155,7 +155,7 @@ public class PQGPUImagePlayerView: UIView, RenderViewDelegate {
     // 渲染区view
     private lazy var renderView: RenderView = {
         let view = RenderView()
-        view.backgroundColor = UIColor.black
+        view.backgroundColor = PQBFConfig.shared.styleBackGroundColor
         view.frame = self.bounds
         view.delegate = self
         let tap = UITapGestureRecognizer(target: self, action: #selector(RenderViewOnclick))

+ 2 - 0
BFFramework/Classes/Utils/PQBFConfig.swift

@@ -37,6 +37,8 @@ public class PQBFConfig: NSObject {
     public var cutViewStyleColor: UIColor = UIColor.hexColor(hexadecimal: "#3DC1C1")
     // 裁剪主题色
     public var cutViewTintColor: UIColor = UIColor.white
+    public var otherTintColor: UIColor = UIColor.hexColor(hexadecimal: "#F2F2F2")
+
     // 微信登陆信息
     public var appInfo: WXApiInfo?
     // 渠道