| | |
| | | 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")) |
| | |
| | | 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{ |
| | | //非会员 |