// // PayProcessVC.swift // HDFwear // // Created by yangbin on 2022/3/7. // import UIKit class PayProcessVC: UIViewController { var app: String = "" @IBOutlet weak var titleLabel: UILabel! @IBOutlet weak var detailLabel: UILabel! @IBOutlet weak var imageView: UIImageView! private let processImageDic: [String: String] = ["微信": "pay_process_wechat", "QQ": "pay_process_qq", "支付宝": "pay_process_Alipay", "PayPal": "pay_process_PayPal"] override func viewDidLoad() { super.viewDidLoad() if AppSettings.shared.language == .Chinese || AppSettings.shared.language == .Japanese { title = LocString(app) + LocString("收款码") } else { title = LocString(app) + " " + LocString("收款码") // titleLabel.text = LocString("绑定") + " " + LocString(app) + LocString("收款码步骤") } titleLabel.text = LocString("绑定\(app)收款码步骤") imageView.image = UIImage(named: processImageDic[app]!) detailLabel.text = "\(LocString("请按以上步骤获取"))\(LocString(app))\( LocString("收款码"))\n\(LocString("注意:在上传二维码到YTWatch时,请务必按照上图所示,保证上传规范,否则将绑定失败!"))" // Do any additional setup after loading the view. } /* // MARK: - Navigation // In a storyboard-based application, you will often want to do a little preparation before navigation override func prepare(for segue: UIStoryboardSegue, sender: Any?) { // Get the new view controller using segue.destination. // Pass the selected object to the new view controller. } */ }