CNLliveShopDetailCloseCell.swift
823 Bytes
//
// CNLliveShopDetailCloseCell.swift
// metaCode
//
// Created by zx on 2024/4/12.
// 电商上滑页-close cell
import Foundation
class CNLliveShopDetailCloseCell: UICollectionViewCell {
lazy var closeBtn: UIImageView = {
let closeBtn = UIImageView(frame: CGRect(x: KSreenWidth-35, y: KStatusBarHeight+(KNavigationHeight-KStatusBarHeight-20)*0.5, width: 20, height: 20))
closeBtn.image = UIImage(named: "mine_header_icon_close")
return closeBtn
}()
override init(frame: CGRect) {
super.init(frame: frame)
self.setUI()
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
func setUI(){
self.backgroundColor = .white
self.contentView.addSubview(self.closeBtn)
}
}