Commit a737b8eb8573dbf96010aeca832156bce6c7ca55
1 parent
649b9726
Exists in
parentassistant
优化登录部分页面优化
Showing
19 changed files
with
703 additions
and
545 deletions
 
Show diff stats
ParentAssistant/ParentAssistant.xcodeproj/xcuserdata/caoyang.xcuserdatad/xcschemes/xcschememanagement.plist
ParentAssistant/ParentAssistant.xcworkspace/xcuserdata/caoyang.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
ParentAssistant/ParentAssistant/Classes/controllers/Grow/GrowViewController.swift
| @@ -73,7 +73,7 @@ class GrowViewController: UIViewController,UIScrollViewDelegate { | @@ -73,7 +73,7 @@ class GrowViewController: UIViewController,UIScrollViewDelegate { | ||
| 73 | leftView.addSubview(titleLab) | 73 | leftView.addSubview(titleLab) | 
| 74 | 74 | ||
| 75 | let imageView = UIImageView.init(frame: CGRect.init(x: 50, y: 11, width: 10, height: 22)) | 75 | let imageView = UIImageView.init(frame: CGRect.init(x: 50, y: 11, width: 10, height: 22)) | 
| 76 | - imageView.image = UIImage.init(named: "report_pull") | 76 | + imageView.image = UIImage.init(named: "report_white_pull") | 
| 77 | imageView.contentMode = .scaleAspectFit | 77 | imageView.contentMode = .scaleAspectFit | 
| 78 | leftView.addSubview(imageView) | 78 | leftView.addSubview(imageView) | 
| 79 | 79 | ||
| @@ -91,14 +91,13 @@ class GrowViewController: UIViewController,UIScrollViewDelegate { | @@ -91,14 +91,13 @@ class GrowViewController: UIViewController,UIScrollViewDelegate { | ||
| 91 | rightView.addSubview(titleRLab) | 91 | rightView.addSubview(titleRLab) | 
| 92 | 92 | ||
| 93 | let imageRView = UIImageView.init(frame: CGRect.init(x: 40, y: 11, width: 10, height: 22)) | 93 | let imageRView = UIImageView.init(frame: CGRect.init(x: 40, y: 11, width: 10, height: 22)) | 
| 94 | - imageRView.image = UIImage.init(named: "report_select") | 94 | + imageRView.image = UIImage.init(named: "report_white_select") | 
| 95 | imageRView.contentMode = .scaleAspectFit | 95 | imageRView.contentMode = .scaleAspectFit | 
| 96 | rightView.addSubview(imageRView) | 96 | rightView.addSubview(imageRView) | 
| 97 | 97 | ||
| 98 | // rightView.addTarget(self, action: #selector(showView), for: UIControlEvents.touchDown) | 98 | // rightView.addTarget(self, action: #selector(showView), for: UIControlEvents.touchDown) | 
| 99 | self.rightBtn = UIBarButtonItem.init(customView: rightView) | 99 | self.rightBtn = UIBarButtonItem.init(customView: rightView) | 
| 100 | 100 | ||
| 101 | - | ||
| 102 | //设置顶部样式 | 101 | //设置顶部样式 | 
| 103 | self.configTheme() | 102 | self.configTheme() | 
| 104 | } | 103 | } | 
ParentAssistant/ParentAssistant/Classes/controllers/Grow/Report/ReportViewController.swift
| @@ -26,6 +26,9 @@ class ReportViewController: UIViewController,UITableViewDelegate,UITableViewData | @@ -26,6 +26,9 @@ class ReportViewController: UIViewController,UITableViewDelegate,UITableViewData | ||
| 26 | table.register(UINib.init(nibName: "GrowSubjectCell", bundle: nil), forCellReuseIdentifier: "GrowSubjectCell") | 26 | table.register(UINib.init(nibName: "GrowSubjectCell", bundle: nil), forCellReuseIdentifier: "GrowSubjectCell") | 
| 27 | return table | 27 | return table | 
| 28 | }() | 28 | }() | 
| 29 | + | ||
| 30 | + let y = (statusBarHeight+navigationBarHeight!)/2 | ||
| 31 | + | ||
| 29 | override func viewDidLoad() { | 32 | override func viewDidLoad() { | 
| 30 | super.viewDidLoad() | 33 | super.viewDidLoad() | 
| 31 | 34 | ||
| @@ -45,13 +48,13 @@ class ReportViewController: UIViewController,UITableViewDelegate,UITableViewData | @@ -45,13 +48,13 @@ class ReportViewController: UIViewController,UITableViewDelegate,UITableViewData | ||
| 45 | let recognizer = UISwipeGestureRecognizer.init(target: self, action: #selector(showView)) | 48 | let recognizer = UISwipeGestureRecognizer.init(target: self, action: #selector(showView)) | 
| 46 | recognizer.direction = UISwipeGestureRecognizerDirection.down | 49 | recognizer.direction = UISwipeGestureRecognizerDirection.down | 
| 47 | headView.addGestureRecognizer(recognizer) | 50 | headView.addGestureRecognizer(recognizer) | 
| 48 | - | ||
| 49 | - calendar = CalendarView.init(frame: CGRect.init(x: 0, y: 32, width: screenWidth, height: 280)) | 51 | + | 
| 52 | + calendar = CalendarView.init(frame: CGRect.init(x: 0, y: y, width: screenWidth, height: 245)) | ||
| 50 | } | 53 | } | 
| 51 | 54 | ||
| 52 | @objc func showView(){ | 55 | @objc func showView(){ | 
| 53 | keyWindow = UIApplication.shared.keyWindow! | 56 | keyWindow = UIApplication.shared.keyWindow! | 
| 54 | - let backBtn = UIButton.init(frame: CGRect.init(x: 0, y: calendar.frame.origin.y+280+22, width: screenWidth, height: screenHeight)) | 57 | + let backBtn = UIButton.init(frame: CGRect.init(x: 0, y: calendar.frame.origin.y+245+y, width: screenWidth, height: screenHeight)) | 
| 55 | backBtn.backgroundColor = UIColor.black | 58 | backBtn.backgroundColor = UIColor.black | 
| 56 | backBtn.alpha = 0.4 | 59 | backBtn.alpha = 0.4 | 
| 57 | 60 | 
ParentAssistant/ParentAssistant/Classes/controllers/Grow/View/ReportView/CalendarView.swift
| @@ -29,7 +29,7 @@ class CalendarView: UIView,UICollectionViewDelegate,UICollectionViewDataSource { | @@ -29,7 +29,7 @@ class CalendarView: UIView,UICollectionViewDelegate,UICollectionViewDataSource { | ||
| 29 | self.todayDay = CalendarDateManager.shared.getTodayDate() | 29 | self.todayDay = CalendarDateManager.shared.getTodayDate() | 
| 30 | //设置layout | 30 | //设置layout | 
| 31 | let flowlayout = UICollectionViewFlowLayout() | 31 | let flowlayout = UICollectionViewFlowLayout() | 
| 32 | - flowlayout.itemSize = CGSize.init(width: screenWidth/7, height:40) | 32 | + flowlayout.itemSize = CGSize.init(width: screenWidth/7, height:35) | 
| 33 | flowlayout.minimumLineSpacing = 0 | 33 | flowlayout.minimumLineSpacing = 0 | 
| 34 | flowlayout.minimumInteritemSpacing = 0 | 34 | flowlayout.minimumInteritemSpacing = 0 | 
| 35 | flowlayout.headerReferenceSize = CGSize.init(width: 0, height: 0) | 35 | flowlayout.headerReferenceSize = CGSize.init(width: 0, height: 0) | 
ParentAssistant/ParentAssistant/Classes/controllers/main/TabBarController.swift
| @@ -120,13 +120,13 @@ extension TabBarController: URLSessionDelegate { | @@ -120,13 +120,13 @@ extension TabBarController: URLSessionDelegate { | ||
| 120 | securityError = SecPKCS12Import(PKCS12Data as CFData, options, &items) | 120 | securityError = SecPKCS12Import(PKCS12Data as CFData, options, &items) | 
| 121 | 121 | ||
| 122 | if securityError == errSecSuccess { | 122 | if securityError == errSecSuccess { | 
| 123 | - let certItems:CFArray = items as CFArray!; | 123 | + let certItems:CFArray! = items as CFArray?; | 
| 124 | let certItemsArray:Array = certItems as Array | 124 | let certItemsArray:Array = certItems as Array | 
| 125 | let dict:AnyObject? = certItemsArray.first; | 125 | let dict:AnyObject? = certItemsArray.first; | 
| 126 | if let certEntry:Dictionary = dict as? Dictionary<String, AnyObject> { | 126 | if let certEntry:Dictionary = dict as? Dictionary<String, AnyObject> { | 
| 127 | // grab the identity | 127 | // grab the identity | 
| 128 | let identityPointer:AnyObject? = certEntry["identity"]; | 128 | let identityPointer:AnyObject? = certEntry["identity"]; | 
| 129 | - let secIdentityRef:SecIdentity = identityPointer as! SecIdentity!; | 129 | + let secIdentityRef:SecIdentity! = identityPointer as! SecIdentity?; | 
| 130 | // grab the trust | 130 | // grab the trust | 
| 131 | let trustPointer:AnyObject? = certEntry["trust"]; | 131 | let trustPointer:AnyObject? = certEntry["trust"]; | 
| 132 | let trustRef:SecTrust = trustPointer as! SecTrust; | 132 | let trustRef:SecTrust = trustPointer as! SecTrust; | 
ParentAssistant/ParentAssistant/Classes/controllers/my/Controller/GetBackPasswordViewController.swift
| @@ -8,8 +8,8 @@ | @@ -8,8 +8,8 @@ | ||
| 8 | 8 | ||
| 9 | import UIKit | 9 | import UIKit | 
| 10 | //找回密码 | 10 | //找回密码 | 
| 11 | -class GetBackPasswordViewController: UIViewController,UITextFieldDelegate { | ||
| 12 | - @IBOutlet var topView: NSLayoutConstraint! | 11 | +class GetBackPasswordViewController: UITableViewController,UITextFieldDelegate { | 
| 12 | + @IBOutlet var rootTableView: UITableView! | ||
| 13 | @IBOutlet var personIconImageView: UIImageView!//系统头像 | 13 | @IBOutlet var personIconImageView: UIImageView!//系统头像 | 
| 14 | @IBOutlet var phoneTextField: UITextField!//电话号码 | 14 | @IBOutlet var phoneTextField: UITextField!//电话号码 | 
| 15 | @IBOutlet var codeTextField: UITextField!//验证码 | 15 | @IBOutlet var codeTextField: UITextField!//验证码 | 
| @@ -24,25 +24,75 @@ class GetBackPasswordViewController: UIViewController,UITextFieldDelegate { | @@ -24,25 +24,75 @@ class GetBackPasswordViewController: UIViewController,UITextFieldDelegate { | ||
| 24 | 24 | ||
| 25 | override func viewDidLoad() { | 25 | override func viewDidLoad() { | 
| 26 | super.viewDidLoad() | 26 | super.viewDidLoad() | 
| 27 | + | ||
| 27 | layoutSubViews() | 28 | layoutSubViews() | 
| 28 | } | 29 | } | 
| 30 | + | ||
| 31 | + //MARK: - 用户拖拽 关闭键盘 | ||
| 32 | + override func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) { | ||
| 33 | + phoneTextField.resignFirstResponder() | ||
| 34 | + codeTextField.resignFirstResponder() | ||
| 35 | + passwordTextField.resignFirstResponder() | ||
| 36 | + passwordTwoTextField.resignFirstResponder() | ||
| 37 | + } | ||
| 38 | + //return 关闭键盘 | ||
| 39 | + func textFieldShouldReturn(_ textField: UITextField) -> Bool { | ||
| 40 | + return textField.resignFirstResponder() | ||
| 41 | + } | ||
| 42 | + | ||
| 43 | + //MARK: - UITableView Delegate && DataSource | ||
| 44 | + override func numberOfSections(in tableView: UITableView) -> Int { | ||
| 45 | + return 1 | ||
| 46 | + } | ||
| 47 | + override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { | ||
| 48 | + return 6 | ||
| 49 | + } | ||
| 50 | + override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { | ||
| 51 | + if indexPath.row == 0 { | ||
| 52 | + return 200 | ||
| 53 | + } | ||
| 54 | + else{ | ||
| 55 | + return 50 | ||
| 56 | + } | ||
| 57 | + } | ||
| 58 | + | ||
| 29 | // MARK: - 设置控件属性 | 59 | // MARK: - 设置控件属性 | 
| 30 | func layoutSubViews(){ | 60 | func layoutSubViews(){ | 
| 31 | self.navigationController?.navigationBar.isHidden = false | 61 | self.navigationController?.navigationBar.isHidden = false | 
| 32 | getCodeBtn.layer.borderWidth = 1.0 | 62 | getCodeBtn.layer.borderWidth = 1.0 | 
| 33 | getCodeBtn.layer.borderColor = UIColor.lightGray.cgColor | 63 | getCodeBtn.layer.borderColor = UIColor.lightGray.cgColor | 
| 34 | - topView.constant = (getScreenHeight()-325)/3 | ||
| 35 | passwordHiddenBtn.setImage(UIImage(named: "my_password_look"), for: UIControlState.selected) | 64 | passwordHiddenBtn.setImage(UIImage(named: "my_password_look"), for: UIControlState.selected) | 
| 36 | NotificationCenter.default.addObserver(self, selector: #selector(GetBackPasswordViewController.keyboardWIllChange(_:)), name: NSNotification.Name.UIKeyboardWillChangeFrame, object: nil) | 65 | NotificationCenter.default.addObserver(self, selector: #selector(GetBackPasswordViewController.keyboardWIllChange(_:)), name: NSNotification.Name.UIKeyboardWillChangeFrame, object: nil) | 
| 66 | + | ||
| 67 | + //监听按钮状态 | ||
| 68 | + phoneTextField.addTarget(self, action: #selector(textFieldChange), for: UIControlEvents.editingChanged) | ||
| 69 | + codeTextField.addTarget(self, action: #selector(textFieldChange), for: UIControlEvents.editingChanged) | ||
| 70 | + passwordTextField.addTarget(self, action: #selector(textFieldChange), for: UIControlEvents.editingChanged) | ||
| 71 | + passwordTwoTextField.addTarget(self, action: #selector(textFieldChange), for: UIControlEvents.editingChanged) | ||
| 72 | + } | ||
| 73 | + //MARK: - 监听输入长度,显示登录按钮状态 | ||
| 74 | + @objc func textFieldChange(){ | ||
| 75 | + if (phoneTextField.text?.count)!>0 && (passwordTextField.text?.count)!>0 && (codeTextField.text?.count)!>0 && (passwordTwoTextField.text?.count)!>0 { | ||
| 76 | + passwordHiddenBtn.isUserInteractionEnabled = true | ||
| 77 | + passwordHiddenBtn.backgroundColor = navigationColor | ||
| 78 | + }else{ | ||
| 79 | + passwordHiddenBtn.isUserInteractionEnabled = false | ||
| 80 | + passwordHiddenBtn.backgroundColor = UIColor.lightGray | ||
| 81 | + } | ||
| 37 | } | 82 | } | 
| 38 | // MARK: - 根据键盘调整高度 | 83 | // MARK: - 根据键盘调整高度 | 
| 39 | @objc func keyboardWIllChange(_ noti: Notification){ | 84 | @objc func keyboardWIllChange(_ noti: Notification){ | 
| 40 | let userInfo:NSDictionary=noti.userInfo! as NSDictionary | 85 | let userInfo:NSDictionary=noti.userInfo! as NSDictionary | 
| 41 | let endFrame=(userInfo[UIKeyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue | 86 | let endFrame=(userInfo[UIKeyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue | 
| 87 | + let y = navigationBarHeight! + statusBarHeight | ||
| 42 | if endFrame?.origin.y == getScreenHeight() { | 88 | if endFrame?.origin.y == getScreenHeight() { | 
| 43 | - topView.constant = (getScreenHeight()-325)/3 | 89 | + UIView.animate(withDuration: 0.5) { | 
| 90 | + self.rootTableView.frame = CGRect.init(x: 0, y: y, width: screenWidth, height:screenHeight) | ||
| 91 | + } | ||
| 44 | }else{ | 92 | }else{ | 
| 45 | - topView.constant = (endFrame?.origin.y)!-425 | 93 | + UIView.animate(withDuration: 0.5) { | 
| 94 | + self.rootTableView.frame = CGRect.init(x: 0, y: 0, width: screenWidth, height: screenHeight) | ||
| 95 | + } | ||
| 46 | } | 96 | } | 
| 47 | } | 97 | } | 
| 48 | // MARK: - 获取验证码 | 98 | // MARK: - 获取验证码 | 
| @@ -77,26 +127,18 @@ class GetBackPasswordViewController: UIViewController,UITextFieldDelegate { | @@ -77,26 +127,18 @@ class GetBackPasswordViewController: UIViewController,UITextFieldDelegate { | ||
| 77 | passwordTwoHiddenBtn.isSelected = !selected | 127 | passwordTwoHiddenBtn.isSelected = !selected | 
| 78 | passwordTwoTextField.isSecureTextEntry = selected | 128 | passwordTwoTextField.isSecureTextEntry = selected | 
| 79 | } | 129 | } | 
| 80 | - // MARK: - 设置键盘消失 | ||
| 81 | - override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) { | ||
| 82 | - self.view.endEditing(true) | ||
| 83 | - } | 130 | + | 
| 84 | // MARK: - UITextFieldDelegate | 131 | // MARK: - UITextFieldDelegate | 
| 85 | func textFieldDidEndEditing(_ textField: UITextField) { | 132 | func textFieldDidEndEditing(_ textField: UITextField) { | 
| 86 | if textField==passwordTwoTextField && phoneTextField.text! != "" && codeTextField.text! != "" && passwordTextField.text! != "" && passwordTwoTextField.text! != "" && passwordTextField.text! == passwordTwoTextField.text!{ | 133 | if textField==passwordTwoTextField && phoneTextField.text! != "" && codeTextField.text! != "" && passwordTextField.text! != "" && passwordTwoTextField.text! != "" && passwordTextField.text! == passwordTwoTextField.text!{ | 
| 87 | changeBtn.isUserInteractionEnabled = true | 134 | changeBtn.isUserInteractionEnabled = true | 
| 88 | - changeBtn.backgroundColor = UIColorFromRGB(0xC5DAFF) | 135 | + changeBtn.backgroundColor = navigationColor | 
| 89 | }else{ | 136 | }else{ | 
| 90 | changeBtn.isUserInteractionEnabled = false | 137 | changeBtn.isUserInteractionEnabled = false | 
| 91 | changeBtn.backgroundColor = UIColor.lightGray | 138 | changeBtn.backgroundColor = UIColor.lightGray | 
| 92 | } | 139 | } | 
| 93 | } | 140 | } | 
| 94 | - // MARK: - UITextFieldDelegate | ||
| 95 | 141 | ||
| 96 | - func textFieldShouldReturn(_ textField: UITextField) -> Bool { | ||
| 97 | - self.view.endEditing(true) | ||
| 98 | - return true | ||
| 99 | - } | ||
| 100 | func isMobilePhoneNumber(_ mobile:String)->Bool { | 142 | func isMobilePhoneNumber(_ mobile:String)->Bool { | 
| 101 | let str="^1[0-9]{10}" | 143 | let str="^1[0-9]{10}" | 
| 102 | return NSPredicate(format: "SELF MATCHES %@", str).evaluate(with: mobile) | 144 | return NSPredicate(format: "SELF MATCHES %@", str).evaluate(with: mobile) | 
| @@ -189,14 +231,5 @@ class GetBackPasswordViewController: UIViewController,UITextFieldDelegate { | @@ -189,14 +231,5 @@ class GetBackPasswordViewController: UIViewController,UITextFieldDelegate { | ||
| 189 | 231 | ||
| 190 | 232 | ||
| 191 | } | 233 | } | 
| 192 | - | ||
| 193 | - | ||
| 194 | - // MARK: - 登录页面跳转 | ||
| 195 | - | ||
| 196 | - @IBAction func loginAction(_ sender: UIButton) { | ||
| 197 | - let vc = Story.instantiateViewControllerWithIdentifier("LoginViewController", storyName: "My") as! LoginViewController | ||
| 198 | - self.navigationController?.pushViewController(vc, animated: true) | ||
| 199 | - } | ||
| 200 | - | ||
| 201 | 234 | ||
| 202 | } | 235 | } | 
ParentAssistant/ParentAssistant/Classes/controllers/my/Controller/LoginViewController.swift
| @@ -8,9 +8,10 @@ | @@ -8,9 +8,10 @@ | ||
| 8 | 8 | ||
| 9 | import UIKit | 9 | import UIKit | 
| 10 | //登录 | 10 | //登录 | 
| 11 | -class LoginViewController: UIViewController,UITextFieldDelegate,UIScrollViewDelegate { | 11 | +class LoginViewController: UITableViewController,UITextFieldDelegate { | 
| 12 | 12 | ||
| 13 | - @IBOutlet weak var scrollView: UIScrollView! | 13 | + | 
| 14 | + @IBOutlet var rootTableView: UITableView! | ||
| 14 | @IBOutlet var iconImageView: UIImageView!//系统头像 | 15 | @IBOutlet var iconImageView: UIImageView!//系统头像 | 
| 15 | @IBOutlet var phoneTextField: UITextField!//电话号码 | 16 | @IBOutlet var phoneTextField: UITextField!//电话号码 | 
| 16 | @IBOutlet var passwordTextField: UITextField!//密码 | 17 | @IBOutlet var passwordTextField: UITextField!//密码 | 
| @@ -21,8 +22,6 @@ class LoginViewController: UIViewController,UITextFieldDelegate,UIScrollViewDele | @@ -21,8 +22,6 @@ class LoginViewController: UIViewController,UITextFieldDelegate,UIScrollViewDele | ||
| 21 | override func viewDidLoad() { | 22 | override func viewDidLoad() { | 
| 22 | super.viewDidLoad() | 23 | super.viewDidLoad() | 
| 23 | 24 | ||
| 24 | - self.scrollView.contentSize = CGSize.init(width: 0, height: screenHeight) | ||
| 25 | - | ||
| 26 | layoutSubViews() | 25 | layoutSubViews() | 
| 27 | 26 | ||
| 28 | self.phoneTextField.addTarget(self, action: #selector(textFieldChange), for: UIControlEvents.editingChanged) | 27 | self.phoneTextField.addTarget(self, action: #selector(textFieldChange), for: UIControlEvents.editingChanged) | 
| @@ -30,7 +29,7 @@ class LoginViewController: UIViewController,UITextFieldDelegate,UIScrollViewDele | @@ -30,7 +29,7 @@ class LoginViewController: UIViewController,UITextFieldDelegate,UIScrollViewDele | ||
| 30 | 29 | ||
| 31 | } | 30 | } | 
| 32 | 31 | ||
| 33 | - func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) { | 32 | + override func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) { | 
| 34 | 33 | ||
| 35 | phoneTextField.resignFirstResponder() | 34 | phoneTextField.resignFirstResponder() | 
| 36 | passwordTextField.resignFirstResponder() | 35 | passwordTextField.resignFirstResponder() | 
| @@ -47,6 +46,24 @@ class LoginViewController: UIViewController,UITextFieldDelegate,UIScrollViewDele | @@ -47,6 +46,24 @@ class LoginViewController: UIViewController,UITextFieldDelegate,UIScrollViewDele | ||
| 47 | } | 46 | } | 
| 48 | } | 47 | } | 
| 49 | 48 | ||
| 49 | + | ||
| 50 | + //MARK: - UITableView Delegate && DataSource | ||
| 51 | + | ||
| 52 | + override func numberOfSections(in tableView: UITableView) -> Int { | ||
| 53 | + return 1 | ||
| 54 | + } | ||
| 55 | + override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { | ||
| 56 | + return 5 | ||
| 57 | + } | ||
| 58 | + override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { | ||
| 59 | + if indexPath.row == 0 { | ||
| 60 | + return 200 | ||
| 61 | + } | ||
| 62 | + else{ | ||
| 63 | + return 50 | ||
| 64 | + } | ||
| 65 | + } | ||
| 66 | + | ||
| 50 | // MARK: - 设置控件属性 | 67 | // MARK: - 设置控件属性 | 
| 51 | func layoutSubViews(){ | 68 | func layoutSubViews(){ | 
| 52 | self.navigationItem.title = "登录" | 69 | self.navigationItem.title = "登录" | 
| @@ -60,13 +77,14 @@ class LoginViewController: UIViewController,UITextFieldDelegate,UIScrollViewDele | @@ -60,13 +77,14 @@ class LoginViewController: UIViewController,UITextFieldDelegate,UIScrollViewDele | ||
| 60 | let userInfo:NSDictionary=noti.userInfo! as NSDictionary | 77 | let userInfo:NSDictionary=noti.userInfo! as NSDictionary | 
| 61 | let endFrame=(userInfo[UIKeyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue | 78 | let endFrame=(userInfo[UIKeyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue | 
| 62 | 79 | ||
| 80 | + let y = navigationBarHeight! + statusBarHeight | ||
| 63 | if endFrame?.origin.y == getScreenHeight() { | 81 | if endFrame?.origin.y == getScreenHeight() { | 
| 64 | UIView.animate(withDuration: 0.5) { | 82 | UIView.animate(withDuration: 0.5) { | 
| 65 | - self.scrollView.setContentOffset(CGPoint.init(x: 0, y: 0), animated: true) | 83 | + self.rootTableView.frame = CGRect.init(x: 0, y: y, width: screenWidth, height: screenHeight) | 
| 66 | } | 84 | } | 
| 67 | }else{ | 85 | }else{ | 
| 68 | UIView.animate(withDuration: 0.5) { | 86 | UIView.animate(withDuration: 0.5) { | 
| 69 | - self.scrollView.setContentOffset(CGPoint.init(x: 0, y:80), animated: true) | 87 | + self.rootTableView.frame = CGRect.init(x: 0, y: 0, width: screenWidth, height: screenHeight) | 
| 70 | } | 88 | } | 
| 71 | } | 89 | } | 
| 72 | } | 90 | } | 
ParentAssistant/ParentAssistant/Classes/controllers/my/Controller/My.storyboard
| @@ -246,8 +246,8 @@ | @@ -246,8 +246,8 @@ | ||
| 246 | <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> | 246 | <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> | 
| 247 | <autoresizingMask key="autoresizingMask"/> | 247 | <autoresizingMask key="autoresizingMask"/> | 
| 248 | <subviews> | 248 | <subviews> | 
| 249 | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="trailing" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="NBj-lL-p1W"> | ||
| 250 | - <rect key="frame" x="315" y="2" width="50" height="40"/> | 249 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="NBj-lL-p1W"> | 
| 250 | + <rect key="frame" x="96" y="2" width="50" height="40"/> | ||
| 251 | <constraints> | 251 | <constraints> | 
| 252 | <constraint firstAttribute="height" constant="40" id="V6f-Da-UZO"/> | 252 | <constraint firstAttribute="height" constant="40" id="V6f-Da-UZO"/> | 
| 253 | <constraint firstAttribute="width" constant="50" id="bZt-RW-dVQ"/> | 253 | <constraint firstAttribute="width" constant="50" id="bZt-RW-dVQ"/> | 
| @@ -258,15 +258,15 @@ | @@ -258,15 +258,15 @@ | ||
| 258 | <action selector="loginAction:" destination="hjy-iv-Li4" eventType="touchUpInside" id="TZH-CI-fGT"/> | 258 | <action selector="loginAction:" destination="hjy-iv-Li4" eventType="touchUpInside" id="TZH-CI-fGT"/> | 
| 259 | </connections> | 259 | </connections> | 
| 260 | </button> | 260 | </button> | 
| 261 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="已注册,直接登录" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cwV-As-GSs"> | ||
| 262 | - <rect key="frame" x="10" y="13.5" width="115" height="17"/> | 261 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="已注册,直接" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cwV-As-GSs"> | 
| 262 | + <rect key="frame" x="10" y="13.5" width="86" height="17"/> | ||
| 263 | <fontDescription key="fontDescription" type="system" pointSize="14"/> | 263 | <fontDescription key="fontDescription" type="system" pointSize="14"/> | 
| 264 | <color key="textColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/> | 264 | <color key="textColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/> | 
| 265 | <nil key="highlightedColor"/> | 265 | <nil key="highlightedColor"/> | 
| 266 | </label> | 266 | </label> | 
| 267 | </subviews> | 267 | </subviews> | 
| 268 | <constraints> | 268 | <constraints> | 
| 269 | - <constraint firstItem="NBj-lL-p1W" firstAttribute="trailing" secondItem="P1c-Ns-CBR" secondAttribute="trailing" constant="-10" id="5iO-WV-AJ1"/> | 269 | + <constraint firstItem="NBj-lL-p1W" firstAttribute="leading" secondItem="cwV-As-GSs" secondAttribute="trailing" id="5iO-WV-AJ1"/> | 
| 270 | <constraint firstItem="NBj-lL-p1W" firstAttribute="centerY" secondItem="P1c-Ns-CBR" secondAttribute="centerY" id="R16-mv-zzU"/> | 270 | <constraint firstItem="NBj-lL-p1W" firstAttribute="centerY" secondItem="P1c-Ns-CBR" secondAttribute="centerY" id="R16-mv-zzU"/> | 
| 271 | <constraint firstItem="cwV-As-GSs" firstAttribute="centerY" secondItem="P1c-Ns-CBR" secondAttribute="centerY" id="RZZ-vI-VFL"/> | 271 | <constraint firstItem="cwV-As-GSs" firstAttribute="centerY" secondItem="P1c-Ns-CBR" secondAttribute="centerY" id="RZZ-vI-VFL"/> | 
| 272 | <constraint firstItem="cwV-As-GSs" firstAttribute="leading" secondItem="P1c-Ns-CBR" secondAttribute="leading" constant="10" id="bB2-tw-jWM"/> | 272 | <constraint firstItem="cwV-As-GSs" firstAttribute="leading" secondItem="P1c-Ns-CBR" secondAttribute="leading" constant="10" id="bB2-tw-jWM"/> | 
| @@ -294,512 +294,555 @@ | @@ -294,512 +294,555 @@ | ||
| 294 | </tableViewController> | 294 | </tableViewController> | 
| 295 | <placeholder placeholderIdentifier="IBFirstResponder" id="JT6-75-zX0" userLabel="First Responder" sceneMemberID="firstResponder"/> | 295 | <placeholder placeholderIdentifier="IBFirstResponder" id="JT6-75-zX0" userLabel="First Responder" sceneMemberID="firstResponder"/> | 
| 296 | </objects> | 296 | </objects> | 
| 297 | - <point key="canvasLocation" x="-2700" y="-420.53973013493254"/> | 297 | + <point key="canvasLocation" x="-1358" y="-116"/> | 
| 298 | </scene> | 298 | </scene> | 
| 299 | - <!--修改密码--> | ||
| 300 | - <scene sceneID="3yG-jT-RDd"> | 299 | + <!--Get Back Password View Controller--> | 
| 300 | + <scene sceneID="jZt-bZ-Rmk"> | ||
| 301 | <objects> | 301 | <objects> | 
| 302 | - <viewController storyboardIdentifier="GetBackPasswordViewController" id="oIO-Z6-lAw" customClass="GetBackPasswordViewController" customModule="ParentAssistant" customModuleProvider="target" sceneMemberID="viewController"> | ||
| 303 | - <view key="view" contentMode="scaleToFill" id="gw5-Z0-cga"> | 302 | + <tableViewController storyboardIdentifier="GetBackPasswordViewController" id="BCJ-3D-1yY" customClass="GetBackPasswordViewController" customModule="ParentAssistant" customModuleProvider="target" sceneMemberID="viewController"> | 
| 303 | + <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="plain" separatorStyle="none" rowHeight="50" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" id="reu-u8-jyw"> | ||
| 304 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 304 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 
| 305 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 305 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 
| 306 | - <subviews> | ||
| 307 | - <view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9Ce-ZJ-VAH"> | ||
| 308 | - <rect key="frame" x="0.0" y="224" width="375" height="325"/> | ||
| 309 | - <subviews> | ||
| 310 | - <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="defphoto" translatesAutoresizingMaskIntoConstraints="NO" id="Jy5-it-uFI"> | ||
| 311 | - <rect key="frame" x="157.5" y="0.0" width="60" height="60"/> | ||
| 312 | - <constraints> | ||
| 313 | - <constraint firstAttribute="width" secondItem="Jy5-it-uFI" secondAttribute="height" multiplier="1:1" id="3m6-TK-U6H"/> | ||
| 314 | - <constraint firstAttribute="width" constant="60" id="W7N-3I-4hk"/> | ||
| 315 | - </constraints> | ||
| 316 | - <userDefinedRuntimeAttributes> | ||
| 317 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
| 318 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
| 319 | - <integer key="value" value="30"/> | ||
| 320 | - </userDefinedRuntimeAttribute> | ||
| 321 | - </userDefinedRuntimeAttributes> | ||
| 322 | - </imageView> | ||
| 323 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AWH-FD-Tnh"> | ||
| 324 | - <rect key="frame" x="0.0" y="110" width="375" height="156"/> | ||
| 325 | - <subviews> | ||
| 326 | - <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入手机号" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="ZW8-dp-r3j"> | ||
| 327 | - <rect key="frame" x="8" y="0.0" width="359" height="30"/> | ||
| 328 | - <constraints> | ||
| 329 | - <constraint firstAttribute="height" constant="30" id="vQN-Zs-rcp"/> | ||
| 330 | - </constraints> | ||
| 331 | - <nil key="textColor"/> | ||
| 332 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 333 | - <textInputTraits key="textInputTraits" returnKeyType="done"/> | ||
| 334 | - <connections> | ||
| 335 | - <outlet property="delegate" destination="oIO-Z6-lAw" id="F3x-9C-ohI"/> | ||
| 336 | - </connections> | ||
| 337 | - </textField> | ||
| 338 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IHd-QY-H5I"> | ||
| 339 | - <rect key="frame" x="8" y="38" width="359" height="1"/> | ||
| 340 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
| 341 | - <constraints> | ||
| 342 | - <constraint firstAttribute="height" constant="1" id="Bc6-Le-whw"/> | ||
| 343 | - </constraints> | ||
| 344 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
| 345 | - <color key="textColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | ||
| 346 | - <nil key="highlightedColor"/> | ||
| 347 | - </label> | ||
| 348 | - <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入验证码" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="reb-Eh-8eh"> | ||
| 349 | - <rect key="frame" x="8" y="39" width="298" height="30"/> | ||
| 350 | - <constraints> | ||
| 351 | - <constraint firstAttribute="height" constant="30" id="0nY-lZ-FaA"/> | ||
| 352 | - </constraints> | ||
| 353 | - <nil key="textColor"/> | ||
| 354 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 355 | - <textInputTraits key="textInputTraits" returnKeyType="done"/> | ||
| 356 | - <connections> | ||
| 357 | - <outlet property="delegate" destination="oIO-Z6-lAw" id="SES-RW-uBu"/> | ||
| 358 | - </connections> | ||
| 359 | - </textField> | ||
| 360 | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="wUX-ij-e46"> | ||
| 361 | - <rect key="frame" x="314" y="46.5" width="45" height="22"/> | ||
| 362 | - <constraints> | ||
| 363 | - <constraint firstAttribute="width" constant="45" id="Omd-El-LBJ"/> | ||
| 364 | - </constraints> | ||
| 365 | - <state key="normal" title="获取"> | ||
| 366 | - <color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/> | ||
| 367 | - </state> | ||
| 368 | - <userDefinedRuntimeAttributes> | ||
| 369 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
| 370 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
| 371 | - <integer key="value" value="5"/> | ||
| 372 | - </userDefinedRuntimeAttribute> | ||
| 373 | - </userDefinedRuntimeAttributes> | ||
| 374 | - <connections> | ||
| 375 | - <action selector="getCodeAction:" destination="oIO-Z6-lAw" eventType="touchUpInside" id="cLG-ip-MvN"/> | ||
| 376 | - </connections> | ||
| 377 | - </button> | ||
| 378 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Tfy-JD-uqe"> | ||
| 379 | - <rect key="frame" x="8" y="77" width="359" height="1"/> | ||
| 380 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
| 381 | - <constraints> | ||
| 382 | - <constraint firstAttribute="height" constant="1" id="Vxd-1J-fG8"/> | ||
| 383 | - </constraints> | ||
| 384 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
| 385 | - <nil key="textColor"/> | ||
| 386 | - <nil key="highlightedColor"/> | ||
| 387 | - </label> | ||
| 388 | - <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请设置密码:6-16个字符" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="aP4-ia-VEJ"> | ||
| 389 | - <rect key="frame" x="8" y="78" width="298" height="30"/> | ||
| 390 | - <constraints> | ||
| 391 | - <constraint firstAttribute="height" constant="30" id="oiv-7w-LON"/> | ||
| 392 | - </constraints> | ||
| 393 | - <nil key="textColor"/> | ||
| 394 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 395 | - <textInputTraits key="textInputTraits" returnKeyType="done" secureTextEntry="YES"/> | ||
| 396 | - <connections> | ||
| 397 | - <outlet property="delegate" destination="oIO-Z6-lAw" id="9dr-4k-Jzn"/> | ||
| 398 | - </connections> | ||
| 399 | - </textField> | ||
| 400 | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8tY-2x-yCy"> | ||
| 401 | - <rect key="frame" x="314" y="85.5" width="45" height="22"/> | ||
| 402 | - <constraints> | ||
| 403 | - <constraint firstAttribute="width" constant="45" id="GSQ-uZ-ioz"/> | ||
| 404 | - <constraint firstAttribute="height" constant="22" id="PUD-lm-aA2"/> | ||
| 405 | - </constraints> | ||
| 406 | - <state key="normal" image="my_password_unlook"> | ||
| 407 | - <color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/> | ||
| 408 | - </state> | ||
| 409 | - <userDefinedRuntimeAttributes> | ||
| 410 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
| 411 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
| 412 | - <integer key="value" value="5"/> | ||
| 413 | - </userDefinedRuntimeAttribute> | ||
| 414 | - </userDefinedRuntimeAttributes> | ||
| 415 | - <connections> | ||
| 416 | - <action selector="passwordHiddenAction:" destination="oIO-Z6-lAw" eventType="touchUpInside" id="Prs-oE-nl7"/> | ||
| 417 | - </connections> | ||
| 418 | - </button> | ||
| 419 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NTl-8I-jOx"> | ||
| 420 | - <rect key="frame" x="8" y="116" width="359" height="1"/> | ||
| 421 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
| 422 | - <constraints> | ||
| 423 | - <constraint firstAttribute="height" constant="1" id="xrL-6R-SmU"/> | ||
| 424 | - </constraints> | ||
| 425 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
| 426 | - <nil key="textColor"/> | ||
| 427 | - <nil key="highlightedColor"/> | ||
| 428 | - </label> | ||
| 429 | - <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请设置密码:6-16个字符" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="Utw-PG-ZG9"> | ||
| 430 | - <rect key="frame" x="8" y="117" width="298" height="30"/> | ||
| 431 | - <constraints> | ||
| 432 | - <constraint firstAttribute="height" constant="30" id="sRa-8a-bW8"/> | ||
| 433 | - </constraints> | ||
| 434 | - <nil key="textColor"/> | ||
| 435 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 436 | - <textInputTraits key="textInputTraits" returnKeyType="done" secureTextEntry="YES"/> | ||
| 437 | - <connections> | ||
| 438 | - <outlet property="delegate" destination="oIO-Z6-lAw" id="Ucy-t0-Lb5"/> | ||
| 439 | - </connections> | ||
| 440 | - </textField> | ||
| 441 | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="TeK-cj-51z"> | ||
| 442 | - <rect key="frame" x="314" y="125" width="45" height="22"/> | ||
| 443 | - <constraints> | ||
| 444 | - <constraint firstAttribute="height" constant="22" id="4na-vV-wLU"/> | ||
| 445 | - <constraint firstAttribute="width" constant="45" id="nPX-kG-X40"/> | ||
| 446 | - </constraints> | ||
| 447 | - <state key="normal" image="my_password_unlook"> | ||
| 448 | - <color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/> | ||
| 449 | - </state> | ||
| 450 | - <userDefinedRuntimeAttributes> | ||
| 451 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
| 452 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
| 453 | - <integer key="value" value="5"/> | ||
| 454 | - </userDefinedRuntimeAttribute> | ||
| 455 | - </userDefinedRuntimeAttributes> | ||
| 456 | - <connections> | ||
| 457 | - <action selector="passwordTwoHiddenAction:" destination="oIO-Z6-lAw" eventType="touchUpInside" id="2w6-mK-v5X"/> | ||
| 458 | - </connections> | ||
| 459 | - </button> | ||
| 460 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jZT-VH-GHx"> | ||
| 461 | - <rect key="frame" x="8" y="155" width="359" height="1"/> | ||
| 462 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
| 463 | - <constraints> | ||
| 464 | - <constraint firstAttribute="height" constant="1" id="LLq-zC-MmQ"/> | ||
| 465 | - </constraints> | ||
| 466 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
| 467 | - <nil key="textColor"/> | ||
| 468 | - <nil key="highlightedColor"/> | ||
| 469 | - </label> | ||
| 470 | - </subviews> | ||
| 471 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
| 472 | - <constraints> | ||
| 473 | - <constraint firstItem="reb-Eh-8eh" firstAttribute="top" secondItem="IHd-QY-H5I" secondAttribute="bottom" id="2yu-BW-ywx"/> | ||
| 474 | - <constraint firstItem="Utw-PG-ZG9" firstAttribute="top" secondItem="NTl-8I-jOx" secondAttribute="bottom" id="3wX-Hc-rpI"/> | ||
| 475 | - <constraint firstItem="ZW8-dp-r3j" firstAttribute="top" secondItem="AWH-FD-Tnh" secondAttribute="top" id="4VV-BC-xu9"/> | ||
| 476 | - <constraint firstItem="aP4-ia-VEJ" firstAttribute="top" secondItem="Tfy-JD-uqe" secondAttribute="bottom" id="6bA-gF-2aI"/> | ||
| 477 | - <constraint firstAttribute="trailing" secondItem="TeK-cj-51z" secondAttribute="trailing" constant="16" id="7S7-sZ-SUH"/> | ||
| 478 | - <constraint firstAttribute="trailing" secondItem="wUX-ij-e46" secondAttribute="trailing" constant="16" id="A4A-Ly-iYE"/> | ||
| 479 | - <constraint firstItem="Tfy-JD-uqe" firstAttribute="leading" secondItem="AWH-FD-Tnh" secondAttribute="leading" constant="8" id="BM8-s6-fbc"/> | ||
| 480 | - <constraint firstItem="NTl-8I-jOx" firstAttribute="top" secondItem="aP4-ia-VEJ" secondAttribute="bottom" constant="8" id="CcK-Ow-VeG"/> | ||
| 481 | - <constraint firstAttribute="height" constant="156" id="GCv-mi-Oab"/> | ||
| 482 | - <constraint firstItem="wUX-ij-e46" firstAttribute="top" secondItem="IHd-QY-H5I" secondAttribute="bottom" constant="8" id="Hll-1t-f02"/> | ||
| 483 | - <constraint firstItem="8tY-2x-yCy" firstAttribute="top" secondItem="Tfy-JD-uqe" secondAttribute="bottom" constant="8" id="Ihg-LK-h5P"/> | ||
| 484 | - <constraint firstAttribute="trailing" secondItem="8tY-2x-yCy" secondAttribute="trailing" constant="16" id="JwU-WR-Eaw"/> | ||
| 485 | - <constraint firstItem="TeK-cj-51z" firstAttribute="leading" secondItem="Utw-PG-ZG9" secondAttribute="trailing" constant="8" id="Kt2-7K-hHW"/> | ||
| 486 | - <constraint firstItem="NTl-8I-jOx" firstAttribute="leading" secondItem="AWH-FD-Tnh" secondAttribute="leading" constant="8" id="OtO-UU-XKk"/> | ||
| 487 | - <constraint firstItem="ZW8-dp-r3j" firstAttribute="leading" secondItem="AWH-FD-Tnh" secondAttribute="leading" constant="8" id="Oxv-v7-Bv8"/> | ||
| 488 | - <constraint firstAttribute="trailing" secondItem="Tfy-JD-uqe" secondAttribute="trailing" constant="8" id="QVJ-BW-qaj"/> | ||
| 489 | - <constraint firstAttribute="bottom" secondItem="jZT-VH-GHx" secondAttribute="bottom" id="Qgc-of-ZKB"/> | ||
| 490 | - <constraint firstItem="wUX-ij-e46" firstAttribute="leading" secondItem="reb-Eh-8eh" secondAttribute="trailing" constant="8" id="R9S-HW-iRf"/> | ||
| 491 | - <constraint firstItem="jZT-VH-GHx" firstAttribute="leading" secondItem="AWH-FD-Tnh" secondAttribute="leading" constant="8" id="S0S-28-02f"/> | ||
| 492 | - <constraint firstItem="ZW8-dp-r3j" firstAttribute="leading" secondItem="AWH-FD-Tnh" secondAttribute="leading" constant="8" id="SY9-2c-sMj"/> | ||
| 493 | - <constraint firstItem="ZW8-dp-r3j" firstAttribute="top" secondItem="AWH-FD-Tnh" secondAttribute="top" id="Tob-lN-b8A"/> | ||
| 494 | - <constraint firstItem="IHd-QY-H5I" firstAttribute="top" secondItem="ZW8-dp-r3j" secondAttribute="bottom" constant="8" id="Tyh-Q4-upE"/> | ||
| 495 | - <constraint firstItem="TeK-cj-51z" firstAttribute="top" secondItem="NTl-8I-jOx" secondAttribute="bottom" constant="8" id="VMZ-ZZ-Sgd"/> | ||
| 496 | - <constraint firstAttribute="trailing" secondItem="NTl-8I-jOx" secondAttribute="trailing" constant="8" id="Vso-FD-pkX"/> | ||
| 497 | - <constraint firstAttribute="trailing" secondItem="jZT-VH-GHx" secondAttribute="trailing" constant="8" id="WJ5-xx-arb"/> | ||
| 498 | - <constraint firstItem="Utw-PG-ZG9" firstAttribute="leading" secondItem="AWH-FD-Tnh" secondAttribute="leading" constant="8" id="cCe-MZ-zoP"/> | ||
| 499 | - <constraint firstItem="reb-Eh-8eh" firstAttribute="leading" secondItem="AWH-FD-Tnh" secondAttribute="leading" constant="8" id="cOR-3f-YXF"/> | ||
| 500 | - <constraint firstItem="Tfy-JD-uqe" firstAttribute="top" secondItem="wUX-ij-e46" secondAttribute="bottom" constant="8" id="f45-xe-sQr"/> | ||
| 501 | - <constraint firstAttribute="trailing" secondItem="ZW8-dp-r3j" secondAttribute="trailing" constant="8" id="gHK-6j-b66"/> | ||
| 502 | - <constraint firstAttribute="trailing" secondItem="IHd-QY-H5I" secondAttribute="trailing" constant="8" id="h73-Dc-xnM"/> | ||
| 503 | - <constraint firstAttribute="trailing" secondItem="ZW8-dp-r3j" secondAttribute="trailing" constant="8" id="hy2-UF-3s2"/> | ||
| 504 | - <constraint firstItem="8tY-2x-yCy" firstAttribute="leading" secondItem="aP4-ia-VEJ" secondAttribute="trailing" constant="8" id="iTj-cb-53Z"/> | ||
| 505 | - <constraint firstItem="aP4-ia-VEJ" firstAttribute="leading" secondItem="AWH-FD-Tnh" secondAttribute="leading" constant="8" id="lS0-kP-lNb"/> | ||
| 506 | - <constraint firstItem="Tfy-JD-uqe" firstAttribute="top" secondItem="reb-Eh-8eh" secondAttribute="bottom" constant="8" id="lix-zg-CYC"/> | ||
| 507 | - <constraint firstItem="IHd-QY-H5I" firstAttribute="leading" secondItem="AWH-FD-Tnh" secondAttribute="leading" constant="8" id="vp2-HV-GKv"/> | ||
| 508 | - </constraints> | ||
| 509 | - </view> | ||
| 510 | - <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8Wh-Fi-dMD"> | ||
| 511 | - <rect key="frame" x="8" y="274" width="359" height="40"/> | ||
| 512 | - <color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/> | ||
| 513 | - <constraints> | ||
| 514 | - <constraint firstAttribute="height" constant="40" id="GAY-q1-IaU"/> | ||
| 515 | - </constraints> | ||
| 516 | - <state key="normal" title="确认"> | ||
| 517 | - <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
| 518 | - </state> | ||
| 519 | - <userDefinedRuntimeAttributes> | ||
| 520 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
| 521 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
| 522 | - <integer key="value" value="5"/> | ||
| 523 | - </userDefinedRuntimeAttribute> | ||
| 524 | - </userDefinedRuntimeAttributes> | ||
| 525 | - <connections> | ||
| 526 | - <action selector="changeAction:" destination="oIO-Z6-lAw" eventType="touchUpInside" id="zFV-AN-3Hq"/> | ||
| 527 | - </connections> | ||
| 528 | - </button> | ||
| 529 | - </subviews> | ||
| 530 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
| 531 | - <constraints> | ||
| 532 | - <constraint firstAttribute="trailing" secondItem="8Wh-Fi-dMD" secondAttribute="trailing" constant="8" id="2mk-if-PSD"/> | ||
| 533 | - <constraint firstItem="8Wh-Fi-dMD" firstAttribute="leading" secondItem="9Ce-ZJ-VAH" secondAttribute="leading" constant="8" id="7H8-NP-r9b"/> | ||
| 534 | - <constraint firstAttribute="height" constant="325" id="9LB-Dm-9Xa"/> | ||
| 535 | - <constraint firstItem="Jy5-it-uFI" firstAttribute="top" secondItem="9Ce-ZJ-VAH" secondAttribute="top" id="Hwl-b0-2GN"/> | ||
| 536 | - <constraint firstItem="8Wh-Fi-dMD" firstAttribute="top" secondItem="AWH-FD-Tnh" secondAttribute="bottom" constant="8" id="LXs-wQ-a2t"/> | ||
| 537 | - <constraint firstItem="Jy5-it-uFI" firstAttribute="centerX" secondItem="9Ce-ZJ-VAH" secondAttribute="centerX" id="UcJ-FE-qLY"/> | ||
| 538 | - <constraint firstAttribute="trailing" secondItem="AWH-FD-Tnh" secondAttribute="trailing" id="Zpk-fA-GUZ"/> | ||
| 539 | - <constraint firstItem="AWH-FD-Tnh" firstAttribute="leading" secondItem="9Ce-ZJ-VAH" secondAttribute="leading" id="p4L-Sx-OcA"/> | ||
| 540 | - <constraint firstItem="AWH-FD-Tnh" firstAttribute="top" secondItem="Jy5-it-uFI" secondAttribute="bottom" constant="50" id="vgE-ss-qws"/> | ||
| 541 | - </constraints> | ||
| 542 | - </view> | ||
| 543 | - </subviews> | ||
| 544 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
| 545 | - <constraints> | ||
| 546 | - <constraint firstItem="9Ce-ZJ-VAH" firstAttribute="trailing" secondItem="JQc-C0-Xnr" secondAttribute="trailing" id="7Jw-Gi-Qlr"/> | ||
| 547 | - <constraint firstItem="9Ce-ZJ-VAH" firstAttribute="top" secondItem="JQc-C0-Xnr" secondAttribute="top" constant="160" id="Fa7-eL-B11"/> | ||
| 548 | - <constraint firstItem="9Ce-ZJ-VAH" firstAttribute="leading" secondItem="JQc-C0-Xnr" secondAttribute="leading" id="fqF-H4-gDQ"/> | ||
| 549 | - </constraints> | ||
| 550 | - <viewLayoutGuide key="safeArea" id="JQc-C0-Xnr"/> | ||
| 551 | - </view> | ||
| 552 | - <navigationItem key="navigationItem" title="修改密码" id="g3F-bg-CQd"/> | ||
| 553 | - <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/> | 306 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 
| 307 | + <sections> | ||
| 308 | + <tableViewSection id="O4V-cm-Phc"> | ||
| 309 | + <cells> | ||
| 310 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="200" id="fTz-X3-X5E"> | ||
| 311 | + <rect key="frame" x="0.0" y="0.0" width="375" height="200"/> | ||
| 312 | + <autoresizingMask key="autoresizingMask"/> | ||
| 313 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="fTz-X3-X5E" id="pkZ-kQ-7q1"> | ||
| 314 | + <rect key="frame" x="0.0" y="0.0" width="375" height="200"/> | ||
| 315 | + <autoresizingMask key="autoresizingMask"/> | ||
| 316 | + <subviews> | ||
| 317 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="defphoto" translatesAutoresizingMaskIntoConstraints="NO" id="a7V-uf-1jd"> | ||
| 318 | + <rect key="frame" x="157" y="70" width="60" height="60"/> | ||
| 319 | + <constraints> | ||
| 320 | + <constraint firstAttribute="width" constant="60" id="OeX-bF-3A1"/> | ||
| 321 | + <constraint firstAttribute="height" constant="60" id="cp6-h0-WBd"/> | ||
| 322 | + </constraints> | ||
| 323 | + <userDefinedRuntimeAttributes> | ||
| 324 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
| 325 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
| 326 | + <integer key="value" value="30"/> | ||
| 327 | + </userDefinedRuntimeAttribute> | ||
| 328 | + </userDefinedRuntimeAttributes> | ||
| 329 | + </imageView> | ||
| 330 | + </subviews> | ||
| 331 | + <constraints> | ||
| 332 | + <constraint firstItem="a7V-uf-1jd" firstAttribute="centerX" secondItem="pkZ-kQ-7q1" secondAttribute="centerX" id="jYx-XK-Tpx"/> | ||
| 333 | + <constraint firstItem="a7V-uf-1jd" firstAttribute="centerY" secondItem="pkZ-kQ-7q1" secondAttribute="centerY" id="tH2-76-67a"/> | ||
| 334 | + </constraints> | ||
| 335 | + </tableViewCellContentView> | ||
| 336 | + </tableViewCell> | ||
| 337 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" id="Wr3-ag-wS7"> | ||
| 338 | + <rect key="frame" x="0.0" y="200" width="375" height="50"/> | ||
| 339 | + <autoresizingMask key="autoresizingMask"/> | ||
| 340 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Wr3-ag-wS7" id="7g0-zj-Ppm"> | ||
| 341 | + <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | ||
| 342 | + <autoresizingMask key="autoresizingMask"/> | ||
| 343 | + <subviews> | ||
| 344 | + <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入手机号" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="Qdf-Sn-1SH"> | ||
| 345 | + <rect key="frame" x="8" y="15.5" width="359" height="19"/> | ||
| 346 | + <nil key="textColor"/> | ||
| 347 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 348 | + <textInputTraits key="textInputTraits" keyboardType="numbersAndPunctuation" returnKeyType="done"/> | ||
| 349 | + <connections> | ||
| 350 | + <outlet property="delegate" destination="BCJ-3D-1yY" id="Aa9-06-Rxc"/> | ||
| 351 | + </connections> | ||
| 352 | + </textField> | ||
| 353 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AoG-lg-ugQ"> | ||
| 354 | + <rect key="frame" x="8" y="49" width="359" height="1"/> | ||
| 355 | + <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
| 356 | + <constraints> | ||
| 357 | + <constraint firstAttribute="height" constant="1" id="dOi-Jl-7VX"/> | ||
| 358 | + </constraints> | ||
| 359 | + <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
| 360 | + <nil key="textColor"/> | ||
| 361 | + <nil key="highlightedColor"/> | ||
| 362 | + </label> | ||
| 363 | + </subviews> | ||
| 364 | + <constraints> | ||
| 365 | + <constraint firstItem="Qdf-Sn-1SH" firstAttribute="centerX" secondItem="7g0-zj-Ppm" secondAttribute="centerX" id="AIT-Cr-rNE"/> | ||
| 366 | + <constraint firstAttribute="trailing" secondItem="AoG-lg-ugQ" secondAttribute="trailing" constant="8" id="FmF-y3-Y3j"/> | ||
| 367 | + <constraint firstItem="Qdf-Sn-1SH" firstAttribute="centerY" secondItem="7g0-zj-Ppm" secondAttribute="centerY" id="HbW-tB-e2E"/> | ||
| 368 | + <constraint firstItem="AoG-lg-ugQ" firstAttribute="leading" secondItem="7g0-zj-Ppm" secondAttribute="leading" constant="8" id="Hwe-V7-PNX"/> | ||
| 369 | + <constraint firstAttribute="trailing" secondItem="Qdf-Sn-1SH" secondAttribute="trailing" constant="8" id="IFD-Ji-QF8"/> | ||
| 370 | + <constraint firstItem="Qdf-Sn-1SH" firstAttribute="leading" secondItem="7g0-zj-Ppm" secondAttribute="leading" constant="8" id="Iuz-ey-aNk"/> | ||
| 371 | + <constraint firstItem="AoG-lg-ugQ" firstAttribute="bottom" secondItem="7g0-zj-Ppm" secondAttribute="bottom" id="krM-7p-KxB"/> | ||
| 372 | + <constraint firstItem="Qdf-Sn-1SH" firstAttribute="centerY" secondItem="7g0-zj-Ppm" secondAttribute="centerY" id="lff-nz-RaH"/> | ||
| 373 | + </constraints> | ||
| 374 | + </tableViewCellContentView> | ||
| 375 | + </tableViewCell> | ||
| 376 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" id="70R-9l-eRo"> | ||
| 377 | + <rect key="frame" x="0.0" y="250" width="375" height="50"/> | ||
| 378 | + <autoresizingMask key="autoresizingMask"/> | ||
| 379 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="70R-9l-eRo" id="ABc-Ju-5GV"> | ||
| 380 | + <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | ||
| 381 | + <autoresizingMask key="autoresizingMask"/> | ||
| 382 | + <subviews> | ||
| 383 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HQG-fL-ZEg"> | ||
| 384 | + <rect key="frame" x="8" y="49" width="309" height="1"/> | ||
| 385 | + <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
| 386 | + <constraints> | ||
| 387 | + <constraint firstAttribute="height" constant="1" id="ui0-25-CpW"/> | ||
| 388 | + </constraints> | ||
| 389 | + <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
| 390 | + <nil key="textColor"/> | ||
| 391 | + <nil key="highlightedColor"/> | ||
| 392 | + </label> | ||
| 393 | + <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入验证码" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="llX-1t-pij"> | ||
| 394 | + <rect key="frame" x="8" y="16" width="306" height="19"/> | ||
| 395 | + <nil key="textColor"/> | ||
| 396 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 397 | + <textInputTraits key="textInputTraits" keyboardType="numbersAndPunctuation" returnKeyType="done"/> | ||
| 398 | + <connections> | ||
| 399 | + <outlet property="delegate" destination="BCJ-3D-1yY" id="Tiw-GP-JDb"/> | ||
| 400 | + </connections> | ||
| 401 | + </textField> | ||
| 402 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hzy-0V-iDL"> | ||
| 403 | + <rect key="frame" x="322" y="14" width="45" height="22"/> | ||
| 404 | + <constraints> | ||
| 405 | + <constraint firstAttribute="height" constant="22" id="emW-SB-Rdv"/> | ||
| 406 | + <constraint firstAttribute="width" constant="45" id="s1t-Ki-Pds"/> | ||
| 407 | + </constraints> | ||
| 408 | + <state key="normal" title="获取"> | ||
| 409 | + <color key="titleColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/> | ||
| 410 | + </state> | ||
| 411 | + <userDefinedRuntimeAttributes> | ||
| 412 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
| 413 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
| 414 | + <integer key="value" value="5"/> | ||
| 415 | + </userDefinedRuntimeAttribute> | ||
| 416 | + </userDefinedRuntimeAttributes> | ||
| 417 | + <connections> | ||
| 418 | + <action selector="getCodeAction:" destination="BCJ-3D-1yY" eventType="touchUpInside" id="HaC-Cm-xpF"/> | ||
| 419 | + </connections> | ||
| 420 | + </button> | ||
| 421 | + </subviews> | ||
| 422 | + <constraints> | ||
| 423 | + <constraint firstItem="HQG-fL-ZEg" firstAttribute="bottom" secondItem="ABc-Ju-5GV" secondAttribute="bottom" id="D4y-Vr-jz7"/> | ||
| 424 | + <constraint firstItem="hzy-0V-iDL" firstAttribute="centerY" secondItem="ABc-Ju-5GV" secondAttribute="centerY" id="GNH-g1-C8X"/> | ||
| 425 | + <constraint firstItem="HQG-fL-ZEg" firstAttribute="leading" secondItem="ABc-Ju-5GV" secondAttribute="leading" constant="8" id="Hls-Gh-uJZ"/> | ||
| 426 | + <constraint firstItem="hzy-0V-iDL" firstAttribute="leading" secondItem="HQG-fL-ZEg" secondAttribute="trailing" constant="5" id="KV4-LM-KGH"/> | ||
| 427 | + <constraint firstItem="hzy-0V-iDL" firstAttribute="leading" secondItem="llX-1t-pij" secondAttribute="trailing" constant="8" id="NC2-n3-UTA"/> | ||
| 428 | + <constraint firstAttribute="trailing" secondItem="hzy-0V-iDL" secondAttribute="trailing" constant="8" id="NPb-Wa-1Sl"/> | ||
| 429 | + <constraint firstItem="llX-1t-pij" firstAttribute="centerY" secondItem="ABc-Ju-5GV" secondAttribute="centerY" id="V47-M4-KN2"/> | ||
| 430 | + <constraint firstItem="llX-1t-pij" firstAttribute="leading" secondItem="ABc-Ju-5GV" secondAttribute="leading" constant="8" id="pCJ-Jx-Jvu"/> | ||
| 431 | + </constraints> | ||
| 432 | + </tableViewCellContentView> | ||
| 433 | + </tableViewCell> | ||
| 434 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" id="aY1-Xp-0vl"> | ||
| 435 | + <rect key="frame" x="0.0" y="300" width="375" height="50"/> | ||
| 436 | + <autoresizingMask key="autoresizingMask"/> | ||
| 437 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="aY1-Xp-0vl" id="KuD-8x-yYz"> | ||
| 438 | + <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | ||
| 439 | + <autoresizingMask key="autoresizingMask"/> | ||
| 440 | + <subviews> | ||
| 441 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LVS-ml-uFw"> | ||
| 442 | + <rect key="frame" x="8" y="49" width="309" height="1"/> | ||
| 443 | + <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
| 444 | + <constraints> | ||
| 445 | + <constraint firstAttribute="height" constant="1" id="hGF-8g-Df9"/> | ||
| 446 | + </constraints> | ||
| 447 | + <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
| 448 | + <nil key="textColor"/> | ||
| 449 | + <nil key="highlightedColor"/> | ||
| 450 | + </label> | ||
| 451 | + <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请设置密码:6-16个字符" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="gTH-Yb-HWx"> | ||
| 452 | + <rect key="frame" x="8" y="15.5" width="306" height="19"/> | ||
| 453 | + <nil key="textColor"/> | ||
| 454 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 455 | + <textInputTraits key="textInputTraits" returnKeyType="done" secureTextEntry="YES"/> | ||
| 456 | + <connections> | ||
| 457 | + <outlet property="delegate" destination="BCJ-3D-1yY" id="ukV-2o-Y4b"/> | ||
| 458 | + </connections> | ||
| 459 | + </textField> | ||
| 460 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Nt5-LT-mGX"> | ||
| 461 | + <rect key="frame" x="322" y="14" width="45" height="23"/> | ||
| 462 | + <constraints> | ||
| 463 | + <constraint firstAttribute="width" constant="45" id="haE-CQ-JeB"/> | ||
| 464 | + <constraint firstAttribute="height" constant="23" id="wt8-Kw-dqU"/> | ||
| 465 | + </constraints> | ||
| 466 | + <state key="normal" image="my_password_unlook"> | ||
| 467 | + <color key="titleColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/> | ||
| 468 | + </state> | ||
| 469 | + <userDefinedRuntimeAttributes> | ||
| 470 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
| 471 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
| 472 | + <integer key="value" value="5"/> | ||
| 473 | + </userDefinedRuntimeAttribute> | ||
| 474 | + </userDefinedRuntimeAttributes> | ||
| 475 | + <connections> | ||
| 476 | + <action selector="passwordHiddenAction:" destination="BCJ-3D-1yY" eventType="touchUpInside" id="HdH-B7-5mx"/> | ||
| 477 | + </connections> | ||
| 478 | + </button> | ||
| 479 | + </subviews> | ||
| 480 | + <constraints> | ||
| 481 | + <constraint firstItem="LVS-ml-uFw" firstAttribute="bottom" secondItem="KuD-8x-yYz" secondAttribute="bottom" id="1W8-Uq-hdM"/> | ||
| 482 | + <constraint firstItem="gTH-Yb-HWx" firstAttribute="leading" secondItem="KuD-8x-yYz" secondAttribute="leading" constant="8" id="4nJ-GW-p4J"/> | ||
| 483 | + <constraint firstItem="Nt5-LT-mGX" firstAttribute="centerY" secondItem="KuD-8x-yYz" secondAttribute="centerY" id="EDr-W8-wEm"/> | ||
| 484 | + <constraint firstItem="Nt5-LT-mGX" firstAttribute="trailing" secondItem="KuD-8x-yYz" secondAttribute="trailingMargin" constant="8" id="N2Z-0R-lOr"/> | ||
| 485 | + <constraint firstItem="Nt5-LT-mGX" firstAttribute="leading" secondItem="gTH-Yb-HWx" secondAttribute="trailing" constant="8" id="QWP-it-6hI"/> | ||
| 486 | + <constraint firstItem="gTH-Yb-HWx" firstAttribute="centerY" secondItem="KuD-8x-yYz" secondAttribute="centerY" id="h4F-Mb-96W"/> | ||
| 487 | + <constraint firstItem="LVS-ml-uFw" firstAttribute="leading" secondItem="KuD-8x-yYz" secondAttribute="leading" constant="8" id="hcK-kN-pxN"/> | ||
| 488 | + <constraint firstItem="Nt5-LT-mGX" firstAttribute="leading" secondItem="LVS-ml-uFw" secondAttribute="trailing" constant="5" id="tv6-P8-rEc"/> | ||
| 489 | + </constraints> | ||
| 490 | + </tableViewCellContentView> | ||
| 491 | + </tableViewCell> | ||
| 492 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" id="HNz-T1-Dux"> | ||
| 493 | + <rect key="frame" x="0.0" y="350" width="375" height="50"/> | ||
| 494 | + <autoresizingMask key="autoresizingMask"/> | ||
| 495 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="HNz-T1-Dux" id="lcF-fu-eDL"> | ||
| 496 | + <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | ||
| 497 | + <autoresizingMask key="autoresizingMask"/> | ||
| 498 | + <subviews> | ||
| 499 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hIq-9w-Prw"> | ||
| 500 | + <rect key="frame" x="8" y="49" width="309" height="1"/> | ||
| 501 | + <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
| 502 | + <constraints> | ||
| 503 | + <constraint firstAttribute="height" constant="1" id="eMc-2f-bwf"/> | ||
| 504 | + </constraints> | ||
| 505 | + <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
| 506 | + <nil key="textColor"/> | ||
| 507 | + <nil key="highlightedColor"/> | ||
| 508 | + </label> | ||
| 509 | + <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请设置密码:6-16个字符" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="Fkc-V3-zXt"> | ||
| 510 | + <rect key="frame" x="8" y="15.5" width="306" height="19"/> | ||
| 511 | + <nil key="textColor"/> | ||
| 512 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 513 | + <textInputTraits key="textInputTraits" returnKeyType="done" secureTextEntry="YES"/> | ||
| 514 | + <connections> | ||
| 515 | + <outlet property="delegate" destination="BCJ-3D-1yY" id="s4h-R7-soU"/> | ||
| 516 | + </connections> | ||
| 517 | + </textField> | ||
| 518 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="TZZ-n1-9Ps"> | ||
| 519 | + <rect key="frame" x="322" y="14" width="45" height="23"/> | ||
| 520 | + <constraints> | ||
| 521 | + <constraint firstAttribute="height" constant="23" id="IKJ-RD-XdI"/> | ||
| 522 | + <constraint firstAttribute="width" constant="45" id="YwK-7V-aoq"/> | ||
| 523 | + </constraints> | ||
| 524 | + <state key="normal" image="my_password_unlook"> | ||
| 525 | + <color key="titleColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/> | ||
| 526 | + </state> | ||
| 527 | + <userDefinedRuntimeAttributes> | ||
| 528 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
| 529 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
| 530 | + <integer key="value" value="5"/> | ||
| 531 | + </userDefinedRuntimeAttribute> | ||
| 532 | + </userDefinedRuntimeAttributes> | ||
| 533 | + <connections> | ||
| 534 | + <action selector="passwordTwoHiddenAction:" destination="BCJ-3D-1yY" eventType="touchUpInside" id="c50-Pj-jeq"/> | ||
| 535 | + </connections> | ||
| 536 | + </button> | ||
| 537 | + </subviews> | ||
| 538 | + <constraints> | ||
| 539 | + <constraint firstItem="TZZ-n1-9Ps" firstAttribute="leading" secondItem="hIq-9w-Prw" secondAttribute="trailing" constant="5" id="4PV-Hu-qYU"/> | ||
| 540 | + <constraint firstItem="TZZ-n1-9Ps" firstAttribute="centerY" secondItem="lcF-fu-eDL" secondAttribute="centerY" id="78c-fa-6F4"/> | ||
| 541 | + <constraint firstItem="TZZ-n1-9Ps" firstAttribute="trailing" secondItem="lcF-fu-eDL" secondAttribute="trailingMargin" constant="8" id="Qhn-zh-Azb"/> | ||
| 542 | + <constraint firstItem="hIq-9w-Prw" firstAttribute="leading" secondItem="lcF-fu-eDL" secondAttribute="leading" constant="8" id="aDW-3i-wsS"/> | ||
| 543 | + <constraint firstItem="hIq-9w-Prw" firstAttribute="bottom" secondItem="lcF-fu-eDL" secondAttribute="bottom" id="f6x-co-EQP"/> | ||
| 544 | + <constraint firstItem="TZZ-n1-9Ps" firstAttribute="leading" secondItem="Fkc-V3-zXt" secondAttribute="trailing" constant="8" id="fd2-rr-Fwj"/> | ||
| 545 | + <constraint firstItem="Fkc-V3-zXt" firstAttribute="centerY" secondItem="lcF-fu-eDL" secondAttribute="centerY" id="kzS-Ph-V9J"/> | ||
| 546 | + <constraint firstItem="Fkc-V3-zXt" firstAttribute="leading" secondItem="lcF-fu-eDL" secondAttribute="leading" constant="8" id="sg7-PH-fkF"/> | ||
| 547 | + </constraints> | ||
| 548 | + </tableViewCellContentView> | ||
| 549 | + </tableViewCell> | ||
| 550 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" id="Mqr-wu-wcU"> | ||
| 551 | + <rect key="frame" x="0.0" y="400" width="375" height="50"/> | ||
| 552 | + <autoresizingMask key="autoresizingMask"/> | ||
| 553 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Mqr-wu-wcU" id="NHO-6L-mmc"> | ||
| 554 | + <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | ||
| 555 | + <autoresizingMask key="autoresizingMask"/> | ||
| 556 | + <subviews> | ||
| 557 | + <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aN9-3u-KBK"> | ||
| 558 | + <rect key="frame" x="8" y="5" width="359" height="40"/> | ||
| 559 | + <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/> | ||
| 560 | + <constraints> | ||
| 561 | + <constraint firstAttribute="height" constant="40" id="Tm3-tz-XCY"/> | ||
| 562 | + </constraints> | ||
| 563 | + <state key="normal" title="确认"> | ||
| 564 | + <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
| 565 | + </state> | ||
| 566 | + <userDefinedRuntimeAttributes> | ||
| 567 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
| 568 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
| 569 | + <integer key="value" value="5"/> | ||
| 570 | + </userDefinedRuntimeAttribute> | ||
| 571 | + </userDefinedRuntimeAttributes> | ||
| 572 | + <connections> | ||
| 573 | + <action selector="changeAction:" destination="BCJ-3D-1yY" eventType="touchUpInside" id="fcD-NN-8rZ"/> | ||
| 574 | + </connections> | ||
| 575 | + </button> | ||
| 576 | + </subviews> | ||
| 577 | + <constraints> | ||
| 578 | + <constraint firstAttribute="trailing" secondItem="aN9-3u-KBK" secondAttribute="trailing" constant="8" id="BSB-LP-Hfa"/> | ||
| 579 | + <constraint firstItem="aN9-3u-KBK" firstAttribute="centerY" secondItem="NHO-6L-mmc" secondAttribute="centerY" id="d0k-T5-paF"/> | ||
| 580 | + <constraint firstItem="aN9-3u-KBK" firstAttribute="centerX" secondItem="NHO-6L-mmc" secondAttribute="centerX" id="eQC-k0-vkU"/> | ||
| 581 | + <constraint firstItem="aN9-3u-KBK" firstAttribute="leading" secondItem="NHO-6L-mmc" secondAttribute="leading" constant="8" id="tt1-0Z-4ae"/> | ||
| 582 | + </constraints> | ||
| 583 | + </tableViewCellContentView> | ||
| 584 | + </tableViewCell> | ||
| 585 | + </cells> | ||
| 586 | + </tableViewSection> | ||
| 587 | + </sections> | ||
| 588 | + <connections> | ||
| 589 | + <outlet property="dataSource" destination="BCJ-3D-1yY" id="P37-38-SDO"/> | ||
| 590 | + <outlet property="delegate" destination="BCJ-3D-1yY" id="FYu-x0-wk9"/> | ||
| 591 | + </connections> | ||
| 592 | + </tableView> | ||
| 554 | <connections> | 593 | <connections> | 
| 555 | - <outlet property="changeBtn" destination="8Wh-Fi-dMD" id="7Lu-GT-Szc"/> | ||
| 556 | - <outlet property="codeTextField" destination="reb-Eh-8eh" id="fPs-bb-zdR"/> | ||
| 557 | - <outlet property="getCodeBtn" destination="wUX-ij-e46" id="yks-U9-Df4"/> | ||
| 558 | - <outlet property="passwordHiddenBtn" destination="8tY-2x-yCy" id="cmR-nh-W4v"/> | ||
| 559 | - <outlet property="passwordTextField" destination="aP4-ia-VEJ" id="8Mk-hm-rab"/> | ||
| 560 | - <outlet property="passwordTwoHiddenBtn" destination="TeK-cj-51z" id="djK-Zy-Oj5"/> | ||
| 561 | - <outlet property="passwordTwoTextField" destination="Utw-PG-ZG9" id="vQN-Q9-Xs2"/> | ||
| 562 | - <outlet property="personIconImageView" destination="Jy5-it-uFI" id="WqA-Fk-pvD"/> | ||
| 563 | - <outlet property="phoneTextField" destination="ZW8-dp-r3j" id="uj4-mT-Rf5"/> | ||
| 564 | - <outlet property="topView" destination="Fa7-eL-B11" id="wQh-84-mf7"/> | 594 | + <outlet property="changeBtn" destination="aN9-3u-KBK" id="HMD-wX-goR"/> | 
| 595 | + <outlet property="codeTextField" destination="llX-1t-pij" id="AIZ-O4-KBl"/> | ||
| 596 | + <outlet property="getCodeBtn" destination="hzy-0V-iDL" id="HuD-p6-d79"/> | ||
| 597 | + <outlet property="passwordHiddenBtn" destination="Nt5-LT-mGX" id="Gy5-GP-enW"/> | ||
| 598 | + <outlet property="passwordTextField" destination="gTH-Yb-HWx" id="uCQ-5p-kyW"/> | ||
| 599 | + <outlet property="passwordTwoHiddenBtn" destination="TZZ-n1-9Ps" id="W7l-GD-bab"/> | ||
| 600 | + <outlet property="passwordTwoTextField" destination="Fkc-V3-zXt" id="lVY-iB-PfT"/> | ||
| 601 | + <outlet property="personIconImageView" destination="a7V-uf-1jd" id="EfM-wN-MGA"/> | ||
| 602 | + <outlet property="phoneTextField" destination="Qdf-Sn-1SH" id="8zB-EJ-Sk1"/> | ||
| 603 | + <outlet property="rootTableView" destination="reu-u8-jyw" id="9M5-Cm-hbr"/> | ||
| 565 | </connections> | 604 | </connections> | 
| 566 | - </viewController> | ||
| 567 | - <placeholder placeholderIdentifier="IBFirstResponder" id="9E0-qX-4XP" userLabel="First Responder" sceneMemberID="firstResponder"/> | 605 | + </tableViewController> | 
| 606 | + <placeholder placeholderIdentifier="IBFirstResponder" id="joC-0t-hPT" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
| 568 | </objects> | 607 | </objects> | 
| 569 | - <point key="canvasLocation" x="954" y="-72"/> | 608 | + <point key="canvasLocation" x="101.59999999999999" y="-116.49175412293854"/> | 
| 570 | </scene> | 609 | </scene> | 
| 571 | <!--Login View Controller--> | 610 | <!--Login View Controller--> | 
| 572 | - <scene sceneID="ohO-Zi-TBy"> | 611 | + <scene sceneID="8aJ-um-q6h"> | 
| 573 | <objects> | 612 | <objects> | 
| 574 | - <viewController storyboardIdentifier="LoginViewController" id="UG5-bJ-YrY" customClass="LoginViewController" customModule="ParentAssistant" customModuleProvider="target" sceneMemberID="viewController"> | ||
| 575 | - <view key="view" contentMode="scaleToFill" id="fVn-x5-9OR"> | 613 | + <tableViewController storyboardIdentifier="LoginViewController" id="Pzs-ih-Ofg" customClass="LoginViewController" customModule="ParentAssistant" customModuleProvider="target" sceneMemberID="viewController"> | 
| 614 | + <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="plain" separatorStyle="none" allowsSelection="NO" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" id="Du4-K9-ztv"> | ||
| 576 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 615 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 
| 577 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 616 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 
| 578 | - <subviews> | ||
| 579 | - <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="x1J-ue-QsP"> | ||
| 580 | - <rect key="frame" x="0.0" y="20" width="375" height="647"/> | ||
| 581 | - <subviews> | ||
| 582 | - <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="defphoto" translatesAutoresizingMaskIntoConstraints="NO" id="MuP-eU-u8t"> | ||
| 583 | - <rect key="frame" x="157" y="114" width="60" height="60"/> | ||
| 584 | - <constraints> | ||
| 585 | - <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="60" id="6n8-Tt-z8Q"/> | ||
| 586 | - <constraint firstAttribute="height" constant="60" id="O0t-sJ-e4W"/> | ||
| 587 | - <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="60" id="Pro-uk-uVK"/> | ||
| 588 | - <constraint firstAttribute="width" constant="60" id="UxO-hd-HqB"/> | ||
| 589 | - </constraints> | ||
| 590 | - <userDefinedRuntimeAttributes> | ||
| 591 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
| 592 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
| 593 | - <integer key="value" value="30"/> | ||
| 594 | - </userDefinedRuntimeAttribute> | ||
| 595 | - </userDefinedRuntimeAttributes> | ||
| 596 | - </imageView> | ||
| 597 | - <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8rh-jr-h8p"> | ||
| 598 | - <rect key="frame" x="8" y="368" width="359" height="40"/> | ||
| 599 | - <color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/> | ||
| 600 | - <constraints> | ||
| 601 | - <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="40" id="gCr-80-H7C"/> | ||
| 602 | - <constraint firstAttribute="height" constant="40" id="wEQ-N3-d1h"/> | ||
| 603 | - </constraints> | ||
| 604 | - <state key="normal" title="登录"> | ||
| 605 | - <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
| 606 | - </state> | ||
| 607 | - <userDefinedRuntimeAttributes> | ||
| 608 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
| 609 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
| 610 | - <integer key="value" value="5"/> | ||
| 611 | - </userDefinedRuntimeAttribute> | ||
| 612 | - </userDefinedRuntimeAttributes> | ||
| 613 | - <connections> | ||
| 614 | - <action selector="loginAction:" destination="UG5-bJ-YrY" eventType="touchUpInside" id="iFr-Mi-Wiq"/> | ||
| 615 | - </connections> | ||
| 616 | - </button> | ||
| 617 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="X9h-K7-0bg"> | ||
| 618 | - <rect key="frame" x="8" y="419" width="359" height="19"/> | ||
| 619 | - <subviews> | ||
| 620 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="还没有账号,快速" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fRW-Sg-QbI"> | ||
| 621 | - <rect key="frame" x="0.0" y="0.0" width="115" height="20"/> | ||
| 622 | - <constraints> | ||
| 623 | - <constraint firstAttribute="width" constant="115" id="Dgm-aw-qIM"/> | ||
| 624 | - <constraint firstAttribute="height" constant="20" id="ORK-yo-OGM"/> | ||
| 625 | - </constraints> | ||
| 626 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 627 | - <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/> | ||
| 628 | - <nil key="highlightedColor"/> | ||
| 629 | - </label> | ||
| 630 | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="fzA-Ya-qRu"> | ||
| 631 | - <rect key="frame" x="114" y="0.0" width="101" height="20"/> | ||
| 632 | - <constraints> | ||
| 633 | - <constraint firstAttribute="height" constant="20" id="F9q-1g-471"/> | ||
| 634 | - <constraint firstAttribute="width" constant="101" id="qIb-br-7HL"/> | ||
| 635 | - </constraints> | ||
| 636 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 637 | - <state key="normal" title="注册"/> | ||
| 638 | - <connections> | ||
| 639 | - <action selector="registerAction:" destination="UG5-bJ-YrY" eventType="touchUpInside" id="g4z-aO-EME"/> | ||
| 640 | - </connections> | ||
| 641 | - </button> | ||
| 642 | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="right" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Bh4-Vg-DUl"> | ||
| 643 | - <rect key="frame" x="215" y="0.0" width="144" height="20"/> | ||
| 644 | - <constraints> | ||
| 645 | - <constraint firstAttribute="height" constant="20" id="2bO-CK-qew"/> | ||
| 646 | - <constraint firstAttribute="width" constant="144" id="gUO-us-cbE"/> | ||
| 647 | - </constraints> | ||
| 648 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 649 | - <state key="normal" title="忘记密码"/> | ||
| 650 | - <connections> | ||
| 651 | - <action selector="getPasswordAction:" destination="UG5-bJ-YrY" eventType="touchUpInside" id="EJR-6a-h6E"/> | ||
| 652 | - </connections> | ||
| 653 | - </button> | ||
| 654 | - </subviews> | ||
| 655 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
| 656 | - <constraints> | ||
| 657 | - <constraint firstItem="fzA-Ya-qRu" firstAttribute="top" secondItem="X9h-K7-0bg" secondAttribute="top" id="2Du-1p-xB8"/> | ||
| 658 | - <constraint firstItem="Bh4-Vg-DUl" firstAttribute="top" secondItem="X9h-K7-0bg" secondAttribute="top" id="5js-yF-eZS"/> | ||
| 659 | - <constraint firstItem="Bh4-Vg-DUl" firstAttribute="leading" secondItem="fzA-Ya-qRu" secondAttribute="trailing" id="9qB-Dc-apn"/> | ||
| 660 | - <constraint firstAttribute="trailing" secondItem="Bh4-Vg-DUl" secondAttribute="trailing" id="Aaq-mF-JsK"/> | ||
| 661 | - <constraint firstItem="fRW-Sg-QbI" firstAttribute="top" secondItem="X9h-K7-0bg" secondAttribute="top" id="CCF-PJ-FpK"/> | ||
| 662 | - <constraint firstAttribute="height" constant="19" id="e0a-IV-YHe"/> | ||
| 663 | - <constraint firstItem="fRW-Sg-QbI" firstAttribute="leading" secondItem="X9h-K7-0bg" secondAttribute="leading" id="qGZ-a2-zCp"/> | ||
| 664 | - <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="19" id="t8g-9K-SwO"/> | ||
| 665 | - </constraints> | ||
| 666 | - </view> | ||
| 667 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="l2y-yF-IxJ"> | ||
| 668 | - <rect key="frame" x="0.0" y="283" width="375" height="80"/> | ||
| 669 | - <subviews> | ||
| 670 | - <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入手机号" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="zJR-4G-Ym9"> | ||
| 671 | - <rect key="frame" x="8" y="0.0" width="359" height="30"/> | ||
| 672 | - <constraints> | ||
| 673 | - <constraint firstAttribute="height" constant="30" id="CGb-2G-Jjh"/> | ||
| 674 | - </constraints> | ||
| 675 | - <nil key="textColor"/> | ||
| 676 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 677 | - <textInputTraits key="textInputTraits" keyboardType="numbersAndPunctuation" returnKeyType="done"/> | ||
| 678 | - <connections> | ||
| 679 | - <outlet property="delegate" destination="UG5-bJ-YrY" id="Xho-dZ-Ore"/> | ||
| 680 | - </connections> | ||
| 681 | - </textField> | ||
| 682 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bdq-xk-c7S"> | ||
| 683 | - <rect key="frame" x="8" y="38" width="359" height="1"/> | ||
| 684 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
| 685 | - <constraints> | ||
| 686 | - <constraint firstAttribute="height" constant="1" id="SxY-RF-Hf1"/> | ||
| 687 | - </constraints> | ||
| 688 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
| 689 | - <color key="textColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | ||
| 690 | - <nil key="highlightedColor"/> | ||
| 691 | - </label> | ||
| 692 | - <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入密码:6-16个字符" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="IOQ-sk-Ckx"> | ||
| 693 | - <rect key="frame" x="8" y="39" width="324" height="30"/> | ||
| 694 | - <constraints> | ||
| 695 | - <constraint firstAttribute="height" constant="30" id="EzO-Mm-ZgF"/> | ||
| 696 | - </constraints> | ||
| 697 | - <nil key="textColor"/> | ||
| 698 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 699 | - <textInputTraits key="textInputTraits" keyboardType="numbersAndPunctuation" returnKeyType="done" secureTextEntry="YES"/> | ||
| 700 | - <connections> | ||
| 701 | - <outlet property="delegate" destination="UG5-bJ-YrY" id="qkm-zb-xWD"/> | ||
| 702 | - </connections> | ||
| 703 | - </textField> | ||
| 704 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7Rz-tM-Igu"> | ||
| 705 | - <rect key="frame" x="8" y="77" width="359" height="1"/> | ||
| 706 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
| 707 | - <constraints> | ||
| 708 | - <constraint firstAttribute="height" constant="1" id="eQA-Bw-4Gf"/> | ||
| 709 | - </constraints> | ||
| 710 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
| 711 | - <nil key="textColor"/> | ||
| 712 | - <nil key="highlightedColor"/> | ||
| 713 | - </label> | ||
| 714 | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="1J2-p5-3X1"> | ||
| 715 | - <rect key="frame" x="340" y="47" width="27" height="22"/> | ||
| 716 | - <constraints> | ||
| 717 | - <constraint firstAttribute="height" constant="22" id="FkQ-ZM-S8M"/> | ||
| 718 | - <constraint firstAttribute="width" constant="27" id="Ng4-bN-yGu"/> | ||
| 719 | - </constraints> | ||
| 720 | - <state key="normal" image="my_password_unlook"> | ||
| 721 | - <color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/> | ||
| 722 | - </state> | ||
| 723 | - <userDefinedRuntimeAttributes> | ||
| 724 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
| 725 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
| 726 | - <integer key="value" value="5"/> | ||
| 727 | - </userDefinedRuntimeAttribute> | ||
| 728 | - </userDefinedRuntimeAttributes> | ||
| 729 | - <connections> | ||
| 730 | - <action selector="passwordHiddenAction:" destination="UG5-bJ-YrY" eventType="touchUpInside" id="cXT-ig-6a6"/> | ||
| 731 | - </connections> | ||
| 732 | - </button> | ||
| 733 | - </subviews> | ||
| 734 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
| 735 | - <constraints> | ||
| 736 | - <constraint firstItem="7Rz-tM-Igu" firstAttribute="top" secondItem="IOQ-sk-Ckx" secondAttribute="bottom" constant="8" id="1O6-mf-8Tg"/> | ||
| 737 | - <constraint firstAttribute="trailing" secondItem="zJR-4G-Ym9" secondAttribute="trailing" constant="8" id="55S-nW-Yl2"/> | ||
| 738 | - <constraint firstItem="IOQ-sk-Ckx" firstAttribute="top" secondItem="bdq-xk-c7S" secondAttribute="bottom" id="81n-OM-M8Z"/> | ||
| 739 | - <constraint firstItem="bdq-xk-c7S" firstAttribute="top" secondItem="zJR-4G-Ym9" secondAttribute="bottom" constant="8" id="H4t-g8-yal"/> | ||
| 740 | - <constraint firstAttribute="height" constant="80" id="LI0-bW-uhp"/> | ||
| 741 | - <constraint firstItem="zJR-4G-Ym9" firstAttribute="top" secondItem="l2y-yF-IxJ" secondAttribute="top" id="U38-FX-4cT"/> | ||
| 742 | - <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="80" id="UBK-Wb-rbG"/> | ||
| 743 | - <constraint firstItem="1J2-p5-3X1" firstAttribute="leading" secondItem="IOQ-sk-Ckx" secondAttribute="trailing" constant="8" id="YG1-Vv-1aV"/> | ||
| 744 | - <constraint firstAttribute="trailing" secondItem="bdq-xk-c7S" secondAttribute="trailing" constant="8" id="c1t-if-TqW"/> | ||
| 745 | - <constraint firstItem="7Rz-tM-Igu" firstAttribute="leading" secondItem="l2y-yF-IxJ" secondAttribute="leading" constant="8" id="c6u-fe-cfv"/> | ||
| 746 | - <constraint firstAttribute="trailing" secondItem="7Rz-tM-Igu" secondAttribute="trailing" constant="8" id="cD9-Az-QD7"/> | ||
| 747 | - <constraint firstAttribute="trailing" secondItem="1J2-p5-3X1" secondAttribute="trailing" constant="8" id="oSN-G4-x85"/> | ||
| 748 | - <constraint firstItem="bdq-xk-c7S" firstAttribute="leading" secondItem="l2y-yF-IxJ" secondAttribute="leading" constant="8" id="v9n-R5-DO4"/> | ||
| 749 | - <constraint firstItem="IOQ-sk-Ckx" firstAttribute="leading" secondItem="l2y-yF-IxJ" secondAttribute="leading" constant="8" id="vZZ-bD-pjG"/> | ||
| 750 | - <constraint firstItem="zJR-4G-Ym9" firstAttribute="leading" secondItem="l2y-yF-IxJ" secondAttribute="leading" constant="8" id="vyq-KS-9zw"/> | ||
| 751 | - <constraint firstItem="1J2-p5-3X1" firstAttribute="top" secondItem="bdq-xk-c7S" secondAttribute="bottom" constant="8" id="xfo-vG-x3T"/> | ||
| 752 | - </constraints> | ||
| 753 | - </view> | ||
| 754 | - </subviews> | ||
| 755 | - <constraints> | ||
| 756 | - <constraint firstAttribute="trailing" secondItem="l2y-yF-IxJ" secondAttribute="trailing" id="21t-IW-Lfw"/> | ||
| 757 | - <constraint firstItem="8rh-jr-h8p" firstAttribute="leading" secondItem="x1J-ue-QsP" secondAttribute="leading" constant="8" id="2dZ-uU-gs1"/> | ||
| 758 | - <constraint firstItem="X9h-K7-0bg" firstAttribute="leading" secondItem="x1J-ue-QsP" secondAttribute="leading" constant="8" id="2lr-kL-AY0"/> | ||
| 759 | - <constraint firstItem="l2y-yF-IxJ" firstAttribute="centerY" secondItem="x1J-ue-QsP" secondAttribute="centerY" id="2vZ-Bp-Gc7"/> | ||
| 760 | - <constraint firstItem="l2y-yF-IxJ" firstAttribute="centerX" secondItem="8rh-jr-h8p" secondAttribute="centerX" id="356-9l-vO7"/> | ||
| 761 | - <constraint firstItem="8rh-jr-h8p" firstAttribute="top" secondItem="l2y-yF-IxJ" secondAttribute="bottom" constant="5" id="Fbk-dO-92I"/> | ||
| 762 | - <constraint firstAttribute="trailing" secondItem="8rh-jr-h8p" secondAttribute="trailing" constant="8" id="Jlh-eI-c8P"/> | ||
| 763 | - <constraint firstItem="8rh-jr-h8p" firstAttribute="leading" secondItem="X9h-K7-0bg" secondAttribute="leading" id="PZU-xC-RVt"/> | ||
| 764 | - <constraint firstAttribute="trailing" secondItem="X9h-K7-0bg" secondAttribute="trailing" constant="8" id="UXN-OE-SMD"/> | ||
| 765 | - <constraint firstItem="X9h-K7-0bg" firstAttribute="top" secondItem="8rh-jr-h8p" secondAttribute="bottom" constant="11" id="V7b-nV-yOk"/> | ||
| 766 | - <constraint firstItem="MuP-eU-u8t" firstAttribute="centerX" secondItem="x1J-ue-QsP" secondAttribute="centerX" id="Z3p-91-jMU"/> | ||
| 767 | - <constraint firstItem="MuP-eU-u8t" firstAttribute="top" secondItem="x1J-ue-QsP" secondAttribute="top" constant="114" id="aqN-O5-1qw"/> | ||
| 768 | - <constraint firstItem="l2y-yF-IxJ" firstAttribute="leading" secondItem="x1J-ue-QsP" secondAttribute="leading" id="asb-us-A3N"/> | ||
| 769 | - <constraint firstItem="8rh-jr-h8p" firstAttribute="leading" secondItem="x1J-ue-QsP" secondAttribute="leadingMargin" id="awN-N6-199"/> | ||
| 770 | - <constraint firstAttribute="trailing" secondItem="l2y-yF-IxJ" secondAttribute="trailing" id="ddE-p4-ng1"/> | ||
| 771 | - <constraint firstAttribute="bottom" secondItem="X9h-K7-0bg" secondAttribute="bottom" constant="195" id="eSi-2B-vUK"/> | ||
| 772 | - <constraint firstItem="MuP-eU-u8t" firstAttribute="centerX" secondItem="l2y-yF-IxJ" secondAttribute="centerX" id="uPW-1Y-SRK"/> | ||
| 773 | - <constraint firstItem="l2y-yF-IxJ" firstAttribute="leading" secondItem="x1J-ue-QsP" secondAttribute="leading" id="xaT-zl-a5C"/> | ||
| 774 | - <constraint firstItem="8rh-jr-h8p" firstAttribute="trailing" secondItem="X9h-K7-0bg" secondAttribute="trailing" id="yrC-8Q-CRp"/> | ||
| 775 | - </constraints> | ||
| 776 | - <connections> | ||
| 777 | - <outlet property="delegate" destination="UG5-bJ-YrY" id="NO2-hJ-x3b"/> | ||
| 778 | - </connections> | ||
| 779 | - </scrollView> | ||
| 780 | - </subviews> | ||
| 781 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
| 782 | - <constraints> | ||
| 783 | - <constraint firstAttribute="trailing" secondItem="x1J-ue-QsP" secondAttribute="trailing" id="5Sn-vu-iz6"/> | ||
| 784 | - <constraint firstItem="x1J-ue-QsP" firstAttribute="top" secondItem="Ntj-wl-nEm" secondAttribute="top" id="E9K-SV-dEd"/> | ||
| 785 | - <constraint firstItem="x1J-ue-QsP" firstAttribute="bottom" secondItem="Ntj-wl-nEm" secondAttribute="bottom" id="Gjv-wQ-GxF"/> | ||
| 786 | - <constraint firstItem="x1J-ue-QsP" firstAttribute="leading" secondItem="fVn-x5-9OR" secondAttribute="leading" id="sq7-lN-Qud"/> | ||
| 787 | - </constraints> | ||
| 788 | - <viewLayoutGuide key="safeArea" id="Ntj-wl-nEm"/> | ||
| 789 | - </view> | ||
| 790 | - <nil key="simulatedTopBarMetrics"/> | 617 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 
| 618 | + <sections> | ||
| 619 | + <tableViewSection id="oTo-Ho-Nlz"> | ||
| 620 | + <cells> | ||
| 621 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="200" id="whx-Hd-ZvI"> | ||
| 622 | + <rect key="frame" x="0.0" y="0.0" width="375" height="200"/> | ||
| 623 | + <autoresizingMask key="autoresizingMask"/> | ||
| 624 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="whx-Hd-ZvI" id="goY-Vn-OeT"> | ||
| 625 | + <rect key="frame" x="0.0" y="0.0" width="375" height="200"/> | ||
| 626 | + <autoresizingMask key="autoresizingMask"/> | ||
| 627 | + <subviews> | ||
| 628 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="defphoto" translatesAutoresizingMaskIntoConstraints="NO" id="fs6-DR-spC"> | ||
| 629 | + <rect key="frame" x="157" y="70" width="60" height="60"/> | ||
| 630 | + <constraints> | ||
| 631 | + <constraint firstAttribute="height" constant="60" id="6SY-3E-Wk8"/> | ||
| 632 | + <constraint firstAttribute="width" constant="60" id="csZ-vw-0YQ"/> | ||
| 633 | + </constraints> | ||
| 634 | + <userDefinedRuntimeAttributes> | ||
| 635 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
| 636 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
| 637 | + <integer key="value" value="30"/> | ||
| 638 | + </userDefinedRuntimeAttribute> | ||
| 639 | + </userDefinedRuntimeAttributes> | ||
| 640 | + </imageView> | ||
| 641 | + </subviews> | ||
| 642 | + <constraints> | ||
| 643 | + <constraint firstItem="fs6-DR-spC" firstAttribute="centerX" secondItem="goY-Vn-OeT" secondAttribute="centerX" id="LFe-bm-Tv8"/> | ||
| 644 | + <constraint firstItem="fs6-DR-spC" firstAttribute="centerY" secondItem="goY-Vn-OeT" secondAttribute="centerY" id="gXk-NZ-DFl"/> | ||
| 645 | + </constraints> | ||
| 646 | + </tableViewCellContentView> | ||
| 647 | + </tableViewCell> | ||
| 648 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="50" id="gCt-ex-enm"> | ||
| 649 | + <rect key="frame" x="0.0" y="200" width="375" height="50"/> | ||
| 650 | + <autoresizingMask key="autoresizingMask"/> | ||
| 651 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="gCt-ex-enm" id="wYE-RP-Ycf"> | ||
| 652 | + <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | ||
| 653 | + <autoresizingMask key="autoresizingMask"/> | ||
| 654 | + <subviews> | ||
| 655 | + <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入手机号" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="zgl-ea-bgH"> | ||
| 656 | + <rect key="frame" x="24" y="15.5" width="327" height="19"/> | ||
| 657 | + <nil key="textColor"/> | ||
| 658 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 659 | + <textInputTraits key="textInputTraits" keyboardType="numbersAndPunctuation" returnKeyType="done"/> | ||
| 660 | + <connections> | ||
| 661 | + <outlet property="delegate" destination="Pzs-ih-Ofg" id="mfo-Fn-ZbN"/> | ||
| 662 | + </connections> | ||
| 663 | + </textField> | ||
| 664 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="S0n-we-kly"> | ||
| 665 | + <rect key="frame" x="8" y="49" width="359" height="1"/> | ||
| 666 | + <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
| 667 | + <constraints> | ||
| 668 | + <constraint firstAttribute="height" constant="1" id="CWE-Do-aYE"/> | ||
| 669 | + </constraints> | ||
| 670 | + <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
| 671 | + <nil key="textColor"/> | ||
| 672 | + <nil key="highlightedColor"/> | ||
| 673 | + </label> | ||
| 674 | + </subviews> | ||
| 675 | + <constraints> | ||
| 676 | + <constraint firstItem="S0n-we-kly" firstAttribute="leading" secondItem="wYE-RP-Ycf" secondAttribute="leading" constant="8" id="5mk-5y-CH3"/> | ||
| 677 | + <constraint firstAttribute="trailingMargin" secondItem="zgl-ea-bgH" secondAttribute="trailing" constant="8" id="6xn-bx-g9C"/> | ||
| 678 | + <constraint firstItem="zgl-ea-bgH" firstAttribute="leading" secondItem="wYE-RP-Ycf" secondAttribute="leadingMargin" constant="8" id="814-Mq-Ck1"/> | ||
| 679 | + <constraint firstItem="zgl-ea-bgH" firstAttribute="centerX" secondItem="wYE-RP-Ycf" secondAttribute="centerX" id="DGe-gp-Ed2"/> | ||
| 680 | + <constraint firstItem="zgl-ea-bgH" firstAttribute="centerY" secondItem="wYE-RP-Ycf" secondAttribute="centerY" id="a9G-BN-xT4"/> | ||
| 681 | + <constraint firstAttribute="trailing" secondItem="S0n-we-kly" secondAttribute="trailing" constant="8" id="ayH-lg-2Gy"/> | ||
| 682 | + <constraint firstItem="S0n-we-kly" firstAttribute="bottom" secondItem="wYE-RP-Ycf" secondAttribute="bottom" id="sFa-am-aFi"/> | ||
| 683 | + </constraints> | ||
| 684 | + </tableViewCellContentView> | ||
| 685 | + </tableViewCell> | ||
| 686 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="50" id="Kox-Z9-q9Q"> | ||
| 687 | + <rect key="frame" x="0.0" y="250" width="375" height="50"/> | ||
| 688 | + <autoresizingMask key="autoresizingMask"/> | ||
| 689 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Kox-Z9-q9Q" id="ZzP-2M-6De"> | ||
| 690 | + <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | ||
| 691 | + <autoresizingMask key="autoresizingMask"/> | ||
| 692 | + <subviews> | ||
| 693 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hJh-bv-QHJ"> | ||
| 694 | + <rect key="frame" x="8" y="49" width="325" height="1"/> | ||
| 695 | + <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
| 696 | + <constraints> | ||
| 697 | + <constraint firstAttribute="height" constant="1" id="1x8-UV-qXn"/> | ||
| 698 | + </constraints> | ||
| 699 | + <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
| 700 | + <nil key="textColor"/> | ||
| 701 | + <nil key="highlightedColor"/> | ||
| 702 | + </label> | ||
| 703 | + <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入密码:6-16个字符" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="gCl-Eo-o16"> | ||
| 704 | + <rect key="frame" x="24" y="15.5" width="327" height="19"/> | ||
| 705 | + <nil key="textColor"/> | ||
| 706 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 707 | + <textInputTraits key="textInputTraits" keyboardType="numbersAndPunctuation" returnKeyType="done" secureTextEntry="YES"/> | ||
| 708 | + <connections> | ||
| 709 | + <outlet property="delegate" destination="Pzs-ih-Ofg" id="2Sr-KQ-MNt"/> | ||
| 710 | + </connections> | ||
| 711 | + </textField> | ||
| 712 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="LZQ-J0-sNe"> | ||
| 713 | + <rect key="frame" x="338" y="14" width="27" height="22"/> | ||
| 714 | + <constraints> | ||
| 715 | + <constraint firstAttribute="height" constant="22" id="Xpt-FW-fOq"/> | ||
| 716 | + <constraint firstAttribute="width" constant="27" id="cV6-Eg-GWl"/> | ||
| 717 | + </constraints> | ||
| 718 | + <state key="normal" image="my_password_unlook"> | ||
| 719 | + <color key="titleColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/> | ||
| 720 | + </state> | ||
| 721 | + <userDefinedRuntimeAttributes> | ||
| 722 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
| 723 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
| 724 | + <integer key="value" value="5"/> | ||
| 725 | + </userDefinedRuntimeAttribute> | ||
| 726 | + </userDefinedRuntimeAttributes> | ||
| 727 | + <connections> | ||
| 728 | + <action selector="passwordHiddenAction:" destination="Pzs-ih-Ofg" eventType="touchUpInside" id="F30-Ey-fX3"/> | ||
| 729 | + </connections> | ||
| 730 | + </button> | ||
| 731 | + </subviews> | ||
| 732 | + <constraints> | ||
| 733 | + <constraint firstItem="LZQ-J0-sNe" firstAttribute="leading" secondItem="hJh-bv-QHJ" secondAttribute="trailing" constant="5" id="0QH-B0-yl6"/> | ||
| 734 | + <constraint firstItem="hJh-bv-QHJ" firstAttribute="bottom" secondItem="ZzP-2M-6De" secondAttribute="bottom" id="259-1z-Crj"/> | ||
| 735 | + <constraint firstItem="LZQ-J0-sNe" firstAttribute="centerY" secondItem="ZzP-2M-6De" secondAttribute="centerY" id="5dq-Zc-1VW"/> | ||
| 736 | + <constraint firstItem="hJh-bv-QHJ" firstAttribute="leading" secondItem="ZzP-2M-6De" secondAttribute="leading" constant="8" id="7yX-1H-WJI"/> | ||
| 737 | + <constraint firstItem="gCl-Eo-o16" firstAttribute="leading" secondItem="ZzP-2M-6De" secondAttribute="leadingMargin" constant="8" id="VJU-f4-B9i"/> | ||
| 738 | + <constraint firstItem="gCl-Eo-o16" firstAttribute="centerY" secondItem="ZzP-2M-6De" secondAttribute="centerY" id="fOp-xR-BIv"/> | ||
| 739 | + <constraint firstItem="gCl-Eo-o16" firstAttribute="centerX" secondItem="ZzP-2M-6De" secondAttribute="centerX" id="lLM-KQ-8r7"/> | ||
| 740 | + <constraint firstAttribute="trailing" secondItem="LZQ-J0-sNe" secondAttribute="trailing" constant="10" id="ylc-el-X0w"/> | ||
| 741 | + </constraints> | ||
| 742 | + </tableViewCellContentView> | ||
| 743 | + </tableViewCell> | ||
| 744 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="50" id="IXb-lC-vNJ"> | ||
| 745 | + <rect key="frame" x="0.0" y="300" width="375" height="50"/> | ||
| 746 | + <autoresizingMask key="autoresizingMask"/> | ||
| 747 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="IXb-lC-vNJ" id="FWp-ox-nEW"> | ||
| 748 | + <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | ||
| 749 | + <autoresizingMask key="autoresizingMask"/> | ||
| 750 | + <subviews> | ||
| 751 | + <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8rh-jr-h8p"> | ||
| 752 | + <rect key="frame" x="8" y="5" width="359" height="40"/> | ||
| 753 | + <color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/> | ||
| 754 | + <constraints> | ||
| 755 | + <constraint firstAttribute="height" constant="40" id="pgY-My-i3P"/> | ||
| 756 | + </constraints> | ||
| 757 | + <state key="normal" title="登录"> | ||
| 758 | + <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
| 759 | + </state> | ||
| 760 | + <userDefinedRuntimeAttributes> | ||
| 761 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
| 762 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
| 763 | + <integer key="value" value="5"/> | ||
| 764 | + </userDefinedRuntimeAttribute> | ||
| 765 | + </userDefinedRuntimeAttributes> | ||
| 766 | + <connections> | ||
| 767 | + <action selector="loginAction:" destination="Pzs-ih-Ofg" eventType="touchUpInside" id="E4C-ug-ifq"/> | ||
| 768 | + </connections> | ||
| 769 | + </button> | ||
| 770 | + </subviews> | ||
| 771 | + <constraints> | ||
| 772 | + <constraint firstAttribute="trailing" secondItem="8rh-jr-h8p" secondAttribute="trailing" constant="8" id="ZnA-bC-uUP"/> | ||
| 773 | + <constraint firstItem="8rh-jr-h8p" firstAttribute="centerY" secondItem="FWp-ox-nEW" secondAttribute="centerY" id="lbe-fb-RkZ"/> | ||
| 774 | + <constraint firstItem="8rh-jr-h8p" firstAttribute="centerX" secondItem="FWp-ox-nEW" secondAttribute="centerX" id="og7-3X-tIT"/> | ||
| 775 | + <constraint firstItem="8rh-jr-h8p" firstAttribute="leading" secondItem="FWp-ox-nEW" secondAttribute="leading" constant="8" id="xhI-at-zCZ"/> | ||
| 776 | + </constraints> | ||
| 777 | + </tableViewCellContentView> | ||
| 778 | + </tableViewCell> | ||
| 779 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="50" id="fvU-GR-ck7"> | ||
| 780 | + <rect key="frame" x="0.0" y="350" width="375" height="50"/> | ||
| 781 | + <autoresizingMask key="autoresizingMask"/> | ||
| 782 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="fvU-GR-ck7" id="sKd-Vr-B3P"> | ||
| 783 | + <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | ||
| 784 | + <autoresizingMask key="autoresizingMask"/> | ||
| 785 | + <subviews> | ||
| 786 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="还没有账号,快速" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MkX-T0-K1h"> | ||
| 787 | + <rect key="frame" x="8" y="16.5" width="115" height="17"/> | ||
| 788 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 789 | + <color key="textColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/> | ||
| 790 | + <nil key="highlightedColor"/> | ||
| 791 | + </label> | ||
| 792 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gwF-Rn-1x2"> | ||
| 793 | + <rect key="frame" x="123" y="15" width="50" height="20"/> | ||
| 794 | + <constraints> | ||
| 795 | + <constraint firstAttribute="height" constant="20" id="H5N-mK-cMr"/> | ||
| 796 | + <constraint firstAttribute="width" constant="50" id="uIo-XN-QTp"/> | ||
| 797 | + </constraints> | ||
| 798 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 799 | + <state key="normal" title="注册"/> | ||
| 800 | + <connections> | ||
| 801 | + <action selector="registerAction:" destination="Pzs-ih-Ofg" eventType="touchUpInside" id="ucA-Fv-vrZ"/> | ||
| 802 | + </connections> | ||
| 803 | + </button> | ||
| 804 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="right" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="cZd-U5-WXg"> | ||
| 805 | + <rect key="frame" x="309" y="15" width="58" height="20"/> | ||
| 806 | + <constraints> | ||
| 807 | + <constraint firstAttribute="height" constant="20" id="KGE-8R-FJg"/> | ||
| 808 | + </constraints> | ||
| 809 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 810 | + <state key="normal" title="忘记密码"/> | ||
| 811 | + <connections> | ||
| 812 | + <action selector="getPasswordAction:" destination="Pzs-ih-Ofg" eventType="touchUpInside" id="WpC-nw-RMc"/> | ||
| 813 | + </connections> | ||
| 814 | + </button> | ||
| 815 | + </subviews> | ||
| 816 | + <constraints> | ||
| 817 | + <constraint firstItem="cZd-U5-WXg" firstAttribute="trailing" secondItem="sKd-Vr-B3P" secondAttribute="trailing" constant="-8" id="BNr-rP-5zW"/> | ||
| 818 | + <constraint firstItem="gwF-Rn-1x2" firstAttribute="centerY" secondItem="sKd-Vr-B3P" secondAttribute="centerY" id="Et5-AG-3Ur"/> | ||
| 819 | + <constraint firstItem="MkX-T0-K1h" firstAttribute="leading" secondItem="sKd-Vr-B3P" secondAttribute="leading" constant="8" id="XuX-Nq-y7D"/> | ||
| 820 | + <constraint firstItem="cZd-U5-WXg" firstAttribute="centerY" secondItem="sKd-Vr-B3P" secondAttribute="centerY" id="cKD-V2-FEv"/> | ||
| 821 | + <constraint firstItem="gwF-Rn-1x2" firstAttribute="leading" secondItem="MkX-T0-K1h" secondAttribute="trailing" id="fO6-vg-wc4"/> | ||
| 822 | + <constraint firstItem="MkX-T0-K1h" firstAttribute="centerY" secondItem="sKd-Vr-B3P" secondAttribute="centerY" id="qpf-pc-2Kb"/> | ||
| 823 | + </constraints> | ||
| 824 | + </tableViewCellContentView> | ||
| 825 | + </tableViewCell> | ||
| 826 | + </cells> | ||
| 827 | + </tableViewSection> | ||
| 828 | + </sections> | ||
| 829 | + <connections> | ||
| 830 | + <outlet property="dataSource" destination="Pzs-ih-Ofg" id="7OO-et-dCM"/> | ||
| 831 | + <outlet property="delegate" destination="Pzs-ih-Ofg" id="g1w-lV-c8c"/> | ||
| 832 | + </connections> | ||
| 833 | + </tableView> | ||
| 791 | <connections> | 834 | <connections> | 
| 792 | - <outlet property="iconImageView" destination="MuP-eU-u8t" id="PTg-zh-c8A"/> | ||
| 793 | - <outlet property="loginBtn" destination="8rh-jr-h8p" id="sCl-jk-qmI"/> | ||
| 794 | - <outlet property="passwordHiddenBtn" destination="1J2-p5-3X1" id="nRt-UB-PLr"/> | ||
| 795 | - <outlet property="passwordTextField" destination="IOQ-sk-Ckx" id="WdM-7n-kAj"/> | ||
| 796 | - <outlet property="phoneTextField" destination="zJR-4G-Ym9" id="9rT-Uj-tRY"/> | ||
| 797 | - <outlet property="scrollView" destination="x1J-ue-QsP" id="xCq-vd-IS3"/> | 835 | + <outlet property="iconImageView" destination="fs6-DR-spC" id="xUy-JG-wsa"/> | 
| 836 | + <outlet property="loginBtn" destination="8rh-jr-h8p" id="XyK-LY-TM8"/> | ||
| 837 | + <outlet property="passwordHiddenBtn" destination="LZQ-J0-sNe" id="IF8-K9-iEC"/> | ||
| 838 | + <outlet property="passwordTextField" destination="gCl-Eo-o16" id="yHS-IJ-MCD"/> | ||
| 839 | + <outlet property="phoneTextField" destination="zgl-ea-bgH" id="KYU-TJ-rBW"/> | ||
| 840 | + <outlet property="rootTableView" destination="Du4-K9-ztv" id="fuG-dy-wbI"/> | ||
| 798 | </connections> | 841 | </connections> | 
| 799 | - </viewController> | ||
| 800 | - <placeholder placeholderIdentifier="IBFirstResponder" id="S0Q-a9-78E" userLabel="First Responder" sceneMemberID="firstResponder"/> | 842 | + </tableViewController> | 
| 843 | + <placeholder placeholderIdentifier="IBFirstResponder" id="wyB-cQ-KUr" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
| 801 | </objects> | 844 | </objects> | 
| 802 | - <point key="canvasLocation" x="-570.39999999999998" y="-72.413793103448285"/> | 845 | + <point key="canvasLocation" x="-618" y="-116"/> | 
| 803 | </scene> | 846 | </scene> | 
| 804 | <!--个人资料--> | 847 | <!--个人资料--> | 
| 805 | <scene sceneID="krI-M9-eZ9"> | 848 | <scene sceneID="krI-M9-eZ9"> | 
ParentAssistant/ParentAssistant/Classes/controllers/my/Controller/MyViewController.swift
| @@ -71,7 +71,7 @@ class MyViewController: UIViewController { | @@ -71,7 +71,7 @@ class MyViewController: UIViewController { | ||
| 71 | loginBtn.isHidden = true | 71 | loginBtn.isHidden = true | 
| 72 | currentInfoBtn.isHidden = false | 72 | currentInfoBtn.isHidden = false | 
| 73 | //赋值 | 73 | //赋值 | 
| 74 | - headerBackGroundImageView.image = UIImage(named: "my_headerView_backgroundimageView") | 74 | + headerBackGroundImageView.image = UIImage(named: "my_background") | 
| 75 | let info = AccountManager.shared | 75 | let info = AccountManager.shared | 
| 76 | personNameLabel.text = info.name() | 76 | personNameLabel.text = info.name() | 
| 77 | personNumberLabel.text = info.phone() | 77 | personNumberLabel.text = info.phone() | 
| @@ -82,7 +82,7 @@ class MyViewController: UIViewController { | @@ -82,7 +82,7 @@ class MyViewController: UIViewController { | ||
| 82 | personNumberLabel.isHidden = true | 82 | personNumberLabel.isHidden = true | 
| 83 | loginBtn.isHidden = false | 83 | loginBtn.isHidden = false | 
| 84 | currentInfoBtn.isHidden = true | 84 | currentInfoBtn.isHidden = true | 
| 85 | - headerBackGroundImageView.image = UIImage(named: "navigationBar_backgrounImage") | 85 | + headerBackGroundImageView.image = UIImage(named: "my_background") | 
| 86 | personIconImageView.image = UIImage(named: "my_defphoto") | 86 | personIconImageView.image = UIImage(named: "my_defphoto") | 
| 87 | } | 87 | } | 
| 88 | currentInfoTableView.reloadData() | 88 | currentInfoTableView.reloadData() | 
ParentAssistant/ParentAssistant/Classes/controllers/my/Controller/RegisterViewController.swift
| @@ -23,7 +23,6 @@ class RegisterViewController: UITableViewController,UITextFieldDelegate { | @@ -23,7 +23,6 @@ class RegisterViewController: UITableViewController,UITextFieldDelegate { | ||
| 23 | override func viewDidLoad() { | 23 | override func viewDidLoad() { | 
| 24 | super.viewDidLoad() | 24 | super.viewDidLoad() | 
| 25 | 25 | ||
| 26 | - self.rootTableView.tableFooterView = UIView.init() | ||
| 27 | layoutSubViews() | 26 | layoutSubViews() | 
| 28 | 27 | ||
| 29 | } | 28 | } | 
| @@ -74,7 +73,7 @@ class RegisterViewController: UITableViewController,UITextFieldDelegate { | @@ -74,7 +73,7 @@ class RegisterViewController: UITableViewController,UITextFieldDelegate { | ||
| 74 | } | 73 | } | 
| 75 | } | 74 | } | 
| 76 | } | 75 | } | 
| 77 | - | 76 | + //MARK: - UITableView Delegate && DataSource | 
| 78 | override func numberOfSections(in tableView: UITableView) -> Int { | 77 | override func numberOfSections(in tableView: UITableView) -> Int { | 
| 79 | return 1 | 78 | return 1 | 
| 80 | } | 79 | } | 
ParentAssistant/ParentAssistant/Supporting Files/Assets.xcassets/my/my_background.imageset/Contents.json
0 → 100644
| @@ -0,0 +1,21 @@ | @@ -0,0 +1,21 @@ | ||
| 1 | +{ | ||
| 2 | + "images" : [ | ||
| 3 | + { | ||
| 4 | + "idiom" : "universal", | ||
| 5 | + "scale" : "1x" | ||
| 6 | + }, | ||
| 7 | + { | ||
| 8 | + "idiom" : "universal", | ||
| 9 | + "filename" : "my_background@2x.png", | ||
| 10 | + "scale" : "2x" | ||
| 11 | + }, | ||
| 12 | + { | ||
| 13 | + "idiom" : "universal", | ||
| 14 | + "scale" : "3x" | ||
| 15 | + } | ||
| 16 | + ], | ||
| 17 | + "info" : { | ||
| 18 | + "version" : 1, | ||
| 19 | + "author" : "xcode" | ||
| 20 | + } | ||
| 21 | +} | ||
| 0 | \ No newline at end of file | 22 | \ No newline at end of file | 
ParentAssistant/ParentAssistant/Supporting Files/Assets.xcassets/my/my_background.imageset/my_background@2x.png
0 → 100644
142 KB
ParentAssistant/ParentAssistant/Supporting Files/Assets.xcassets/report/report_white_pull.imageset/Contents.json
0 → 100644
| @@ -0,0 +1,21 @@ | @@ -0,0 +1,21 @@ | ||
| 1 | +{ | ||
| 2 | + "images" : [ | ||
| 3 | + { | ||
| 4 | + "idiom" : "universal", | ||
| 5 | + "scale" : "1x" | ||
| 6 | + }, | ||
| 7 | + { | ||
| 8 | + "idiom" : "universal", | ||
| 9 | + "filename" : "report_white_pull@2x.png", | ||
| 10 | + "scale" : "2x" | ||
| 11 | + }, | ||
| 12 | + { | ||
| 13 | + "idiom" : "universal", | ||
| 14 | + "scale" : "3x" | ||
| 15 | + } | ||
| 16 | + ], | ||
| 17 | + "info" : { | ||
| 18 | + "version" : 1, | ||
| 19 | + "author" : "xcode" | ||
| 20 | + } | ||
| 21 | +} | ||
| 0 | \ No newline at end of file | 22 | \ No newline at end of file | 
ParentAssistant/ParentAssistant/Supporting Files/Assets.xcassets/report/report_white_pull.imageset/report_white_pull@2x.png
0 → 100644
499 Bytes
ParentAssistant/ParentAssistant/Supporting Files/Assets.xcassets/report/report_white_select.imageset/Contents.json
0 → 100644
| @@ -0,0 +1,21 @@ | @@ -0,0 +1,21 @@ | ||
| 1 | +{ | ||
| 2 | + "images" : [ | ||
| 3 | + { | ||
| 4 | + "idiom" : "universal", | ||
| 5 | + "scale" : "1x" | ||
| 6 | + }, | ||
| 7 | + { | ||
| 8 | + "idiom" : "universal", | ||
| 9 | + "filename" : "report_white_select@2x.png", | ||
| 10 | + "scale" : "2x" | ||
| 11 | + }, | ||
| 12 | + { | ||
| 13 | + "idiom" : "universal", | ||
| 14 | + "scale" : "3x" | ||
| 15 | + } | ||
| 16 | + ], | ||
| 17 | + "info" : { | ||
| 18 | + "version" : 1, | ||
| 19 | + "author" : "xcode" | ||
| 20 | + } | ||
| 21 | +} | ||
| 0 | \ No newline at end of file | 22 | \ No newline at end of file | 
ParentAssistant/ParentAssistant/Supporting Files/Assets.xcassets/report/report_white_select.imageset/report_white_select@2x.png
0 → 100644
375 Bytes
ParentAssistant/ParentAssistant/Supporting Files/Base.lproj/Main.storyboard
| @@ -555,7 +555,7 @@ | @@ -555,7 +555,7 @@ | ||
| 555 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Rmi-WH-7xV"> | 555 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Rmi-WH-7xV"> | 
| 556 | <rect key="frame" x="0.0" y="0.0" width="375" height="192"/> | 556 | <rect key="frame" x="0.0" y="0.0" width="375" height="192"/> | 
| 557 | <subviews> | 557 | <subviews> | 
| 558 | - <imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="navigationBar_backgrounImage" translatesAutoresizingMaskIntoConstraints="NO" id="oWA-O4-zgP"> | 558 | + <imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="my_background" translatesAutoresizingMaskIntoConstraints="NO" id="oWA-O4-zgP"> | 
| 559 | <rect key="frame" x="0.0" y="0.0" width="375" height="192"/> | 559 | <rect key="frame" x="0.0" y="0.0" width="375" height="192"/> | 
| 560 | <color key="backgroundColor" red="0.7725490196" green="0.85490196080000003" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 560 | <color key="backgroundColor" red="0.7725490196" green="0.85490196080000003" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 
| 561 | </imageView> | 561 | </imageView> | 
| @@ -765,7 +765,7 @@ | @@ -765,7 +765,7 @@ | ||
| 765 | <nil key="highlightedColor"/> | 765 | <nil key="highlightedColor"/> | 
| 766 | </label> | 766 | </label> | 
| 767 | <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="未绑定" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Cgm-Km-mZE"> | 767 | <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="未绑定" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Cgm-Km-mZE"> | 
| 768 | - <rect key="frame" x="276" y="11.5" width="52" height="20.5"/> | 768 | + <rect key="frame" x="288" y="11.5" width="52" height="20.5"/> | 
| 769 | <constraints> | 769 | <constraints> | 
| 770 | <constraint firstAttribute="height" constant="20.5" id="iHz-xt-VnW"/> | 770 | <constraint firstAttribute="height" constant="20.5" id="iHz-xt-VnW"/> | 
| 771 | </constraints> | 771 | </constraints> | 
| @@ -1142,13 +1142,13 @@ | @@ -1142,13 +1142,13 @@ | ||
| 1142 | <image name="evaluation_icon_play" width="59" height="59"/> | 1142 | <image name="evaluation_icon_play" width="59" height="59"/> | 
| 1143 | <image name="evaluation_icon_training" width="47" height="47"/> | 1143 | <image name="evaluation_icon_training" width="47" height="47"/> | 
| 1144 | <image name="evaluation_icon_training_back" width="150" height="140"/> | 1144 | <image name="evaluation_icon_training_back" width="150" height="140"/> | 
| 1145 | + <image name="my_background" width="375" height="140"/> | ||
| 1145 | <image name="my_bar_icon" width="19" height="22"/> | 1146 | <image name="my_bar_icon" width="19" height="22"/> | 
| 1146 | <image name="my_bar_icon_select" width="19" height="22"/> | 1147 | <image name="my_bar_icon_select" width="19" height="22"/> | 
| 1147 | <image name="my_defphoto" width="61" height="61"/> | 1148 | <image name="my_defphoto" width="61" height="61"/> | 
| 1148 | <image name="my_headerView_backgroundimageView" width="375" height="139"/> | 1149 | <image name="my_headerView_backgroundimageView" width="375" height="139"/> | 
| 1149 | <image name="my_icon_currentInfo" width="9" height="16"/> | 1150 | <image name="my_icon_currentInfo" width="9" height="16"/> | 
| 1150 | <image name="my_icon_orderMessage" width="14" height="19"/> | 1151 | <image name="my_icon_orderMessage" width="14" height="19"/> | 
| 1151 | - <image name="navigationBar_backgrounImage" width="375" height="139"/> | ||
| 1152 | <image name="report_bar_icon" width="22" height="20"/> | 1152 | <image name="report_bar_icon" width="22" height="20"/> | 
| 1153 | <image name="report_bar_icon_select" width="22" height="20"/> | 1153 | <image name="report_bar_icon_select" width="22" height="20"/> | 
| 1154 | </resources> | 1154 | </resources> | 
ParentAssistant/Pods/Pods.xcodeproj/xcuserdata/caoyang.xcuserdatad/xcschemes/xcschememanagement.plist
| @@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
| 7 | <key>Alamofire.xcscheme</key> | 7 | <key>Alamofire.xcscheme</key> | 
| 8 | <dict> | 8 | <dict> | 
| 9 | <key>orderHint</key> | 9 | <key>orderHint</key> | 
| 10 | - <integer>1</integer> | 10 | + <integer>0</integer> | 
| 11 | </dict> | 11 | </dict> | 
| 12 | <key>DZNEmptyDataSet.xcscheme</key> | 12 | <key>DZNEmptyDataSet.xcscheme</key> | 
| 13 | <dict> | 13 | <dict> |