杨锴
2024-11-07 62a24b3c7cf92919a93ee575e9460037e1a53816
XQMuse/Root/Course/View/CourseSendGiftView.swift
@@ -28,6 +28,7 @@
            static func show(price:Double,clouse:@escaping()->Void){
                        let view = CourseSendGiftView.jq_loadNibView()
        view.frame = sceneDelegate?.window?.frame ?? .zero
                        view.label_price.text = "¥\(price.jq_formatFloat)"
                        sceneDelegate?.window?.addSubview(view)
                        view.clouse = clouse
@@ -40,7 +41,7 @@
            override func layoutSubviews() {
                        super.layoutSubviews()
                        btn_complete.jq_gradientNibColor(colorArr: [UIColor(hexStr: "#8EA47A").cgColor,UIColor(hexStr: "#AFCA98").cgColor], cornerRadius: 18.5)
        btn_complete.localGradientColor(cornerRadius: 18.5,bounds: CGRect(x: 0, y: 0, width: JQ_ScreenW - 46 * 2, height: 40))
            }
            @IBAction func completeAction(_ sender: UIButton) {