杨锴
2024-12-27 fe02f75ab7a593f33d60c15308ddf7a974962db4
XQMuse/Root/Home/CCell/HomeRelaxBannerCCell.swift
@@ -46,12 +46,11 @@
        image_free.isHidden = model.chargeType != .free
        img_vip.isHidden = model.chargeType != .vipFree
        view_price.isHidden = model.chargeType != .payment
        view_price.isHidden = (model.chargeType != .payment || model.isBuy == .yes)
        switch model.chargeType {
            case .payment:
                image_free.isHidden = true
                view_price.isHidden = false
                label_price.attributedText = AttributedStringbuilder.build().add(string: "¥", withFont: UIFont(name: "DIN-Bold", size: 7.11) ?? UIFont.systemFont(ofSize: 7, weight: .bold), withColor: .white).add(string: "\(model.iosPrice.jq_formatFloat)", withFont: UIFont(name: "DIN-Bold", size: 11) ?? .systemFont(ofSize: 11,weight: .bold), withColor: .white).mutableAttributedString
            default:break
        }