From 9e7a1d7afb9bde58bc4aee7b381d24c3f7c763cf Mon Sep 17 00:00:00 2001 From: 无故事王国 <841720330@qq.com> Date: 星期五, 19 七月 2024 16:44:32 +0800 Subject: [PATCH] fix bug --- DolphinEnglishLearnStudent/Moudle/Market/VC/MarketContentVC.swift | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/DolphinEnglishLearnStudent/Moudle/Market/VC/MarketContentVC.swift b/DolphinEnglishLearnStudent/Moudle/Market/VC/MarketContentVC.swift index e0eca5e..98f0c4e 100644 --- a/DolphinEnglishLearnStudent/Moudle/Market/VC/MarketContentVC.swift +++ b/DolphinEnglishLearnStudent/Moudle/Market/VC/MarketContentVC.swift @@ -86,7 +86,7 @@ self?.label_originPrice.isHidden = m.good!.price <= 0 if !(self?.label_originPrice.isHidden ?? false){ - self?.label_originPrice.attributedText = AttributedStringbuilder.build().add(string: "¥\(m.good!.price)", withFont: UIFont.init(name: "Impact", size: 14) ?? .systemFont(ofSize: 14, weight: .medium), withColor: UIColor(hexString: "#9A9A9A")!).delLine(color: UIColor(hexString: "#9A9A9A")!).mutableAttributedString + self?.label_originPrice.attributedText = AttributedStringbuilder.build().add(string: "¥\(m.good!.price.jq_formatFloat)", withFont: UIFont.init(name: "Impact", size: 14) ?? .systemFont(ofSize: 14, weight: .medium), withColor: UIColor(hexString: "#9A9A9A")!).delLine(color: UIColor(hexString: "#9A9A9A")!).mutableAttributedString } } -- Gitblit v1.7.1