//
|
// TreeTeskEnergyTCell.swift
|
// XQMuse
|
//
|
// Created by 无故事王国 on 2024/9/11.
|
//
|
|
import UIKit
|
import JQTools
|
|
class TreeTeskEnergyTCell: UITableViewCell {
|
|
@IBOutlet weak var view_container: UIView!
|
|
override func awakeFromNib() {
|
super.awakeFromNib()
|
selectionStyle = .none
|
}
|
|
override func layoutSubviews() {
|
super.layoutSubviews()
|
view_container.jq_addShadows(shadowColor: UIColor(hexString: "#EBEBEB")!, corner: 10, radius: 4, offset: CGSize(width: 0, height: 2), opacity: 1)
|
}
|
|
func isExchanged(_ state:Bool){
|
view_container.alpha = state == true ? 0.5:1
|
}
|
}
|