BUG
无故事王国
2023-11-17 e97b863bfafb2fc0fd870abc933276aa96a17a45
WanPai/Root/Search/TCell/SearchStoreDetail_1_TCell.swift
@@ -26,7 +26,11 @@
            btn_price.setTitle(price, for: .normal)
         }
         label_hasNum.attributedText = AttributedStringbuilder.build().add(string: "包含课时数:", withFont: UIFont.systemFont(ofSize: 14), withColor: UIColor(hexStr: "#737373")).add(string: "\(detailCourseModel.classHours)课时", withFont: UIFont.systemFont(ofSize: 14), withColor: UIColor(hexStr: "#F11010")).mutableAttributedString
         let num = detailCourseModel.classHours.map({"\($0)"}).joined(separator: "、").filter({$0 != "0"})
         stack_hasNum.isHidden = num.isEmpty
         label_hasNum.attributedText = AttributedStringbuilder.build().add(string: "包含课时数:", withFont: UIFont.systemFont(ofSize: 14), withColor: UIColor(hexStr: "#737373")).add(string: "\(detailCourseModel.classHours.map({"\($0)"}).joined(separator: ","))课时", withFont: UIFont.systemFont(ofSize: 14), withColor: UIColor(hexStr: "#F11010")).mutableAttributedString
         stack_teachTime.isHidden = detailCourseModel.classStartTime?.isEmpty ?? true
        }
    }
@@ -34,7 +38,9 @@
    @IBOutlet weak var label_title: UILabel!
    @IBOutlet weak var label_teachTime: UILabel!
    @IBOutlet weak var label_hasNum: UILabel!
    @IBOutlet weak var label_enrollNum: UILabel!
   @IBOutlet weak var stack_teachTime: UIStackView!
   @IBOutlet weak var stack_hasNum: UIStackView!
   @IBOutlet weak var label_enrollNum: UILabel!
    @IBOutlet weak var btn_price: UIButton!