无故事王国
2023-10-18 e86e19e5e5909f46e09adec1df430e0214a81590
WanPai/Root/Games/View/GamesPayView.swift
@@ -38,18 +38,18 @@
      gamesPayView.integral = integral
      gamesPayView.needPay = needPay
      if price != 0{
      if price != 0 && price != 0{
         gamesPayView.label_price.isHidden = false
         gamesPayView.label_price.attributedText   = AttributedStringbuilder.build().add(string: "游玩价格:", withFont: UIFont.systemFont(ofSize: 16, weight: .medium), withColor: .black.withAlphaComponent(0.8)).add(string: price.currency(), withFont: UIFont.systemFont(ofSize: 16, weight: .medium), withColor: Def_ThemeColor).mutableAttributedString
      }
      if coin != nil{
      if coin != nil && coin != 0{
         gamesPayView.label_coin.isHidden = false
         gamesPayView.label_coin.attributedText   = AttributedStringbuilder.build().add(string: "玩湃币:", withFont: UIFont.systemFont(ofSize: 16, weight: .medium), withColor: .black.withAlphaComponent(0.8)).add(string: "\(coin!)币", withFont: UIFont.systemFont(ofSize: 16, weight: .medium), withColor: Def_ThemeColor).mutableAttributedString
      }
      if integral != nil{
      if integral != nil && integral != 0{
         gamesPayView.label_integral.isHidden = false
         gamesPayView.label_integral.attributedText   = AttributedStringbuilder.build().add(string: "积分:", withFont: UIFont.systemFont(ofSize: 16, weight: .medium), withColor: .black.withAlphaComponent(0.8)).add(string: "\(integral!)", withFont: UIFont.systemFont(ofSize: 16, weight: .medium), withColor: Def_ThemeColor).mutableAttributedString
      }