We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var cellData:Any?{ didSet{
guard let cellData = cellData as? ZZZ_HomeNoisePresetList else { return } titlab.text = cellData.preset_cate_name //该段layout let layout = HDWaterFlowLayout() layout.secInset = UIEdgeInsets(top: 0, left: 20, bottom: 0, right: 0) layout.verticalGap = 16; layout.horizontalGap = 16; layout.headerSize = .zero; layout.footerSize = .zero; layout.columnRatioArr = [NSNumber(integerLiteral: 1),NSNumber(integerLiteral: 1)] layout.decorationMargin = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 0) let hdCellModels = cellData.noise_data.map { list in let model = HDCellModel() model.orgData = list model.cellClassStr = "ZZZ_HomeDoubleCollectionCell" model.cellSize = CGSize(width: WIDTH * 0.62, height: 82) return model } //该段的所有数据封装 let secModel = HDSectionModel(); secModel.sectionDataArr = NSMutableArray(array: hdCellModels) secModel.layout = layout listV.hd_setAllDataArr([secModel]) } }
The text was updated successfully, but these errors were encountered:
补充,原因可能是计算高度错误导致
Sorry, something went wrong.
No branches or pull requests
var cellData:Any?{
didSet{
The text was updated successfully, but these errors were encountered: