无故事王国
2023-11-01 b3269976c84d03208f633cd0136a6f78e8dd53f7
WanPai/Root/Course/VC/CourseDetailVC.swift
@@ -84,7 +84,7 @@
                     label_coin.isHidden = true;fallthrough
                  case .cashCoin:
                     if subM.originalPrice == 0{label_originPrice.isHidden = true}
                     label_originPrice.isHidden = (subM.paymentPrice == subM.originalPrice && subM.paymentPrice != 0 && subM.originalPrice != 0)
                        //玩湃币
                     label_coin.attributedText = AttributedStringbuilder.build()
                        .add(string: "玩湃币:", withFont: UIFont.systemFont(ofSize: 14, weight: .semibold), withColor: UIColor(hexStr: "#3F3F3F"))
@@ -99,8 +99,10 @@
                        label_vipPrice.isHidden = true
                        if subM.paymentPrice < subM.vipPrice && subM.paymentPrice != 0{
                           label_price.text = subM.paymentPrice.currency()
                        }else{
                        }else if subM.vipPrice < subM.paymentPrice && subM.vipPrice != 0{
                           label_price.text = subM.vipPrice.currency()
                        }else{
                           label_price.text = subM.paymentPrice.currency()
                        }
                     }else{
                           //非会员