PayProcessVC.swift
1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
// 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.
}
*/
}