修复:

1.去掉空间图片预览界面中image的背景颜色;
2.去掉视频预览界面中,playerlayer的背景颜色;
3.设置视频预览界面中,选择预览模式后,顶部的文本信息对应设置;
4.设置媒体过滤页面的左上角的取消按钮文本颜色与设计稿对应
This commit is contained in:
bluesea 2024-03-07 09:36:45 +08:00
parent 89e93446ab
commit e2e16046ef
3 changed files with 8 additions and 2 deletions

View File

@ -95,7 +95,8 @@ class CCSpatialPhotoDisplayController: BaseController {
let imageView = UIImageView()
imageView.frame = CGRect.init(x: 0, y: 250, width: self.view.frame.size.width, height: 240)
imageView.contentMode = .scaleAspectFit
imageView.backgroundColor = UIColor.hexStringToColor(hexString: "#383739")
// imageView.backgroundColor = UIColor.hexStringToColor(hexString: "#383739")
imageView.backgroundColor = UIColor.clear
// let image = UIImage(contentsOfFile: photoOriginalURL!.path)

View File

@ -311,6 +311,7 @@ class CCSpatialVideoDisplayController: BaseController {
let playerItem = AVPlayerItem(asset: videoTempAsset!)
playerLay.player = AVPlayer(playerItem: playerItem)
playerLay.player!.play()
playerLay.backgroundColor = UIColor.clear.cgColor
}
@ -349,6 +350,9 @@ class CCSpatialVideoDisplayController: BaseController {
print("block select \(index)")
self?.mTopCenterTypeButton.setImage(UIImage.init(named: "type_button_arrow_down"), for: .normal)
self?.selectedSpatialType(selectedIndex: index)
let title = self?.typeData[index].title
self?.mTopCenterTypeButton.setTitle(title, for: UIControl.State.normal)
}
//tap

View File

@ -70,7 +70,8 @@ class CCSpaceAlbumFliterPopView: UIView {
lazy var cancelButton: UIButton = {
let button = UIButton.init()
button.setTitle("取消", for: .normal)
button.setTitleColor(KMain_Color, for: .normal)
// button.setTitleColor(KMain_Color, for: .normal)
button.setTitleColor(UIColor(red: 165.0/255, green: 137.0/255, blue: 1, alpha: 1), for: .normal)
button.titleLabel?.font = KFont_Medium(16)
button.titleLabel?.adjustsFontSizeToFitWidth = true
button.contentHorizontalAlignment = .center