self.title = “会员注册”
self.navigationController?.navigationBar.barTintColor = UIColor.gray
self.view.backgroundColor = UIColor.white
let item = UIBarButtonItem(title: "<", style: UIBarButtonItem.Style.plain, target: self, action: nil)
self.navigationItem.leftBarButtonItem = item
// 设置图片
let imgV = UIImageView(image: UIImage(named: "QQicon"))
imgV.frame = CGRect(x: (self.view.frame.size.width-100)/2, y: 100, width: 100, height: 100)
imgV.layer.masksToBounds = true
imgV.layer.cornerRadius = 50
self.view.addSubview(imgV)
// 设置文本框
let tf1 = UITextField(frame: CGRect(x: 0, y: 220, width: self.view.frame.size.width, height: 70))
tf1.layer.borderWidth = 0.3
tf1.layer.borderColor = UIColor.gray.cgColor
tf1.placeholder = " 账号 | 请输入手机号"
tf1.font = UIFont.systemFont(ofSize: 18)
self.view.addSu