| | |
| | | |
| | | 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 |
| | |
| | | |
| | | 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) { |