From b1e53d01722f1705d99f5cf6ec63c8c493811405 Mon Sep 17 00:00:00 2001 From: 杨锴 <841720330@qq.com> Date: 星期五, 13 九月 2024 18:56:16 +0800 Subject: [PATCH] fix API --- XQMuse/Root/Home/View/PaymentOrderResultTopView.swift | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/XQMuse/Root/Home/View/PaymentOrderResultTopView.swift b/XQMuse/Root/Home/View/PaymentOrderResultTopView.swift index 704b384..0cfff23 100644 --- a/XQMuse/Root/Home/View/PaymentOrderResultTopView.swift +++ b/XQMuse/Root/Home/View/PaymentOrderResultTopView.swift @@ -10,7 +10,6 @@ class PaymentOrderResultTopView: UIView,JQNibView{ - @IBOutlet weak var label_price: UILabel! @IBOutlet weak var btn_lookCourse: UIButton! @@ -18,6 +17,10 @@ super.awakeFromNib() } + func setPrice(_ price:Double){ + label_price.text = "\(price.jq_formatFloat)" + } + @IBAction func backRootAction(_ sender: UIButton) { JQ_currentNavigationController().popToRootViewController(animated: true) } -- Gitblit v1.7.1