Commit 751fc4ea634b57f4e4c2e85da87d6d2068649077
1 parent
a737b8eb
Exists in
parentassistant
commit
Showing
11 changed files
with
2439 additions
and
2430 deletions
Show diff stats
ParentAssistant/ParentAssistant.xcodeproj/project.pbxproj
@@ -127,7 +127,6 @@ | @@ -127,7 +127,6 @@ | ||
127 | BF7A4C84204E338500460463 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = BF7A4C7E204E338400460463 /* Assets.xcassets */; }; | 127 | BF7A4C84204E338500460463 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = BF7A4C7E204E338400460463 /* Assets.xcassets */; }; |
128 | BF7A4C85204E338500460463 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BF7A4C7F204E338400460463 /* LaunchScreen.storyboard */; }; | 128 | BF7A4C85204E338500460463 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BF7A4C7F204E338400460463 /* LaunchScreen.storyboard */; }; |
129 | BF7A4C86204E338500460463 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BF7A4C81204E338400460463 /* Main.storyboard */; }; | 129 | BF7A4C86204E338500460463 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BF7A4C81204E338400460463 /* Main.storyboard */; }; |
130 | - BF7A4C87204E338500460463 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = BF7A4C83204E338400460463 /* Info.plist */; }; | ||
131 | BFA7443A207DB6EE00845D30 /* ActivationSchoolCardViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFA74439207DB6EE00845D30 /* ActivationSchoolCardViewController.swift */; }; | 130 | BFA7443A207DB6EE00845D30 /* ActivationSchoolCardViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFA74439207DB6EE00845D30 /* ActivationSchoolCardViewController.swift */; }; |
132 | BFA7446C208193D300845D30 /* MessageManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFA7446B208193D300845D30 /* MessageManager.swift */; }; | 131 | BFA7446C208193D300845D30 /* MessageManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFA7446B208193D300845D30 /* MessageManager.swift */; }; |
133 | BFBC06C52063AE8900CCFAFF /* ZLaunchAd.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFBC06BB2063AE8800CCFAFF /* ZLaunchAd.swift */; }; | 132 | BFBC06C52063AE8900CCFAFF /* ZLaunchAd.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFBC06BB2063AE8800CCFAFF /* ZLaunchAd.swift */; }; |
@@ -471,6 +470,7 @@ | @@ -471,6 +470,7 @@ | ||
471 | 599364E2204E62E700C8B371 /* my */ = { | 470 | 599364E2204E62E700C8B371 /* my */ = { |
472 | isa = PBXGroup; | 471 | isa = PBXGroup; |
473 | children = ( | 472 | children = ( |
473 | + BF621CAB205660E90040D2C1 /* My.storyboard */, | ||
474 | BFCED886205280B700055373 /* Controller */, | 474 | BFCED886205280B700055373 /* Controller */, |
475 | BFCED889205280C900055373 /* Model */, | 475 | BFCED889205280C900055373 /* Model */, |
476 | 599364E4204E62E700C8B371 /* View */, | 476 | 599364E4204E62E700C8B371 /* View */, |
@@ -592,6 +592,16 @@ | @@ -592,6 +592,16 @@ | ||
592 | path = ReportView; | 592 | path = ReportView; |
593 | sourceTree = "<group>"; | 593 | sourceTree = "<group>"; |
594 | }; | 594 | }; |
595 | + AD514759208720CD00EEABDC /* Login */ = { | ||
596 | + isa = PBXGroup; | ||
597 | + children = ( | ||
598 | + BF621CAD2056663C0040D2C1 /* LoginViewController.swift */, | ||
599 | + BFF9B7E82056852A00F39B3E /* RegisterViewController.swift */, | ||
600 | + BFF9B7EA205772E100F39B3E /* GetBackPasswordViewController.swift */, | ||
601 | + ); | ||
602 | + path = Login; | ||
603 | + sourceTree = "<group>"; | ||
604 | + }; | ||
595 | ADC9AB70207C558600348EF1 /* Model */ = { | 605 | ADC9AB70207C558600348EF1 /* Model */ = { |
596 | isa = PBXGroup; | 606 | isa = PBXGroup; |
597 | children = ( | 607 | children = ( |
@@ -777,17 +787,14 @@ | @@ -777,17 +787,14 @@ | ||
777 | BFCED886205280B700055373 /* Controller */ = { | 787 | BFCED886205280B700055373 /* Controller */ = { |
778 | isa = PBXGroup; | 788 | isa = PBXGroup; |
779 | children = ( | 789 | children = ( |
790 | + AD514759208720CD00EEABDC /* Login */, | ||
780 | BFCED887205280B700055373 /* MyViewController.swift */, | 791 | BFCED887205280B700055373 /* MyViewController.swift */, |
781 | - BFF9B7E82056852A00F39B3E /* RegisterViewController.swift */, | ||
782 | - BF621CAD2056663C0040D2C1 /* LoginViewController.swift */, | ||
783 | - BFF9B7EA205772E100F39B3E /* GetBackPasswordViewController.swift */, | ||
784 | BF621CAF2056664C0040D2C1 /* CurrentInfoViewController.swift */, | 792 | BF621CAF2056664C0040D2C1 /* CurrentInfoViewController.swift */, |
785 | BF406CD52057B03A000A6681 /* MessageViewController.swift */, | 793 | BF406CD52057B03A000A6681 /* MessageViewController.swift */, |
786 | BF406CDB2057C110000A6681 /* OrderDetailViewController.swift */, | 794 | BF406CDB2057C110000A6681 /* OrderDetailViewController.swift */, |
787 | BFF9B7EC2057776100F39B3E /* MyChildrenViewController.swift */, | 795 | BFF9B7EC2057776100F39B3E /* MyChildrenViewController.swift */, |
788 | BFF9B7F52057A4C900F39B3E /* ChildrenDetailViewController.swift */, | 796 | BFF9B7F52057A4C900F39B3E /* ChildrenDetailViewController.swift */, |
789 | BFA74439207DB6EE00845D30 /* ActivationSchoolCardViewController.swift */, | 797 | BFA74439207DB6EE00845D30 /* ActivationSchoolCardViewController.swift */, |
790 | - BF621CAB205660E90040D2C1 /* My.storyboard */, | ||
791 | ); | 798 | ); |
792 | path = Controller; | 799 | path = Controller; |
793 | sourceTree = "<group>"; | 800 | sourceTree = "<group>"; |
@@ -925,7 +932,7 @@ | @@ -925,7 +932,7 @@ | ||
925 | isa = PBXProject; | 932 | isa = PBXProject; |
926 | attributes = { | 933 | attributes = { |
927 | LastSwiftUpdateCheck = 0920; | 934 | LastSwiftUpdateCheck = 0920; |
928 | - LastUpgradeCheck = 0920; | 935 | + LastUpgradeCheck = 0930; |
929 | ORGANIZATIONNAME = HANGZHOUTEAM; | 936 | ORGANIZATIONNAME = HANGZHOUTEAM; |
930 | TargetAttributes = { | 937 | TargetAttributes = { |
931 | BF7A4C2F204CD55300460463 = { | 938 | BF7A4C2F204CD55300460463 = { |
@@ -967,7 +974,6 @@ | @@ -967,7 +974,6 @@ | ||
967 | AD122AC220843FAF00C7D0AD /* ProgramVacateTextFieldCell.xib in Resources */, | 974 | AD122AC220843FAF00C7D0AD /* ProgramVacateTextFieldCell.xib in Resources */, |
968 | BF67F3BF20590A2F002FDC61 /* Info-watchOS.plist in Resources */, | 975 | BF67F3BF20590A2F002FDC61 /* Info-watchOS.plist in Resources */, |
969 | 599364EB204E62E700C8B371 /* Information.storyboard in Resources */, | 976 | 599364EB204E62E700C8B371 /* Information.storyboard in Resources */, |
970 | - BF7A4C87204E338500460463 /* Info.plist in Resources */, | ||
971 | 599364FC204E742000C8B371 /* ChannelSelectViewCollectionViewCell.xib in Resources */, | 977 | 599364FC204E742000C8B371 /* ChannelSelectViewCollectionViewCell.xib in Resources */, |
972 | ADC9AB78207C65FC00348EF1 /* GrowSubjectCell.xib in Resources */, | 978 | ADC9AB78207C65FC00348EF1 /* GrowSubjectCell.xib in Resources */, |
973 | ADC9AB80207C672800348EF1 /* SceneTopCell.xib in Resources */, | 979 | ADC9AB80207C672800348EF1 /* SceneTopCell.xib in Resources */, |
@@ -1240,6 +1246,7 @@ | @@ -1240,6 +1246,7 @@ | ||
1240 | CLANG_WARN_BOOL_CONVERSION = YES; | 1246 | CLANG_WARN_BOOL_CONVERSION = YES; |
1241 | CLANG_WARN_COMMA = YES; | 1247 | CLANG_WARN_COMMA = YES; |
1242 | CLANG_WARN_CONSTANT_CONVERSION = YES; | 1248 | CLANG_WARN_CONSTANT_CONVERSION = YES; |
1249 | + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; | ||
1243 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | 1250 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; |
1244 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; | 1251 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; |
1245 | CLANG_WARN_EMPTY_BODY = YES; | 1252 | CLANG_WARN_EMPTY_BODY = YES; |
@@ -1247,6 +1254,7 @@ | @@ -1247,6 +1254,7 @@ | ||
1247 | CLANG_WARN_INFINITE_RECURSION = YES; | 1254 | CLANG_WARN_INFINITE_RECURSION = YES; |
1248 | CLANG_WARN_INT_CONVERSION = YES; | 1255 | CLANG_WARN_INT_CONVERSION = YES; |
1249 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; | 1256 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; |
1257 | + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; | ||
1250 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; | 1258 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; |
1251 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | 1259 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; |
1252 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; | 1260 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; |
@@ -1297,6 +1305,7 @@ | @@ -1297,6 +1305,7 @@ | ||
1297 | CLANG_WARN_BOOL_CONVERSION = YES; | 1305 | CLANG_WARN_BOOL_CONVERSION = YES; |
1298 | CLANG_WARN_COMMA = YES; | 1306 | CLANG_WARN_COMMA = YES; |
1299 | CLANG_WARN_CONSTANT_CONVERSION = YES; | 1307 | CLANG_WARN_CONSTANT_CONVERSION = YES; |
1308 | + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; | ||
1300 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | 1309 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; |
1301 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; | 1310 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; |
1302 | CLANG_WARN_EMPTY_BODY = YES; | 1311 | CLANG_WARN_EMPTY_BODY = YES; |
@@ -1304,6 +1313,7 @@ | @@ -1304,6 +1313,7 @@ | ||
1304 | CLANG_WARN_INFINITE_RECURSION = YES; | 1313 | CLANG_WARN_INFINITE_RECURSION = YES; |
1305 | CLANG_WARN_INT_CONVERSION = YES; | 1314 | CLANG_WARN_INT_CONVERSION = YES; |
1306 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; | 1315 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; |
1316 | + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; | ||
1307 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; | 1317 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; |
1308 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | 1318 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; |
1309 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; | 1319 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; |
ParentAssistant/ParentAssistant.xcworkspace/xcuserdata/caoyang.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
ParentAssistant/ParentAssistant/Classes/controllers/my/Controller/GetBackPasswordViewController.swift
@@ -1,235 +0,0 @@ | @@ -1,235 +0,0 @@ | ||
1 | -// | ||
2 | -// GetBackPasswordViewController.swift | ||
3 | -// ParentAssistant | ||
4 | -// | ||
5 | -// Created by 葛建军 on 2018/3/13. | ||
6 | -// Copyright © 2018年 HANGZHOUTEAM. All rights reserved. | ||
7 | -// | ||
8 | - | ||
9 | -import UIKit | ||
10 | -//找回密码 | ||
11 | -class GetBackPasswordViewController: UITableViewController,UITextFieldDelegate { | ||
12 | - @IBOutlet var rootTableView: UITableView! | ||
13 | - @IBOutlet var personIconImageView: UIImageView!//系统头像 | ||
14 | - @IBOutlet var phoneTextField: UITextField!//电话号码 | ||
15 | - @IBOutlet var codeTextField: UITextField!//验证码 | ||
16 | - @IBOutlet var passwordTextField: UITextField!//密码 | ||
17 | - @IBOutlet var passwordTwoTextField: UITextField!//密码 | ||
18 | - @IBOutlet var getCodeBtn: UIButton!//获取验证码按钮 | ||
19 | - @IBOutlet var passwordHiddenBtn: UIButton!//查看密码按钮 | ||
20 | - @IBOutlet var passwordTwoHiddenBtn: UIButton!//查看密码按钮 | ||
21 | - | ||
22 | - @IBOutlet var changeBtn: UIButton!//确认按钮 | ||
23 | - | ||
24 | - | ||
25 | - override func viewDidLoad() { | ||
26 | - super.viewDidLoad() | ||
27 | - | ||
28 | - layoutSubViews() | ||
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 | - | ||
59 | - // MARK: - 设置控件属性 | ||
60 | - func layoutSubViews(){ | ||
61 | - self.navigationController?.navigationBar.isHidden = false | ||
62 | - getCodeBtn.layer.borderWidth = 1.0 | ||
63 | - getCodeBtn.layer.borderColor = UIColor.lightGray.cgColor | ||
64 | - passwordHiddenBtn.setImage(UIImage(named: "my_password_look"), for: UIControlState.selected) | ||
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 | - } | ||
82 | - } | ||
83 | - // MARK: - 根据键盘调整高度 | ||
84 | - @objc func keyboardWIllChange(_ noti: Notification){ | ||
85 | - let userInfo:NSDictionary=noti.userInfo! as NSDictionary | ||
86 | - let endFrame=(userInfo[UIKeyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue | ||
87 | - let y = navigationBarHeight! + statusBarHeight | ||
88 | - if endFrame?.origin.y == getScreenHeight() { | ||
89 | - UIView.animate(withDuration: 0.5) { | ||
90 | - self.rootTableView.frame = CGRect.init(x: 0, y: y, width: screenWidth, height:screenHeight) | ||
91 | - } | ||
92 | - }else{ | ||
93 | - UIView.animate(withDuration: 0.5) { | ||
94 | - self.rootTableView.frame = CGRect.init(x: 0, y: 0, width: screenWidth, height: screenHeight) | ||
95 | - } | ||
96 | - } | ||
97 | - } | ||
98 | - // MARK: - 获取验证码 | ||
99 | - @IBAction func getCodeAction(_ sender: UIButton) { | ||
100 | - self.view.endEditing(true) | ||
101 | - if isMobilePhoneNumber(phoneTextField.text!) { | ||
102 | - HTTPServer.shared.getCaptcha(phoneTextField.text!, completionHandler: { (str, error) -> Void in | ||
103 | - httpJsonResule(jsonString: str, error: error, successHandler: { (json) -> Void in | ||
104 | - if !json["data"].boolValue{ | ||
105 | - appDelegate.window!.makeToast("短信发送失败:\(json["message"].stringValue)", duration: 1, position: CSToastPositionCenter) | ||
106 | - }else{ | ||
107 | - appDelegate.window!.makeToast("已发送短信,请注意查收", duration: 1, position: CSToastPositionCenter) | ||
108 | - } | ||
109 | - }, failHandler: { (er) -> Void in | ||
110 | - appDelegate.window!.makeToast("验证码发送失败") | ||
111 | - }) | ||
112 | - }) | ||
113 | - }else{ | ||
114 | - appDelegate.window!.makeToast("手机号格式不正确,请输入正确的手机号码", duration: 1, position: CSToastPositionCenter) | ||
115 | - } | ||
116 | - } | ||
117 | - | ||
118 | - | ||
119 | - // MARK: - 密码显示与否 | ||
120 | - @IBAction func passwordHiddenAction(_ sender: UIButton) { | ||
121 | - let selected = passwordHiddenBtn.isSelected | ||
122 | - passwordHiddenBtn.isSelected = !selected | ||
123 | - passwordTextField.isSecureTextEntry = selected | ||
124 | - } | ||
125 | - @IBAction func passwordTwoHiddenAction(_ sender: UIButton) { | ||
126 | - let selected = passwordTwoHiddenBtn.isSelected | ||
127 | - passwordTwoHiddenBtn.isSelected = !selected | ||
128 | - passwordTwoTextField.isSecureTextEntry = selected | ||
129 | - } | ||
130 | - | ||
131 | - // MARK: - UITextFieldDelegate | ||
132 | - func textFieldDidEndEditing(_ textField: UITextField) { | ||
133 | - if textField==passwordTwoTextField && phoneTextField.text! != "" && codeTextField.text! != "" && passwordTextField.text! != "" && passwordTwoTextField.text! != "" && passwordTextField.text! == passwordTwoTextField.text!{ | ||
134 | - changeBtn.isUserInteractionEnabled = true | ||
135 | - changeBtn.backgroundColor = navigationColor | ||
136 | - }else{ | ||
137 | - changeBtn.isUserInteractionEnabled = false | ||
138 | - changeBtn.backgroundColor = UIColor.lightGray | ||
139 | - } | ||
140 | - } | ||
141 | - | ||
142 | - func isMobilePhoneNumber(_ mobile:String)->Bool { | ||
143 | - let str="^1[0-9]{10}" | ||
144 | - return NSPredicate(format: "SELF MATCHES %@", str).evaluate(with: mobile) | ||
145 | - } | ||
146 | - // MARK: - 确认按钮 | ||
147 | - @IBAction func changeAction(_ sender: UIButton) { | ||
148 | - //登录并返回页面 | ||
149 | - if passwordTextField.text!.count<6{ | ||
150 | - appDelegate.window!.makeToast("为保障安全密码不得少于6位", duration: 1, position: CSToastPositionCenter) | ||
151 | - return | ||
152 | - } | ||
153 | - if passwordTextField.text != passwordTwoTextField.text{ | ||
154 | - appDelegate.window!.makeToast("密码不一致请重新输入", duration: 1, position: CSToastPositionCenter) | ||
155 | - return | ||
156 | - } | ||
157 | - if passwordTextField.text!.contains(" "){ | ||
158 | - appDelegate.window!.makeToast("密码不能含有空格请重新输入", duration: 1, position: CSToastPositionCenter) | ||
159 | - return | ||
160 | - } | ||
161 | - SVProgressHUD.show() | ||
162 | - HTTPServer.shared.resetPassWord(phoneTextField.text!, pw:passwordTextField.text!, code:codeTextField.text!) { (str, error) -> Void in | ||
163 | - SVProgressHUD.dismiss() | ||
164 | - httpJsonResule(jsonString: str, error: error, successHandler: { (json) -> Void in | ||
165 | - let alertVC = UIAlertController(title: "提示", message: "密码修改成功", preferredStyle: UIAlertControllerStyle.alert) | ||
166 | - let showBtn = UIAlertAction(title: "确认", style: UIAlertActionStyle.default) { (action) in | ||
167 | - self.navigationController?.popToRootViewController(animated: true) | ||
168 | - //登录 | ||
169 | - SVProgressHUD.show(withStatus: "登录中...") | ||
170 | - HTTPServer.shared.login(completionHandler: { (str, error) in | ||
171 | - SVProgressHUD.dismiss() | ||
172 | - let json=JSON.fromString(str) | ||
173 | - if let ret=json{ | ||
174 | - let er=ret["error"].string | ||
175 | - if let errorStr=er{ | ||
176 | - let Strings=errorStr.components(separatedBy: ":") | ||
177 | - if Strings.count >= 2 { | ||
178 | - switch Strings[1] { | ||
179 | - //用户关联多个身份,请使用学事号登录:100 | ||
180 | - case "101"://用户认证身份不存在:101 | ||
181 | - appDelegate.window!.makeToast("用户认证身份不存在,请进行账号激活。") | ||
182 | - break | ||
183 | - //用户帐号或密码错误:102 | ||
184 | - case "103":// 用户不存在:103 | ||
185 | - appDelegate.window!.makeToast("该号码不存在,请联系客服400-826-2468") | ||
186 | - break | ||
187 | - default: | ||
188 | - appDelegate.window!.makeToast(errorStr) | ||
189 | - break | ||
190 | - } | ||
191 | - }else{ | ||
192 | - appDelegate.window!.makeToast(errorStr) | ||
193 | - } | ||
194 | - }else if ret["access_token"].stringValue != ""{ | ||
195 | - AccountManager.shared.setTokenInfo(tokenInfo: ret) | ||
196 | - AccountManager.shared.saveToken(tokenInfo: ret) | ||
197 | - AccountManager.shared.refreshUserInfo(self.phoneTextField.text!, completionHandler: { (finish) in | ||
198 | - if finish{ | ||
199 | - let ID=AccountManager.shared.rawUserInfo!.contentData()["userid"].stringValue | ||
200 | - YXMessageManager.share.loginWithYX(account: ID, token: ID.md5()) { (success) in | ||
201 | - SVProgressHUD.dismiss() | ||
202 | - if !success { | ||
203 | - AccountManager.shared.logOut() | ||
204 | - appDelegate.window!.makeToast("聊天服务登录失败,请连接网络重试") | ||
205 | - }else{ | ||
206 | - //云信登录成功 | ||
207 | - self.dismiss(animated: true, completion: nil) | ||
208 | - } | ||
209 | - } | ||
210 | - }else{ | ||
211 | - appDelegate.window!.makeToast("身份获取失败") | ||
212 | - SVProgressHUD.dismiss() | ||
213 | - } | ||
214 | - }) | ||
215 | - }else{ | ||
216 | - SVProgressHUD.dismiss() | ||
217 | - appDelegate.window!.makeToast("登录失败,请稍后重试") | ||
218 | - } | ||
219 | - }else{ | ||
220 | - SVProgressHUD.dismiss() | ||
221 | - appDelegate.window!.makeToast("登录失败") | ||
222 | - } | ||
223 | - }, phone: self.phoneTextField.text!, password: self.passwordTextField.text!) | ||
224 | - } | ||
225 | - alertVC.addAction(showBtn) | ||
226 | - self.present(alertVC, animated: true, completion: nil) | ||
227 | - }, failHandler: { (er) -> Void in | ||
228 | - appDelegate.window!.makeToast(er.localizedDescription, duration: 1, position: CSToastPositionCenter) | ||
229 | - }) | ||
230 | - } | ||
231 | - | ||
232 | - | ||
233 | - } | ||
234 | - | ||
235 | -} |
ParentAssistant/ParentAssistant/Classes/controllers/my/Controller/Login/GetBackPasswordViewController.swift
0 → 100644
@@ -0,0 +1,235 @@ | @@ -0,0 +1,235 @@ | ||
1 | +// | ||
2 | +// GetBackPasswordViewController.swift | ||
3 | +// ParentAssistant | ||
4 | +// | ||
5 | +// Created by 葛建军 on 2018/3/13. | ||
6 | +// Copyright © 2018年 HANGZHOUTEAM. All rights reserved. | ||
7 | +// | ||
8 | + | ||
9 | +import UIKit | ||
10 | +//找回密码 | ||
11 | +class GetBackPasswordViewController: UITableViewController,UITextFieldDelegate { | ||
12 | + @IBOutlet var rootTableView: UITableView! | ||
13 | + @IBOutlet var personIconImageView: UIImageView!//系统头像 | ||
14 | + @IBOutlet var phoneTextField: UITextField!//电话号码 | ||
15 | + @IBOutlet var codeTextField: UITextField!//验证码 | ||
16 | + @IBOutlet var passwordTextField: UITextField!//密码 | ||
17 | + @IBOutlet var passwordTwoTextField: UITextField!//密码 | ||
18 | + @IBOutlet var getCodeBtn: UIButton!//获取验证码按钮 | ||
19 | + @IBOutlet var passwordHiddenBtn: UIButton!//查看密码按钮 | ||
20 | + @IBOutlet var passwordTwoHiddenBtn: UIButton!//查看密码按钮 | ||
21 | + | ||
22 | + @IBOutlet var changeBtn: UIButton!//确认按钮 | ||
23 | + | ||
24 | + | ||
25 | + override func viewDidLoad() { | ||
26 | + super.viewDidLoad() | ||
27 | + | ||
28 | + layoutSubViews() | ||
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 | + | ||
59 | + // MARK: - 设置控件属性 | ||
60 | + func layoutSubViews(){ | ||
61 | + self.navigationController?.navigationBar.isHidden = false | ||
62 | + getCodeBtn.layer.borderWidth = 1.0 | ||
63 | + getCodeBtn.layer.borderColor = UIColor.lightGray.cgColor | ||
64 | + passwordHiddenBtn.setImage(UIImage(named: "my_password_look"), for: UIControlState.selected) | ||
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 | + } | ||
82 | + } | ||
83 | + // MARK: - 根据键盘调整高度 | ||
84 | + @objc func keyboardWIllChange(_ noti: Notification){ | ||
85 | + let userInfo:NSDictionary=noti.userInfo! as NSDictionary | ||
86 | + let endFrame=(userInfo[UIKeyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue | ||
87 | + let y = navigationBarHeight! + statusBarHeight | ||
88 | + if endFrame?.origin.y == getScreenHeight() { | ||
89 | + UIView.animate(withDuration: 0.5) { | ||
90 | + self.rootTableView.frame = CGRect.init(x: 0, y: y, width: screenWidth, height:screenHeight) | ||
91 | + } | ||
92 | + }else{ | ||
93 | + UIView.animate(withDuration: 0.5) { | ||
94 | + self.rootTableView.frame = CGRect.init(x: 0, y: 0, width: screenWidth, height: screenHeight) | ||
95 | + } | ||
96 | + } | ||
97 | + } | ||
98 | + // MARK: - 获取验证码 | ||
99 | + @IBAction func getCodeAction(_ sender: UIButton) { | ||
100 | + self.view.endEditing(true) | ||
101 | + if isMobilePhoneNumber(phoneTextField.text!) { | ||
102 | + HTTPServer.shared.getCaptcha(phoneTextField.text!, completionHandler: { (str, error) -> Void in | ||
103 | + httpJsonResule(jsonString: str, error: error, successHandler: { (json) -> Void in | ||
104 | + if !json["data"].boolValue{ | ||
105 | + appDelegate.window!.makeToast("短信发送失败:\(json["message"].stringValue)", duration: 1, position: CSToastPositionCenter) | ||
106 | + }else{ | ||
107 | + appDelegate.window!.makeToast("已发送短信,请注意查收", duration: 1, position: CSToastPositionCenter) | ||
108 | + } | ||
109 | + }, failHandler: { (er) -> Void in | ||
110 | + appDelegate.window!.makeToast("验证码发送失败") | ||
111 | + }) | ||
112 | + }) | ||
113 | + }else{ | ||
114 | + appDelegate.window!.makeToast("手机号格式不正确,请输入正确的手机号码", duration: 1, position: CSToastPositionCenter) | ||
115 | + } | ||
116 | + } | ||
117 | + | ||
118 | + | ||
119 | + // MARK: - 密码显示与否 | ||
120 | + @IBAction func passwordHiddenAction(_ sender: UIButton) { | ||
121 | + let selected = passwordHiddenBtn.isSelected | ||
122 | + passwordHiddenBtn.isSelected = !selected | ||
123 | + passwordTextField.isSecureTextEntry = selected | ||
124 | + } | ||
125 | + @IBAction func passwordTwoHiddenAction(_ sender: UIButton) { | ||
126 | + let selected = passwordTwoHiddenBtn.isSelected | ||
127 | + passwordTwoHiddenBtn.isSelected = !selected | ||
128 | + passwordTwoTextField.isSecureTextEntry = selected | ||
129 | + } | ||
130 | + | ||
131 | + // MARK: - UITextFieldDelegate | ||
132 | + func textFieldDidEndEditing(_ textField: UITextField) { | ||
133 | + if textField==passwordTwoTextField && phoneTextField.text! != "" && codeTextField.text! != "" && passwordTextField.text! != "" && passwordTwoTextField.text! != "" && passwordTextField.text! == passwordTwoTextField.text!{ | ||
134 | + changeBtn.isUserInteractionEnabled = true | ||
135 | + changeBtn.backgroundColor = navigationColor | ||
136 | + }else{ | ||
137 | + changeBtn.isUserInteractionEnabled = false | ||
138 | + changeBtn.backgroundColor = UIColor.lightGray | ||
139 | + } | ||
140 | + } | ||
141 | + | ||
142 | + func isMobilePhoneNumber(_ mobile:String)->Bool { | ||
143 | + let str="^1[0-9]{10}" | ||
144 | + return NSPredicate(format: "SELF MATCHES %@", str).evaluate(with: mobile) | ||
145 | + } | ||
146 | + // MARK: - 确认按钮 | ||
147 | + @IBAction func changeAction(_ sender: UIButton) { | ||
148 | + //登录并返回页面 | ||
149 | + if passwordTextField.text!.count<6{ | ||
150 | + appDelegate.window!.makeToast("为保障安全密码不得少于6位", duration: 1, position: CSToastPositionCenter) | ||
151 | + return | ||
152 | + } | ||
153 | + if passwordTextField.text != passwordTwoTextField.text{ | ||
154 | + appDelegate.window!.makeToast("密码不一致请重新输入", duration: 1, position: CSToastPositionCenter) | ||
155 | + return | ||
156 | + } | ||
157 | + if passwordTextField.text!.contains(" "){ | ||
158 | + appDelegate.window!.makeToast("密码不能含有空格请重新输入", duration: 1, position: CSToastPositionCenter) | ||
159 | + return | ||
160 | + } | ||
161 | + SVProgressHUD.show() | ||
162 | + HTTPServer.shared.resetPassWord(phoneTextField.text!, pw:passwordTextField.text!, code:codeTextField.text!) { (str, error) -> Void in | ||
163 | + SVProgressHUD.dismiss() | ||
164 | + httpJsonResule(jsonString: str, error: error, successHandler: { (json) -> Void in | ||
165 | + let alertVC = UIAlertController(title: "提示", message: "密码修改成功", preferredStyle: UIAlertControllerStyle.alert) | ||
166 | + let showBtn = UIAlertAction(title: "确认", style: UIAlertActionStyle.default) { (action) in | ||
167 | + self.navigationController?.popToRootViewController(animated: true) | ||
168 | + //登录 | ||
169 | + SVProgressHUD.show(withStatus: "登录中...") | ||
170 | + HTTPServer.shared.login(completionHandler: { (str, error) in | ||
171 | + SVProgressHUD.dismiss() | ||
172 | + let json=JSON.fromString(str) | ||
173 | + if let ret=json{ | ||
174 | + let er=ret["error"].string | ||
175 | + if let errorStr=er{ | ||
176 | + let Strings=errorStr.components(separatedBy: ":") | ||
177 | + if Strings.count >= 2 { | ||
178 | + switch Strings[1] { | ||
179 | + //用户关联多个身份,请使用学事号登录:100 | ||
180 | + case "101"://用户认证身份不存在:101 | ||
181 | + appDelegate.window!.makeToast("用户认证身份不存在,请进行账号激活。") | ||
182 | + break | ||
183 | + //用户帐号或密码错误:102 | ||
184 | + case "103":// 用户不存在:103 | ||
185 | + appDelegate.window!.makeToast("该号码不存在,请联系客服400-826-2468") | ||
186 | + break | ||
187 | + default: | ||
188 | + appDelegate.window!.makeToast(errorStr) | ||
189 | + break | ||
190 | + } | ||
191 | + }else{ | ||
192 | + appDelegate.window!.makeToast(errorStr) | ||
193 | + } | ||
194 | + }else if ret["access_token"].stringValue != ""{ | ||
195 | + AccountManager.shared.setTokenInfo(tokenInfo: ret) | ||
196 | + AccountManager.shared.saveToken(tokenInfo: ret) | ||
197 | + AccountManager.shared.refreshUserInfo(self.phoneTextField.text!, completionHandler: { (finish) in | ||
198 | + if finish{ | ||
199 | + let ID=AccountManager.shared.rawUserInfo!.contentData()["userid"].stringValue | ||
200 | + YXMessageManager.share.loginWithYX(account: ID, token: ID.md5()) { (success) in | ||
201 | + SVProgressHUD.dismiss() | ||
202 | + if !success { | ||
203 | + AccountManager.shared.logOut() | ||
204 | + appDelegate.window!.makeToast("聊天服务登录失败,请连接网络重试") | ||
205 | + }else{ | ||
206 | + //云信登录成功 | ||
207 | + self.dismiss(animated: true, completion: nil) | ||
208 | + } | ||
209 | + } | ||
210 | + }else{ | ||
211 | + appDelegate.window!.makeToast("身份获取失败") | ||
212 | + SVProgressHUD.dismiss() | ||
213 | + } | ||
214 | + }) | ||
215 | + }else{ | ||
216 | + SVProgressHUD.dismiss() | ||
217 | + appDelegate.window!.makeToast("登录失败,请稍后重试") | ||
218 | + } | ||
219 | + }else{ | ||
220 | + SVProgressHUD.dismiss() | ||
221 | + appDelegate.window!.makeToast("登录失败") | ||
222 | + } | ||
223 | + }, phone: self.phoneTextField.text!, password: self.passwordTextField.text!) | ||
224 | + } | ||
225 | + alertVC.addAction(showBtn) | ||
226 | + self.present(alertVC, animated: true, completion: nil) | ||
227 | + }, failHandler: { (er) -> Void in | ||
228 | + appDelegate.window!.makeToast(er.localizedDescription, duration: 1, position: CSToastPositionCenter) | ||
229 | + }) | ||
230 | + } | ||
231 | + | ||
232 | + | ||
233 | + } | ||
234 | + | ||
235 | +} |
ParentAssistant/ParentAssistant/Classes/controllers/my/Controller/Login/LoginViewController.swift
0 → 100644
@@ -0,0 +1,188 @@ | @@ -0,0 +1,188 @@ | ||
1 | +// | ||
2 | +// LoginViewController.swift | ||
3 | +// ParentAssistant | ||
4 | +// | ||
5 | +// Created by 葛建军 on 2018/3/12. | ||
6 | +// Copyright © 2018年 HANGZHOUTEAM. All rights reserved. | ||
7 | +// | ||
8 | + | ||
9 | +import UIKit | ||
10 | +//登录 | ||
11 | +class LoginViewController: UITableViewController,UITextFieldDelegate { | ||
12 | + | ||
13 | + | ||
14 | + @IBOutlet var rootTableView: UITableView! | ||
15 | + @IBOutlet var iconImageView: UIImageView!//系统头像 | ||
16 | + @IBOutlet var phoneTextField: UITextField!//电话号码 | ||
17 | + @IBOutlet var passwordTextField: UITextField!//密码 | ||
18 | + @IBOutlet var passwordHiddenBtn: UIButton!//查看密码按钮 | ||
19 | + @IBOutlet var loginBtn: UIButton! | ||
20 | + | ||
21 | + var keyShow = Bool() | ||
22 | + override func viewDidLoad() { | ||
23 | + super.viewDidLoad() | ||
24 | + | ||
25 | + layoutSubViews() | ||
26 | + | ||
27 | + self.phoneTextField.addTarget(self, action: #selector(textFieldChange), for: UIControlEvents.editingChanged) | ||
28 | + self.passwordTextField.addTarget(self, action: #selector(textFieldChange), for: UIControlEvents.editingChanged) | ||
29 | + | ||
30 | + } | ||
31 | + | ||
32 | + override func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) { | ||
33 | + | ||
34 | + phoneTextField.resignFirstResponder() | ||
35 | + passwordTextField.resignFirstResponder() | ||
36 | + } | ||
37 | + | ||
38 | + //监听输入长度,显示登录按钮状态 | ||
39 | + @objc func textFieldChange(){ | ||
40 | + if (phoneTextField.text?.count)!>0 && (passwordTextField.text?.count)!>0 { | ||
41 | + loginBtn.isUserInteractionEnabled = true | ||
42 | + loginBtn.backgroundColor = navigationColor | ||
43 | + }else{ | ||
44 | + loginBtn.isUserInteractionEnabled = false | ||
45 | + loginBtn.backgroundColor = UIColor.lightGray | ||
46 | + } | ||
47 | + } | ||
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 | + | ||
67 | + // MARK: - 设置控件属性 | ||
68 | + func layoutSubViews(){ | ||
69 | + self.navigationItem.title = "登录" | ||
70 | + | ||
71 | + passwordHiddenBtn.setImage(UIImage(named: "my_password_look"), for: UIControlState.selected) | ||
72 | + NotificationCenter.default.addObserver(self, selector: #selector(LoginViewController.keyboardWIllChange(_:)), name: NSNotification.Name.UIKeyboardWillChangeFrame, object: nil) | ||
73 | + NotificationCenter.default.addObserver(self, selector: #selector(LoginViewController.getPhoneNumber(_:)), name: NSNotification.Name(rawValue: MyPhoneNumberNotification.getPhoneNumber), object: nil) | ||
74 | + } | ||
75 | + // MARK: - 根据键盘调整高度 | ||
76 | + @objc func keyboardWIllChange(_ noti: Notification){ | ||
77 | + let userInfo:NSDictionary=noti.userInfo! as NSDictionary | ||
78 | + let endFrame=(userInfo[UIKeyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue | ||
79 | + | ||
80 | + let y = navigationBarHeight! + statusBarHeight | ||
81 | + if endFrame?.origin.y == getScreenHeight() { | ||
82 | + UIView.animate(withDuration: 0.5) { | ||
83 | + self.rootTableView.frame = CGRect.init(x: 0, y: y, width: screenWidth, height: screenHeight) | ||
84 | + } | ||
85 | + }else{ | ||
86 | + UIView.animate(withDuration: 0.5) { | ||
87 | + self.rootTableView.frame = CGRect.init(x: 0, y: 0, width: screenWidth, height: screenHeight) | ||
88 | + } | ||
89 | + } | ||
90 | + } | ||
91 | + @objc func getPhoneNumber(_ noti: Notification){ | ||
92 | + let userInfo:NSDictionary=noti.userInfo! as NSDictionary | ||
93 | + phoneTextField.text = userInfo["phoneNumber"] as? String | ||
94 | + } | ||
95 | + | ||
96 | + // MARK: - 密码显示与否 | ||
97 | + @IBAction func passwordHiddenAction(_ sender: UIButton) { | ||
98 | + let selected = passwordHiddenBtn.isSelected | ||
99 | + passwordHiddenBtn.isSelected = !selected | ||
100 | + passwordTextField.isSecureTextEntry = selected | ||
101 | + } | ||
102 | + // MARK: - UITextFieldDelegate | ||
103 | + func textFieldShouldReturn(_ textField: UITextField) -> Bool { | ||
104 | + return textField.resignFirstResponder() | ||
105 | + } | ||
106 | + func isMobilePhoneNumber(_ mobile:String)->Bool { | ||
107 | + let str="^1[0-9]{10}" | ||
108 | + return NSPredicate(format: "SELF MATCHES %@", str).evaluate(with: mobile) | ||
109 | + } | ||
110 | + // MARK: - 登录按钮 | ||
111 | + @IBAction func loginAction(_ sender: UIButton) { | ||
112 | + self.view.endEditing(true) | ||
113 | + SVProgressHUD.show(withStatus: "登录中...") | ||
114 | + HTTPServer.shared.login(completionHandler: { (str, error) in | ||
115 | + SVProgressHUD.dismiss() | ||
116 | + let json=JSON.fromString(str) | ||
117 | + if let ret=json{ | ||
118 | + let er=ret["error"].string | ||
119 | + if let errorStr=er{ | ||
120 | + let Strings=errorStr.components(separatedBy: ":") | ||
121 | + if Strings.count >= 2 { | ||
122 | + switch Strings[1] { | ||
123 | + //用户关联多个身份,请使用学事号登录:100 | ||
124 | + case "101"://用户认证身份不存在:101 | ||
125 | + appDelegate.window!.makeToast("用户认证身份不存在,请进行账号激活。") | ||
126 | + break | ||
127 | + //用户帐号或密码错误:102 | ||
128 | + case "103":// 用户不存在:103 | ||
129 | + appDelegate.window!.makeToast("该号码不存在,请联系客服400-826-2468") | ||
130 | + break | ||
131 | + default: | ||
132 | + appDelegate.window!.makeToast(errorStr) | ||
133 | + break | ||
134 | + } | ||
135 | + }else{ | ||
136 | + appDelegate.window!.makeToast(errorStr) | ||
137 | + } | ||
138 | + }else if ret["access_token"].stringValue != ""{ | ||
139 | + AccountManager.shared.setTokenInfo(tokenInfo: ret) | ||
140 | + AccountManager.shared.saveToken(tokenInfo: ret) | ||
141 | + AccountManager.shared.refreshUserInfo(self.phoneTextField.text!, completionHandler: { (finish) in | ||
142 | + if finish{ | ||
143 | + self.loadUserInfo() | ||
144 | + }else{ | ||
145 | + appDelegate.window!.makeToast("身份获取失败") | ||
146 | + SVProgressHUD.dismiss() | ||
147 | + } | ||
148 | + }) | ||
149 | + }else{ | ||
150 | + SVProgressHUD.dismiss() | ||
151 | + appDelegate.window!.makeToast("登录失败,请稍后重试") | ||
152 | + } | ||
153 | + }else{ | ||
154 | + SVProgressHUD.dismiss() | ||
155 | + appDelegate.window!.makeToast("登录失败") | ||
156 | + } | ||
157 | + }, phone: phoneTextField.text!, password: passwordTextField.text!) | ||
158 | + } | ||
159 | + func loadUserInfo(){ | ||
160 | + let ID=AccountManager.shared.rawUserInfo!.contentData()["userid"].stringValue | ||
161 | + YXMessageManager.share.loginWithYX(account: ID, token: ID.md5()) { (success) in | ||
162 | + SVProgressHUD.dismiss() | ||
163 | + if !success { | ||
164 | + AccountManager.shared.logOut() | ||
165 | + appDelegate.window!.makeToast("聊天服务登录失败,请连接网络重试") | ||
166 | + }else{ | ||
167 | + //云信登录成功 | ||
168 | + self.navigationController?.popToRootViewController(animated: true) | ||
169 | + } | ||
170 | + } | ||
171 | + } | ||
172 | + | ||
173 | + // MARK: - 注册页面跳转 | ||
174 | + @IBAction func registerAction(_ sender: UIButton) { | ||
175 | + let vc = Story.instantiateViewControllerWithIdentifier("RegisterViewController", storyName: "My") as! RegisterViewController | ||
176 | + self.navigationController?.pushViewController(vc, animated: true) | ||
177 | + } | ||
178 | + // MARK: - 找回密码 | ||
179 | + @IBAction func getPasswordAction(_ sender: UIButton) { | ||
180 | + let vc = Story.instantiateViewControllerWithIdentifier("GetBackPasswordViewController", storyName: "My") as! GetBackPasswordViewController | ||
181 | + self.navigationController?.pushViewController(vc, animated: true) | ||
182 | + } | ||
183 | + | ||
184 | + override func didReceiveMemoryWarning() { | ||
185 | + super.didReceiveMemoryWarning() | ||
186 | + } | ||
187 | + | ||
188 | +} |
ParentAssistant/ParentAssistant/Classes/controllers/my/Controller/Login/RegisterViewController.swift
0 → 100644
@@ -0,0 +1,249 @@ | @@ -0,0 +1,249 @@ | ||
1 | +// | ||
2 | +// RegisterViewController.swift | ||
3 | +// ParentAssistant | ||
4 | +// | ||
5 | +// Created by 葛建军 on 2018/3/12. | ||
6 | +// Copyright © 2018年 HANGZHOUTEAM. All rights reserved. | ||
7 | +// | ||
8 | + | ||
9 | +import UIKit | ||
10 | +//注册 | ||
11 | +class RegisterViewController: UITableViewController,UITextFieldDelegate { | ||
12 | + | ||
13 | + @IBOutlet var rootTableView: UITableView! | ||
14 | + @IBOutlet var personIconImageView: UIImageView!//系统头像 | ||
15 | + @IBOutlet var phoneTextField: UITextField!//电话号码 | ||
16 | + @IBOutlet var codeTextField: UITextField!//验证码 | ||
17 | + @IBOutlet var passwordTextField: UITextField!//密码 | ||
18 | + @IBOutlet var getCodeBtn: UIButton!//获取验证码按钮 | ||
19 | + @IBOutlet var passwordHiddenBtn: UIButton!//查看密码按钮 | ||
20 | + | ||
21 | + @IBOutlet var registerBtn: UIButton!//注册按钮 | ||
22 | + | ||
23 | + override func viewDidLoad() { | ||
24 | + super.viewDidLoad() | ||
25 | + | ||
26 | + layoutSubViews() | ||
27 | + | ||
28 | + } | ||
29 | + // MARK: - 设置控件属性 | ||
30 | + func layoutSubViews(){ | ||
31 | + self.navigationController?.navigationBar.isHidden = false | ||
32 | + self.navigationItem.title = "注册" | ||
33 | + getCodeBtn.layer.borderWidth = 1.0 | ||
34 | + getCodeBtn.layer.borderColor = UIColor.lightGray.cgColor | ||
35 | + | ||
36 | + passwordHiddenBtn.setImage(UIImage(named: "my_password_look"), for: UIControlState.selected) | ||
37 | + //键盘监听 | ||
38 | + NotificationCenter.default.addObserver(self, selector: #selector(RegisterViewController.keyboardWIllChange(_:)), name: NSNotification.Name.UIKeyboardWillChangeFrame, object: nil) | ||
39 | + //监听按钮状态 | ||
40 | + phoneTextField.addTarget(self, action: #selector(textFieldChange), for: UIControlEvents.editingChanged) | ||
41 | + codeTextField.addTarget(self, action: #selector(textFieldChange), for: UIControlEvents.editingChanged) | ||
42 | + passwordTextField.addTarget(self, action: #selector(textFieldChange), for: UIControlEvents.editingChanged) | ||
43 | + | ||
44 | + } | ||
45 | + | ||
46 | + //MARK: - 用户拖拽 关闭键盘 | ||
47 | + override func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) { | ||
48 | + phoneTextField.resignFirstResponder() | ||
49 | + codeTextField.resignFirstResponder() | ||
50 | + passwordTextField.resignFirstResponder() | ||
51 | + } | ||
52 | + | ||
53 | + //return 关闭键盘 | ||
54 | + func textFieldShouldReturn(_ textField: UITextField) -> Bool { | ||
55 | + return textField.resignFirstResponder() | ||
56 | + } | ||
57 | + | ||
58 | + // MARK: - 根据键盘调整高度 | ||
59 | + @objc func keyboardWIllChange(_ noti: Notification){ | ||
60 | + let userInfo:NSDictionary=noti.userInfo! as NSDictionary | ||
61 | + let endFrame=(userInfo[UIKeyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue | ||
62 | + | ||
63 | + print(self.rootTableView.frame) | ||
64 | + let y = navigationBarHeight! + statusBarHeight | ||
65 | + if endFrame?.origin.y == getScreenHeight() { | ||
66 | + UIView.animate(withDuration: 0.5) { | ||
67 | + | ||
68 | + self.rootTableView.frame = CGRect.init(x: 0, y: y, width: screenWidth, height:screenHeight) | ||
69 | + } | ||
70 | + }else{ | ||
71 | + UIView.animate(withDuration: 0.5) { | ||
72 | + self.rootTableView.frame = CGRect.init(x: 0, y: 0, width: screenWidth, height: screenHeight) | ||
73 | + } | ||
74 | + } | ||
75 | + } | ||
76 | + //MARK: - UITableView Delegate && DataSource | ||
77 | + override func numberOfSections(in tableView: UITableView) -> Int { | ||
78 | + return 1 | ||
79 | + } | ||
80 | + override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { | ||
81 | + return 6 | ||
82 | + } | ||
83 | + override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { | ||
84 | + if indexPath.row == 0 { | ||
85 | + return 200 | ||
86 | + } | ||
87 | + else{ | ||
88 | + return 50 | ||
89 | + } | ||
90 | + } | ||
91 | + //MARK: - 监听输入长度,显示登录按钮状态 | ||
92 | + @objc func textFieldChange(){ | ||
93 | + if (phoneTextField.text?.count)!>0 && (passwordTextField.text?.count)!>0 && (codeTextField.text?.count)!>0 { | ||
94 | + registerBtn.isUserInteractionEnabled = true | ||
95 | + registerBtn.backgroundColor = navigationColor | ||
96 | + }else{ | ||
97 | + registerBtn.isUserInteractionEnabled = false | ||
98 | + registerBtn.backgroundColor = UIColor.lightGray | ||
99 | + } | ||
100 | + } | ||
101 | + // MARK: - 获取验证码 | ||
102 | + @IBAction func getCodeAction(_ sender: UIButton) { | ||
103 | + self.view.endEditing(true) | ||
104 | + if isMobilePhoneNumber(phoneTextField.text!) { | ||
105 | + HTTPServer.shared.getCaptcha(phoneTextField.text!, completionHandler: { (str, error) -> Void in | ||
106 | + httpJsonResule(jsonString: str, error: error, successHandler: { (json) -> Void in | ||
107 | + if !json["data"].boolValue{ | ||
108 | + appDelegate.window!.makeToast("短信发送失败:\(json["message"].stringValue)", duration: 1, position: CSToastPositionCenter) | ||
109 | + }else{ | ||
110 | + appDelegate.window!.makeToast("已发送短信,请注意查收", duration: 1, position: CSToastPositionCenter) | ||
111 | + } | ||
112 | + }, failHandler: { (er) -> Void in | ||
113 | + appDelegate.window!.makeToast("验证码发送失败") | ||
114 | + }) | ||
115 | + }) | ||
116 | + }else{ | ||
117 | + appDelegate.window!.makeToast("手机号格式不正确,请输入正确的手机号码", duration: 1, position: CSToastPositionCenter) | ||
118 | + } | ||
119 | + } | ||
120 | + | ||
121 | + | ||
122 | + // MARK: - 密码显示与否 | ||
123 | + @IBAction func passwordHiddenAction(_ sender: UIButton) { | ||
124 | + let selected = passwordHiddenBtn.isSelected | ||
125 | + passwordHiddenBtn.isSelected = !selected | ||
126 | + passwordTextField.isSecureTextEntry = selected | ||
127 | + } | ||
128 | + | ||
129 | + func isMobilePhoneNumber(_ mobile:String)->Bool { | ||
130 | + let str="^1[0-9]{10}" | ||
131 | + return NSPredicate(format: "SELF MATCHES %@", str).evaluate(with: mobile) | ||
132 | + } | ||
133 | + // MARK: - 注册按钮 | ||
134 | + @IBAction func registerAction(_ sender: UIButton) { | ||
135 | + SVProgressHUD.show(withStatus: "注册中...") | ||
136 | + let parameters:Dictionary<String,AnyObject>=[ | ||
137 | + "mobile": phoneTextField.text! as AnyObject,//注册手机号码 , | ||
138 | + "captcha": codeTextField.text! as AnyObject,//手机验证码 , | ||
139 | + "password": passwordTextField.text! as AnyObject]//设置的密码] | ||
140 | + HTTPServer.shared.parentRegister(parameters: parameters) { (str, error) in | ||
141 | + SVProgressHUD.dismiss() | ||
142 | + if error == nil{ | ||
143 | + if JSON.fromString(str)!["status"].intValue == 1{ | ||
144 | + httpJsonResule(jsonString: str, error: error, successHandler: { (json) -> Void in | ||
145 | + //登录并返回页面 | ||
146 | + let alertVC = UIAlertController(title: "提示", message: "您已注册成功", preferredStyle: UIAlertControllerStyle.alert) | ||
147 | + let backBtn = UIAlertAction(title: "返回", style: UIAlertActionStyle.default) { (action) in | ||
148 | + NotificationCenter.default.post(name: Notification.Name(rawValue: MyPhoneNumberNotification.getPhoneNumber), object: nil, userInfo: ["phoneNumber":self.phoneTextField.text!]) | ||
149 | + self.navigationController?.popViewController(animated: true) | ||
150 | + } | ||
151 | + let showBtn = UIAlertAction(title: "进入首页", style: UIAlertActionStyle.default) { (action) in | ||
152 | + //登录 | ||
153 | + SVProgressHUD.show(withStatus: "登录中...") | ||
154 | + HTTPServer.shared.login(completionHandler: { (str, error) in | ||
155 | + SVProgressHUD.dismiss() | ||
156 | + let json=JSON.fromString(str) | ||
157 | + if let ret=json{ | ||
158 | + let er=ret["error"].string | ||
159 | + if let errorStr=er{ | ||
160 | + let Strings=errorStr.components(separatedBy: ":") | ||
161 | + if Strings.count >= 2 { | ||
162 | + switch Strings[1] { | ||
163 | + //用户关联多个身份,请使用学事号登录:100 | ||
164 | + case "101"://用户认证身份不存在:101 | ||
165 | + appDelegate.window!.makeToast("用户认证身份不存在,请进行账号激活。") | ||
166 | + break | ||
167 | + //用户帐号或密码错误:102 | ||
168 | + case "103":// 用户不存在:103 | ||
169 | + appDelegate.window!.makeToast("该号码不存在,请联系客服400-826-2468") | ||
170 | + break | ||
171 | + default: | ||
172 | + appDelegate.window!.makeToast(errorStr) | ||
173 | + break | ||
174 | + } | ||
175 | + }else{ | ||
176 | + appDelegate.window!.makeToast(errorStr) | ||
177 | + } | ||
178 | + }else if ret["access_token"].stringValue != ""{ | ||
179 | + AccountManager.shared.setTokenInfo(tokenInfo: ret) | ||
180 | + AccountManager.shared.saveToken(tokenInfo: ret) | ||
181 | + AccountManager.shared.refreshUserInfo(self.phoneTextField.text!, completionHandler: { (finish) in | ||
182 | + if finish{ | ||
183 | + let ID=AccountManager.shared.rawUserInfo!.contentData()["userid"].stringValue | ||
184 | + YXMessageManager.share.loginWithYX(account: ID, token: ID.md5()) { (success) in | ||
185 | + SVProgressHUD.dismiss() | ||
186 | + if !success { | ||
187 | + AccountManager.shared.logOut() | ||
188 | + appDelegate.window!.makeToast("聊天服务登录失败,请连接网络重试") | ||
189 | + }else{ | ||
190 | + self.navigationController?.popToRootViewController(animated: true) | ||
191 | + //云信登录成功 | ||
192 | + self.dismiss(animated: true, completion: nil) | ||
193 | + } | ||
194 | + } | ||
195 | + }else{ | ||
196 | + appDelegate.window!.makeToast("身份获取失败") | ||
197 | + SVProgressHUD.dismiss() | ||
198 | + } | ||
199 | + }) | ||
200 | + }else{ | ||
201 | + SVProgressHUD.dismiss() | ||
202 | + appDelegate.window!.makeToast("登录失败,请稍后重试") | ||
203 | + } | ||
204 | + }else{ | ||
205 | + SVProgressHUD.dismiss() | ||
206 | + appDelegate.window!.makeToast("登录失败") | ||
207 | + } | ||
208 | + }, phone: self.phoneTextField.text!, password: self.passwordTextField.text!) | ||
209 | + } | ||
210 | + alertVC.addAction(backBtn) | ||
211 | + alertVC.addAction(showBtn) | ||
212 | + self.present(alertVC, animated: true, completion: nil) | ||
213 | + }, failHandler: { (error) -> Void in | ||
214 | + appDelegate.window!.makeToast("注册失败:\(error.localizedDescription)") | ||
215 | + }) | ||
216 | + }else{ | ||
217 | + appDelegate.window!.makeToast("注册失败:\(JSON.fromString(str)!["message"].stringValue)") | ||
218 | + } | ||
219 | + }else{ | ||
220 | + appDelegate.window!.makeToast("注册失败:\(String(describing: error))") | ||
221 | + } | ||
222 | + } | ||
223 | + } | ||
224 | + | ||
225 | + | ||
226 | + // MARK: - 登录页面跳转 | ||
227 | + | ||
228 | + @IBAction func loginAction(_ sender: UIButton) { | ||
229 | + self.navigationController?.popViewController(animated: true) | ||
230 | + } | ||
231 | + | ||
232 | + | ||
233 | + override func didReceiveMemoryWarning() { | ||
234 | + super.didReceiveMemoryWarning() | ||
235 | + // Dispose of any resources that can be recreated. | ||
236 | + } | ||
237 | + | ||
238 | + | ||
239 | + /* | ||
240 | + // MARK: - Navigation | ||
241 | + | ||
242 | + // In a storyboard-based application, you will often want to do a little preparation before navigation | ||
243 | + override func prepare(for segue: UIStoryboardSegue, sender: Any?) { | ||
244 | + // Get the new view controller using segue.destinationViewController. | ||
245 | + // Pass the selected object to the new view controller. | ||
246 | + } | ||
247 | + */ | ||
248 | + | ||
249 | +} |
ParentAssistant/ParentAssistant/Classes/controllers/my/Controller/LoginViewController.swift
@@ -1,188 +0,0 @@ | @@ -1,188 +0,0 @@ | ||
1 | -// | ||
2 | -// LoginViewController.swift | ||
3 | -// ParentAssistant | ||
4 | -// | ||
5 | -// Created by 葛建军 on 2018/3/12. | ||
6 | -// Copyright © 2018年 HANGZHOUTEAM. All rights reserved. | ||
7 | -// | ||
8 | - | ||
9 | -import UIKit | ||
10 | -//登录 | ||
11 | -class LoginViewController: UITableViewController,UITextFieldDelegate { | ||
12 | - | ||
13 | - | ||
14 | - @IBOutlet var rootTableView: UITableView! | ||
15 | - @IBOutlet var iconImageView: UIImageView!//系统头像 | ||
16 | - @IBOutlet var phoneTextField: UITextField!//电话号码 | ||
17 | - @IBOutlet var passwordTextField: UITextField!//密码 | ||
18 | - @IBOutlet var passwordHiddenBtn: UIButton!//查看密码按钮 | ||
19 | - @IBOutlet var loginBtn: UIButton! | ||
20 | - | ||
21 | - var keyShow = Bool() | ||
22 | - override func viewDidLoad() { | ||
23 | - super.viewDidLoad() | ||
24 | - | ||
25 | - layoutSubViews() | ||
26 | - | ||
27 | - self.phoneTextField.addTarget(self, action: #selector(textFieldChange), for: UIControlEvents.editingChanged) | ||
28 | - self.passwordTextField.addTarget(self, action: #selector(textFieldChange), for: UIControlEvents.editingChanged) | ||
29 | - | ||
30 | - } | ||
31 | - | ||
32 | - override func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) { | ||
33 | - | ||
34 | - phoneTextField.resignFirstResponder() | ||
35 | - passwordTextField.resignFirstResponder() | ||
36 | - } | ||
37 | - | ||
38 | - //监听输入长度,显示登录按钮状态 | ||
39 | - @objc func textFieldChange(){ | ||
40 | - if (phoneTextField.text?.count)!>0 && (passwordTextField.text?.count)!>0 { | ||
41 | - loginBtn.isUserInteractionEnabled = true | ||
42 | - loginBtn.backgroundColor = navigationColor | ||
43 | - }else{ | ||
44 | - loginBtn.isUserInteractionEnabled = false | ||
45 | - loginBtn.backgroundColor = UIColor.lightGray | ||
46 | - } | ||
47 | - } | ||
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 | - | ||
67 | - // MARK: - 设置控件属性 | ||
68 | - func layoutSubViews(){ | ||
69 | - self.navigationItem.title = "登录" | ||
70 | - | ||
71 | - passwordHiddenBtn.setImage(UIImage(named: "my_password_look"), for: UIControlState.selected) | ||
72 | - NotificationCenter.default.addObserver(self, selector: #selector(LoginViewController.keyboardWIllChange(_:)), name: NSNotification.Name.UIKeyboardWillChangeFrame, object: nil) | ||
73 | - NotificationCenter.default.addObserver(self, selector: #selector(LoginViewController.getPhoneNumber(_:)), name: NSNotification.Name(rawValue: MyPhoneNumberNotification.getPhoneNumber), object: nil) | ||
74 | - } | ||
75 | - // MARK: - 根据键盘调整高度 | ||
76 | - @objc func keyboardWIllChange(_ noti: Notification){ | ||
77 | - let userInfo:NSDictionary=noti.userInfo! as NSDictionary | ||
78 | - let endFrame=(userInfo[UIKeyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue | ||
79 | - | ||
80 | - let y = navigationBarHeight! + statusBarHeight | ||
81 | - if endFrame?.origin.y == getScreenHeight() { | ||
82 | - UIView.animate(withDuration: 0.5) { | ||
83 | - self.rootTableView.frame = CGRect.init(x: 0, y: y, width: screenWidth, height: screenHeight) | ||
84 | - } | ||
85 | - }else{ | ||
86 | - UIView.animate(withDuration: 0.5) { | ||
87 | - self.rootTableView.frame = CGRect.init(x: 0, y: 0, width: screenWidth, height: screenHeight) | ||
88 | - } | ||
89 | - } | ||
90 | - } | ||
91 | - @objc func getPhoneNumber(_ noti: Notification){ | ||
92 | - let userInfo:NSDictionary=noti.userInfo! as NSDictionary | ||
93 | - phoneTextField.text = userInfo["phoneNumber"] as? String | ||
94 | - } | ||
95 | - | ||
96 | - // MARK: - 密码显示与否 | ||
97 | - @IBAction func passwordHiddenAction(_ sender: UIButton) { | ||
98 | - let selected = passwordHiddenBtn.isSelected | ||
99 | - passwordHiddenBtn.isSelected = !selected | ||
100 | - passwordTextField.isSecureTextEntry = selected | ||
101 | - } | ||
102 | - // MARK: - UITextFieldDelegate | ||
103 | - func textFieldShouldReturn(_ textField: UITextField) -> Bool { | ||
104 | - return textField.resignFirstResponder() | ||
105 | - } | ||
106 | - func isMobilePhoneNumber(_ mobile:String)->Bool { | ||
107 | - let str="^1[0-9]{10}" | ||
108 | - return NSPredicate(format: "SELF MATCHES %@", str).evaluate(with: mobile) | ||
109 | - } | ||
110 | - // MARK: - 登录按钮 | ||
111 | - @IBAction func loginAction(_ sender: UIButton) { | ||
112 | - self.view.endEditing(true) | ||
113 | - SVProgressHUD.show(withStatus: "登录中...") | ||
114 | - HTTPServer.shared.login(completionHandler: { (str, error) in | ||
115 | - SVProgressHUD.dismiss() | ||
116 | - let json=JSON.fromString(str) | ||
117 | - if let ret=json{ | ||
118 | - let er=ret["error"].string | ||
119 | - if let errorStr=er{ | ||
120 | - let Strings=errorStr.components(separatedBy: ":") | ||
121 | - if Strings.count >= 2 { | ||
122 | - switch Strings[1] { | ||
123 | - //用户关联多个身份,请使用学事号登录:100 | ||
124 | - case "101"://用户认证身份不存在:101 | ||
125 | - appDelegate.window!.makeToast("用户认证身份不存在,请进行账号激活。") | ||
126 | - break | ||
127 | - //用户帐号或密码错误:102 | ||
128 | - case "103":// 用户不存在:103 | ||
129 | - appDelegate.window!.makeToast("该号码不存在,请联系客服400-826-2468") | ||
130 | - break | ||
131 | - default: | ||
132 | - appDelegate.window!.makeToast(errorStr) | ||
133 | - break | ||
134 | - } | ||
135 | - }else{ | ||
136 | - appDelegate.window!.makeToast(errorStr) | ||
137 | - } | ||
138 | - }else if ret["access_token"].stringValue != ""{ | ||
139 | - AccountManager.shared.setTokenInfo(tokenInfo: ret) | ||
140 | - AccountManager.shared.saveToken(tokenInfo: ret) | ||
141 | - AccountManager.shared.refreshUserInfo(self.phoneTextField.text!, completionHandler: { (finish) in | ||
142 | - if finish{ | ||
143 | - self.loadUserInfo() | ||
144 | - }else{ | ||
145 | - appDelegate.window!.makeToast("身份获取失败") | ||
146 | - SVProgressHUD.dismiss() | ||
147 | - } | ||
148 | - }) | ||
149 | - }else{ | ||
150 | - SVProgressHUD.dismiss() | ||
151 | - appDelegate.window!.makeToast("登录失败,请稍后重试") | ||
152 | - } | ||
153 | - }else{ | ||
154 | - SVProgressHUD.dismiss() | ||
155 | - appDelegate.window!.makeToast("登录失败") | ||
156 | - } | ||
157 | - }, phone: phoneTextField.text!, password: passwordTextField.text!) | ||
158 | - } | ||
159 | - func loadUserInfo(){ | ||
160 | - let ID=AccountManager.shared.rawUserInfo!.contentData()["userid"].stringValue | ||
161 | - YXMessageManager.share.loginWithYX(account: ID, token: ID.md5()) { (success) in | ||
162 | - SVProgressHUD.dismiss() | ||
163 | - if !success { | ||
164 | - AccountManager.shared.logOut() | ||
165 | - appDelegate.window!.makeToast("聊天服务登录失败,请连接网络重试") | ||
166 | - }else{ | ||
167 | - //云信登录成功 | ||
168 | - self.navigationController?.popToRootViewController(animated: true) | ||
169 | - } | ||
170 | - } | ||
171 | - } | ||
172 | - | ||
173 | - // MARK: - 注册页面跳转 | ||
174 | - @IBAction func registerAction(_ sender: UIButton) { | ||
175 | - let vc = Story.instantiateViewControllerWithIdentifier("RegisterViewController", storyName: "My") as! RegisterViewController | ||
176 | - self.navigationController?.pushViewController(vc, animated: true) | ||
177 | - } | ||
178 | - // MARK: - 找回密码 | ||
179 | - @IBAction func getPasswordAction(_ sender: UIButton) { | ||
180 | - let vc = Story.instantiateViewControllerWithIdentifier("GetBackPasswordViewController", storyName: "My") as! GetBackPasswordViewController | ||
181 | - self.navigationController?.pushViewController(vc, animated: true) | ||
182 | - } | ||
183 | - | ||
184 | - override func didReceiveMemoryWarning() { | ||
185 | - super.didReceiveMemoryWarning() | ||
186 | - } | ||
187 | - | ||
188 | -} |
ParentAssistant/ParentAssistant/Classes/controllers/my/Controller/My.storyboard
@@ -1,1750 +0,0 @@ | @@ -1,1750 +0,0 @@ | ||
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14109" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> | ||
3 | - <device id="retina4_7" orientation="portrait"> | ||
4 | - <adaptation id="fullscreen"/> | ||
5 | - </device> | ||
6 | - <dependencies> | ||
7 | - <deployment identifier="iOS"/> | ||
8 | - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/> | ||
9 | - <capability name="Aspect ratio constraints" minToolsVersion="5.1"/> | ||
10 | - <capability name="Constraints to layout margins" minToolsVersion="6.0"/> | ||
11 | - <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/> | ||
12 | - <capability name="Safe area layout guides" minToolsVersion="9.0"/> | ||
13 | - <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | ||
14 | - </dependencies> | ||
15 | - <scenes> | ||
16 | - <!--Register View Controller--> | ||
17 | - <scene sceneID="k1p-jr-UBw"> | ||
18 | - <objects> | ||
19 | - <tableViewController storyboardIdentifier="RegisterViewController" id="hjy-iv-Li4" customClass="RegisterViewController" customModule="ParentAssistant" customModuleProvider="target" sceneMemberID="viewController"> | ||
20 | - <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="Y23-T2-9DP"> | ||
21 | - <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
22 | - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
23 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
24 | - <sections> | ||
25 | - <tableViewSection id="9Ko-Lb-MGt"> | ||
26 | - <cells> | ||
27 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" rowHeight="166" id="VOi-K1-JFP"> | ||
28 | - <rect key="frame" x="0.0" y="0.0" width="375" height="166"/> | ||
29 | - <autoresizingMask key="autoresizingMask"/> | ||
30 | - <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="VOi-K1-JFP" id="eyO-DI-Ze1"> | ||
31 | - <rect key="frame" x="0.0" y="0.0" width="375" height="166"/> | ||
32 | - <autoresizingMask key="autoresizingMask"/> | ||
33 | - <subviews> | ||
34 | - <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="defphoto" translatesAutoresizingMaskIntoConstraints="NO" id="xkr-1t-VH1"> | ||
35 | - <rect key="frame" x="157" y="53" width="60" height="60"/> | ||
36 | - <constraints> | ||
37 | - <constraint firstAttribute="height" constant="60" id="U6L-t3-gkk"/> | ||
38 | - <constraint firstAttribute="width" constant="60" id="x1R-P8-ITq"/> | ||
39 | - </constraints> | ||
40 | - <userDefinedRuntimeAttributes> | ||
41 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
42 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
43 | - <integer key="value" value="30"/> | ||
44 | - </userDefinedRuntimeAttribute> | ||
45 | - </userDefinedRuntimeAttributes> | ||
46 | - </imageView> | ||
47 | - </subviews> | ||
48 | - <constraints> | ||
49 | - <constraint firstItem="xkr-1t-VH1" firstAttribute="centerX" secondItem="eyO-DI-Ze1" secondAttribute="centerX" id="83K-u2-UHU"/> | ||
50 | - <constraint firstItem="xkr-1t-VH1" firstAttribute="centerY" secondItem="eyO-DI-Ze1" secondAttribute="centerY" id="doo-AN-Tav"/> | ||
51 | - </constraints> | ||
52 | - </tableViewCellContentView> | ||
53 | - </tableViewCell> | ||
54 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="cRT-ym-o62"> | ||
55 | - <rect key="frame" x="0.0" y="166" width="375" height="44"/> | ||
56 | - <autoresizingMask key="autoresizingMask"/> | ||
57 | - <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="cRT-ym-o62" id="B1b-9e-Tdo"> | ||
58 | - <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> | ||
59 | - <autoresizingMask key="autoresizingMask"/> | ||
60 | - <subviews> | ||
61 | - <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入手机号" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="NtL-m0-FBa"> | ||
62 | - <rect key="frame" x="8" y="12.5" width="359" height="19"/> | ||
63 | - <nil key="textColor"/> | ||
64 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
65 | - <textInputTraits key="textInputTraits" keyboardType="numbersAndPunctuation" returnKeyType="done"/> | ||
66 | - <connections> | ||
67 | - <outlet property="delegate" destination="hjy-iv-Li4" id="tsv-bf-xfq"/> | ||
68 | - </connections> | ||
69 | - </textField> | ||
70 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eiC-if-MCe"> | ||
71 | - <rect key="frame" x="8" y="43" width="359" height="1"/> | ||
72 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
73 | - <constraints> | ||
74 | - <constraint firstAttribute="height" constant="1" id="oEn-dp-kdM"/> | ||
75 | - </constraints> | ||
76 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
77 | - <nil key="textColor"/> | ||
78 | - <nil key="highlightedColor"/> | ||
79 | - </label> | ||
80 | - </subviews> | ||
81 | - <constraints> | ||
82 | - <constraint firstAttribute="trailing" secondItem="eiC-if-MCe" secondAttribute="trailing" constant="8" id="8h6-ym-uS2"/> | ||
83 | - <constraint firstItem="NtL-m0-FBa" firstAttribute="centerY" secondItem="B1b-9e-Tdo" secondAttribute="centerY" id="BqN-ez-hl9"/> | ||
84 | - <constraint firstItem="eiC-if-MCe" firstAttribute="bottom" secondItem="B1b-9e-Tdo" secondAttribute="bottom" id="BsM-xG-LIP"/> | ||
85 | - <constraint firstItem="NtL-m0-FBa" firstAttribute="leading" secondItem="B1b-9e-Tdo" secondAttribute="leading" constant="8" id="CVb-B0-ise"/> | ||
86 | - <constraint firstItem="eiC-if-MCe" firstAttribute="leading" secondItem="B1b-9e-Tdo" secondAttribute="leading" constant="8" id="Pvs-ED-LNh"/> | ||
87 | - <constraint firstAttribute="trailing" secondItem="NtL-m0-FBa" secondAttribute="trailing" constant="8" id="j3J-ph-41h"/> | ||
88 | - </constraints> | ||
89 | - </tableViewCellContentView> | ||
90 | - </tableViewCell> | ||
91 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="YYN-hH-B6O"> | ||
92 | - <rect key="frame" x="0.0" y="210" width="375" height="44"/> | ||
93 | - <autoresizingMask key="autoresizingMask"/> | ||
94 | - <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="YYN-hH-B6O" id="u1s-vJ-wOd"> | ||
95 | - <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> | ||
96 | - <autoresizingMask key="autoresizingMask"/> | ||
97 | - <subviews> | ||
98 | - <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入验证码" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="dST-Mc-S49"> | ||
99 | - <rect key="frame" x="8" y="12.5" width="301" height="19"/> | ||
100 | - <nil key="textColor"/> | ||
101 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
102 | - <textInputTraits key="textInputTraits" returnKeyType="done"/> | ||
103 | - <connections> | ||
104 | - <outlet property="delegate" destination="hjy-iv-Li4" id="yBN-1g-9v0"/> | ||
105 | - </connections> | ||
106 | - </textField> | ||
107 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="e2r-r7-Pyq"> | ||
108 | - <rect key="frame" x="8" y="43" width="301" height="1"/> | ||
109 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
110 | - <constraints> | ||
111 | - <constraint firstAttribute="height" constant="1" id="GwK-OG-cFe"/> | ||
112 | - </constraints> | ||
113 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
114 | - <nil key="textColor"/> | ||
115 | - <nil key="highlightedColor"/> | ||
116 | - </label> | ||
117 | - <button opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ffT-Tz-Ydl"> | ||
118 | - <rect key="frame" x="317" y="7" width="50" height="30"/> | ||
119 | - <constraints> | ||
120 | - <constraint firstAttribute="height" constant="30" id="ZGc-dO-oQc"/> | ||
121 | - <constraint firstAttribute="width" constant="50" id="zHs-83-6ZB"/> | ||
122 | - </constraints> | ||
123 | - <state key="normal" title="获取"> | ||
124 | - <color key="titleColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/> | ||
125 | - </state> | ||
126 | - <userDefinedRuntimeAttributes> | ||
127 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
128 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
129 | - <integer key="value" value="5"/> | ||
130 | - </userDefinedRuntimeAttribute> | ||
131 | - </userDefinedRuntimeAttributes> | ||
132 | - <connections> | ||
133 | - <action selector="getCodeAction:" destination="hjy-iv-Li4" eventType="touchUpInside" id="NCb-Nm-Cj2"/> | ||
134 | - </connections> | ||
135 | - </button> | ||
136 | - </subviews> | ||
137 | - <constraints> | ||
138 | - <constraint firstItem="dST-Mc-S49" firstAttribute="centerY" secondItem="u1s-vJ-wOd" secondAttribute="centerY" id="BWb-4b-ndn"/> | ||
139 | - <constraint firstItem="dST-Mc-S49" firstAttribute="leading" secondItem="u1s-vJ-wOd" secondAttribute="leading" constant="8" id="RRc-Uh-KH1"/> | ||
140 | - <constraint firstItem="ffT-Tz-Ydl" firstAttribute="leading" secondItem="dST-Mc-S49" secondAttribute="trailing" constant="8" id="YNl-ac-uMS"/> | ||
141 | - <constraint firstItem="e2r-r7-Pyq" firstAttribute="bottom" secondItem="u1s-vJ-wOd" secondAttribute="bottom" id="haY-IO-EwV"/> | ||
142 | - <constraint firstItem="ffT-Tz-Ydl" firstAttribute="trailing" secondItem="u1s-vJ-wOd" secondAttribute="trailing" constant="-8" id="kWr-9x-EXC"/> | ||
143 | - <constraint firstItem="ffT-Tz-Ydl" firstAttribute="leading" secondItem="e2r-r7-Pyq" secondAttribute="trailing" constant="8" id="pfu-FN-5bi"/> | ||
144 | - <constraint firstItem="e2r-r7-Pyq" firstAttribute="leading" secondItem="u1s-vJ-wOd" secondAttribute="leading" constant="8" id="rmz-Mg-oto"/> | ||
145 | - <constraint firstItem="ffT-Tz-Ydl" firstAttribute="centerY" secondItem="u1s-vJ-wOd" secondAttribute="centerY" id="vaB-fa-im8"/> | ||
146 | - </constraints> | ||
147 | - </tableViewCellContentView> | ||
148 | - </tableViewCell> | ||
149 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="iYw-xo-BdJ"> | ||
150 | - <rect key="frame" x="0.0" y="254" width="375" height="44"/> | ||
151 | - <autoresizingMask key="autoresizingMask"/> | ||
152 | - <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="iYw-xo-BdJ" id="tDs-Cp-H8z"> | ||
153 | - <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> | ||
154 | - <autoresizingMask key="autoresizingMask"/> | ||
155 | - <subviews> | ||
156 | - <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请设置密码:6-16个字符" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="X93-bX-ic8"> | ||
157 | - <rect key="frame" x="8" y="12.5" width="301" height="19"/> | ||
158 | - <nil key="textColor"/> | ||
159 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
160 | - <textInputTraits key="textInputTraits" returnKeyType="done" secureTextEntry="YES"/> | ||
161 | - <connections> | ||
162 | - <outlet property="delegate" destination="hjy-iv-Li4" id="iCf-GX-Y2k"/> | ||
163 | - </connections> | ||
164 | - </textField> | ||
165 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4mi-QR-JYE"> | ||
166 | - <rect key="frame" x="8" y="43" width="301" height="1"/> | ||
167 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
168 | - <constraints> | ||
169 | - <constraint firstAttribute="height" constant="1" id="No4-Pv-LmL"/> | ||
170 | - <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="1" id="rq7-7P-XkV"/> | ||
171 | - </constraints> | ||
172 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
173 | - <nil key="textColor"/> | ||
174 | - <nil key="highlightedColor"/> | ||
175 | - </label> | ||
176 | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="jwV-U0-9x4"> | ||
177 | - <rect key="frame" x="317" y="7" width="50" height="30"/> | ||
178 | - <constraints> | ||
179 | - <constraint firstAttribute="height" constant="30" id="dii-X8-ZQm"/> | ||
180 | - <constraint firstAttribute="width" constant="50" id="kty-Wj-y4c"/> | ||
181 | - </constraints> | ||
182 | - <state key="normal" image="my_password_unlook"> | ||
183 | - <color key="titleColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/> | ||
184 | - </state> | ||
185 | - <userDefinedRuntimeAttributes> | ||
186 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
187 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
188 | - <integer key="value" value="5"/> | ||
189 | - </userDefinedRuntimeAttribute> | ||
190 | - </userDefinedRuntimeAttributes> | ||
191 | - <connections> | ||
192 | - <action selector="passwordHiddenAction:" destination="hjy-iv-Li4" eventType="touchUpInside" id="Iy0-VN-8SH"/> | ||
193 | - </connections> | ||
194 | - </button> | ||
195 | - </subviews> | ||
196 | - <constraints> | ||
197 | - <constraint firstAttribute="trailing" secondItem="jwV-U0-9x4" secondAttribute="trailing" constant="8" id="3ot-WL-E8E"/> | ||
198 | - <constraint firstItem="4mi-QR-JYE" firstAttribute="leading" secondItem="tDs-Cp-H8z" secondAttribute="leading" constant="8" id="B4H-FW-KPr"/> | ||
199 | - <constraint firstItem="jwV-U0-9x4" firstAttribute="leading" secondItem="X93-bX-ic8" secondAttribute="trailing" constant="8" id="Jje-Zx-hJw"/> | ||
200 | - <constraint firstItem="4mi-QR-JYE" firstAttribute="bottom" secondItem="tDs-Cp-H8z" secondAttribute="bottom" id="Kzh-6z-wXJ"/> | ||
201 | - <constraint firstItem="jwV-U0-9x4" firstAttribute="leading" secondItem="4mi-QR-JYE" secondAttribute="trailing" constant="8" id="fK5-le-dTK"/> | ||
202 | - <constraint firstItem="X93-bX-ic8" firstAttribute="leading" secondItem="tDs-Cp-H8z" secondAttribute="leading" constant="8" id="iqj-7v-XfS"/> | ||
203 | - <constraint firstItem="jwV-U0-9x4" firstAttribute="centerY" secondItem="tDs-Cp-H8z" secondAttribute="centerY" id="qjv-Nj-JFE"/> | ||
204 | - <constraint firstItem="X93-bX-ic8" firstAttribute="centerY" secondItem="tDs-Cp-H8z" secondAttribute="centerY" id="vFQ-E9-azc"/> | ||
205 | - </constraints> | ||
206 | - </tableViewCellContentView> | ||
207 | - </tableViewCell> | ||
208 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="dbD-E8-VUR"> | ||
209 | - <rect key="frame" x="0.0" y="298" width="375" height="44"/> | ||
210 | - <autoresizingMask key="autoresizingMask"/> | ||
211 | - <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="dbD-E8-VUR" id="j0F-mr-xia"> | ||
212 | - <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> | ||
213 | - <autoresizingMask key="autoresizingMask"/> | ||
214 | - <subviews> | ||
215 | - <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3sg-8Q-GYa"> | ||
216 | - <rect key="frame" x="8" y="2" width="359" height="40"/> | ||
217 | - <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/> | ||
218 | - <constraints> | ||
219 | - <constraint firstAttribute="height" constant="40" id="HmK-xk-zdX"/> | ||
220 | - </constraints> | ||
221 | - <state key="normal" title="注册"> | ||
222 | - <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
223 | - </state> | ||
224 | - <userDefinedRuntimeAttributes> | ||
225 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
226 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
227 | - <integer key="value" value="5"/> | ||
228 | - </userDefinedRuntimeAttribute> | ||
229 | - </userDefinedRuntimeAttributes> | ||
230 | - <connections> | ||
231 | - <action selector="registerAction:" destination="hjy-iv-Li4" eventType="touchUpInside" id="kvl-ow-qG1"/> | ||
232 | - </connections> | ||
233 | - </button> | ||
234 | - </subviews> | ||
235 | - <constraints> | ||
236 | - <constraint firstItem="3sg-8Q-GYa" firstAttribute="centerY" secondItem="j0F-mr-xia" secondAttribute="centerY" id="EGa-u0-Rkf"/> | ||
237 | - <constraint firstItem="3sg-8Q-GYa" firstAttribute="leading" secondItem="j0F-mr-xia" secondAttribute="leading" constant="8" id="JF1-0k-unY"/> | ||
238 | - <constraint firstAttribute="trailing" secondItem="3sg-8Q-GYa" secondAttribute="trailing" constant="8" id="fMu-e0-jqi"/> | ||
239 | - </constraints> | ||
240 | - </tableViewCellContentView> | ||
241 | - </tableViewCell> | ||
242 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="Xhd-iu-9ZF"> | ||
243 | - <rect key="frame" x="0.0" y="342" width="375" height="44"/> | ||
244 | - <autoresizingMask key="autoresizingMask"/> | ||
245 | - <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Xhd-iu-9ZF" id="P1c-Ns-CBR"> | ||
246 | - <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> | ||
247 | - <autoresizingMask key="autoresizingMask"/> | ||
248 | - <subviews> | ||
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> | ||
252 | - <constraint firstAttribute="height" constant="40" id="V6f-Da-UZO"/> | ||
253 | - <constraint firstAttribute="width" constant="50" id="bZt-RW-dVQ"/> | ||
254 | - </constraints> | ||
255 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
256 | - <state key="normal" title="登录"/> | ||
257 | - <connections> | ||
258 | - <action selector="loginAction:" destination="hjy-iv-Li4" eventType="touchUpInside" id="TZH-CI-fGT"/> | ||
259 | - </connections> | ||
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="86" height="17"/> | ||
263 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
264 | - <color key="textColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/> | ||
265 | - <nil key="highlightedColor"/> | ||
266 | - </label> | ||
267 | - </subviews> | ||
268 | - <constraints> | ||
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"/> | ||
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"/> | ||
273 | - </constraints> | ||
274 | - </tableViewCellContentView> | ||
275 | - </tableViewCell> | ||
276 | - </cells> | ||
277 | - </tableViewSection> | ||
278 | - </sections> | ||
279 | - <connections> | ||
280 | - <outlet property="dataSource" destination="hjy-iv-Li4" id="SNE-O9-Jad"/> | ||
281 | - <outlet property="delegate" destination="hjy-iv-Li4" id="Rq2-1Y-CcB"/> | ||
282 | - </connections> | ||
283 | - </tableView> | ||
284 | - <connections> | ||
285 | - <outlet property="codeTextField" destination="dST-Mc-S49" id="pto-dn-lfv"/> | ||
286 | - <outlet property="getCodeBtn" destination="ffT-Tz-Ydl" id="JSl-l8-R9J"/> | ||
287 | - <outlet property="passwordHiddenBtn" destination="jwV-U0-9x4" id="XKG-zZ-cdb"/> | ||
288 | - <outlet property="passwordTextField" destination="X93-bX-ic8" id="tr7-7m-wjD"/> | ||
289 | - <outlet property="personIconImageView" destination="xkr-1t-VH1" id="lD0-Mc-cWV"/> | ||
290 | - <outlet property="phoneTextField" destination="NtL-m0-FBa" id="5eT-Y9-r44"/> | ||
291 | - <outlet property="registerBtn" destination="3sg-8Q-GYa" id="tXa-Rx-YbN"/> | ||
292 | - <outlet property="rootTableView" destination="Y23-T2-9DP" id="zb5-8l-GNh"/> | ||
293 | - </connections> | ||
294 | - </tableViewController> | ||
295 | - <placeholder placeholderIdentifier="IBFirstResponder" id="JT6-75-zX0" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
296 | - </objects> | ||
297 | - <point key="canvasLocation" x="-1358" y="-116"/> | ||
298 | - </scene> | ||
299 | - <!--Get Back Password View Controller--> | ||
300 | - <scene sceneID="jZt-bZ-Rmk"> | ||
301 | - <objects> | ||
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"/> | ||
305 | - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
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> | ||
593 | - <connections> | ||
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"/> | ||
604 | - </connections> | ||
605 | - </tableViewController> | ||
606 | - <placeholder placeholderIdentifier="IBFirstResponder" id="joC-0t-hPT" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
607 | - </objects> | ||
608 | - <point key="canvasLocation" x="101.59999999999999" y="-116.49175412293854"/> | ||
609 | - </scene> | ||
610 | - <!--Login View Controller--> | ||
611 | - <scene sceneID="8aJ-um-q6h"> | ||
612 | - <objects> | ||
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"> | ||
615 | - <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
616 | - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
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> | ||
834 | - <connections> | ||
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"/> | ||
841 | - </connections> | ||
842 | - </tableViewController> | ||
843 | - <placeholder placeholderIdentifier="IBFirstResponder" id="wyB-cQ-KUr" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
844 | - </objects> | ||
845 | - <point key="canvasLocation" x="-618" y="-116"/> | ||
846 | - </scene> | ||
847 | - <!--个人资料--> | ||
848 | - <scene sceneID="krI-M9-eZ9"> | ||
849 | - <objects> | ||
850 | - <viewController storyboardIdentifier="CurrentInfoViewController" id="izC-aW-wN3" customClass="CurrentInfoViewController" customModule="ParentAssistant" customModuleProvider="target" sceneMemberID="viewController"> | ||
851 | - <view key="view" contentMode="scaleToFill" id="rOQ-72-S8U"> | ||
852 | - <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
853 | - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
854 | - <subviews> | ||
855 | - <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="my_headerView_backgroundimageView" translatesAutoresizingMaskIntoConstraints="NO" id="dBw-Ah-PdC"> | ||
856 | - <rect key="frame" x="0.0" y="0.0" width="375" height="194"/> | ||
857 | - <constraints> | ||
858 | - <constraint firstAttribute="width" secondItem="dBw-Ah-PdC" secondAttribute="height" multiplier="75:26" constant="-184.61538461538464" id="TPf-GA-x4f"/> | ||
859 | - </constraints> | ||
860 | - </imageView> | ||
861 | - <imageView clipsSubviews="YES" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="defphoto" translatesAutoresizingMaskIntoConstraints="NO" id="Zdk-Ss-GXj"> | ||
862 | - <rect key="frame" x="157" y="164" width="60" height="60"/> | ||
863 | - <gestureRecognizers/> | ||
864 | - <constraints> | ||
865 | - <constraint firstAttribute="width" constant="60" id="2d0-Gx-wf4"/> | ||
866 | - <constraint firstAttribute="width" secondItem="Zdk-Ss-GXj" secondAttribute="height" multiplier="1:1" id="Krh-qo-Nfu"/> | ||
867 | - </constraints> | ||
868 | - <userDefinedRuntimeAttributes> | ||
869 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
870 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
871 | - <integer key="value" value="30"/> | ||
872 | - </userDefinedRuntimeAttribute> | ||
873 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.borderWidth"> | ||
874 | - <integer key="value" value="1"/> | ||
875 | - </userDefinedRuntimeAttribute> | ||
876 | - <userDefinedRuntimeAttribute type="color" keyPath="layer.borderColor"> | ||
877 | - <color key="value" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> | ||
878 | - </userDefinedRuntimeAttribute> | ||
879 | - </userDefinedRuntimeAttributes> | ||
880 | - <connections> | ||
881 | - <outletCollection property="gestureRecognizers" destination="heA-fM-Hs8" appends="YES" id="3D0-Q5-RBY"/> | ||
882 | - </connections> | ||
883 | - </imageView> | ||
884 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="y6z-bD-r7F"> | ||
885 | - <rect key="frame" x="0.0" y="232" width="375" height="40"/> | ||
886 | - <subviews> | ||
887 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="马伯骞" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XwI-R6-0Wc"> | ||
888 | - <rect key="frame" x="0.0" y="0.0" width="375" height="20.5"/> | ||
889 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
890 | - <nil key="textColor"/> | ||
891 | - <nil key="highlightedColor"/> | ||
892 | - </label> | ||
893 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="账号:123456789" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="RyS-vM-5zL"> | ||
894 | - <rect key="frame" x="132.5" y="20.5" width="110" height="16"/> | ||
895 | - <fontDescription key="fontDescription" type="system" pointSize="13"/> | ||
896 | - <color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> | ||
897 | - <nil key="highlightedColor"/> | ||
898 | - </label> | ||
899 | - </subviews> | ||
900 | - <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | ||
901 | - <constraints> | ||
902 | - <constraint firstAttribute="trailing" secondItem="XwI-R6-0Wc" secondAttribute="trailing" id="1Va-2K-dkN"/> | ||
903 | - <constraint firstItem="XwI-R6-0Wc" firstAttribute="top" secondItem="y6z-bD-r7F" secondAttribute="top" id="529-n5-Doq"/> | ||
904 | - <constraint firstItem="RyS-vM-5zL" firstAttribute="top" secondItem="XwI-R6-0Wc" secondAttribute="bottom" id="F19-ix-OSN"/> | ||
905 | - <constraint firstItem="XwI-R6-0Wc" firstAttribute="leading" secondItem="y6z-bD-r7F" secondAttribute="leading" id="Uoq-O5-k4k"/> | ||
906 | - <constraint firstItem="RyS-vM-5zL" firstAttribute="centerX" secondItem="y6z-bD-r7F" secondAttribute="centerX" id="hpZ-0Z-EHk"/> | ||
907 | - <constraint firstAttribute="height" constant="40" id="mdX-xG-DIR"/> | ||
908 | - </constraints> | ||
909 | - </view> | ||
910 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Uth-8y-Dh9"> | ||
911 | - <rect key="frame" x="8" y="280" width="359" height="80"/> | ||
912 | - <subviews> | ||
913 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ihB-8i-MWP"> | ||
914 | - <rect key="frame" x="8" y="40" width="343" height="1"/> | ||
915 | - <color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/> | ||
916 | - <constraints> | ||
917 | - <constraint firstAttribute="height" constant="1" id="VD3-nv-neo"/> | ||
918 | - </constraints> | ||
919 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
920 | - <nil key="textColor"/> | ||
921 | - <nil key="highlightedColor"/> | ||
922 | - </label> | ||
923 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="用户名" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GyV-YU-DoH"> | ||
924 | - <rect key="frame" x="8" y="8" width="46" height="18"/> | ||
925 | - <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
926 | - <nil key="textColor"/> | ||
927 | - <nil key="highlightedColor"/> | ||
928 | - </label> | ||
929 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="性别" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="y6m-lj-t2V"> | ||
930 | - <rect key="frame" x="8" y="54" width="31" height="18"/> | ||
931 | - <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
932 | - <nil key="textColor"/> | ||
933 | - <nil key="highlightedColor"/> | ||
934 | - </label> | ||
935 | - <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="马伯骞" textAlignment="right" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="IMI-JO-boC"> | ||
936 | - <rect key="frame" x="62" y="8" width="289" height="18"/> | ||
937 | - <nil key="textColor"/> | ||
938 | - <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
939 | - <textInputTraits key="textInputTraits" returnKeyType="done"/> | ||
940 | - <connections> | ||
941 | - <outlet property="delegate" destination="izC-aW-wN3" id="hbx-jD-Mit"/> | ||
942 | - </connections> | ||
943 | - </textField> | ||
944 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="女" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="a0P-5N-IiP"> | ||
945 | - <rect key="frame" x="304.5" y="54" width="15.5" height="18"/> | ||
946 | - <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
947 | - <nil key="textColor"/> | ||
948 | - <nil key="highlightedColor"/> | ||
949 | - </label> | ||
950 | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="WZc-Xr-O2X"> | ||
951 | - <rect key="frame" x="325" y="50" width="24" height="24"/> | ||
952 | - <constraints> | ||
953 | - <constraint firstAttribute="width" secondItem="WZc-Xr-O2X" secondAttribute="height" multiplier="1:1" id="fe9-zN-kOK"/> | ||
954 | - <constraint firstAttribute="width" constant="24" id="iBQ-AE-XtE"/> | ||
955 | - </constraints> | ||
956 | - <state key="normal" image="my_currentInf_gendernoselected"/> | ||
957 | - <connections> | ||
958 | - <action selector="selectGirlAction:" destination="izC-aW-wN3" eventType="touchUpInside" id="Jtv-Rl-ArX"/> | ||
959 | - </connections> | ||
960 | - </button> | ||
961 | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dwh-Ac-2Me"> | ||
962 | - <rect key="frame" x="265.5" y="50" width="24" height="24"/> | ||
963 | - <constraints> | ||
964 | - <constraint firstAttribute="width" secondItem="dwh-Ac-2Me" secondAttribute="height" multiplier="1:1" id="05m-7S-UJX"/> | ||
965 | - <constraint firstAttribute="width" constant="24" id="QjG-x1-3VV"/> | ||
966 | - </constraints> | ||
967 | - <state key="normal" image="my_currentInf_gendernoselected"/> | ||
968 | - <connections> | ||
969 | - <action selector="selectBoyAction:" destination="izC-aW-wN3" eventType="touchUpInside" id="cst-Ok-qII"/> | ||
970 | - </connections> | ||
971 | - </button> | ||
972 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="男" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="12a-FL-Ibf"> | ||
973 | - <rect key="frame" x="245" y="54" width="15.5" height="18"/> | ||
974 | - <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
975 | - <nil key="textColor"/> | ||
976 | - <nil key="highlightedColor"/> | ||
977 | - </label> | ||
978 | - </subviews> | ||
979 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
980 | - <constraints> | ||
981 | - <constraint firstAttribute="trailing" secondItem="IMI-JO-boC" secondAttribute="trailing" constant="8" id="37N-xB-Mt3"/> | ||
982 | - <constraint firstItem="dwh-Ac-2Me" firstAttribute="leading" secondItem="12a-FL-Ibf" secondAttribute="trailing" constant="5" id="5Ba-Me-Bon"/> | ||
983 | - <constraint firstItem="a0P-5N-IiP" firstAttribute="leading" secondItem="dwh-Ac-2Me" secondAttribute="trailing" constant="15" id="A4J-Jt-vSg"/> | ||
984 | - <constraint firstAttribute="trailing" secondItem="ihB-8i-MWP" secondAttribute="trailing" constant="8" id="CA5-e0-Qt8"/> | ||
985 | - <constraint firstAttribute="bottom" secondItem="WZc-Xr-O2X" secondAttribute="bottom" constant="6" id="CFs-Hx-0M5"/> | ||
986 | - <constraint firstItem="IMI-JO-boC" firstAttribute="top" secondItem="Uth-8y-Dh9" secondAttribute="top" constant="8" id="FfE-Fp-ZKM"/> | ||
987 | - <constraint firstAttribute="bottom" secondItem="12a-FL-Ibf" secondAttribute="bottom" constant="8" id="WL8-z6-nWt"/> | ||
988 | - <constraint firstAttribute="height" constant="80" id="bAI-JN-7AY"/> | ||
989 | - <constraint firstAttribute="trailing" secondItem="WZc-Xr-O2X" secondAttribute="trailing" constant="10" id="cWg-To-gWg"/> | ||
990 | - <constraint firstItem="y6m-lj-t2V" firstAttribute="leading" secondItem="Uth-8y-Dh9" secondAttribute="leading" constant="8" id="ebc-qf-TI2"/> | ||
991 | - <constraint firstItem="GyV-YU-DoH" firstAttribute="leading" secondItem="Uth-8y-Dh9" secondAttribute="leading" constant="8" id="f8g-CU-aMV"/> | ||
992 | - <constraint firstItem="WZc-Xr-O2X" firstAttribute="leading" secondItem="a0P-5N-IiP" secondAttribute="trailing" constant="5" id="h0f-qb-svC"/> | ||
993 | - <constraint firstAttribute="bottom" secondItem="a0P-5N-IiP" secondAttribute="bottom" constant="8" id="ifX-Hr-13T"/> | ||
994 | - <constraint firstItem="ihB-8i-MWP" firstAttribute="centerY" secondItem="Uth-8y-Dh9" secondAttribute="centerY" id="jWx-kK-Lof"/> | ||
995 | - <constraint firstItem="IMI-JO-boC" firstAttribute="leading" secondItem="GyV-YU-DoH" secondAttribute="trailing" constant="8" id="kTr-BS-8wC"/> | ||
996 | - <constraint firstItem="ihB-8i-MWP" firstAttribute="leading" secondItem="Uth-8y-Dh9" secondAttribute="leading" constant="8" id="ndV-6X-frb"/> | ||
997 | - <constraint firstAttribute="bottom" secondItem="dwh-Ac-2Me" secondAttribute="bottom" constant="6" id="uoh-ZV-eU6"/> | ||
998 | - <constraint firstItem="dwh-Ac-2Me" firstAttribute="width" secondItem="dwh-Ac-2Me" secondAttribute="height" multiplier="1:1" id="vyq-Tc-IZI"/> | ||
999 | - <constraint firstItem="GyV-YU-DoH" firstAttribute="top" secondItem="Uth-8y-Dh9" secondAttribute="top" constant="8" id="yxh-EF-fd6"/> | ||
1000 | - <constraint firstAttribute="bottom" secondItem="y6m-lj-t2V" secondAttribute="bottom" constant="8" id="z4r-sm-OVi"/> | ||
1001 | - </constraints> | ||
1002 | - <userDefinedRuntimeAttributes> | ||
1003 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
1004 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
1005 | - <integer key="value" value="5"/> | ||
1006 | - </userDefinedRuntimeAttribute> | ||
1007 | - </userDefinedRuntimeAttributes> | ||
1008 | - </view> | ||
1009 | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BJp-u6-ttX"> | ||
1010 | - <rect key="frame" x="8" y="611" width="359" height="40"/> | ||
1011 | - <color key="backgroundColor" red="0.42745098039215684" green="0.60784313725490191" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
1012 | - <constraints> | ||
1013 | - <constraint firstAttribute="height" constant="40" id="0f5-sE-CbZ"/> | ||
1014 | - </constraints> | ||
1015 | - <state key="normal" title="确认"> | ||
1016 | - <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1017 | - </state> | ||
1018 | - <userDefinedRuntimeAttributes> | ||
1019 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
1020 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
1021 | - <integer key="value" value="5"/> | ||
1022 | - </userDefinedRuntimeAttribute> | ||
1023 | - </userDefinedRuntimeAttributes> | ||
1024 | - <connections> | ||
1025 | - <action selector="changeGenderAction:" destination="izC-aW-wN3" eventType="touchUpInside" id="ReC-zD-y7C"/> | ||
1026 | - </connections> | ||
1027 | - </button> | ||
1028 | - </subviews> | ||
1029 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
1030 | - <constraints> | ||
1031 | - <constraint firstItem="Uth-8y-Dh9" firstAttribute="leading" secondItem="HHJ-KZ-gB7" secondAttribute="leading" constant="8" id="0Vf-UT-hQZ"/> | ||
1032 | - <constraint firstItem="dBw-Ah-PdC" firstAttribute="top" secondItem="HHJ-KZ-gB7" secondAttribute="top" constant="-64" id="49z-d5-WPu"/> | ||
1033 | - <constraint firstItem="HHJ-KZ-gB7" firstAttribute="bottom" secondItem="BJp-u6-ttX" secondAttribute="bottom" constant="16" id="7qv-Ny-9qi"/> | ||
1034 | - <constraint firstItem="y6z-bD-r7F" firstAttribute="leading" secondItem="HHJ-KZ-gB7" secondAttribute="leading" id="8g2-dB-0cz"/> | ||
1035 | - <constraint firstItem="BJp-u6-ttX" firstAttribute="leading" secondItem="HHJ-KZ-gB7" secondAttribute="leading" constant="8" id="A7f-sq-CM7"/> | ||
1036 | - <constraint firstItem="y6z-bD-r7F" firstAttribute="top" secondItem="Zdk-Ss-GXj" secondAttribute="bottom" constant="8" id="Un1-8h-G76"/> | ||
1037 | - <constraint firstItem="dBw-Ah-PdC" firstAttribute="trailing" secondItem="HHJ-KZ-gB7" secondAttribute="trailing" id="VW8-Hx-07C"/> | ||
1038 | - <constraint firstItem="Zdk-Ss-GXj" firstAttribute="centerX" secondItem="HHJ-KZ-gB7" secondAttribute="centerX" id="bK7-CE-DtX"/> | ||
1039 | - <constraint firstItem="HHJ-KZ-gB7" firstAttribute="trailing" secondItem="BJp-u6-ttX" secondAttribute="trailing" constant="8" id="cPz-Ue-Kf3"/> | ||
1040 | - <constraint firstItem="Zdk-Ss-GXj" firstAttribute="width" secondItem="Zdk-Ss-GXj" secondAttribute="height" multiplier="1:1" id="efb-BA-jZu"/> | ||
1041 | - <constraint firstItem="HHJ-KZ-gB7" firstAttribute="trailing" secondItem="Uth-8y-Dh9" secondAttribute="trailing" constant="8" id="neg-HM-qG9"/> | ||
1042 | - <constraint firstItem="Zdk-Ss-GXj" firstAttribute="top" secondItem="dBw-Ah-PdC" secondAttribute="bottom" constant="-30" id="oan-I2-Xib"/> | ||
1043 | - <constraint firstItem="dBw-Ah-PdC" firstAttribute="leading" secondItem="HHJ-KZ-gB7" secondAttribute="leading" id="rhv-XX-lHB"/> | ||
1044 | - <constraint firstItem="y6z-bD-r7F" firstAttribute="trailing" secondItem="HHJ-KZ-gB7" secondAttribute="trailing" id="uAc-ym-YEj"/> | ||
1045 | - <constraint firstItem="Uth-8y-Dh9" firstAttribute="top" secondItem="y6z-bD-r7F" secondAttribute="bottom" constant="8" id="vF2-yj-kfG"/> | ||
1046 | - </constraints> | ||
1047 | - <viewLayoutGuide key="safeArea" id="HHJ-KZ-gB7"/> | ||
1048 | - </view> | ||
1049 | - <navigationItem key="navigationItem" title="个人资料" id="Xqo-Nx-wi9"/> | ||
1050 | - <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/> | ||
1051 | - <connections> | ||
1052 | - <outlet property="boyBtn" destination="dwh-Ac-2Me" id="T5B-7R-SeC"/> | ||
1053 | - <outlet property="girlBtn" destination="WZc-Xr-O2X" id="z0Y-xC-hLK"/> | ||
1054 | - <outlet property="nameTextField" destination="IMI-JO-boC" id="tBm-Ie-ik9"/> | ||
1055 | - <outlet property="personIconImageView" destination="Zdk-Ss-GXj" id="Qkw-c1-xoP"/> | ||
1056 | - <outlet property="personNameLabel" destination="XwI-R6-0Wc" id="zTy-Pi-LuE"/> | ||
1057 | - <outlet property="personNumberLabel" destination="RyS-vM-5zL" id="6pV-cq-zlw"/> | ||
1058 | - </connections> | ||
1059 | - </viewController> | ||
1060 | - <placeholder placeholderIdentifier="IBFirstResponder" id="Gwl-3a-Tt0" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
1061 | - <tapGestureRecognizer id="heA-fM-Hs8"> | ||
1062 | - <connections> | ||
1063 | - <action selector="changePhotoAction:" destination="izC-aW-wN3" id="1bY-cB-CFj"/> | ||
1064 | - </connections> | ||
1065 | - </tapGestureRecognizer> | ||
1066 | - </objects> | ||
1067 | - <point key="canvasLocation" x="1606" y="-72"/> | ||
1068 | - </scene> | ||
1069 | - <!--消息--> | ||
1070 | - <scene sceneID="3fz-6T-ky5"> | ||
1071 | - <objects> | ||
1072 | - <viewController storyboardIdentifier="MessageViewController" id="EKJ-IA-6m0" customClass="MessageViewController" customModule="ParentAssistant" customModuleProvider="target" sceneMemberID="viewController"> | ||
1073 | - <view key="view" contentMode="scaleToFill" id="dEM-fo-n7U"> | ||
1074 | - <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
1075 | - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
1076 | - <subviews> | ||
1077 | - <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="QSs-3l-Quq"> | ||
1078 | - <rect key="frame" x="0.0" y="64" width="375" height="603"/> | ||
1079 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
1080 | - <prototypes> | ||
1081 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="MessageTableViewCell" rowHeight="125" id="u5z-pq-5o3" customClass="MessageTableViewCell" customModule="ParentAssistant" customModuleProvider="target"> | ||
1082 | - <rect key="frame" x="0.0" y="28" width="375" height="125"/> | ||
1083 | - <autoresizingMask key="autoresizingMask"/> | ||
1084 | - <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="u5z-pq-5o3" id="s5j-A6-UrJ"> | ||
1085 | - <rect key="frame" x="0.0" y="0.0" width="375" height="125"/> | ||
1086 | - <autoresizingMask key="autoresizingMask"/> | ||
1087 | - <subviews> | ||
1088 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="今天 3月7日" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0J4-ZY-CLV"> | ||
1089 | - <rect key="frame" x="8" y="8" width="83" height="21"/> | ||
1090 | - <constraints> | ||
1091 | - <constraint firstAttribute="height" constant="21" id="O8f-YB-ASc"/> | ||
1092 | - </constraints> | ||
1093 | - <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
1094 | - <nil key="textColor"/> | ||
1095 | - <nil key="highlightedColor"/> | ||
1096 | - </label> | ||
1097 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eFM-zy-Ic4"> | ||
1098 | - <rect key="frame" x="8" y="37" width="359" height="80"/> | ||
1099 | - <subviews> | ||
1100 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="您已于2018年3月7日14:00您的孩子李晓明成功订购2018您5月-6月平安短信包,如有疑问请致电10086" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZQc-LK-RdK"> | ||
1101 | - <rect key="frame" x="8" y="0.0" width="343" height="80"/> | ||
1102 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1103 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
1104 | - <color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> | ||
1105 | - <nil key="highlightedColor"/> | ||
1106 | - </label> | ||
1107 | - </subviews> | ||
1108 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1109 | - <constraints> | ||
1110 | - <constraint firstAttribute="bottom" secondItem="ZQc-LK-RdK" secondAttribute="bottom" id="ALa-GI-FLw"/> | ||
1111 | - <constraint firstItem="ZQc-LK-RdK" firstAttribute="top" secondItem="eFM-zy-Ic4" secondAttribute="top" id="era-dN-Q15"/> | ||
1112 | - <constraint firstAttribute="trailing" secondItem="ZQc-LK-RdK" secondAttribute="trailing" constant="8" id="jLo-PI-RaR"/> | ||
1113 | - <constraint firstItem="ZQc-LK-RdK" firstAttribute="leading" secondItem="eFM-zy-Ic4" secondAttribute="leading" constant="8" id="kz1-1v-hmE"/> | ||
1114 | - </constraints> | ||
1115 | - </view> | ||
1116 | - </subviews> | ||
1117 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
1118 | - <constraints> | ||
1119 | - <constraint firstAttribute="trailing" secondItem="eFM-zy-Ic4" secondAttribute="trailing" constant="8" id="J1Y-o5-GYQ"/> | ||
1120 | - <constraint firstItem="0J4-ZY-CLV" firstAttribute="leading" secondItem="s5j-A6-UrJ" secondAttribute="leading" constant="8" id="PwQ-Ps-FO8"/> | ||
1121 | - <constraint firstAttribute="bottom" secondItem="eFM-zy-Ic4" secondAttribute="bottom" constant="8" id="U7G-jU-1tP"/> | ||
1122 | - <constraint firstItem="0J4-ZY-CLV" firstAttribute="top" secondItem="s5j-A6-UrJ" secondAttribute="top" constant="8" id="a5p-YP-ENj"/> | ||
1123 | - <constraint firstItem="eFM-zy-Ic4" firstAttribute="leading" secondItem="s5j-A6-UrJ" secondAttribute="leading" constant="8" id="mcV-kV-JKh"/> | ||
1124 | - <constraint firstItem="eFM-zy-Ic4" firstAttribute="top" secondItem="0J4-ZY-CLV" secondAttribute="bottom" constant="8" id="nCo-so-ayI"/> | ||
1125 | - </constraints> | ||
1126 | - </tableViewCellContentView> | ||
1127 | - <connections> | ||
1128 | - <outlet property="contentLabel" destination="ZQc-LK-RdK" id="8iG-k9-H51"/> | ||
1129 | - <outlet property="dateLabel" destination="0J4-ZY-CLV" id="kHK-Zh-a3X"/> | ||
1130 | - </connections> | ||
1131 | - </tableViewCell> | ||
1132 | - </prototypes> | ||
1133 | - <connections> | ||
1134 | - <outlet property="dataSource" destination="EKJ-IA-6m0" id="fsv-nj-IA7"/> | ||
1135 | - <outlet property="delegate" destination="EKJ-IA-6m0" id="ZA1-g1-8Fn"/> | ||
1136 | - </connections> | ||
1137 | - </tableView> | ||
1138 | - </subviews> | ||
1139 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1140 | - <constraints> | ||
1141 | - <constraint firstItem="QSs-3l-Quq" firstAttribute="bottom" secondItem="BCb-p1-9Jw" secondAttribute="bottom" id="1eD-Fp-noZ"/> | ||
1142 | - <constraint firstItem="QSs-3l-Quq" firstAttribute="top" secondItem="BCb-p1-9Jw" secondAttribute="top" id="TGP-Gm-Hrv"/> | ||
1143 | - <constraint firstItem="QSs-3l-Quq" firstAttribute="leading" secondItem="BCb-p1-9Jw" secondAttribute="leading" id="khp-yE-rim"/> | ||
1144 | - <constraint firstItem="QSs-3l-Quq" firstAttribute="trailing" secondItem="BCb-p1-9Jw" secondAttribute="trailing" id="zIk-oq-lsL"/> | ||
1145 | - </constraints> | ||
1146 | - <viewLayoutGuide key="safeArea" id="BCb-p1-9Jw"/> | ||
1147 | - </view> | ||
1148 | - <navigationItem key="navigationItem" title="消息" id="VoN-Zn-E7o"/> | ||
1149 | - <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/> | ||
1150 | - <connections> | ||
1151 | - <outlet property="messageTableView" destination="QSs-3l-Quq" id="6Ma-JA-qjQ"/> | ||
1152 | - </connections> | ||
1153 | - </viewController> | ||
1154 | - <placeholder placeholderIdentifier="IBFirstResponder" id="8Mf-Pb-d3H" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
1155 | - </objects> | ||
1156 | - <point key="canvasLocation" x="-1308" y="591.45427286356824"/> | ||
1157 | - </scene> | ||
1158 | - <!--订购详情--> | ||
1159 | - <scene sceneID="jks-6y-zvf"> | ||
1160 | - <objects> | ||
1161 | - <viewController storyboardIdentifier="OrderDetailViewController" id="T2s-vC-r3O" customClass="OrderDetailViewController" customModule="ParentAssistant" customModuleProvider="target" sceneMemberID="viewController"> | ||
1162 | - <view key="view" contentMode="scaleToFill" id="SK2-3t-ifj"> | ||
1163 | - <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
1164 | - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
1165 | - <subviews> | ||
1166 | - <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="IPW-Bu-bgJ"> | ||
1167 | - <rect key="frame" x="0.0" y="64" width="375" height="603"/> | ||
1168 | - <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | ||
1169 | - <prototypes> | ||
1170 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="OrderDetailTableViewCell" rowHeight="258" id="66O-gu-yCM" customClass="OrderDetailTableViewCell" customModule="ParentAssistant" customModuleProvider="target"> | ||
1171 | - <rect key="frame" x="0.0" y="28" width="375" height="258"/> | ||
1172 | - <autoresizingMask key="autoresizingMask"/> | ||
1173 | - <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="66O-gu-yCM" id="YtF-a4-tlb"> | ||
1174 | - <rect key="frame" x="0.0" y="0.0" width="375" height="258"/> | ||
1175 | - <autoresizingMask key="autoresizingMask"/> | ||
1176 | - <subviews> | ||
1177 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="3月7日" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="shu-Bf-tj9"> | ||
1178 | - <rect key="frame" x="16" y="8" width="343" height="21"/> | ||
1179 | - <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
1180 | - <nil key="textColor"/> | ||
1181 | - <nil key="highlightedColor"/> | ||
1182 | - </label> | ||
1183 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="mAX-5m-IRU"> | ||
1184 | - <rect key="frame" x="16" y="37" width="343" height="221"/> | ||
1185 | - <subviews> | ||
1186 | - <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="jQT-Gw-6Pc"> | ||
1187 | - <rect key="frame" x="0.0" y="0.0" width="343" height="221"/> | ||
1188 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1189 | - <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="0.0" minimumInteritemSpacing="0.0" id="yXf-lE-cFR"> | ||
1190 | - <size key="itemSize" width="117" height="193"/> | ||
1191 | - <size key="headerReferenceSize" width="0.0" height="0.0"/> | ||
1192 | - <size key="footerReferenceSize" width="0.0" height="0.0"/> | ||
1193 | - <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/> | ||
1194 | - </collectionViewFlowLayout> | ||
1195 | - <cells> | ||
1196 | - <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="OrderDetailCollectionViewCell" id="tMA-SJ-PAF" customClass="OrderDetailCollectionViewCell" customModule="ParentAssistant" customModuleProvider="target"> | ||
1197 | - <rect key="frame" x="0.0" y="0.0" width="117" height="193"/> | ||
1198 | - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | ||
1199 | - <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO"> | ||
1200 | - <rect key="frame" x="0.0" y="0.0" width="117" height="193"/> | ||
1201 | - <autoresizingMask key="autoresizingMask"/> | ||
1202 | - <subviews> | ||
1203 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wo3-ux-AP3"> | ||
1204 | - <rect key="frame" x="8" y="16" width="101" height="161"/> | ||
1205 | - <subviews> | ||
1206 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="puB-7U-5M7"> | ||
1207 | - <rect key="frame" x="0.0" y="0.0" width="101" height="161"/> | ||
1208 | - <subviews> | ||
1209 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2018/3-2018/7" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9Kj-Sb-Gta"> | ||
1210 | - <rect key="frame" x="0.0" y="4" width="101" height="15"/> | ||
1211 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1212 | - <constraints> | ||
1213 | - <constraint firstAttribute="height" constant="15" id="o2J-4q-TQe"/> | ||
1214 | - </constraints> | ||
1215 | - <fontDescription key="fontDescription" type="system" pointSize="11"/> | ||
1216 | - <color key="textColor" red="0.65884900089999998" green="0.7812994123" blue="0.99654072520000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
1217 | - <nil key="highlightedColor"/> | ||
1218 | - </label> | ||
1219 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="平安短信包" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6HS-im-8JP"> | ||
1220 | - <rect key="frame" x="0.0" y="23" width="101" height="15"/> | ||
1221 | - <constraints> | ||
1222 | - <constraint firstAttribute="height" constant="15" id="oiv-LY-dof"/> | ||
1223 | - </constraints> | ||
1224 | - <fontDescription key="fontDescription" type="system" pointSize="12"/> | ||
1225 | - <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1226 | - <nil key="highlightedColor"/> | ||
1227 | - </label> | ||
1228 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yvD-Bw-gtX"> | ||
1229 | - <rect key="frame" x="0.0" y="146" width="101" height="15"/> | ||
1230 | - <subviews> | ||
1231 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="订购成功" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ofx-WR-e6I"> | ||
1232 | - <rect key="frame" x="33.5" y="0.0" width="67.5" height="15"/> | ||
1233 | - <fontDescription key="fontDescription" type="system" pointSize="13"/> | ||
1234 | - <color key="textColor" red="0.0" green="1" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> | ||
1235 | - <nil key="highlightedColor"/> | ||
1236 | - </label> | ||
1237 | - <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="my_headerView_backgroundimageView" translatesAutoresizingMaskIntoConstraints="NO" id="z7A-7I-LBj"> | ||
1238 | - <rect key="frame" x="12" y="1" width="13" height="13"/> | ||
1239 | - <constraints> | ||
1240 | - <constraint firstAttribute="width" secondItem="z7A-7I-LBj" secondAttribute="height" multiplier="1:1" id="lok-9J-ch0"/> | ||
1241 | - </constraints> | ||
1242 | - </imageView> | ||
1243 | - </subviews> | ||
1244 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1245 | - <constraints> | ||
1246 | - <constraint firstAttribute="bottom" secondItem="z7A-7I-LBj" secondAttribute="bottom" constant="1" id="6uK-dW-yVi"/> | ||
1247 | - <constraint firstAttribute="bottom" secondItem="Ofx-WR-e6I" secondAttribute="bottom" id="72K-oX-A7B"/> | ||
1248 | - <constraint firstItem="Ofx-WR-e6I" firstAttribute="top" secondItem="yvD-Bw-gtX" secondAttribute="top" id="Avg-ga-081"/> | ||
1249 | - <constraint firstItem="z7A-7I-LBj" firstAttribute="top" secondItem="yvD-Bw-gtX" secondAttribute="top" constant="1" id="FHm-rJ-oGl"/> | ||
1250 | - <constraint firstAttribute="height" constant="15" id="Hr2-kD-gTk"/> | ||
1251 | - <constraint firstItem="Ofx-WR-e6I" firstAttribute="leading" secondItem="z7A-7I-LBj" secondAttribute="trailing" constant="8" id="gzC-Qa-uzS"/> | ||
1252 | - <constraint firstAttribute="trailing" secondItem="Ofx-WR-e6I" secondAttribute="trailing" id="i7H-Li-eff"/> | ||
1253 | - <constraint firstItem="Ofx-WR-e6I" firstAttribute="width" secondItem="yvD-Bw-gtX" secondAttribute="width" multiplier="2:3" id="qFO-2s-NAr"/> | ||
1254 | - </constraints> | ||
1255 | - </view> | ||
1256 | - <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="my_order_message" translatesAutoresizingMaskIntoConstraints="NO" id="dUK-vU-KZm"> | ||
1257 | - <rect key="frame" x="-18.5" y="42" width="138" height="96"/> | ||
1258 | - <constraints> | ||
1259 | - <constraint firstAttribute="width" secondItem="dUK-vU-KZm" secondAttribute="height" multiplier="105:73" id="km8-lQ-Fy8"/> | ||
1260 | - </constraints> | ||
1261 | - </imageView> | ||
1262 | - </subviews> | ||
1263 | - <color key="backgroundColor" red="0.61176470588235299" green="0.74901960784313726" blue="0.99215686274509807" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
1264 | - <constraints> | ||
1265 | - <constraint firstAttribute="trailing" secondItem="6HS-im-8JP" secondAttribute="trailing" id="1mx-Xa-sdD"/> | ||
1266 | - <constraint firstItem="9Kj-Sb-Gta" firstAttribute="leading" secondItem="puB-7U-5M7" secondAttribute="leading" id="6Nm-pg-IaQ"/> | ||
1267 | - <constraint firstItem="6HS-im-8JP" firstAttribute="leading" secondItem="puB-7U-5M7" secondAttribute="leading" id="6xI-5T-riH"/> | ||
1268 | - <constraint firstItem="dUK-vU-KZm" firstAttribute="centerX" secondItem="puB-7U-5M7" secondAttribute="centerX" id="70I-VC-zK8"/> | ||
1269 | - <constraint firstAttribute="trailing" secondItem="yvD-Bw-gtX" secondAttribute="trailing" id="Chw-NL-8yH"/> | ||
1270 | - <constraint firstAttribute="bottom" secondItem="yvD-Bw-gtX" secondAttribute="bottom" id="Hfw-jV-mxI"/> | ||
1271 | - <constraint firstItem="9Kj-Sb-Gta" firstAttribute="top" secondItem="puB-7U-5M7" secondAttribute="top" constant="4" id="dx6-xH-dTG"/> | ||
1272 | - <constraint firstItem="yvD-Bw-gtX" firstAttribute="top" secondItem="dUK-vU-KZm" secondAttribute="bottom" constant="8" id="gjV-Vr-cjP"/> | ||
1273 | - <constraint firstItem="6HS-im-8JP" firstAttribute="top" secondItem="9Kj-Sb-Gta" secondAttribute="bottom" constant="4" id="kNF-Qq-xzV"/> | ||
1274 | - <constraint firstItem="dUK-vU-KZm" firstAttribute="top" secondItem="6HS-im-8JP" secondAttribute="bottom" constant="4" id="lkI-fh-goP"/> | ||
1275 | - <constraint firstAttribute="trailing" secondItem="9Kj-Sb-Gta" secondAttribute="trailing" id="wF7-JS-fvF"/> | ||
1276 | - <constraint firstItem="yvD-Bw-gtX" firstAttribute="leading" secondItem="puB-7U-5M7" secondAttribute="leading" id="xig-e0-cCk"/> | ||
1277 | - </constraints> | ||
1278 | - <userDefinedRuntimeAttributes> | ||
1279 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
1280 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
1281 | - <integer key="value" value="10"/> | ||
1282 | - </userDefinedRuntimeAttribute> | ||
1283 | - </userDefinedRuntimeAttributes> | ||
1284 | - </view> | ||
1285 | - </subviews> | ||
1286 | - <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | ||
1287 | - <constraints> | ||
1288 | - <constraint firstItem="puB-7U-5M7" firstAttribute="leading" secondItem="wo3-ux-AP3" secondAttribute="leading" id="BhB-ND-9Rb"/> | ||
1289 | - <constraint firstItem="puB-7U-5M7" firstAttribute="top" secondItem="wo3-ux-AP3" secondAttribute="top" id="git-QL-3kZ"/> | ||
1290 | - <constraint firstAttribute="trailing" secondItem="puB-7U-5M7" secondAttribute="trailing" id="xcY-6u-ggq"/> | ||
1291 | - <constraint firstAttribute="bottom" secondItem="puB-7U-5M7" secondAttribute="bottom" id="xgW-8y-o0V"/> | ||
1292 | - </constraints> | ||
1293 | - </view> | ||
1294 | - </subviews> | ||
1295 | - </view> | ||
1296 | - <constraints> | ||
1297 | - <constraint firstItem="wo3-ux-AP3" firstAttribute="top" secondItem="tMA-SJ-PAF" secondAttribute="top" constant="16" id="BDf-P4-moY"/> | ||
1298 | - <constraint firstAttribute="trailing" secondItem="wo3-ux-AP3" secondAttribute="trailing" constant="8" id="V21-JX-sUs"/> | ||
1299 | - <constraint firstAttribute="bottom" secondItem="wo3-ux-AP3" secondAttribute="bottom" constant="16" id="Zld-3l-mFR"/> | ||
1300 | - <constraint firstItem="wo3-ux-AP3" firstAttribute="leading" secondItem="tMA-SJ-PAF" secondAttribute="leading" constant="8" id="vGu-NO-mPw"/> | ||
1301 | - </constraints> | ||
1302 | - <userDefinedRuntimeAttributes> | ||
1303 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
1304 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
1305 | - <integer key="value" value="10"/> | ||
1306 | - </userDefinedRuntimeAttribute> | ||
1307 | - </userDefinedRuntimeAttributes> | ||
1308 | - <connections> | ||
1309 | - <outlet property="backGroundView" destination="puB-7U-5M7" id="Hc2-lb-85i"/> | ||
1310 | - <outlet property="orderIconImage" destination="dUK-vU-KZm" id="CqD-iV-4rO"/> | ||
1311 | - <outlet property="orderNameLabel" destination="6HS-im-8JP" id="4lr-AO-uyt"/> | ||
1312 | - <outlet property="orderStateImage" destination="z7A-7I-LBj" id="3O3-c6-P0b"/> | ||
1313 | - <outlet property="orderStateLabel" destination="Ofx-WR-e6I" id="zYW-jz-258"/> | ||
1314 | - <outlet property="subviewsView" destination="wo3-ux-AP3" id="NhH-QD-N56"/> | ||
1315 | - <outlet property="timeLabelHeight" destination="o2J-4q-TQe" id="Tsi-u6-pJB"/> | ||
1316 | - </connections> | ||
1317 | - </collectionViewCell> | ||
1318 | - </cells> | ||
1319 | - <connections> | ||
1320 | - <outlet property="dataSource" destination="66O-gu-yCM" id="XAx-iC-Z0C"/> | ||
1321 | - <outlet property="delegate" destination="66O-gu-yCM" id="I19-Bh-7cQ"/> | ||
1322 | - </connections> | ||
1323 | - </collectionView> | ||
1324 | - </subviews> | ||
1325 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1326 | - <constraints> | ||
1327 | - <constraint firstAttribute="trailing" secondItem="jQT-Gw-6Pc" secondAttribute="trailing" id="C2u-FX-8Wq"/> | ||
1328 | - <constraint firstItem="jQT-Gw-6Pc" firstAttribute="leading" secondItem="mAX-5m-IRU" secondAttribute="leading" id="EIA-HZ-hmj"/> | ||
1329 | - <constraint firstItem="jQT-Gw-6Pc" firstAttribute="top" secondItem="mAX-5m-IRU" secondAttribute="top" id="ZkU-e3-Xld"/> | ||
1330 | - <constraint firstAttribute="bottom" secondItem="jQT-Gw-6Pc" secondAttribute="bottom" id="mmF-KW-xc3"/> | ||
1331 | - </constraints> | ||
1332 | - </view> | ||
1333 | - </subviews> | ||
1334 | - <constraints> | ||
1335 | - <constraint firstAttribute="trailing" secondItem="mAX-5m-IRU" secondAttribute="trailing" constant="16" id="0LD-Ru-GDE"/> | ||
1336 | - <constraint firstAttribute="bottom" secondItem="mAX-5m-IRU" secondAttribute="bottom" id="2YI-07-FRZ"/> | ||
1337 | - <constraint firstItem="mAX-5m-IRU" firstAttribute="leading" secondItem="YtF-a4-tlb" secondAttribute="leading" constant="16" id="Fwm-2w-rNq"/> | ||
1338 | - <constraint firstItem="shu-Bf-tj9" firstAttribute="top" secondItem="YtF-a4-tlb" secondAttribute="top" constant="8" id="GDV-EN-kXf"/> | ||
1339 | - <constraint firstItem="mAX-5m-IRU" firstAttribute="top" secondItem="shu-Bf-tj9" secondAttribute="bottom" constant="8" id="KA4-fa-VeV"/> | ||
1340 | - <constraint firstItem="shu-Bf-tj9" firstAttribute="leading" secondItem="YtF-a4-tlb" secondAttribute="leading" constant="16" id="XK2-NU-hwY"/> | ||
1341 | - <constraint firstAttribute="trailing" secondItem="shu-Bf-tj9" secondAttribute="trailing" constant="16" id="dfi-eF-QSc"/> | ||
1342 | - </constraints> | ||
1343 | - </tableViewCellContentView> | ||
1344 | - <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | ||
1345 | - <connections> | ||
1346 | - <outlet property="dateLabel" destination="shu-Bf-tj9" id="2Go-c0-JP8"/> | ||
1347 | - </connections> | ||
1348 | - </tableViewCell> | ||
1349 | - </prototypes> | ||
1350 | - <connections> | ||
1351 | - <outlet property="dataSource" destination="T2s-vC-r3O" id="4z9-fO-GxB"/> | ||
1352 | - <outlet property="delegate" destination="T2s-vC-r3O" id="IFq-sw-WfL"/> | ||
1353 | - </connections> | ||
1354 | - </tableView> | ||
1355 | - </subviews> | ||
1356 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
1357 | - <constraints> | ||
1358 | - <constraint firstItem="IPW-Bu-bgJ" firstAttribute="trailing" secondItem="aRF-no-eGj" secondAttribute="trailing" id="IwC-G2-Av9"/> | ||
1359 | - <constraint firstItem="IPW-Bu-bgJ" firstAttribute="leading" secondItem="aRF-no-eGj" secondAttribute="leading" id="ml9-0r-5HR"/> | ||
1360 | - <constraint firstItem="IPW-Bu-bgJ" firstAttribute="top" secondItem="aRF-no-eGj" secondAttribute="top" id="xXN-ly-GNk"/> | ||
1361 | - <constraint firstItem="IPW-Bu-bgJ" firstAttribute="bottom" secondItem="aRF-no-eGj" secondAttribute="bottom" id="xc6-DL-zc1"/> | ||
1362 | - </constraints> | ||
1363 | - <viewLayoutGuide key="safeArea" id="aRF-no-eGj"/> | ||
1364 | - </view> | ||
1365 | - <navigationItem key="navigationItem" title="订购详情" id="bNJ-vR-d6g"/> | ||
1366 | - <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/> | ||
1367 | - <connections> | ||
1368 | - <outlet property="orderTableView" destination="IPW-Bu-bgJ" id="6GH-aD-HCS"/> | ||
1369 | - </connections> | ||
1370 | - </viewController> | ||
1371 | - <placeholder placeholderIdentifier="IBFirstResponder" id="EcJ-KA-gYw" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
1372 | - </objects> | ||
1373 | - <point key="canvasLocation" x="-570.39999999999998" y="590.55472263868069"/> | ||
1374 | - </scene> | ||
1375 | - <!--我的孩子--> | ||
1376 | - <scene sceneID="Ah7-Hb-4KR"> | ||
1377 | - <objects> | ||
1378 | - <viewController storyboardIdentifier="MyChildrenViewController" id="F5m-SJ-9rv" customClass="MyChildrenViewController" customModule="ParentAssistant" customModuleProvider="target" sceneMemberID="viewController"> | ||
1379 | - <view key="view" contentMode="scaleToFill" id="TbA-VH-nuQ"> | ||
1380 | - <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
1381 | - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
1382 | - <subviews> | ||
1383 | - <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="by8-8x-HbM"> | ||
1384 | - <rect key="frame" x="0.0" y="64" width="375" height="553"/> | ||
1385 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
1386 | - <prototypes> | ||
1387 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="MyChildrenTableViewCell" rowHeight="70" id="AsM-fi-1E0" customClass="MyChildrenTableViewCell" customModule="ParentAssistant" customModuleProvider="target"> | ||
1388 | - <rect key="frame" x="0.0" y="28" width="375" height="70"/> | ||
1389 | - <autoresizingMask key="autoresizingMask"/> | ||
1390 | - <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="AsM-fi-1E0" id="Gjd-aD-daq"> | ||
1391 | - <rect key="frame" x="0.0" y="0.0" width="375" height="70"/> | ||
1392 | - <autoresizingMask key="autoresizingMask"/> | ||
1393 | - <subviews> | ||
1394 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PI4-bo-uCj"> | ||
1395 | - <rect key="frame" x="0.0" y="8" width="375" height="62"/> | ||
1396 | - <subviews> | ||
1397 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="李小明" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rFe-A4-Jh2"> | ||
1398 | - <rect key="frame" x="8" y="8" width="46" height="18"/> | ||
1399 | - <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
1400 | - <nil key="textColor"/> | ||
1401 | - <nil key="highlightedColor"/> | ||
1402 | - </label> | ||
1403 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="顺治中学 初一(3)班" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IMi-wW-7dF"> | ||
1404 | - <rect key="frame" x="8" y="38" width="131.5" height="16"/> | ||
1405 | - <fontDescription key="fontDescription" type="system" pointSize="13"/> | ||
1406 | - <color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> | ||
1407 | - <nil key="highlightedColor"/> | ||
1408 | - </label> | ||
1409 | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="AOx-bl-8U0"> | ||
1410 | - <rect key="frame" x="297" y="16" width="70" height="30"/> | ||
1411 | - <constraints> | ||
1412 | - <constraint firstAttribute="height" constant="30" id="CG4-9A-01l"/> | ||
1413 | - <constraint firstAttribute="width" constant="70" id="tlY-GL-P0q"/> | ||
1414 | - </constraints> | ||
1415 | - <state key="normal" title="去订购"/> | ||
1416 | - <userDefinedRuntimeAttributes> | ||
1417 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
1418 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
1419 | - <integer key="value" value="15"/> | ||
1420 | - </userDefinedRuntimeAttribute> | ||
1421 | - </userDefinedRuntimeAttributes> | ||
1422 | - <connections> | ||
1423 | - <action selector="orderBuyAction:" destination="F5m-SJ-9rv" eventType="touchUpInside" id="DCB-7r-Ejn"/> | ||
1424 | - </connections> | ||
1425 | - </button> | ||
1426 | - </subviews> | ||
1427 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1428 | - <constraints> | ||
1429 | - <constraint firstItem="IMi-wW-7dF" firstAttribute="leading" secondItem="PI4-bo-uCj" secondAttribute="leading" constant="8" id="1PS-DJ-maj"/> | ||
1430 | - <constraint firstItem="AOx-bl-8U0" firstAttribute="centerY" secondItem="PI4-bo-uCj" secondAttribute="centerY" id="HKc-Ht-Vs1"/> | ||
1431 | - <constraint firstItem="rFe-A4-Jh2" firstAttribute="leading" secondItem="PI4-bo-uCj" secondAttribute="leading" constant="8" id="Je2-bo-rdg"/> | ||
1432 | - <constraint firstAttribute="bottom" secondItem="IMi-wW-7dF" secondAttribute="bottom" constant="8" id="Zbk-KL-zoq"/> | ||
1433 | - <constraint firstItem="rFe-A4-Jh2" firstAttribute="top" secondItem="PI4-bo-uCj" secondAttribute="top" constant="8" id="avc-hB-OQS"/> | ||
1434 | - </constraints> | ||
1435 | - </view> | ||
1436 | - </subviews> | ||
1437 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
1438 | - <constraints> | ||
1439 | - <constraint firstAttribute="bottom" secondItem="PI4-bo-uCj" secondAttribute="bottom" id="6fV-1x-uww"/> | ||
1440 | - <constraint firstAttribute="trailing" secondItem="AOx-bl-8U0" secondAttribute="trailing" constant="8" id="G5v-8N-aSQ"/> | ||
1441 | - <constraint firstItem="PI4-bo-uCj" firstAttribute="top" secondItem="Gjd-aD-daq" secondAttribute="top" constant="8" id="Jai-Xy-BbR"/> | ||
1442 | - <constraint firstAttribute="trailing" secondItem="PI4-bo-uCj" secondAttribute="trailing" id="PkH-GN-gc4"/> | ||
1443 | - <constraint firstItem="PI4-bo-uCj" firstAttribute="leading" secondItem="Gjd-aD-daq" secondAttribute="leading" id="i1F-jt-CrU"/> | ||
1444 | - </constraints> | ||
1445 | - </tableViewCellContentView> | ||
1446 | - <connections> | ||
1447 | - <outlet property="classNameLabel" destination="IMi-wW-7dF" id="Cda-0Y-FFc"/> | ||
1448 | - <outlet property="nameLabel" destination="rFe-A4-Jh2" id="Hpk-xf-CEl"/> | ||
1449 | - <outlet property="orderBtn" destination="AOx-bl-8U0" id="6Vq-uo-x3m"/> | ||
1450 | - </connections> | ||
1451 | - </tableViewCell> | ||
1452 | - </prototypes> | ||
1453 | - <connections> | ||
1454 | - <outlet property="dataSource" destination="F5m-SJ-9rv" id="dbz-Ec-YgA"/> | ||
1455 | - <outlet property="delegate" destination="F5m-SJ-9rv" id="cNL-wV-MLL"/> | ||
1456 | - </connections> | ||
1457 | - </tableView> | ||
1458 | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="um9-GN-HgW"> | ||
1459 | - <rect key="frame" x="8" y="617" width="359" height="40"/> | ||
1460 | - <color key="backgroundColor" red="0.42745098039215684" green="0.60784313725490191" blue="0.99215686274509807" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
1461 | - <constraints> | ||
1462 | - <constraint firstAttribute="height" constant="40" id="k20-dz-daj"/> | ||
1463 | - </constraints> | ||
1464 | - <state key="normal" title="添加绑定账号"> | ||
1465 | - <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1466 | - </state> | ||
1467 | - <userDefinedRuntimeAttributes> | ||
1468 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
1469 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
1470 | - <integer key="value" value="5"/> | ||
1471 | - </userDefinedRuntimeAttribute> | ||
1472 | - </userDefinedRuntimeAttributes> | ||
1473 | - <connections> | ||
1474 | - <action selector="addChildrenAction:" destination="F5m-SJ-9rv" eventType="touchUpInside" id="kii-UY-4JE"/> | ||
1475 | - </connections> | ||
1476 | - </button> | ||
1477 | - </subviews> | ||
1478 | - <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
1479 | - <constraints> | ||
1480 | - <constraint firstItem="by8-8x-HbM" firstAttribute="leading" secondItem="IF8-NC-RgQ" secondAttribute="leading" id="9HL-cF-clD"/> | ||
1481 | - <constraint firstItem="by8-8x-HbM" firstAttribute="top" secondItem="IF8-NC-RgQ" secondAttribute="top" id="FKk-ev-gxD"/> | ||
1482 | - <constraint firstItem="um9-GN-HgW" firstAttribute="top" secondItem="by8-8x-HbM" secondAttribute="bottom" id="Y9e-RN-i9M"/> | ||
1483 | - <constraint firstItem="um9-GN-HgW" firstAttribute="leading" secondItem="IF8-NC-RgQ" secondAttribute="leading" constant="8" id="d96-0Q-uan"/> | ||
1484 | - <constraint firstItem="by8-8x-HbM" firstAttribute="trailing" secondItem="IF8-NC-RgQ" secondAttribute="trailing" id="dQq-IL-sWY"/> | ||
1485 | - <constraint firstItem="IF8-NC-RgQ" firstAttribute="bottom" secondItem="um9-GN-HgW" secondAttribute="bottom" constant="10" id="q7h-cW-Cap"/> | ||
1486 | - <constraint firstItem="IF8-NC-RgQ" firstAttribute="trailing" secondItem="um9-GN-HgW" secondAttribute="trailing" constant="8" id="xJI-Pc-8Pr"/> | ||
1487 | - </constraints> | ||
1488 | - <viewLayoutGuide key="safeArea" id="IF8-NC-RgQ"/> | ||
1489 | - </view> | ||
1490 | - <navigationItem key="navigationItem" title="我的孩子" id="abG-Ai-AjM"/> | ||
1491 | - <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/> | ||
1492 | - <connections> | ||
1493 | - <outlet property="childrenTableView" destination="by8-8x-HbM" id="MGB-hh-pOw"/> | ||
1494 | - </connections> | ||
1495 | - </viewController> | ||
1496 | - <placeholder placeholderIdentifier="IBFirstResponder" id="ymD-qp-qSJ" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
1497 | - </objects> | ||
1498 | - <point key="canvasLocation" x="150" y="591"/> | ||
1499 | - </scene> | ||
1500 | - <!--我的孩子--> | ||
1501 | - <scene sceneID="RG0-at-7cr"> | ||
1502 | - <objects> | ||
1503 | - <viewController storyboardIdentifier="ChildrenDetailViewController" id="dKf-Bp-I4E" customClass="ChildrenDetailViewController" customModule="ParentAssistant" customModuleProvider="target" sceneMemberID="viewController"> | ||
1504 | - <view key="view" contentMode="scaleToFill" id="BY7-2E-1L8"> | ||
1505 | - <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
1506 | - <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
1507 | - <subviews> | ||
1508 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qQn-2U-CCe"> | ||
1509 | - <rect key="frame" x="16" y="89" width="343" height="30"/> | ||
1510 | - <subviews> | ||
1511 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="孩子姓名:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Tor-Wd-1QN"> | ||
1512 | - <rect key="frame" x="0.0" y="0.0" width="120" height="30"/> | ||
1513 | - <constraints> | ||
1514 | - <constraint firstAttribute="width" constant="120" id="VRa-KX-4e8"/> | ||
1515 | - </constraints> | ||
1516 | - <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
1517 | - <nil key="textColor"/> | ||
1518 | - <nil key="highlightedColor"/> | ||
1519 | - </label> | ||
1520 | - <textField opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="李晓明" borderStyle="roundedRect" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="E9L-bY-Zua"> | ||
1521 | - <rect key="frame" x="128" y="0.0" width="207" height="30"/> | ||
1522 | - <nil key="textColor"/> | ||
1523 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
1524 | - <textInputTraits key="textInputTraits"/> | ||
1525 | - </textField> | ||
1526 | - </subviews> | ||
1527 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1528 | - <constraints> | ||
1529 | - <constraint firstAttribute="bottom" secondItem="E9L-bY-Zua" secondAttribute="bottom" id="72O-8a-2WM"/> | ||
1530 | - <constraint firstItem="Tor-Wd-1QN" firstAttribute="top" secondItem="qQn-2U-CCe" secondAttribute="top" id="DyE-4c-l4c"/> | ||
1531 | - <constraint firstAttribute="height" constant="30" id="QLE-QP-2wp"/> | ||
1532 | - <constraint firstItem="E9L-bY-Zua" firstAttribute="top" secondItem="qQn-2U-CCe" secondAttribute="top" id="RSf-zs-VTX"/> | ||
1533 | - <constraint firstAttribute="bottom" secondItem="Tor-Wd-1QN" secondAttribute="bottom" id="WwE-2h-8XQ"/> | ||
1534 | - <constraint firstItem="Tor-Wd-1QN" firstAttribute="leading" secondItem="qQn-2U-CCe" secondAttribute="leading" id="Y5s-YP-H6u"/> | ||
1535 | - <constraint firstAttribute="trailing" secondItem="E9L-bY-Zua" secondAttribute="trailing" constant="8" id="lJq-F5-dly"/> | ||
1536 | - <constraint firstItem="E9L-bY-Zua" firstAttribute="leading" secondItem="Tor-Wd-1QN" secondAttribute="trailing" constant="8" id="w5I-uP-PjQ"/> | ||
1537 | - </constraints> | ||
1538 | - </view> | ||
1539 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ts6-G9-JrA"> | ||
1540 | - <rect key="frame" x="16" y="127" width="343" height="30"/> | ||
1541 | - <subviews> | ||
1542 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="学 校:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3kR-Y4-SS6"> | ||
1543 | - <rect key="frame" x="0.0" y="0.0" width="120" height="30"/> | ||
1544 | - <constraints> | ||
1545 | - <constraint firstAttribute="width" constant="120" id="5sW-7k-hkh"/> | ||
1546 | - </constraints> | ||
1547 | - <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
1548 | - <nil key="textColor"/> | ||
1549 | - <nil key="highlightedColor"/> | ||
1550 | - </label> | ||
1551 | - <textField opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="顺治中学" borderStyle="roundedRect" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Kua-m3-hXR"> | ||
1552 | - <rect key="frame" x="128" y="0.0" width="207" height="30"/> | ||
1553 | - <nil key="textColor"/> | ||
1554 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
1555 | - <textInputTraits key="textInputTraits"/> | ||
1556 | - </textField> | ||
1557 | - </subviews> | ||
1558 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1559 | - <constraints> | ||
1560 | - <constraint firstItem="Kua-m3-hXR" firstAttribute="leading" secondItem="3kR-Y4-SS6" secondAttribute="trailing" constant="8" id="2Jl-YH-hZ3"/> | ||
1561 | - <constraint firstAttribute="bottom" secondItem="Kua-m3-hXR" secondAttribute="bottom" id="aMB-3R-weH"/> | ||
1562 | - <constraint firstAttribute="height" constant="30" id="bvN-IZ-nON"/> | ||
1563 | - <constraint firstAttribute="bottom" secondItem="3kR-Y4-SS6" secondAttribute="bottom" id="e5D-Cl-sLi"/> | ||
1564 | - <constraint firstAttribute="trailing" secondItem="Kua-m3-hXR" secondAttribute="trailing" constant="8" id="esA-s7-A58"/> | ||
1565 | - <constraint firstItem="3kR-Y4-SS6" firstAttribute="top" secondItem="Ts6-G9-JrA" secondAttribute="top" id="kfK-H4-YLO"/> | ||
1566 | - <constraint firstItem="3kR-Y4-SS6" firstAttribute="leading" secondItem="Ts6-G9-JrA" secondAttribute="leading" id="qNK-9n-lRt"/> | ||
1567 | - <constraint firstItem="Kua-m3-hXR" firstAttribute="top" secondItem="Ts6-G9-JrA" secondAttribute="top" id="szn-MN-DRf"/> | ||
1568 | - </constraints> | ||
1569 | - </view> | ||
1570 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="J7F-BU-RFH"> | ||
1571 | - <rect key="frame" x="16" y="165" width="343" height="30"/> | ||
1572 | - <subviews> | ||
1573 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="班 级:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6lu-6J-E1c"> | ||
1574 | - <rect key="frame" x="0.0" y="0.0" width="120" height="30"/> | ||
1575 | - <constraints> | ||
1576 | - <constraint firstAttribute="width" constant="120" id="grw-Nd-lg2"/> | ||
1577 | - </constraints> | ||
1578 | - <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
1579 | - <nil key="textColor"/> | ||
1580 | - <nil key="highlightedColor"/> | ||
1581 | - </label> | ||
1582 | - <textField opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="初一(3)班" borderStyle="roundedRect" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="VLR-h8-hO3"> | ||
1583 | - <rect key="frame" x="128" y="0.0" width="207" height="30"/> | ||
1584 | - <nil key="textColor"/> | ||
1585 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
1586 | - <textInputTraits key="textInputTraits"/> | ||
1587 | - </textField> | ||
1588 | - </subviews> | ||
1589 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1590 | - <constraints> | ||
1591 | - <constraint firstItem="6lu-6J-E1c" firstAttribute="leading" secondItem="J7F-BU-RFH" secondAttribute="leading" id="3Pt-Ql-Xmm"/> | ||
1592 | - <constraint firstAttribute="trailing" secondItem="VLR-h8-hO3" secondAttribute="trailing" constant="8" id="3Q7-Ta-C7S"/> | ||
1593 | - <constraint firstAttribute="bottom" secondItem="6lu-6J-E1c" secondAttribute="bottom" id="D4l-so-U1a"/> | ||
1594 | - <constraint firstItem="6lu-6J-E1c" firstAttribute="top" secondItem="J7F-BU-RFH" secondAttribute="top" id="DaK-dt-xk3"/> | ||
1595 | - <constraint firstAttribute="bottom" secondItem="VLR-h8-hO3" secondAttribute="bottom" id="Gcx-85-62D"/> | ||
1596 | - <constraint firstItem="VLR-h8-hO3" firstAttribute="top" secondItem="J7F-BU-RFH" secondAttribute="top" id="jWf-GV-hMG"/> | ||
1597 | - <constraint firstAttribute="height" constant="30" id="mBu-Xb-xoY"/> | ||
1598 | - <constraint firstItem="VLR-h8-hO3" firstAttribute="leading" secondItem="6lu-6J-E1c" secondAttribute="trailing" constant="8" id="sOW-zp-HhJ"/> | ||
1599 | - </constraints> | ||
1600 | - </view> | ||
1601 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="DLs-pB-ghE"> | ||
1602 | - <rect key="frame" x="16" y="203" width="343" height="30"/> | ||
1603 | - <subviews> | ||
1604 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="学校所属地区:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0We-St-Vr0"> | ||
1605 | - <rect key="frame" x="0.0" y="0.0" width="120" height="30"/> | ||
1606 | - <constraints> | ||
1607 | - <constraint firstAttribute="width" constant="120" id="aKg-d3-aRw"/> | ||
1608 | - </constraints> | ||
1609 | - <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
1610 | - <nil key="textColor"/> | ||
1611 | - <nil key="highlightedColor"/> | ||
1612 | - </label> | ||
1613 | - <textField opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="杭州一上城区" borderStyle="roundedRect" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="4Ka-61-d8b"> | ||
1614 | - <rect key="frame" x="128" y="0.0" width="207" height="30"/> | ||
1615 | - <nil key="textColor"/> | ||
1616 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
1617 | - <textInputTraits key="textInputTraits"/> | ||
1618 | - </textField> | ||
1619 | - </subviews> | ||
1620 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1621 | - <constraints> | ||
1622 | - <constraint firstAttribute="bottom" secondItem="4Ka-61-d8b" secondAttribute="bottom" id="7Ev-ez-vYh"/> | ||
1623 | - <constraint firstItem="0We-St-Vr0" firstAttribute="top" secondItem="DLs-pB-ghE" secondAttribute="top" id="AmF-bo-oyU"/> | ||
1624 | - <constraint firstAttribute="bottom" secondItem="0We-St-Vr0" secondAttribute="bottom" id="BtD-8W-27H"/> | ||
1625 | - <constraint firstAttribute="height" constant="30" id="UTq-c6-lzO"/> | ||
1626 | - <constraint firstItem="4Ka-61-d8b" firstAttribute="top" secondItem="DLs-pB-ghE" secondAttribute="top" id="lPq-7v-Rfl"/> | ||
1627 | - <constraint firstItem="4Ka-61-d8b" firstAttribute="leading" secondItem="0We-St-Vr0" secondAttribute="trailing" constant="8" id="nwb-xl-8sB"/> | ||
1628 | - <constraint firstItem="0We-St-Vr0" firstAttribute="leading" secondItem="DLs-pB-ghE" secondAttribute="leading" id="r6L-tR-XeM"/> | ||
1629 | - <constraint firstAttribute="trailing" secondItem="4Ka-61-d8b" secondAttribute="trailing" constant="8" id="rX5-as-jKK"/> | ||
1630 | - </constraints> | ||
1631 | - </view> | ||
1632 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Vg2-tu-Jr9"> | ||
1633 | - <rect key="frame" x="16" y="241" width="343" height="30"/> | ||
1634 | - <subviews> | ||
1635 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="学生账号:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MXm-Fz-Li8"> | ||
1636 | - <rect key="frame" x="0.0" y="0.0" width="120" height="30"/> | ||
1637 | - <constraints> | ||
1638 | - <constraint firstAttribute="width" constant="120" id="PwB-vS-ceW"/> | ||
1639 | - </constraints> | ||
1640 | - <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
1641 | - <nil key="textColor"/> | ||
1642 | - <nil key="highlightedColor"/> | ||
1643 | - </label> | ||
1644 | - <textField opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="123456" borderStyle="roundedRect" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="6aM-bP-gD0"> | ||
1645 | - <rect key="frame" x="128" y="0.0" width="207" height="30"/> | ||
1646 | - <nil key="textColor"/> | ||
1647 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
1648 | - <textInputTraits key="textInputTraits"/> | ||
1649 | - </textField> | ||
1650 | - </subviews> | ||
1651 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1652 | - <constraints> | ||
1653 | - <constraint firstItem="MXm-Fz-Li8" firstAttribute="top" secondItem="Vg2-tu-Jr9" secondAttribute="top" id="1XD-bC-GwT"/> | ||
1654 | - <constraint firstItem="MXm-Fz-Li8" firstAttribute="leading" secondItem="Vg2-tu-Jr9" secondAttribute="leading" id="MGP-lQ-afX"/> | ||
1655 | - <constraint firstAttribute="bottom" secondItem="MXm-Fz-Li8" secondAttribute="bottom" id="NeV-Kh-TLi"/> | ||
1656 | - <constraint firstAttribute="height" constant="30" id="OnP-Ox-Tga"/> | ||
1657 | - <constraint firstItem="6aM-bP-gD0" firstAttribute="top" secondItem="Vg2-tu-Jr9" secondAttribute="top" id="ThI-m9-Wzh"/> | ||
1658 | - <constraint firstItem="6aM-bP-gD0" firstAttribute="leading" secondItem="MXm-Fz-Li8" secondAttribute="trailing" constant="8" id="k3o-o7-wV4"/> | ||
1659 | - <constraint firstAttribute="bottom" secondItem="6aM-bP-gD0" secondAttribute="bottom" id="kGH-h7-5sj"/> | ||
1660 | - <constraint firstAttribute="trailing" secondItem="6aM-bP-gD0" secondAttribute="trailing" constant="8" id="zHP-la-7CK"/> | ||
1661 | - </constraints> | ||
1662 | - </view> | ||
1663 | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="jmq-mD-M7V"> | ||
1664 | - <rect key="frame" x="8" y="563" width="359" height="40"/> | ||
1665 | - <color key="backgroundColor" red="0.26289805769920349" green="0.83853167295455933" blue="0.5797455906867981" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
1666 | - <constraints> | ||
1667 | - <constraint firstAttribute="height" constant="40" id="TDs-w3-m8B"/> | ||
1668 | - </constraints> | ||
1669 | - <state key="normal" title="校卡激活"> | ||
1670 | - <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1671 | - </state> | ||
1672 | - <userDefinedRuntimeAttributes> | ||
1673 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
1674 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
1675 | - <integer key="value" value="5"/> | ||
1676 | - </userDefinedRuntimeAttribute> | ||
1677 | - </userDefinedRuntimeAttributes> | ||
1678 | - <connections> | ||
1679 | - <action selector="activationSchoolCardAction:" destination="dKf-Bp-I4E" eventType="touchUpInside" id="Fql-FN-QN6"/> | ||
1680 | - </connections> | ||
1681 | - </button> | ||
1682 | - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="eob-2f-LHk"> | ||
1683 | - <rect key="frame" x="8" y="611" width="359" height="40"/> | ||
1684 | - <color key="backgroundColor" red="0.99277454614639282" green="0.58486777544021606" blue="0.58350682258605957" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
1685 | - <constraints> | ||
1686 | - <constraint firstAttribute="height" constant="40" id="4TM-cx-grP"/> | ||
1687 | - </constraints> | ||
1688 | - <state key="normal" title="解除绑定"> | ||
1689 | - <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1690 | - </state> | ||
1691 | - <userDefinedRuntimeAttributes> | ||
1692 | - <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
1693 | - <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
1694 | - <integer key="value" value="5"/> | ||
1695 | - </userDefinedRuntimeAttribute> | ||
1696 | - </userDefinedRuntimeAttributes> | ||
1697 | - <connections> | ||
1698 | - <action selector="unbundlingAction:" destination="dKf-Bp-I4E" eventType="touchUpInside" id="zHt-KY-kPh"/> | ||
1699 | - </connections> | ||
1700 | - </button> | ||
1701 | - </subviews> | ||
1702 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1703 | - <constraints> | ||
1704 | - <constraint firstItem="J7F-BU-RFH" firstAttribute="leading" secondItem="Q9l-Zq-soh" secondAttribute="leading" constant="16" id="5NG-Hh-4ff"/> | ||
1705 | - <constraint firstItem="qQn-2U-CCe" firstAttribute="top" secondItem="Q9l-Zq-soh" secondAttribute="top" constant="25" id="6ak-Ko-YLO"/> | ||
1706 | - <constraint firstItem="J7F-BU-RFH" firstAttribute="top" secondItem="Ts6-G9-JrA" secondAttribute="bottom" constant="8" id="6gb-Ru-vcE"/> | ||
1707 | - <constraint firstItem="Ts6-G9-JrA" firstAttribute="leading" secondItem="Q9l-Zq-soh" secondAttribute="leading" constant="16" id="Ch8-lH-pSf"/> | ||
1708 | - <constraint firstItem="Q9l-Zq-soh" firstAttribute="trailing" secondItem="DLs-pB-ghE" secondAttribute="trailing" constant="16" id="GGc-S4-evq"/> | ||
1709 | - <constraint firstItem="Ts6-G9-JrA" firstAttribute="top" secondItem="qQn-2U-CCe" secondAttribute="bottom" constant="8" id="Pv0-ef-SuP"/> | ||
1710 | - <constraint firstItem="Q9l-Zq-soh" firstAttribute="bottom" secondItem="eob-2f-LHk" secondAttribute="bottom" constant="16" id="UEJ-x6-5ZD"/> | ||
1711 | - <constraint firstItem="Q9l-Zq-soh" firstAttribute="trailing" secondItem="Vg2-tu-Jr9" secondAttribute="trailing" constant="16" id="XWK-gg-kgC"/> | ||
1712 | - <constraint firstItem="jmq-mD-M7V" firstAttribute="leading" secondItem="Q9l-Zq-soh" secondAttribute="leading" constant="8" id="YFr-qj-4hB"/> | ||
1713 | - <constraint firstItem="qQn-2U-CCe" firstAttribute="leading" secondItem="Q9l-Zq-soh" secondAttribute="leading" constant="16" id="ZIR-Df-DlQ"/> | ||
1714 | - <constraint firstItem="Vg2-tu-Jr9" firstAttribute="leading" secondItem="Q9l-Zq-soh" secondAttribute="leading" constant="16" id="kuS-Ms-wiS"/> | ||
1715 | - <constraint firstItem="Q9l-Zq-soh" firstAttribute="trailing" secondItem="eob-2f-LHk" secondAttribute="trailing" constant="8" id="lTx-UI-jFs"/> | ||
1716 | - <constraint firstItem="DLs-pB-ghE" firstAttribute="top" secondItem="J7F-BU-RFH" secondAttribute="bottom" constant="8" id="oh1-a0-CLl"/> | ||
1717 | - <constraint firstItem="eob-2f-LHk" firstAttribute="top" secondItem="jmq-mD-M7V" secondAttribute="bottom" constant="8" id="pKV-Bl-qCB"/> | ||
1718 | - <constraint firstItem="eob-2f-LHk" firstAttribute="leading" secondItem="Q9l-Zq-soh" secondAttribute="leading" constant="8" id="sE3-jt-0h9"/> | ||
1719 | - <constraint firstItem="Vg2-tu-Jr9" firstAttribute="top" secondItem="DLs-pB-ghE" secondAttribute="bottom" constant="8" id="wYh-Mo-4BC"/> | ||
1720 | - <constraint firstItem="Q9l-Zq-soh" firstAttribute="trailing" secondItem="J7F-BU-RFH" secondAttribute="trailing" constant="16" id="wgO-2D-rYm"/> | ||
1721 | - <constraint firstItem="Q9l-Zq-soh" firstAttribute="trailing" secondItem="Ts6-G9-JrA" secondAttribute="trailing" constant="16" id="wm7-oU-HJm"/> | ||
1722 | - <constraint firstItem="DLs-pB-ghE" firstAttribute="leading" secondItem="Q9l-Zq-soh" secondAttribute="leading" constant="16" id="wxO-LP-hUx"/> | ||
1723 | - <constraint firstItem="Q9l-Zq-soh" firstAttribute="trailing" secondItem="jmq-mD-M7V" secondAttribute="trailing" constant="8" id="xra-5X-buN"/> | ||
1724 | - <constraint firstItem="Q9l-Zq-soh" firstAttribute="trailing" secondItem="qQn-2U-CCe" secondAttribute="trailing" constant="16" id="xw1-9i-hVY"/> | ||
1725 | - </constraints> | ||
1726 | - <viewLayoutGuide key="safeArea" id="Q9l-Zq-soh"/> | ||
1727 | - </view> | ||
1728 | - <navigationItem key="navigationItem" title="我的孩子" id="8lH-aM-cte"/> | ||
1729 | - <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/> | ||
1730 | - <connections> | ||
1731 | - <outlet property="classTextField" destination="VLR-h8-hO3" id="BYE-JI-jdf"/> | ||
1732 | - <outlet property="nameTextField" destination="E9L-bY-Zua" id="h8b-0d-in5"/> | ||
1733 | - <outlet property="numberTextField" destination="6aM-bP-gD0" id="8yr-YJ-ieX"/> | ||
1734 | - <outlet property="placeTextField" destination="4Ka-61-d8b" id="KaF-43-4Y7"/> | ||
1735 | - <outlet property="schoolTextField" destination="Kua-m3-hXR" id="v9Q-1Q-jSA"/> | ||
1736 | - </connections> | ||
1737 | - </viewController> | ||
1738 | - <placeholder placeholderIdentifier="IBFirstResponder" id="oX3-9h-U5Y" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
1739 | - </objects> | ||
1740 | - <point key="canvasLocation" x="910" y="606"/> | ||
1741 | - </scene> | ||
1742 | - </scenes> | ||
1743 | - <resources> | ||
1744 | - <image name="defphoto" width="128" height="128"/> | ||
1745 | - <image name="my_currentInf_gendernoselected" width="16" height="16"/> | ||
1746 | - <image name="my_headerView_backgroundimageView" width="375" height="139"/> | ||
1747 | - <image name="my_order_message" width="52" height="36"/> | ||
1748 | - <image name="my_password_unlook" width="27" height="14"/> | ||
1749 | - </resources> | ||
1750 | -</document> |
ParentAssistant/ParentAssistant/Classes/controllers/my/Controller/RegisterViewController.swift
@@ -1,249 +0,0 @@ | @@ -1,249 +0,0 @@ | ||
1 | -// | ||
2 | -// RegisterViewController.swift | ||
3 | -// ParentAssistant | ||
4 | -// | ||
5 | -// Created by 葛建军 on 2018/3/12. | ||
6 | -// Copyright © 2018年 HANGZHOUTEAM. All rights reserved. | ||
7 | -// | ||
8 | - | ||
9 | -import UIKit | ||
10 | -//注册 | ||
11 | -class RegisterViewController: UITableViewController,UITextFieldDelegate { | ||
12 | - | ||
13 | - @IBOutlet var rootTableView: UITableView! | ||
14 | - @IBOutlet var personIconImageView: UIImageView!//系统头像 | ||
15 | - @IBOutlet var phoneTextField: UITextField!//电话号码 | ||
16 | - @IBOutlet var codeTextField: UITextField!//验证码 | ||
17 | - @IBOutlet var passwordTextField: UITextField!//密码 | ||
18 | - @IBOutlet var getCodeBtn: UIButton!//获取验证码按钮 | ||
19 | - @IBOutlet var passwordHiddenBtn: UIButton!//查看密码按钮 | ||
20 | - | ||
21 | - @IBOutlet var registerBtn: UIButton!//注册按钮 | ||
22 | - | ||
23 | - override func viewDidLoad() { | ||
24 | - super.viewDidLoad() | ||
25 | - | ||
26 | - layoutSubViews() | ||
27 | - | ||
28 | - } | ||
29 | - // MARK: - 设置控件属性 | ||
30 | - func layoutSubViews(){ | ||
31 | - self.navigationController?.navigationBar.isHidden = false | ||
32 | - self.navigationItem.title = "注册" | ||
33 | - getCodeBtn.layer.borderWidth = 1.0 | ||
34 | - getCodeBtn.layer.borderColor = UIColor.lightGray.cgColor | ||
35 | - | ||
36 | - passwordHiddenBtn.setImage(UIImage(named: "my_password_look"), for: UIControlState.selected) | ||
37 | - //键盘监听 | ||
38 | - NotificationCenter.default.addObserver(self, selector: #selector(RegisterViewController.keyboardWIllChange(_:)), name: NSNotification.Name.UIKeyboardWillChangeFrame, object: nil) | ||
39 | - //监听按钮状态 | ||
40 | - phoneTextField.addTarget(self, action: #selector(textFieldChange), for: UIControlEvents.editingChanged) | ||
41 | - codeTextField.addTarget(self, action: #selector(textFieldChange), for: UIControlEvents.editingChanged) | ||
42 | - passwordTextField.addTarget(self, action: #selector(textFieldChange), for: UIControlEvents.editingChanged) | ||
43 | - | ||
44 | - } | ||
45 | - | ||
46 | - //MARK: - 用户拖拽 关闭键盘 | ||
47 | - override func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) { | ||
48 | - phoneTextField.resignFirstResponder() | ||
49 | - codeTextField.resignFirstResponder() | ||
50 | - passwordTextField.resignFirstResponder() | ||
51 | - } | ||
52 | - | ||
53 | - //return 关闭键盘 | ||
54 | - func textFieldShouldReturn(_ textField: UITextField) -> Bool { | ||
55 | - return textField.resignFirstResponder() | ||
56 | - } | ||
57 | - | ||
58 | - // MARK: - 根据键盘调整高度 | ||
59 | - @objc func keyboardWIllChange(_ noti: Notification){ | ||
60 | - let userInfo:NSDictionary=noti.userInfo! as NSDictionary | ||
61 | - let endFrame=(userInfo[UIKeyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue | ||
62 | - | ||
63 | - print(self.rootTableView.frame) | ||
64 | - let y = navigationBarHeight! + statusBarHeight | ||
65 | - if endFrame?.origin.y == getScreenHeight() { | ||
66 | - UIView.animate(withDuration: 0.5) { | ||
67 | - | ||
68 | - self.rootTableView.frame = CGRect.init(x: 0, y: y, width: screenWidth, height:screenHeight) | ||
69 | - } | ||
70 | - }else{ | ||
71 | - UIView.animate(withDuration: 0.5) { | ||
72 | - self.rootTableView.frame = CGRect.init(x: 0, y: 0, width: screenWidth, height: screenHeight) | ||
73 | - } | ||
74 | - } | ||
75 | - } | ||
76 | - //MARK: - UITableView Delegate && DataSource | ||
77 | - override func numberOfSections(in tableView: UITableView) -> Int { | ||
78 | - return 1 | ||
79 | - } | ||
80 | - override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { | ||
81 | - return 6 | ||
82 | - } | ||
83 | - override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { | ||
84 | - if indexPath.row == 0 { | ||
85 | - return 200 | ||
86 | - } | ||
87 | - else{ | ||
88 | - return 50 | ||
89 | - } | ||
90 | - } | ||
91 | - //MARK: - 监听输入长度,显示登录按钮状态 | ||
92 | - @objc func textFieldChange(){ | ||
93 | - if (phoneTextField.text?.count)!>0 && (passwordTextField.text?.count)!>0 && (codeTextField.text?.count)!>0 { | ||
94 | - registerBtn.isUserInteractionEnabled = true | ||
95 | - registerBtn.backgroundColor = navigationColor | ||
96 | - }else{ | ||
97 | - registerBtn.isUserInteractionEnabled = false | ||
98 | - registerBtn.backgroundColor = UIColor.lightGray | ||
99 | - } | ||
100 | - } | ||
101 | - // MARK: - 获取验证码 | ||
102 | - @IBAction func getCodeAction(_ sender: UIButton) { | ||
103 | - self.view.endEditing(true) | ||
104 | - if isMobilePhoneNumber(phoneTextField.text!) { | ||
105 | - HTTPServer.shared.getCaptcha(phoneTextField.text!, completionHandler: { (str, error) -> Void in | ||
106 | - httpJsonResule(jsonString: str, error: error, successHandler: { (json) -> Void in | ||
107 | - if !json["data"].boolValue{ | ||
108 | - appDelegate.window!.makeToast("短信发送失败:\(json["message"].stringValue)", duration: 1, position: CSToastPositionCenter) | ||
109 | - }else{ | ||
110 | - appDelegate.window!.makeToast("已发送短信,请注意查收", duration: 1, position: CSToastPositionCenter) | ||
111 | - } | ||
112 | - }, failHandler: { (er) -> Void in | ||
113 | - appDelegate.window!.makeToast("验证码发送失败") | ||
114 | - }) | ||
115 | - }) | ||
116 | - }else{ | ||
117 | - appDelegate.window!.makeToast("手机号格式不正确,请输入正确的手机号码", duration: 1, position: CSToastPositionCenter) | ||
118 | - } | ||
119 | - } | ||
120 | - | ||
121 | - | ||
122 | - // MARK: - 密码显示与否 | ||
123 | - @IBAction func passwordHiddenAction(_ sender: UIButton) { | ||
124 | - let selected = passwordHiddenBtn.isSelected | ||
125 | - passwordHiddenBtn.isSelected = !selected | ||
126 | - passwordTextField.isSecureTextEntry = selected | ||
127 | - } | ||
128 | - | ||
129 | - func isMobilePhoneNumber(_ mobile:String)->Bool { | ||
130 | - let str="^1[0-9]{10}" | ||
131 | - return NSPredicate(format: "SELF MATCHES %@", str).evaluate(with: mobile) | ||
132 | - } | ||
133 | - // MARK: - 注册按钮 | ||
134 | - @IBAction func registerAction(_ sender: UIButton) { | ||
135 | - SVProgressHUD.show(withStatus: "注册中...") | ||
136 | - let parameters:Dictionary<String,AnyObject>=[ | ||
137 | - "mobile": phoneTextField.text! as AnyObject,//注册手机号码 , | ||
138 | - "captcha": codeTextField.text! as AnyObject,//手机验证码 , | ||
139 | - "password": passwordTextField.text! as AnyObject]//设置的密码] | ||
140 | - HTTPServer.shared.parentRegister(parameters: parameters) { (str, error) in | ||
141 | - SVProgressHUD.dismiss() | ||
142 | - if error == nil{ | ||
143 | - if JSON.fromString(str)!["status"].intValue == 1{ | ||
144 | - httpJsonResule(jsonString: str, error: error, successHandler: { (json) -> Void in | ||
145 | - //登录并返回页面 | ||
146 | - let alertVC = UIAlertController(title: "提示", message: "您已注册成功", preferredStyle: UIAlertControllerStyle.alert) | ||
147 | - let backBtn = UIAlertAction(title: "返回", style: UIAlertActionStyle.default) { (action) in | ||
148 | - NotificationCenter.default.post(name: Notification.Name(rawValue: MyPhoneNumberNotification.getPhoneNumber), object: nil, userInfo: ["phoneNumber":self.phoneTextField.text!]) | ||
149 | - self.navigationController?.popViewController(animated: true) | ||
150 | - } | ||
151 | - let showBtn = UIAlertAction(title: "进入首页", style: UIAlertActionStyle.default) { (action) in | ||
152 | - //登录 | ||
153 | - SVProgressHUD.show(withStatus: "登录中...") | ||
154 | - HTTPServer.shared.login(completionHandler: { (str, error) in | ||
155 | - SVProgressHUD.dismiss() | ||
156 | - let json=JSON.fromString(str) | ||
157 | - if let ret=json{ | ||
158 | - let er=ret["error"].string | ||
159 | - if let errorStr=er{ | ||
160 | - let Strings=errorStr.components(separatedBy: ":") | ||
161 | - if Strings.count >= 2 { | ||
162 | - switch Strings[1] { | ||
163 | - //用户关联多个身份,请使用学事号登录:100 | ||
164 | - case "101"://用户认证身份不存在:101 | ||
165 | - appDelegate.window!.makeToast("用户认证身份不存在,请进行账号激活。") | ||
166 | - break | ||
167 | - //用户帐号或密码错误:102 | ||
168 | - case "103":// 用户不存在:103 | ||
169 | - appDelegate.window!.makeToast("该号码不存在,请联系客服400-826-2468") | ||
170 | - break | ||
171 | - default: | ||
172 | - appDelegate.window!.makeToast(errorStr) | ||
173 | - break | ||
174 | - } | ||
175 | - }else{ | ||
176 | - appDelegate.window!.makeToast(errorStr) | ||
177 | - } | ||
178 | - }else if ret["access_token"].stringValue != ""{ | ||
179 | - AccountManager.shared.setTokenInfo(tokenInfo: ret) | ||
180 | - AccountManager.shared.saveToken(tokenInfo: ret) | ||
181 | - AccountManager.shared.refreshUserInfo(self.phoneTextField.text!, completionHandler: { (finish) in | ||
182 | - if finish{ | ||
183 | - let ID=AccountManager.shared.rawUserInfo!.contentData()["userid"].stringValue | ||
184 | - YXMessageManager.share.loginWithYX(account: ID, token: ID.md5()) { (success) in | ||
185 | - SVProgressHUD.dismiss() | ||
186 | - if !success { | ||
187 | - AccountManager.shared.logOut() | ||
188 | - appDelegate.window!.makeToast("聊天服务登录失败,请连接网络重试") | ||
189 | - }else{ | ||
190 | - self.navigationController?.popToRootViewController(animated: true) | ||
191 | - //云信登录成功 | ||
192 | - self.dismiss(animated: true, completion: nil) | ||
193 | - } | ||
194 | - } | ||
195 | - }else{ | ||
196 | - appDelegate.window!.makeToast("身份获取失败") | ||
197 | - SVProgressHUD.dismiss() | ||
198 | - } | ||
199 | - }) | ||
200 | - }else{ | ||
201 | - SVProgressHUD.dismiss() | ||
202 | - appDelegate.window!.makeToast("登录失败,请稍后重试") | ||
203 | - } | ||
204 | - }else{ | ||
205 | - SVProgressHUD.dismiss() | ||
206 | - appDelegate.window!.makeToast("登录失败") | ||
207 | - } | ||
208 | - }, phone: self.phoneTextField.text!, password: self.passwordTextField.text!) | ||
209 | - } | ||
210 | - alertVC.addAction(backBtn) | ||
211 | - alertVC.addAction(showBtn) | ||
212 | - self.present(alertVC, animated: true, completion: nil) | ||
213 | - }, failHandler: { (error) -> Void in | ||
214 | - appDelegate.window!.makeToast("注册失败:\(error.localizedDescription)") | ||
215 | - }) | ||
216 | - }else{ | ||
217 | - appDelegate.window!.makeToast("注册失败:\(JSON.fromString(str)!["message"].stringValue)") | ||
218 | - } | ||
219 | - }else{ | ||
220 | - appDelegate.window!.makeToast("注册失败:\(String(describing: error))") | ||
221 | - } | ||
222 | - } | ||
223 | - } | ||
224 | - | ||
225 | - | ||
226 | - // MARK: - 登录页面跳转 | ||
227 | - | ||
228 | - @IBAction func loginAction(_ sender: UIButton) { | ||
229 | - self.navigationController?.popViewController(animated: true) | ||
230 | - } | ||
231 | - | ||
232 | - | ||
233 | - override func didReceiveMemoryWarning() { | ||
234 | - super.didReceiveMemoryWarning() | ||
235 | - // Dispose of any resources that can be recreated. | ||
236 | - } | ||
237 | - | ||
238 | - | ||
239 | - /* | ||
240 | - // MARK: - Navigation | ||
241 | - | ||
242 | - // In a storyboard-based application, you will often want to do a little preparation before navigation | ||
243 | - override func prepare(for segue: UIStoryboardSegue, sender: Any?) { | ||
244 | - // Get the new view controller using segue.destinationViewController. | ||
245 | - // Pass the selected object to the new view controller. | ||
246 | - } | ||
247 | - */ | ||
248 | - | ||
249 | -} |
ParentAssistant/ParentAssistant/Classes/controllers/my/My.storyboard
0 → 100644
@@ -0,0 +1,1749 @@ | @@ -0,0 +1,1749 @@ | ||
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14109" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> | ||
3 | + <device id="retina4_7" orientation="portrait"> | ||
4 | + <adaptation id="fullscreen"/> | ||
5 | + </device> | ||
6 | + <dependencies> | ||
7 | + <deployment identifier="iOS"/> | ||
8 | + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/> | ||
9 | + <capability name="Aspect ratio constraints" minToolsVersion="5.1"/> | ||
10 | + <capability name="Constraints to layout margins" minToolsVersion="6.0"/> | ||
11 | + <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/> | ||
12 | + <capability name="Safe area layout guides" minToolsVersion="9.0"/> | ||
13 | + <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | ||
14 | + </dependencies> | ||
15 | + <scenes> | ||
16 | + <!--Register View Controller--> | ||
17 | + <scene sceneID="k1p-jr-UBw"> | ||
18 | + <objects> | ||
19 | + <tableViewController storyboardIdentifier="RegisterViewController" id="hjy-iv-Li4" customClass="RegisterViewController" customModule="ParentAssistant" customModuleProvider="target" sceneMemberID="viewController"> | ||
20 | + <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="Y23-T2-9DP"> | ||
21 | + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
22 | + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
23 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
24 | + <sections> | ||
25 | + <tableViewSection id="9Ko-Lb-MGt"> | ||
26 | + <cells> | ||
27 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" rowHeight="166" id="VOi-K1-JFP"> | ||
28 | + <rect key="frame" x="0.0" y="0.0" width="375" height="166"/> | ||
29 | + <autoresizingMask key="autoresizingMask"/> | ||
30 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="VOi-K1-JFP" id="eyO-DI-Ze1"> | ||
31 | + <rect key="frame" x="0.0" y="0.0" width="375" height="166"/> | ||
32 | + <autoresizingMask key="autoresizingMask"/> | ||
33 | + <subviews> | ||
34 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="defphoto" translatesAutoresizingMaskIntoConstraints="NO" id="xkr-1t-VH1"> | ||
35 | + <rect key="frame" x="157" y="53" width="60" height="60"/> | ||
36 | + <constraints> | ||
37 | + <constraint firstAttribute="height" constant="60" id="U6L-t3-gkk"/> | ||
38 | + <constraint firstAttribute="width" constant="60" id="x1R-P8-ITq"/> | ||
39 | + </constraints> | ||
40 | + <userDefinedRuntimeAttributes> | ||
41 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
42 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
43 | + <integer key="value" value="30"/> | ||
44 | + </userDefinedRuntimeAttribute> | ||
45 | + </userDefinedRuntimeAttributes> | ||
46 | + </imageView> | ||
47 | + </subviews> | ||
48 | + <constraints> | ||
49 | + <constraint firstItem="xkr-1t-VH1" firstAttribute="centerX" secondItem="eyO-DI-Ze1" secondAttribute="centerX" id="83K-u2-UHU"/> | ||
50 | + <constraint firstItem="xkr-1t-VH1" firstAttribute="centerY" secondItem="eyO-DI-Ze1" secondAttribute="centerY" id="doo-AN-Tav"/> | ||
51 | + </constraints> | ||
52 | + </tableViewCellContentView> | ||
53 | + </tableViewCell> | ||
54 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="cRT-ym-o62"> | ||
55 | + <rect key="frame" x="0.0" y="166" width="375" height="44"/> | ||
56 | + <autoresizingMask key="autoresizingMask"/> | ||
57 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="cRT-ym-o62" id="B1b-9e-Tdo"> | ||
58 | + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> | ||
59 | + <autoresizingMask key="autoresizingMask"/> | ||
60 | + <subviews> | ||
61 | + <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入手机号" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="NtL-m0-FBa"> | ||
62 | + <rect key="frame" x="8" y="12.5" width="359" height="19"/> | ||
63 | + <nil key="textColor"/> | ||
64 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
65 | + <textInputTraits key="textInputTraits" keyboardType="numbersAndPunctuation" returnKeyType="done"/> | ||
66 | + <connections> | ||
67 | + <outlet property="delegate" destination="hjy-iv-Li4" id="tsv-bf-xfq"/> | ||
68 | + </connections> | ||
69 | + </textField> | ||
70 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eiC-if-MCe"> | ||
71 | + <rect key="frame" x="8" y="43" width="359" height="1"/> | ||
72 | + <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
73 | + <constraints> | ||
74 | + <constraint firstAttribute="height" constant="1" id="oEn-dp-kdM"/> | ||
75 | + </constraints> | ||
76 | + <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
77 | + <nil key="textColor"/> | ||
78 | + <nil key="highlightedColor"/> | ||
79 | + </label> | ||
80 | + </subviews> | ||
81 | + <constraints> | ||
82 | + <constraint firstAttribute="trailing" secondItem="eiC-if-MCe" secondAttribute="trailing" constant="8" id="8h6-ym-uS2"/> | ||
83 | + <constraint firstItem="NtL-m0-FBa" firstAttribute="centerY" secondItem="B1b-9e-Tdo" secondAttribute="centerY" id="BqN-ez-hl9"/> | ||
84 | + <constraint firstItem="eiC-if-MCe" firstAttribute="bottom" secondItem="B1b-9e-Tdo" secondAttribute="bottom" id="BsM-xG-LIP"/> | ||
85 | + <constraint firstItem="NtL-m0-FBa" firstAttribute="leading" secondItem="B1b-9e-Tdo" secondAttribute="leading" constant="8" id="CVb-B0-ise"/> | ||
86 | + <constraint firstItem="eiC-if-MCe" firstAttribute="leading" secondItem="B1b-9e-Tdo" secondAttribute="leading" constant="8" id="Pvs-ED-LNh"/> | ||
87 | + <constraint firstAttribute="trailing" secondItem="NtL-m0-FBa" secondAttribute="trailing" constant="8" id="j3J-ph-41h"/> | ||
88 | + </constraints> | ||
89 | + </tableViewCellContentView> | ||
90 | + </tableViewCell> | ||
91 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="YYN-hH-B6O"> | ||
92 | + <rect key="frame" x="0.0" y="210" width="375" height="44"/> | ||
93 | + <autoresizingMask key="autoresizingMask"/> | ||
94 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="YYN-hH-B6O" id="u1s-vJ-wOd"> | ||
95 | + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> | ||
96 | + <autoresizingMask key="autoresizingMask"/> | ||
97 | + <subviews> | ||
98 | + <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入验证码" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="dST-Mc-S49"> | ||
99 | + <rect key="frame" x="8" y="12.5" width="301" height="19"/> | ||
100 | + <nil key="textColor"/> | ||
101 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
102 | + <textInputTraits key="textInputTraits" returnKeyType="done"/> | ||
103 | + <connections> | ||
104 | + <outlet property="delegate" destination="hjy-iv-Li4" id="yBN-1g-9v0"/> | ||
105 | + </connections> | ||
106 | + </textField> | ||
107 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="e2r-r7-Pyq"> | ||
108 | + <rect key="frame" x="8" y="43" width="301" height="1"/> | ||
109 | + <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
110 | + <constraints> | ||
111 | + <constraint firstAttribute="height" constant="1" id="GwK-OG-cFe"/> | ||
112 | + </constraints> | ||
113 | + <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
114 | + <nil key="textColor"/> | ||
115 | + <nil key="highlightedColor"/> | ||
116 | + </label> | ||
117 | + <button opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ffT-Tz-Ydl"> | ||
118 | + <rect key="frame" x="317" y="7" width="50" height="30"/> | ||
119 | + <constraints> | ||
120 | + <constraint firstAttribute="height" constant="30" id="ZGc-dO-oQc"/> | ||
121 | + <constraint firstAttribute="width" constant="50" id="zHs-83-6ZB"/> | ||
122 | + </constraints> | ||
123 | + <state key="normal" title="获取"> | ||
124 | + <color key="titleColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/> | ||
125 | + </state> | ||
126 | + <userDefinedRuntimeAttributes> | ||
127 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
128 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
129 | + <integer key="value" value="5"/> | ||
130 | + </userDefinedRuntimeAttribute> | ||
131 | + </userDefinedRuntimeAttributes> | ||
132 | + <connections> | ||
133 | + <action selector="getCodeAction:" destination="hjy-iv-Li4" eventType="touchUpInside" id="NCb-Nm-Cj2"/> | ||
134 | + </connections> | ||
135 | + </button> | ||
136 | + </subviews> | ||
137 | + <constraints> | ||
138 | + <constraint firstItem="dST-Mc-S49" firstAttribute="centerY" secondItem="u1s-vJ-wOd" secondAttribute="centerY" id="BWb-4b-ndn"/> | ||
139 | + <constraint firstItem="dST-Mc-S49" firstAttribute="leading" secondItem="u1s-vJ-wOd" secondAttribute="leading" constant="8" id="RRc-Uh-KH1"/> | ||
140 | + <constraint firstItem="ffT-Tz-Ydl" firstAttribute="leading" secondItem="dST-Mc-S49" secondAttribute="trailing" constant="8" id="YNl-ac-uMS"/> | ||
141 | + <constraint firstItem="e2r-r7-Pyq" firstAttribute="bottom" secondItem="u1s-vJ-wOd" secondAttribute="bottom" id="haY-IO-EwV"/> | ||
142 | + <constraint firstItem="ffT-Tz-Ydl" firstAttribute="trailing" secondItem="u1s-vJ-wOd" secondAttribute="trailing" constant="-8" id="kWr-9x-EXC"/> | ||
143 | + <constraint firstItem="ffT-Tz-Ydl" firstAttribute="leading" secondItem="e2r-r7-Pyq" secondAttribute="trailing" constant="8" id="pfu-FN-5bi"/> | ||
144 | + <constraint firstItem="e2r-r7-Pyq" firstAttribute="leading" secondItem="u1s-vJ-wOd" secondAttribute="leading" constant="8" id="rmz-Mg-oto"/> | ||
145 | + <constraint firstItem="ffT-Tz-Ydl" firstAttribute="centerY" secondItem="u1s-vJ-wOd" secondAttribute="centerY" id="vaB-fa-im8"/> | ||
146 | + </constraints> | ||
147 | + </tableViewCellContentView> | ||
148 | + </tableViewCell> | ||
149 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="iYw-xo-BdJ"> | ||
150 | + <rect key="frame" x="0.0" y="254" width="375" height="44"/> | ||
151 | + <autoresizingMask key="autoresizingMask"/> | ||
152 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="iYw-xo-BdJ" id="tDs-Cp-H8z"> | ||
153 | + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> | ||
154 | + <autoresizingMask key="autoresizingMask"/> | ||
155 | + <subviews> | ||
156 | + <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请设置密码:6-16个字符" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="X93-bX-ic8"> | ||
157 | + <rect key="frame" x="8" y="12.5" width="301" height="19"/> | ||
158 | + <nil key="textColor"/> | ||
159 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
160 | + <textInputTraits key="textInputTraits" returnKeyType="done" secureTextEntry="YES"/> | ||
161 | + <connections> | ||
162 | + <outlet property="delegate" destination="hjy-iv-Li4" id="iCf-GX-Y2k"/> | ||
163 | + </connections> | ||
164 | + </textField> | ||
165 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4mi-QR-JYE"> | ||
166 | + <rect key="frame" x="8" y="43" width="301" height="1"/> | ||
167 | + <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
168 | + <constraints> | ||
169 | + <constraint firstAttribute="height" constant="1" id="No4-Pv-LmL"/> | ||
170 | + <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="1" id="rq7-7P-XkV"/> | ||
171 | + </constraints> | ||
172 | + <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
173 | + <nil key="textColor"/> | ||
174 | + <nil key="highlightedColor"/> | ||
175 | + </label> | ||
176 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="jwV-U0-9x4"> | ||
177 | + <rect key="frame" x="317" y="7" width="50" height="30"/> | ||
178 | + <constraints> | ||
179 | + <constraint firstAttribute="height" constant="30" id="dii-X8-ZQm"/> | ||
180 | + <constraint firstAttribute="width" constant="50" id="kty-Wj-y4c"/> | ||
181 | + </constraints> | ||
182 | + <state key="normal" image="my_password_unlook"> | ||
183 | + <color key="titleColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/> | ||
184 | + </state> | ||
185 | + <userDefinedRuntimeAttributes> | ||
186 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
187 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
188 | + <integer key="value" value="5"/> | ||
189 | + </userDefinedRuntimeAttribute> | ||
190 | + </userDefinedRuntimeAttributes> | ||
191 | + <connections> | ||
192 | + <action selector="passwordHiddenAction:" destination="hjy-iv-Li4" eventType="touchUpInside" id="Iy0-VN-8SH"/> | ||
193 | + </connections> | ||
194 | + </button> | ||
195 | + </subviews> | ||
196 | + <constraints> | ||
197 | + <constraint firstAttribute="trailing" secondItem="jwV-U0-9x4" secondAttribute="trailing" constant="8" id="3ot-WL-E8E"/> | ||
198 | + <constraint firstItem="4mi-QR-JYE" firstAttribute="leading" secondItem="tDs-Cp-H8z" secondAttribute="leading" constant="8" id="B4H-FW-KPr"/> | ||
199 | + <constraint firstItem="jwV-U0-9x4" firstAttribute="leading" secondItem="X93-bX-ic8" secondAttribute="trailing" constant="8" id="Jje-Zx-hJw"/> | ||
200 | + <constraint firstItem="4mi-QR-JYE" firstAttribute="bottom" secondItem="tDs-Cp-H8z" secondAttribute="bottom" id="Kzh-6z-wXJ"/> | ||
201 | + <constraint firstItem="jwV-U0-9x4" firstAttribute="leading" secondItem="4mi-QR-JYE" secondAttribute="trailing" constant="8" id="fK5-le-dTK"/> | ||
202 | + <constraint firstItem="X93-bX-ic8" firstAttribute="leading" secondItem="tDs-Cp-H8z" secondAttribute="leading" constant="8" id="iqj-7v-XfS"/> | ||
203 | + <constraint firstItem="jwV-U0-9x4" firstAttribute="centerY" secondItem="tDs-Cp-H8z" secondAttribute="centerY" id="qjv-Nj-JFE"/> | ||
204 | + <constraint firstItem="X93-bX-ic8" firstAttribute="centerY" secondItem="tDs-Cp-H8z" secondAttribute="centerY" id="vFQ-E9-azc"/> | ||
205 | + </constraints> | ||
206 | + </tableViewCellContentView> | ||
207 | + </tableViewCell> | ||
208 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="dbD-E8-VUR"> | ||
209 | + <rect key="frame" x="0.0" y="298" width="375" height="44"/> | ||
210 | + <autoresizingMask key="autoresizingMask"/> | ||
211 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="dbD-E8-VUR" id="j0F-mr-xia"> | ||
212 | + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> | ||
213 | + <autoresizingMask key="autoresizingMask"/> | ||
214 | + <subviews> | ||
215 | + <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3sg-8Q-GYa"> | ||
216 | + <rect key="frame" x="8" y="2" width="359" height="40"/> | ||
217 | + <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/> | ||
218 | + <constraints> | ||
219 | + <constraint firstAttribute="height" constant="40" id="HmK-xk-zdX"/> | ||
220 | + </constraints> | ||
221 | + <state key="normal" title="注册"> | ||
222 | + <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
223 | + </state> | ||
224 | + <userDefinedRuntimeAttributes> | ||
225 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
226 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
227 | + <integer key="value" value="5"/> | ||
228 | + </userDefinedRuntimeAttribute> | ||
229 | + </userDefinedRuntimeAttributes> | ||
230 | + <connections> | ||
231 | + <action selector="registerAction:" destination="hjy-iv-Li4" eventType="touchUpInside" id="kvl-ow-qG1"/> | ||
232 | + </connections> | ||
233 | + </button> | ||
234 | + </subviews> | ||
235 | + <constraints> | ||
236 | + <constraint firstItem="3sg-8Q-GYa" firstAttribute="centerY" secondItem="j0F-mr-xia" secondAttribute="centerY" id="EGa-u0-Rkf"/> | ||
237 | + <constraint firstItem="3sg-8Q-GYa" firstAttribute="leading" secondItem="j0F-mr-xia" secondAttribute="leading" constant="8" id="JF1-0k-unY"/> | ||
238 | + <constraint firstAttribute="trailing" secondItem="3sg-8Q-GYa" secondAttribute="trailing" constant="8" id="fMu-e0-jqi"/> | ||
239 | + </constraints> | ||
240 | + </tableViewCellContentView> | ||
241 | + </tableViewCell> | ||
242 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="Xhd-iu-9ZF"> | ||
243 | + <rect key="frame" x="0.0" y="342" width="375" height="44"/> | ||
244 | + <autoresizingMask key="autoresizingMask"/> | ||
245 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Xhd-iu-9ZF" id="P1c-Ns-CBR"> | ||
246 | + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> | ||
247 | + <autoresizingMask key="autoresizingMask"/> | ||
248 | + <subviews> | ||
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> | ||
252 | + <constraint firstAttribute="height" constant="40" id="V6f-Da-UZO"/> | ||
253 | + <constraint firstAttribute="width" constant="50" id="bZt-RW-dVQ"/> | ||
254 | + </constraints> | ||
255 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
256 | + <state key="normal" title="登录"/> | ||
257 | + <connections> | ||
258 | + <action selector="loginAction:" destination="hjy-iv-Li4" eventType="touchUpInside" id="TZH-CI-fGT"/> | ||
259 | + </connections> | ||
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="86" height="17"/> | ||
263 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
264 | + <color key="textColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/> | ||
265 | + <nil key="highlightedColor"/> | ||
266 | + </label> | ||
267 | + </subviews> | ||
268 | + <constraints> | ||
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"/> | ||
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"/> | ||
273 | + </constraints> | ||
274 | + </tableViewCellContentView> | ||
275 | + </tableViewCell> | ||
276 | + </cells> | ||
277 | + </tableViewSection> | ||
278 | + </sections> | ||
279 | + <connections> | ||
280 | + <outlet property="dataSource" destination="hjy-iv-Li4" id="SNE-O9-Jad"/> | ||
281 | + <outlet property="delegate" destination="hjy-iv-Li4" id="Rq2-1Y-CcB"/> | ||
282 | + </connections> | ||
283 | + </tableView> | ||
284 | + <connections> | ||
285 | + <outlet property="codeTextField" destination="dST-Mc-S49" id="pto-dn-lfv"/> | ||
286 | + <outlet property="getCodeBtn" destination="ffT-Tz-Ydl" id="JSl-l8-R9J"/> | ||
287 | + <outlet property="passwordHiddenBtn" destination="jwV-U0-9x4" id="XKG-zZ-cdb"/> | ||
288 | + <outlet property="passwordTextField" destination="X93-bX-ic8" id="tr7-7m-wjD"/> | ||
289 | + <outlet property="personIconImageView" destination="xkr-1t-VH1" id="lD0-Mc-cWV"/> | ||
290 | + <outlet property="phoneTextField" destination="NtL-m0-FBa" id="5eT-Y9-r44"/> | ||
291 | + <outlet property="registerBtn" destination="3sg-8Q-GYa" id="tXa-Rx-YbN"/> | ||
292 | + <outlet property="rootTableView" destination="Y23-T2-9DP" id="zb5-8l-GNh"/> | ||
293 | + </connections> | ||
294 | + </tableViewController> | ||
295 | + <placeholder placeholderIdentifier="IBFirstResponder" id="JT6-75-zX0" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
296 | + </objects> | ||
297 | + <point key="canvasLocation" x="-1358" y="-116"/> | ||
298 | + </scene> | ||
299 | + <!--Get Back Password View Controller--> | ||
300 | + <scene sceneID="jZt-bZ-Rmk"> | ||
301 | + <objects> | ||
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"/> | ||
305 | + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
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="请再输一次密码" 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> | ||
593 | + <connections> | ||
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"/> | ||
604 | + </connections> | ||
605 | + </tableViewController> | ||
606 | + <placeholder placeholderIdentifier="IBFirstResponder" id="joC-0t-hPT" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
607 | + </objects> | ||
608 | + <point key="canvasLocation" x="101.59999999999999" y="-116.49175412293854"/> | ||
609 | + </scene> | ||
610 | + <!--Login View Controller--> | ||
611 | + <scene sceneID="8aJ-um-q6h"> | ||
612 | + <objects> | ||
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"> | ||
615 | + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
616 | + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
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="8" y="15.5" width="359" 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="trailing" 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="leading" 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="8" y="15.5" width="359" 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="leading" 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> | ||
834 | + <connections> | ||
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"/> | ||
841 | + </connections> | ||
842 | + </tableViewController> | ||
843 | + <placeholder placeholderIdentifier="IBFirstResponder" id="wyB-cQ-KUr" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
844 | + </objects> | ||
845 | + <point key="canvasLocation" x="-618" y="-116"/> | ||
846 | + </scene> | ||
847 | + <!--个人资料--> | ||
848 | + <scene sceneID="krI-M9-eZ9"> | ||
849 | + <objects> | ||
850 | + <viewController storyboardIdentifier="CurrentInfoViewController" id="izC-aW-wN3" customClass="CurrentInfoViewController" customModule="ParentAssistant" customModuleProvider="target" sceneMemberID="viewController"> | ||
851 | + <view key="view" contentMode="scaleToFill" id="rOQ-72-S8U"> | ||
852 | + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
853 | + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
854 | + <subviews> | ||
855 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="my_headerView_backgroundimageView" translatesAutoresizingMaskIntoConstraints="NO" id="dBw-Ah-PdC"> | ||
856 | + <rect key="frame" x="0.0" y="0.0" width="375" height="194"/> | ||
857 | + <constraints> | ||
858 | + <constraint firstAttribute="width" secondItem="dBw-Ah-PdC" secondAttribute="height" multiplier="75:26" constant="-184.61538461538464" id="TPf-GA-x4f"/> | ||
859 | + </constraints> | ||
860 | + </imageView> | ||
861 | + <imageView clipsSubviews="YES" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="defphoto" translatesAutoresizingMaskIntoConstraints="NO" id="Zdk-Ss-GXj"> | ||
862 | + <rect key="frame" x="157" y="164" width="60" height="60"/> | ||
863 | + <gestureRecognizers/> | ||
864 | + <constraints> | ||
865 | + <constraint firstAttribute="width" constant="60" id="2d0-Gx-wf4"/> | ||
866 | + <constraint firstAttribute="width" secondItem="Zdk-Ss-GXj" secondAttribute="height" multiplier="1:1" id="Krh-qo-Nfu"/> | ||
867 | + </constraints> | ||
868 | + <userDefinedRuntimeAttributes> | ||
869 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
870 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
871 | + <integer key="value" value="30"/> | ||
872 | + </userDefinedRuntimeAttribute> | ||
873 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.borderWidth"> | ||
874 | + <integer key="value" value="1"/> | ||
875 | + </userDefinedRuntimeAttribute> | ||
876 | + <userDefinedRuntimeAttribute type="color" keyPath="layer.borderColor"> | ||
877 | + <color key="value" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> | ||
878 | + </userDefinedRuntimeAttribute> | ||
879 | + </userDefinedRuntimeAttributes> | ||
880 | + <connections> | ||
881 | + <outletCollection property="gestureRecognizers" destination="heA-fM-Hs8" appends="YES" id="3D0-Q5-RBY"/> | ||
882 | + </connections> | ||
883 | + </imageView> | ||
884 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="y6z-bD-r7F"> | ||
885 | + <rect key="frame" x="0.0" y="232" width="375" height="40"/> | ||
886 | + <subviews> | ||
887 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="马伯骞" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XwI-R6-0Wc"> | ||
888 | + <rect key="frame" x="0.0" y="0.0" width="375" height="20.5"/> | ||
889 | + <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
890 | + <nil key="textColor"/> | ||
891 | + <nil key="highlightedColor"/> | ||
892 | + </label> | ||
893 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="账号:123456789" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="RyS-vM-5zL"> | ||
894 | + <rect key="frame" x="132.5" y="20.5" width="110" height="16"/> | ||
895 | + <fontDescription key="fontDescription" type="system" pointSize="13"/> | ||
896 | + <color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> | ||
897 | + <nil key="highlightedColor"/> | ||
898 | + </label> | ||
899 | + </subviews> | ||
900 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | ||
901 | + <constraints> | ||
902 | + <constraint firstAttribute="trailing" secondItem="XwI-R6-0Wc" secondAttribute="trailing" id="1Va-2K-dkN"/> | ||
903 | + <constraint firstItem="XwI-R6-0Wc" firstAttribute="top" secondItem="y6z-bD-r7F" secondAttribute="top" id="529-n5-Doq"/> | ||
904 | + <constraint firstItem="RyS-vM-5zL" firstAttribute="top" secondItem="XwI-R6-0Wc" secondAttribute="bottom" id="F19-ix-OSN"/> | ||
905 | + <constraint firstItem="XwI-R6-0Wc" firstAttribute="leading" secondItem="y6z-bD-r7F" secondAttribute="leading" id="Uoq-O5-k4k"/> | ||
906 | + <constraint firstItem="RyS-vM-5zL" firstAttribute="centerX" secondItem="y6z-bD-r7F" secondAttribute="centerX" id="hpZ-0Z-EHk"/> | ||
907 | + <constraint firstAttribute="height" constant="40" id="mdX-xG-DIR"/> | ||
908 | + </constraints> | ||
909 | + </view> | ||
910 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Uth-8y-Dh9"> | ||
911 | + <rect key="frame" x="8" y="280" width="359" height="80"/> | ||
912 | + <subviews> | ||
913 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ihB-8i-MWP"> | ||
914 | + <rect key="frame" x="8" y="40" width="343" height="1"/> | ||
915 | + <color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/> | ||
916 | + <constraints> | ||
917 | + <constraint firstAttribute="height" constant="1" id="VD3-nv-neo"/> | ||
918 | + </constraints> | ||
919 | + <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
920 | + <nil key="textColor"/> | ||
921 | + <nil key="highlightedColor"/> | ||
922 | + </label> | ||
923 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="用户名" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GyV-YU-DoH"> | ||
924 | + <rect key="frame" x="8" y="8" width="46" height="18"/> | ||
925 | + <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
926 | + <nil key="textColor"/> | ||
927 | + <nil key="highlightedColor"/> | ||
928 | + </label> | ||
929 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="性别" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="y6m-lj-t2V"> | ||
930 | + <rect key="frame" x="8" y="54" width="31" height="18"/> | ||
931 | + <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
932 | + <nil key="textColor"/> | ||
933 | + <nil key="highlightedColor"/> | ||
934 | + </label> | ||
935 | + <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="马伯骞" textAlignment="right" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="IMI-JO-boC"> | ||
936 | + <rect key="frame" x="62" y="8" width="289" height="18"/> | ||
937 | + <nil key="textColor"/> | ||
938 | + <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
939 | + <textInputTraits key="textInputTraits" returnKeyType="done"/> | ||
940 | + <connections> | ||
941 | + <outlet property="delegate" destination="izC-aW-wN3" id="hbx-jD-Mit"/> | ||
942 | + </connections> | ||
943 | + </textField> | ||
944 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="女" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="a0P-5N-IiP"> | ||
945 | + <rect key="frame" x="304.5" y="54" width="15.5" height="18"/> | ||
946 | + <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
947 | + <nil key="textColor"/> | ||
948 | + <nil key="highlightedColor"/> | ||
949 | + </label> | ||
950 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="WZc-Xr-O2X"> | ||
951 | + <rect key="frame" x="325" y="50" width="24" height="24"/> | ||
952 | + <constraints> | ||
953 | + <constraint firstAttribute="width" secondItem="WZc-Xr-O2X" secondAttribute="height" multiplier="1:1" id="fe9-zN-kOK"/> | ||
954 | + <constraint firstAttribute="width" constant="24" id="iBQ-AE-XtE"/> | ||
955 | + </constraints> | ||
956 | + <state key="normal" image="my_currentInf_gendernoselected"/> | ||
957 | + <connections> | ||
958 | + <action selector="selectGirlAction:" destination="izC-aW-wN3" eventType="touchUpInside" id="Jtv-Rl-ArX"/> | ||
959 | + </connections> | ||
960 | + </button> | ||
961 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dwh-Ac-2Me"> | ||
962 | + <rect key="frame" x="265.5" y="50" width="24" height="24"/> | ||
963 | + <constraints> | ||
964 | + <constraint firstAttribute="width" secondItem="dwh-Ac-2Me" secondAttribute="height" multiplier="1:1" id="05m-7S-UJX"/> | ||
965 | + <constraint firstAttribute="width" constant="24" id="QjG-x1-3VV"/> | ||
966 | + </constraints> | ||
967 | + <state key="normal" image="my_currentInf_gendernoselected"/> | ||
968 | + <connections> | ||
969 | + <action selector="selectBoyAction:" destination="izC-aW-wN3" eventType="touchUpInside" id="cst-Ok-qII"/> | ||
970 | + </connections> | ||
971 | + </button> | ||
972 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="男" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="12a-FL-Ibf"> | ||
973 | + <rect key="frame" x="245" y="54" width="15.5" height="18"/> | ||
974 | + <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
975 | + <nil key="textColor"/> | ||
976 | + <nil key="highlightedColor"/> | ||
977 | + </label> | ||
978 | + </subviews> | ||
979 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
980 | + <constraints> | ||
981 | + <constraint firstAttribute="trailing" secondItem="IMI-JO-boC" secondAttribute="trailing" constant="8" id="37N-xB-Mt3"/> | ||
982 | + <constraint firstItem="dwh-Ac-2Me" firstAttribute="leading" secondItem="12a-FL-Ibf" secondAttribute="trailing" constant="5" id="5Ba-Me-Bon"/> | ||
983 | + <constraint firstItem="a0P-5N-IiP" firstAttribute="leading" secondItem="dwh-Ac-2Me" secondAttribute="trailing" constant="15" id="A4J-Jt-vSg"/> | ||
984 | + <constraint firstAttribute="trailing" secondItem="ihB-8i-MWP" secondAttribute="trailing" constant="8" id="CA5-e0-Qt8"/> | ||
985 | + <constraint firstAttribute="bottom" secondItem="WZc-Xr-O2X" secondAttribute="bottom" constant="6" id="CFs-Hx-0M5"/> | ||
986 | + <constraint firstItem="IMI-JO-boC" firstAttribute="top" secondItem="Uth-8y-Dh9" secondAttribute="top" constant="8" id="FfE-Fp-ZKM"/> | ||
987 | + <constraint firstAttribute="bottom" secondItem="12a-FL-Ibf" secondAttribute="bottom" constant="8" id="WL8-z6-nWt"/> | ||
988 | + <constraint firstAttribute="height" constant="80" id="bAI-JN-7AY"/> | ||
989 | + <constraint firstAttribute="trailing" secondItem="WZc-Xr-O2X" secondAttribute="trailing" constant="10" id="cWg-To-gWg"/> | ||
990 | + <constraint firstItem="y6m-lj-t2V" firstAttribute="leading" secondItem="Uth-8y-Dh9" secondAttribute="leading" constant="8" id="ebc-qf-TI2"/> | ||
991 | + <constraint firstItem="GyV-YU-DoH" firstAttribute="leading" secondItem="Uth-8y-Dh9" secondAttribute="leading" constant="8" id="f8g-CU-aMV"/> | ||
992 | + <constraint firstItem="WZc-Xr-O2X" firstAttribute="leading" secondItem="a0P-5N-IiP" secondAttribute="trailing" constant="5" id="h0f-qb-svC"/> | ||
993 | + <constraint firstAttribute="bottom" secondItem="a0P-5N-IiP" secondAttribute="bottom" constant="8" id="ifX-Hr-13T"/> | ||
994 | + <constraint firstItem="ihB-8i-MWP" firstAttribute="centerY" secondItem="Uth-8y-Dh9" secondAttribute="centerY" id="jWx-kK-Lof"/> | ||
995 | + <constraint firstItem="IMI-JO-boC" firstAttribute="leading" secondItem="GyV-YU-DoH" secondAttribute="trailing" constant="8" id="kTr-BS-8wC"/> | ||
996 | + <constraint firstItem="ihB-8i-MWP" firstAttribute="leading" secondItem="Uth-8y-Dh9" secondAttribute="leading" constant="8" id="ndV-6X-frb"/> | ||
997 | + <constraint firstAttribute="bottom" secondItem="dwh-Ac-2Me" secondAttribute="bottom" constant="6" id="uoh-ZV-eU6"/> | ||
998 | + <constraint firstItem="dwh-Ac-2Me" firstAttribute="width" secondItem="dwh-Ac-2Me" secondAttribute="height" multiplier="1:1" id="vyq-Tc-IZI"/> | ||
999 | + <constraint firstItem="GyV-YU-DoH" firstAttribute="top" secondItem="Uth-8y-Dh9" secondAttribute="top" constant="8" id="yxh-EF-fd6"/> | ||
1000 | + <constraint firstAttribute="bottom" secondItem="y6m-lj-t2V" secondAttribute="bottom" constant="8" id="z4r-sm-OVi"/> | ||
1001 | + </constraints> | ||
1002 | + <userDefinedRuntimeAttributes> | ||
1003 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
1004 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
1005 | + <integer key="value" value="5"/> | ||
1006 | + </userDefinedRuntimeAttribute> | ||
1007 | + </userDefinedRuntimeAttributes> | ||
1008 | + </view> | ||
1009 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BJp-u6-ttX"> | ||
1010 | + <rect key="frame" x="8" y="611" width="359" height="40"/> | ||
1011 | + <color key="backgroundColor" red="0.42745098039215684" green="0.60784313725490191" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
1012 | + <constraints> | ||
1013 | + <constraint firstAttribute="height" constant="40" id="0f5-sE-CbZ"/> | ||
1014 | + </constraints> | ||
1015 | + <state key="normal" title="确认"> | ||
1016 | + <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1017 | + </state> | ||
1018 | + <userDefinedRuntimeAttributes> | ||
1019 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
1020 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
1021 | + <integer key="value" value="5"/> | ||
1022 | + </userDefinedRuntimeAttribute> | ||
1023 | + </userDefinedRuntimeAttributes> | ||
1024 | + <connections> | ||
1025 | + <action selector="changeGenderAction:" destination="izC-aW-wN3" eventType="touchUpInside" id="ReC-zD-y7C"/> | ||
1026 | + </connections> | ||
1027 | + </button> | ||
1028 | + </subviews> | ||
1029 | + <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
1030 | + <constraints> | ||
1031 | + <constraint firstItem="Uth-8y-Dh9" firstAttribute="leading" secondItem="HHJ-KZ-gB7" secondAttribute="leading" constant="8" id="0Vf-UT-hQZ"/> | ||
1032 | + <constraint firstItem="dBw-Ah-PdC" firstAttribute="top" secondItem="HHJ-KZ-gB7" secondAttribute="top" constant="-64" id="49z-d5-WPu"/> | ||
1033 | + <constraint firstItem="HHJ-KZ-gB7" firstAttribute="bottom" secondItem="BJp-u6-ttX" secondAttribute="bottom" constant="16" id="7qv-Ny-9qi"/> | ||
1034 | + <constraint firstItem="y6z-bD-r7F" firstAttribute="leading" secondItem="HHJ-KZ-gB7" secondAttribute="leading" id="8g2-dB-0cz"/> | ||
1035 | + <constraint firstItem="BJp-u6-ttX" firstAttribute="leading" secondItem="HHJ-KZ-gB7" secondAttribute="leading" constant="8" id="A7f-sq-CM7"/> | ||
1036 | + <constraint firstItem="y6z-bD-r7F" firstAttribute="top" secondItem="Zdk-Ss-GXj" secondAttribute="bottom" constant="8" id="Un1-8h-G76"/> | ||
1037 | + <constraint firstItem="dBw-Ah-PdC" firstAttribute="trailing" secondItem="HHJ-KZ-gB7" secondAttribute="trailing" id="VW8-Hx-07C"/> | ||
1038 | + <constraint firstItem="Zdk-Ss-GXj" firstAttribute="centerX" secondItem="HHJ-KZ-gB7" secondAttribute="centerX" id="bK7-CE-DtX"/> | ||
1039 | + <constraint firstItem="HHJ-KZ-gB7" firstAttribute="trailing" secondItem="BJp-u6-ttX" secondAttribute="trailing" constant="8" id="cPz-Ue-Kf3"/> | ||
1040 | + <constraint firstItem="Zdk-Ss-GXj" firstAttribute="width" secondItem="Zdk-Ss-GXj" secondAttribute="height" multiplier="1:1" id="efb-BA-jZu"/> | ||
1041 | + <constraint firstItem="HHJ-KZ-gB7" firstAttribute="trailing" secondItem="Uth-8y-Dh9" secondAttribute="trailing" constant="8" id="neg-HM-qG9"/> | ||
1042 | + <constraint firstItem="Zdk-Ss-GXj" firstAttribute="top" secondItem="dBw-Ah-PdC" secondAttribute="bottom" constant="-30" id="oan-I2-Xib"/> | ||
1043 | + <constraint firstItem="dBw-Ah-PdC" firstAttribute="leading" secondItem="HHJ-KZ-gB7" secondAttribute="leading" id="rhv-XX-lHB"/> | ||
1044 | + <constraint firstItem="y6z-bD-r7F" firstAttribute="trailing" secondItem="HHJ-KZ-gB7" secondAttribute="trailing" id="uAc-ym-YEj"/> | ||
1045 | + <constraint firstItem="Uth-8y-Dh9" firstAttribute="top" secondItem="y6z-bD-r7F" secondAttribute="bottom" constant="8" id="vF2-yj-kfG"/> | ||
1046 | + </constraints> | ||
1047 | + <viewLayoutGuide key="safeArea" id="HHJ-KZ-gB7"/> | ||
1048 | + </view> | ||
1049 | + <navigationItem key="navigationItem" title="个人资料" id="Xqo-Nx-wi9"/> | ||
1050 | + <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/> | ||
1051 | + <connections> | ||
1052 | + <outlet property="boyBtn" destination="dwh-Ac-2Me" id="T5B-7R-SeC"/> | ||
1053 | + <outlet property="girlBtn" destination="WZc-Xr-O2X" id="z0Y-xC-hLK"/> | ||
1054 | + <outlet property="nameTextField" destination="IMI-JO-boC" id="tBm-Ie-ik9"/> | ||
1055 | + <outlet property="personIconImageView" destination="Zdk-Ss-GXj" id="Qkw-c1-xoP"/> | ||
1056 | + <outlet property="personNameLabel" destination="XwI-R6-0Wc" id="zTy-Pi-LuE"/> | ||
1057 | + <outlet property="personNumberLabel" destination="RyS-vM-5zL" id="6pV-cq-zlw"/> | ||
1058 | + </connections> | ||
1059 | + </viewController> | ||
1060 | + <placeholder placeholderIdentifier="IBFirstResponder" id="Gwl-3a-Tt0" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
1061 | + <tapGestureRecognizer id="heA-fM-Hs8"> | ||
1062 | + <connections> | ||
1063 | + <action selector="changePhotoAction:" destination="izC-aW-wN3" id="1bY-cB-CFj"/> | ||
1064 | + </connections> | ||
1065 | + </tapGestureRecognizer> | ||
1066 | + </objects> | ||
1067 | + <point key="canvasLocation" x="1606" y="-72"/> | ||
1068 | + </scene> | ||
1069 | + <!--消息--> | ||
1070 | + <scene sceneID="3fz-6T-ky5"> | ||
1071 | + <objects> | ||
1072 | + <viewController storyboardIdentifier="MessageViewController" id="EKJ-IA-6m0" customClass="MessageViewController" customModule="ParentAssistant" customModuleProvider="target" sceneMemberID="viewController"> | ||
1073 | + <view key="view" contentMode="scaleToFill" id="dEM-fo-n7U"> | ||
1074 | + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
1075 | + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
1076 | + <subviews> | ||
1077 | + <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="QSs-3l-Quq"> | ||
1078 | + <rect key="frame" x="0.0" y="64" width="375" height="603"/> | ||
1079 | + <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
1080 | + <prototypes> | ||
1081 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="MessageTableViewCell" rowHeight="125" id="u5z-pq-5o3" customClass="MessageTableViewCell" customModule="ParentAssistant" customModuleProvider="target"> | ||
1082 | + <rect key="frame" x="0.0" y="28" width="375" height="125"/> | ||
1083 | + <autoresizingMask key="autoresizingMask"/> | ||
1084 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="u5z-pq-5o3" id="s5j-A6-UrJ"> | ||
1085 | + <rect key="frame" x="0.0" y="0.0" width="375" height="125"/> | ||
1086 | + <autoresizingMask key="autoresizingMask"/> | ||
1087 | + <subviews> | ||
1088 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="今天 3月7日" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0J4-ZY-CLV"> | ||
1089 | + <rect key="frame" x="8" y="8" width="83" height="21"/> | ||
1090 | + <constraints> | ||
1091 | + <constraint firstAttribute="height" constant="21" id="O8f-YB-ASc"/> | ||
1092 | + </constraints> | ||
1093 | + <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
1094 | + <nil key="textColor"/> | ||
1095 | + <nil key="highlightedColor"/> | ||
1096 | + </label> | ||
1097 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eFM-zy-Ic4"> | ||
1098 | + <rect key="frame" x="8" y="37" width="359" height="80"/> | ||
1099 | + <subviews> | ||
1100 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="您已于2018年3月7日14:00您的孩子李晓明成功订购2018您5月-6月平安短信包,如有疑问请致电10086" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZQc-LK-RdK"> | ||
1101 | + <rect key="frame" x="8" y="0.0" width="343" height="80"/> | ||
1102 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1103 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
1104 | + <color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> | ||
1105 | + <nil key="highlightedColor"/> | ||
1106 | + </label> | ||
1107 | + </subviews> | ||
1108 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1109 | + <constraints> | ||
1110 | + <constraint firstAttribute="bottom" secondItem="ZQc-LK-RdK" secondAttribute="bottom" id="ALa-GI-FLw"/> | ||
1111 | + <constraint firstItem="ZQc-LK-RdK" firstAttribute="top" secondItem="eFM-zy-Ic4" secondAttribute="top" id="era-dN-Q15"/> | ||
1112 | + <constraint firstAttribute="trailing" secondItem="ZQc-LK-RdK" secondAttribute="trailing" constant="8" id="jLo-PI-RaR"/> | ||
1113 | + <constraint firstItem="ZQc-LK-RdK" firstAttribute="leading" secondItem="eFM-zy-Ic4" secondAttribute="leading" constant="8" id="kz1-1v-hmE"/> | ||
1114 | + </constraints> | ||
1115 | + </view> | ||
1116 | + </subviews> | ||
1117 | + <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
1118 | + <constraints> | ||
1119 | + <constraint firstAttribute="trailing" secondItem="eFM-zy-Ic4" secondAttribute="trailing" constant="8" id="J1Y-o5-GYQ"/> | ||
1120 | + <constraint firstItem="0J4-ZY-CLV" firstAttribute="leading" secondItem="s5j-A6-UrJ" secondAttribute="leading" constant="8" id="PwQ-Ps-FO8"/> | ||
1121 | + <constraint firstAttribute="bottom" secondItem="eFM-zy-Ic4" secondAttribute="bottom" constant="8" id="U7G-jU-1tP"/> | ||
1122 | + <constraint firstItem="0J4-ZY-CLV" firstAttribute="top" secondItem="s5j-A6-UrJ" secondAttribute="top" constant="8" id="a5p-YP-ENj"/> | ||
1123 | + <constraint firstItem="eFM-zy-Ic4" firstAttribute="leading" secondItem="s5j-A6-UrJ" secondAttribute="leading" constant="8" id="mcV-kV-JKh"/> | ||
1124 | + <constraint firstItem="eFM-zy-Ic4" firstAttribute="top" secondItem="0J4-ZY-CLV" secondAttribute="bottom" constant="8" id="nCo-so-ayI"/> | ||
1125 | + </constraints> | ||
1126 | + </tableViewCellContentView> | ||
1127 | + <connections> | ||
1128 | + <outlet property="contentLabel" destination="ZQc-LK-RdK" id="8iG-k9-H51"/> | ||
1129 | + <outlet property="dateLabel" destination="0J4-ZY-CLV" id="kHK-Zh-a3X"/> | ||
1130 | + </connections> | ||
1131 | + </tableViewCell> | ||
1132 | + </prototypes> | ||
1133 | + <connections> | ||
1134 | + <outlet property="dataSource" destination="EKJ-IA-6m0" id="fsv-nj-IA7"/> | ||
1135 | + <outlet property="delegate" destination="EKJ-IA-6m0" id="ZA1-g1-8Fn"/> | ||
1136 | + </connections> | ||
1137 | + </tableView> | ||
1138 | + </subviews> | ||
1139 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1140 | + <constraints> | ||
1141 | + <constraint firstItem="QSs-3l-Quq" firstAttribute="bottom" secondItem="BCb-p1-9Jw" secondAttribute="bottom" id="1eD-Fp-noZ"/> | ||
1142 | + <constraint firstItem="QSs-3l-Quq" firstAttribute="top" secondItem="BCb-p1-9Jw" secondAttribute="top" id="TGP-Gm-Hrv"/> | ||
1143 | + <constraint firstItem="QSs-3l-Quq" firstAttribute="leading" secondItem="BCb-p1-9Jw" secondAttribute="leading" id="khp-yE-rim"/> | ||
1144 | + <constraint firstItem="QSs-3l-Quq" firstAttribute="trailing" secondItem="BCb-p1-9Jw" secondAttribute="trailing" id="zIk-oq-lsL"/> | ||
1145 | + </constraints> | ||
1146 | + <viewLayoutGuide key="safeArea" id="BCb-p1-9Jw"/> | ||
1147 | + </view> | ||
1148 | + <navigationItem key="navigationItem" title="消息" id="VoN-Zn-E7o"/> | ||
1149 | + <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/> | ||
1150 | + <connections> | ||
1151 | + <outlet property="messageTableView" destination="QSs-3l-Quq" id="6Ma-JA-qjQ"/> | ||
1152 | + </connections> | ||
1153 | + </viewController> | ||
1154 | + <placeholder placeholderIdentifier="IBFirstResponder" id="8Mf-Pb-d3H" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
1155 | + </objects> | ||
1156 | + <point key="canvasLocation" x="-1308" y="591.45427286356824"/> | ||
1157 | + </scene> | ||
1158 | + <!--订购详情--> | ||
1159 | + <scene sceneID="jks-6y-zvf"> | ||
1160 | + <objects> | ||
1161 | + <viewController storyboardIdentifier="OrderDetailViewController" id="T2s-vC-r3O" customClass="OrderDetailViewController" customModule="ParentAssistant" customModuleProvider="target" sceneMemberID="viewController"> | ||
1162 | + <view key="view" contentMode="scaleToFill" id="SK2-3t-ifj"> | ||
1163 | + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
1164 | + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
1165 | + <subviews> | ||
1166 | + <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="IPW-Bu-bgJ"> | ||
1167 | + <rect key="frame" x="0.0" y="64" width="375" height="603"/> | ||
1168 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | ||
1169 | + <prototypes> | ||
1170 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="OrderDetailTableViewCell" rowHeight="258" id="66O-gu-yCM" customClass="OrderDetailTableViewCell" customModule="ParentAssistant" customModuleProvider="target"> | ||
1171 | + <rect key="frame" x="0.0" y="28" width="375" height="258"/> | ||
1172 | + <autoresizingMask key="autoresizingMask"/> | ||
1173 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="66O-gu-yCM" id="YtF-a4-tlb"> | ||
1174 | + <rect key="frame" x="0.0" y="0.0" width="375" height="258"/> | ||
1175 | + <autoresizingMask key="autoresizingMask"/> | ||
1176 | + <subviews> | ||
1177 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="3月7日" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="shu-Bf-tj9"> | ||
1178 | + <rect key="frame" x="16" y="8" width="343" height="21"/> | ||
1179 | + <fontDescription key="fontDescription" type="system" pointSize="17"/> | ||
1180 | + <nil key="textColor"/> | ||
1181 | + <nil key="highlightedColor"/> | ||
1182 | + </label> | ||
1183 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="mAX-5m-IRU"> | ||
1184 | + <rect key="frame" x="16" y="37" width="343" height="221"/> | ||
1185 | + <subviews> | ||
1186 | + <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="jQT-Gw-6Pc"> | ||
1187 | + <rect key="frame" x="0.0" y="0.0" width="343" height="221"/> | ||
1188 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1189 | + <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="0.0" minimumInteritemSpacing="0.0" id="yXf-lE-cFR"> | ||
1190 | + <size key="itemSize" width="117" height="193"/> | ||
1191 | + <size key="headerReferenceSize" width="0.0" height="0.0"/> | ||
1192 | + <size key="footerReferenceSize" width="0.0" height="0.0"/> | ||
1193 | + <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/> | ||
1194 | + </collectionViewFlowLayout> | ||
1195 | + <cells> | ||
1196 | + <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="OrderDetailCollectionViewCell" id="tMA-SJ-PAF" customClass="OrderDetailCollectionViewCell" customModule="ParentAssistant" customModuleProvider="target"> | ||
1197 | + <rect key="frame" x="0.0" y="0.0" width="117" height="193"/> | ||
1198 | + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | ||
1199 | + <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO"> | ||
1200 | + <rect key="frame" x="0.0" y="0.0" width="117" height="193"/> | ||
1201 | + <autoresizingMask key="autoresizingMask"/> | ||
1202 | + <subviews> | ||
1203 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wo3-ux-AP3"> | ||
1204 | + <rect key="frame" x="8" y="16" width="101" height="161"/> | ||
1205 | + <subviews> | ||
1206 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="puB-7U-5M7"> | ||
1207 | + <rect key="frame" x="0.0" y="0.0" width="101" height="161"/> | ||
1208 | + <subviews> | ||
1209 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2018/3-2018/7" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9Kj-Sb-Gta"> | ||
1210 | + <rect key="frame" x="0.0" y="4" width="101" height="15"/> | ||
1211 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1212 | + <constraints> | ||
1213 | + <constraint firstAttribute="height" constant="15" id="o2J-4q-TQe"/> | ||
1214 | + </constraints> | ||
1215 | + <fontDescription key="fontDescription" type="system" pointSize="11"/> | ||
1216 | + <color key="textColor" red="0.65884900089999998" green="0.7812994123" blue="0.99654072520000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
1217 | + <nil key="highlightedColor"/> | ||
1218 | + </label> | ||
1219 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="平安短信包" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6HS-im-8JP"> | ||
1220 | + <rect key="frame" x="0.0" y="23" width="101" height="15"/> | ||
1221 | + <constraints> | ||
1222 | + <constraint firstAttribute="height" constant="15" id="oiv-LY-dof"/> | ||
1223 | + </constraints> | ||
1224 | + <fontDescription key="fontDescription" type="system" pointSize="12"/> | ||
1225 | + <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1226 | + <nil key="highlightedColor"/> | ||
1227 | + </label> | ||
1228 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yvD-Bw-gtX"> | ||
1229 | + <rect key="frame" x="0.0" y="146" width="101" height="15"/> | ||
1230 | + <subviews> | ||
1231 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="订购成功" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ofx-WR-e6I"> | ||
1232 | + <rect key="frame" x="33.5" y="0.0" width="67.5" height="15"/> | ||
1233 | + <fontDescription key="fontDescription" type="system" pointSize="13"/> | ||
1234 | + <color key="textColor" red="0.0" green="1" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> | ||
1235 | + <nil key="highlightedColor"/> | ||
1236 | + </label> | ||
1237 | + <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="my_headerView_backgroundimageView" translatesAutoresizingMaskIntoConstraints="NO" id="z7A-7I-LBj"> | ||
1238 | + <rect key="frame" x="12" y="1" width="13" height="13"/> | ||
1239 | + <constraints> | ||
1240 | + <constraint firstAttribute="width" secondItem="z7A-7I-LBj" secondAttribute="height" multiplier="1:1" id="lok-9J-ch0"/> | ||
1241 | + </constraints> | ||
1242 | + </imageView> | ||
1243 | + </subviews> | ||
1244 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1245 | + <constraints> | ||
1246 | + <constraint firstAttribute="bottom" secondItem="z7A-7I-LBj" secondAttribute="bottom" constant="1" id="6uK-dW-yVi"/> | ||
1247 | + <constraint firstAttribute="bottom" secondItem="Ofx-WR-e6I" secondAttribute="bottom" id="72K-oX-A7B"/> | ||
1248 | + <constraint firstItem="Ofx-WR-e6I" firstAttribute="top" secondItem="yvD-Bw-gtX" secondAttribute="top" id="Avg-ga-081"/> | ||
1249 | + <constraint firstItem="z7A-7I-LBj" firstAttribute="top" secondItem="yvD-Bw-gtX" secondAttribute="top" constant="1" id="FHm-rJ-oGl"/> | ||
1250 | + <constraint firstAttribute="height" constant="15" id="Hr2-kD-gTk"/> | ||
1251 | + <constraint firstItem="Ofx-WR-e6I" firstAttribute="leading" secondItem="z7A-7I-LBj" secondAttribute="trailing" constant="8" id="gzC-Qa-uzS"/> | ||
1252 | + <constraint firstAttribute="trailing" secondItem="Ofx-WR-e6I" secondAttribute="trailing" id="i7H-Li-eff"/> | ||
1253 | + <constraint firstItem="Ofx-WR-e6I" firstAttribute="width" secondItem="yvD-Bw-gtX" secondAttribute="width" multiplier="2:3" id="qFO-2s-NAr"/> | ||
1254 | + </constraints> | ||
1255 | + </view> | ||
1256 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="my_order_message" translatesAutoresizingMaskIntoConstraints="NO" id="dUK-vU-KZm"> | ||
1257 | + <rect key="frame" x="-18.5" y="42" width="138" height="96"/> | ||
1258 | + <constraints> | ||
1259 | + <constraint firstAttribute="width" secondItem="dUK-vU-KZm" secondAttribute="height" multiplier="105:73" id="km8-lQ-Fy8"/> | ||
1260 | + </constraints> | ||
1261 | + </imageView> | ||
1262 | + </subviews> | ||
1263 | + <color key="backgroundColor" red="0.61176470588235299" green="0.74901960784313726" blue="0.99215686274509807" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
1264 | + <constraints> | ||
1265 | + <constraint firstAttribute="trailing" secondItem="6HS-im-8JP" secondAttribute="trailing" id="1mx-Xa-sdD"/> | ||
1266 | + <constraint firstItem="9Kj-Sb-Gta" firstAttribute="leading" secondItem="puB-7U-5M7" secondAttribute="leading" id="6Nm-pg-IaQ"/> | ||
1267 | + <constraint firstItem="6HS-im-8JP" firstAttribute="leading" secondItem="puB-7U-5M7" secondAttribute="leading" id="6xI-5T-riH"/> | ||
1268 | + <constraint firstItem="dUK-vU-KZm" firstAttribute="centerX" secondItem="puB-7U-5M7" secondAttribute="centerX" id="70I-VC-zK8"/> | ||
1269 | + <constraint firstAttribute="trailing" secondItem="yvD-Bw-gtX" secondAttribute="trailing" id="Chw-NL-8yH"/> | ||
1270 | + <constraint firstAttribute="bottom" secondItem="yvD-Bw-gtX" secondAttribute="bottom" id="Hfw-jV-mxI"/> | ||
1271 | + <constraint firstItem="9Kj-Sb-Gta" firstAttribute="top" secondItem="puB-7U-5M7" secondAttribute="top" constant="4" id="dx6-xH-dTG"/> | ||
1272 | + <constraint firstItem="yvD-Bw-gtX" firstAttribute="top" secondItem="dUK-vU-KZm" secondAttribute="bottom" constant="8" id="gjV-Vr-cjP"/> | ||
1273 | + <constraint firstItem="6HS-im-8JP" firstAttribute="top" secondItem="9Kj-Sb-Gta" secondAttribute="bottom" constant="4" id="kNF-Qq-xzV"/> | ||
1274 | + <constraint firstItem="dUK-vU-KZm" firstAttribute="top" secondItem="6HS-im-8JP" secondAttribute="bottom" constant="4" id="lkI-fh-goP"/> | ||
1275 | + <constraint firstAttribute="trailing" secondItem="9Kj-Sb-Gta" secondAttribute="trailing" id="wF7-JS-fvF"/> | ||
1276 | + <constraint firstItem="yvD-Bw-gtX" firstAttribute="leading" secondItem="puB-7U-5M7" secondAttribute="leading" id="xig-e0-cCk"/> | ||
1277 | + </constraints> | ||
1278 | + <userDefinedRuntimeAttributes> | ||
1279 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
1280 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
1281 | + <integer key="value" value="10"/> | ||
1282 | + </userDefinedRuntimeAttribute> | ||
1283 | + </userDefinedRuntimeAttributes> | ||
1284 | + </view> | ||
1285 | + </subviews> | ||
1286 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | ||
1287 | + <constraints> | ||
1288 | + <constraint firstItem="puB-7U-5M7" firstAttribute="leading" secondItem="wo3-ux-AP3" secondAttribute="leading" id="BhB-ND-9Rb"/> | ||
1289 | + <constraint firstItem="puB-7U-5M7" firstAttribute="top" secondItem="wo3-ux-AP3" secondAttribute="top" id="git-QL-3kZ"/> | ||
1290 | + <constraint firstAttribute="trailing" secondItem="puB-7U-5M7" secondAttribute="trailing" id="xcY-6u-ggq"/> | ||
1291 | + <constraint firstAttribute="bottom" secondItem="puB-7U-5M7" secondAttribute="bottom" id="xgW-8y-o0V"/> | ||
1292 | + </constraints> | ||
1293 | + </view> | ||
1294 | + </subviews> | ||
1295 | + </view> | ||
1296 | + <constraints> | ||
1297 | + <constraint firstItem="wo3-ux-AP3" firstAttribute="top" secondItem="tMA-SJ-PAF" secondAttribute="top" constant="16" id="BDf-P4-moY"/> | ||
1298 | + <constraint firstAttribute="trailing" secondItem="wo3-ux-AP3" secondAttribute="trailing" constant="8" id="V21-JX-sUs"/> | ||
1299 | + <constraint firstAttribute="bottom" secondItem="wo3-ux-AP3" secondAttribute="bottom" constant="16" id="Zld-3l-mFR"/> | ||
1300 | + <constraint firstItem="wo3-ux-AP3" firstAttribute="leading" secondItem="tMA-SJ-PAF" secondAttribute="leading" constant="8" id="vGu-NO-mPw"/> | ||
1301 | + </constraints> | ||
1302 | + <userDefinedRuntimeAttributes> | ||
1303 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
1304 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
1305 | + <integer key="value" value="10"/> | ||
1306 | + </userDefinedRuntimeAttribute> | ||
1307 | + </userDefinedRuntimeAttributes> | ||
1308 | + <connections> | ||
1309 | + <outlet property="backGroundView" destination="puB-7U-5M7" id="Hc2-lb-85i"/> | ||
1310 | + <outlet property="orderIconImage" destination="dUK-vU-KZm" id="CqD-iV-4rO"/> | ||
1311 | + <outlet property="orderNameLabel" destination="6HS-im-8JP" id="4lr-AO-uyt"/> | ||
1312 | + <outlet property="orderStateImage" destination="z7A-7I-LBj" id="3O3-c6-P0b"/> | ||
1313 | + <outlet property="orderStateLabel" destination="Ofx-WR-e6I" id="zYW-jz-258"/> | ||
1314 | + <outlet property="subviewsView" destination="wo3-ux-AP3" id="NhH-QD-N56"/> | ||
1315 | + <outlet property="timeLabelHeight" destination="o2J-4q-TQe" id="Tsi-u6-pJB"/> | ||
1316 | + </connections> | ||
1317 | + </collectionViewCell> | ||
1318 | + </cells> | ||
1319 | + <connections> | ||
1320 | + <outlet property="dataSource" destination="66O-gu-yCM" id="XAx-iC-Z0C"/> | ||
1321 | + <outlet property="delegate" destination="66O-gu-yCM" id="I19-Bh-7cQ"/> | ||
1322 | + </connections> | ||
1323 | + </collectionView> | ||
1324 | + </subviews> | ||
1325 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1326 | + <constraints> | ||
1327 | + <constraint firstAttribute="trailing" secondItem="jQT-Gw-6Pc" secondAttribute="trailing" id="C2u-FX-8Wq"/> | ||
1328 | + <constraint firstItem="jQT-Gw-6Pc" firstAttribute="leading" secondItem="mAX-5m-IRU" secondAttribute="leading" id="EIA-HZ-hmj"/> | ||
1329 | + <constraint firstItem="jQT-Gw-6Pc" firstAttribute="top" secondItem="mAX-5m-IRU" secondAttribute="top" id="ZkU-e3-Xld"/> | ||
1330 | + <constraint firstAttribute="bottom" secondItem="jQT-Gw-6Pc" secondAttribute="bottom" id="mmF-KW-xc3"/> | ||
1331 | + </constraints> | ||
1332 | + </view> | ||
1333 | + </subviews> | ||
1334 | + <constraints> | ||
1335 | + <constraint firstAttribute="trailing" secondItem="mAX-5m-IRU" secondAttribute="trailing" constant="16" id="0LD-Ru-GDE"/> | ||
1336 | + <constraint firstAttribute="bottom" secondItem="mAX-5m-IRU" secondAttribute="bottom" id="2YI-07-FRZ"/> | ||
1337 | + <constraint firstItem="mAX-5m-IRU" firstAttribute="leading" secondItem="YtF-a4-tlb" secondAttribute="leading" constant="16" id="Fwm-2w-rNq"/> | ||
1338 | + <constraint firstItem="shu-Bf-tj9" firstAttribute="top" secondItem="YtF-a4-tlb" secondAttribute="top" constant="8" id="GDV-EN-kXf"/> | ||
1339 | + <constraint firstItem="mAX-5m-IRU" firstAttribute="top" secondItem="shu-Bf-tj9" secondAttribute="bottom" constant="8" id="KA4-fa-VeV"/> | ||
1340 | + <constraint firstItem="shu-Bf-tj9" firstAttribute="leading" secondItem="YtF-a4-tlb" secondAttribute="leading" constant="16" id="XK2-NU-hwY"/> | ||
1341 | + <constraint firstAttribute="trailing" secondItem="shu-Bf-tj9" secondAttribute="trailing" constant="16" id="dfi-eF-QSc"/> | ||
1342 | + </constraints> | ||
1343 | + </tableViewCellContentView> | ||
1344 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | ||
1345 | + <connections> | ||
1346 | + <outlet property="dateLabel" destination="shu-Bf-tj9" id="2Go-c0-JP8"/> | ||
1347 | + </connections> | ||
1348 | + </tableViewCell> | ||
1349 | + </prototypes> | ||
1350 | + <connections> | ||
1351 | + <outlet property="dataSource" destination="T2s-vC-r3O" id="4z9-fO-GxB"/> | ||
1352 | + <outlet property="delegate" destination="T2s-vC-r3O" id="IFq-sw-WfL"/> | ||
1353 | + </connections> | ||
1354 | + </tableView> | ||
1355 | + </subviews> | ||
1356 | + <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
1357 | + <constraints> | ||
1358 | + <constraint firstItem="IPW-Bu-bgJ" firstAttribute="trailing" secondItem="aRF-no-eGj" secondAttribute="trailing" id="IwC-G2-Av9"/> | ||
1359 | + <constraint firstItem="IPW-Bu-bgJ" firstAttribute="leading" secondItem="aRF-no-eGj" secondAttribute="leading" id="ml9-0r-5HR"/> | ||
1360 | + <constraint firstItem="IPW-Bu-bgJ" firstAttribute="top" secondItem="aRF-no-eGj" secondAttribute="top" id="xXN-ly-GNk"/> | ||
1361 | + <constraint firstItem="IPW-Bu-bgJ" firstAttribute="bottom" secondItem="aRF-no-eGj" secondAttribute="bottom" id="xc6-DL-zc1"/> | ||
1362 | + </constraints> | ||
1363 | + <viewLayoutGuide key="safeArea" id="aRF-no-eGj"/> | ||
1364 | + </view> | ||
1365 | + <navigationItem key="navigationItem" title="订购详情" id="bNJ-vR-d6g"/> | ||
1366 | + <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/> | ||
1367 | + <connections> | ||
1368 | + <outlet property="orderTableView" destination="IPW-Bu-bgJ" id="6GH-aD-HCS"/> | ||
1369 | + </connections> | ||
1370 | + </viewController> | ||
1371 | + <placeholder placeholderIdentifier="IBFirstResponder" id="EcJ-KA-gYw" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
1372 | + </objects> | ||
1373 | + <point key="canvasLocation" x="-570.39999999999998" y="590.55472263868069"/> | ||
1374 | + </scene> | ||
1375 | + <!--我的孩子--> | ||
1376 | + <scene sceneID="Ah7-Hb-4KR"> | ||
1377 | + <objects> | ||
1378 | + <viewController storyboardIdentifier="MyChildrenViewController" id="F5m-SJ-9rv" customClass="MyChildrenViewController" customModule="ParentAssistant" customModuleProvider="target" sceneMemberID="viewController"> | ||
1379 | + <view key="view" contentMode="scaleToFill" id="TbA-VH-nuQ"> | ||
1380 | + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
1381 | + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
1382 | + <subviews> | ||
1383 | + <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="by8-8x-HbM"> | ||
1384 | + <rect key="frame" x="0.0" y="64" width="375" height="553"/> | ||
1385 | + <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
1386 | + <prototypes> | ||
1387 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="MyChildrenTableViewCell" rowHeight="99" id="AsM-fi-1E0" customClass="MyChildrenTableViewCell" customModule="ParentAssistant" customModuleProvider="target"> | ||
1388 | + <rect key="frame" x="0.0" y="28" width="375" height="99"/> | ||
1389 | + <autoresizingMask key="autoresizingMask"/> | ||
1390 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="AsM-fi-1E0" id="Gjd-aD-daq"> | ||
1391 | + <rect key="frame" x="0.0" y="0.0" width="375" height="99"/> | ||
1392 | + <autoresizingMask key="autoresizingMask"/> | ||
1393 | + <subviews> | ||
1394 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PI4-bo-uCj"> | ||
1395 | + <rect key="frame" x="0.0" y="8" width="375" height="91"/> | ||
1396 | + <subviews> | ||
1397 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="李小明" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rFe-A4-Jh2"> | ||
1398 | + <rect key="frame" x="10" y="10" width="46" height="18"/> | ||
1399 | + <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
1400 | + <nil key="textColor"/> | ||
1401 | + <nil key="highlightedColor"/> | ||
1402 | + </label> | ||
1403 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="顺治中学 初一(3)班" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IMi-wW-7dF"> | ||
1404 | + <rect key="frame" x="10" y="33" width="132" height="16"/> | ||
1405 | + <fontDescription key="fontDescription" type="system" pointSize="13"/> | ||
1406 | + <color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> | ||
1407 | + <nil key="highlightedColor"/> | ||
1408 | + </label> | ||
1409 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="AOx-bl-8U0"> | ||
1410 | + <rect key="frame" x="305" y="30.5" width="60" height="30"/> | ||
1411 | + <constraints> | ||
1412 | + <constraint firstAttribute="width" constant="60" id="2Cd-Rt-Xff"/> | ||
1413 | + </constraints> | ||
1414 | + <state key="normal" title="去订购"/> | ||
1415 | + <userDefinedRuntimeAttributes> | ||
1416 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
1417 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
1418 | + <integer key="value" value="15"/> | ||
1419 | + </userDefinedRuntimeAttribute> | ||
1420 | + </userDefinedRuntimeAttributes> | ||
1421 | + <connections> | ||
1422 | + <action selector="orderBuyAction:" destination="F5m-SJ-9rv" eventType="touchUpInside" id="DCB-7r-Ejn"/> | ||
1423 | + </connections> | ||
1424 | + </button> | ||
1425 | + </subviews> | ||
1426 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1427 | + <constraints> | ||
1428 | + <constraint firstItem="IMi-wW-7dF" firstAttribute="top" secondItem="rFe-A4-Jh2" secondAttribute="bottom" constant="5" id="8T0-XL-hPQ"/> | ||
1429 | + <constraint firstItem="IMi-wW-7dF" firstAttribute="leading" secondItem="rFe-A4-Jh2" secondAttribute="leading" id="SyV-cD-BbF"/> | ||
1430 | + <constraint firstItem="AOx-bl-8U0" firstAttribute="trailing" secondItem="PI4-bo-uCj" secondAttribute="trailing" constant="-10" id="Ug3-9Z-xns"/> | ||
1431 | + <constraint firstItem="rFe-A4-Jh2" firstAttribute="leading" secondItem="PI4-bo-uCj" secondAttribute="leading" constant="10" id="XMi-yQ-Kto"/> | ||
1432 | + <constraint firstItem="rFe-A4-Jh2" firstAttribute="top" secondItem="PI4-bo-uCj" secondAttribute="top" constant="10" id="jZ2-ol-CC9"/> | ||
1433 | + <constraint firstItem="AOx-bl-8U0" firstAttribute="centerY" secondItem="PI4-bo-uCj" secondAttribute="centerY" id="nsi-gZ-Ijn"/> | ||
1434 | + </constraints> | ||
1435 | + </view> | ||
1436 | + </subviews> | ||
1437 | + <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
1438 | + <constraints> | ||
1439 | + <constraint firstAttribute="bottom" secondItem="PI4-bo-uCj" secondAttribute="bottom" id="6fV-1x-uww"/> | ||
1440 | + <constraint firstItem="PI4-bo-uCj" firstAttribute="top" secondItem="Gjd-aD-daq" secondAttribute="top" constant="8" id="Jai-Xy-BbR"/> | ||
1441 | + <constraint firstAttribute="trailing" secondItem="PI4-bo-uCj" secondAttribute="trailing" id="PkH-GN-gc4"/> | ||
1442 | + <constraint firstItem="PI4-bo-uCj" firstAttribute="leading" secondItem="Gjd-aD-daq" secondAttribute="leading" id="i1F-jt-CrU"/> | ||
1443 | + </constraints> | ||
1444 | + </tableViewCellContentView> | ||
1445 | + <connections> | ||
1446 | + <outlet property="classNameLabel" destination="IMi-wW-7dF" id="Cda-0Y-FFc"/> | ||
1447 | + <outlet property="nameLabel" destination="rFe-A4-Jh2" id="Hpk-xf-CEl"/> | ||
1448 | + <outlet property="orderBtn" destination="AOx-bl-8U0" id="6Vq-uo-x3m"/> | ||
1449 | + </connections> | ||
1450 | + </tableViewCell> | ||
1451 | + </prototypes> | ||
1452 | + <connections> | ||
1453 | + <outlet property="dataSource" destination="F5m-SJ-9rv" id="dbz-Ec-YgA"/> | ||
1454 | + <outlet property="delegate" destination="F5m-SJ-9rv" id="cNL-wV-MLL"/> | ||
1455 | + </connections> | ||
1456 | + </tableView> | ||
1457 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="um9-GN-HgW"> | ||
1458 | + <rect key="frame" x="8" y="617" width="359" height="40"/> | ||
1459 | + <color key="backgroundColor" red="0.42745098039215684" green="0.60784313725490191" blue="0.99215686274509807" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
1460 | + <constraints> | ||
1461 | + <constraint firstAttribute="height" constant="40" id="k20-dz-daj"/> | ||
1462 | + </constraints> | ||
1463 | + <state key="normal" title="添加绑定账号"> | ||
1464 | + <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1465 | + </state> | ||
1466 | + <userDefinedRuntimeAttributes> | ||
1467 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
1468 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
1469 | + <integer key="value" value="5"/> | ||
1470 | + </userDefinedRuntimeAttribute> | ||
1471 | + </userDefinedRuntimeAttributes> | ||
1472 | + <connections> | ||
1473 | + <action selector="addChildrenAction:" destination="F5m-SJ-9rv" eventType="touchUpInside" id="kii-UY-4JE"/> | ||
1474 | + </connections> | ||
1475 | + </button> | ||
1476 | + </subviews> | ||
1477 | + <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | ||
1478 | + <constraints> | ||
1479 | + <constraint firstItem="by8-8x-HbM" firstAttribute="leading" secondItem="IF8-NC-RgQ" secondAttribute="leading" id="9HL-cF-clD"/> | ||
1480 | + <constraint firstItem="by8-8x-HbM" firstAttribute="top" secondItem="IF8-NC-RgQ" secondAttribute="top" id="FKk-ev-gxD"/> | ||
1481 | + <constraint firstItem="um9-GN-HgW" firstAttribute="top" secondItem="by8-8x-HbM" secondAttribute="bottom" id="Y9e-RN-i9M"/> | ||
1482 | + <constraint firstItem="um9-GN-HgW" firstAttribute="leading" secondItem="IF8-NC-RgQ" secondAttribute="leading" constant="8" id="d96-0Q-uan"/> | ||
1483 | + <constraint firstItem="by8-8x-HbM" firstAttribute="trailing" secondItem="IF8-NC-RgQ" secondAttribute="trailing" id="dQq-IL-sWY"/> | ||
1484 | + <constraint firstItem="IF8-NC-RgQ" firstAttribute="bottom" secondItem="um9-GN-HgW" secondAttribute="bottom" constant="10" id="q7h-cW-Cap"/> | ||
1485 | + <constraint firstItem="IF8-NC-RgQ" firstAttribute="trailing" secondItem="um9-GN-HgW" secondAttribute="trailing" constant="8" id="xJI-Pc-8Pr"/> | ||
1486 | + </constraints> | ||
1487 | + <viewLayoutGuide key="safeArea" id="IF8-NC-RgQ"/> | ||
1488 | + </view> | ||
1489 | + <navigationItem key="navigationItem" title="我的孩子" id="abG-Ai-AjM"/> | ||
1490 | + <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/> | ||
1491 | + <connections> | ||
1492 | + <outlet property="childrenTableView" destination="by8-8x-HbM" id="MGB-hh-pOw"/> | ||
1493 | + </connections> | ||
1494 | + </viewController> | ||
1495 | + <placeholder placeholderIdentifier="IBFirstResponder" id="ymD-qp-qSJ" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
1496 | + </objects> | ||
1497 | + <point key="canvasLocation" x="149.59999999999999" y="590.55472263868069"/> | ||
1498 | + </scene> | ||
1499 | + <!--我的孩子--> | ||
1500 | + <scene sceneID="RG0-at-7cr"> | ||
1501 | + <objects> | ||
1502 | + <viewController storyboardIdentifier="ChildrenDetailViewController" id="dKf-Bp-I4E" customClass="ChildrenDetailViewController" customModule="ParentAssistant" customModuleProvider="target" sceneMemberID="viewController"> | ||
1503 | + <view key="view" contentMode="scaleToFill" id="BY7-2E-1L8"> | ||
1504 | + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
1505 | + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
1506 | + <subviews> | ||
1507 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qQn-2U-CCe"> | ||
1508 | + <rect key="frame" x="16" y="89" width="343" height="30"/> | ||
1509 | + <subviews> | ||
1510 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="孩子姓名:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Tor-Wd-1QN"> | ||
1511 | + <rect key="frame" x="0.0" y="0.0" width="120" height="30"/> | ||
1512 | + <constraints> | ||
1513 | + <constraint firstAttribute="width" constant="120" id="VRa-KX-4e8"/> | ||
1514 | + </constraints> | ||
1515 | + <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
1516 | + <nil key="textColor"/> | ||
1517 | + <nil key="highlightedColor"/> | ||
1518 | + </label> | ||
1519 | + <textField opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="李晓明" borderStyle="roundedRect" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="E9L-bY-Zua"> | ||
1520 | + <rect key="frame" x="128" y="0.0" width="207" height="30"/> | ||
1521 | + <nil key="textColor"/> | ||
1522 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
1523 | + <textInputTraits key="textInputTraits"/> | ||
1524 | + </textField> | ||
1525 | + </subviews> | ||
1526 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1527 | + <constraints> | ||
1528 | + <constraint firstAttribute="bottom" secondItem="E9L-bY-Zua" secondAttribute="bottom" id="72O-8a-2WM"/> | ||
1529 | + <constraint firstItem="Tor-Wd-1QN" firstAttribute="top" secondItem="qQn-2U-CCe" secondAttribute="top" id="DyE-4c-l4c"/> | ||
1530 | + <constraint firstAttribute="height" constant="30" id="QLE-QP-2wp"/> | ||
1531 | + <constraint firstItem="E9L-bY-Zua" firstAttribute="top" secondItem="qQn-2U-CCe" secondAttribute="top" id="RSf-zs-VTX"/> | ||
1532 | + <constraint firstAttribute="bottom" secondItem="Tor-Wd-1QN" secondAttribute="bottom" id="WwE-2h-8XQ"/> | ||
1533 | + <constraint firstItem="Tor-Wd-1QN" firstAttribute="leading" secondItem="qQn-2U-CCe" secondAttribute="leading" id="Y5s-YP-H6u"/> | ||
1534 | + <constraint firstAttribute="trailing" secondItem="E9L-bY-Zua" secondAttribute="trailing" constant="8" id="lJq-F5-dly"/> | ||
1535 | + <constraint firstItem="E9L-bY-Zua" firstAttribute="leading" secondItem="Tor-Wd-1QN" secondAttribute="trailing" constant="8" id="w5I-uP-PjQ"/> | ||
1536 | + </constraints> | ||
1537 | + </view> | ||
1538 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ts6-G9-JrA"> | ||
1539 | + <rect key="frame" x="16" y="127" width="343" height="30"/> | ||
1540 | + <subviews> | ||
1541 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="学 校:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3kR-Y4-SS6"> | ||
1542 | + <rect key="frame" x="0.0" y="0.0" width="120" height="30"/> | ||
1543 | + <constraints> | ||
1544 | + <constraint firstAttribute="width" constant="120" id="5sW-7k-hkh"/> | ||
1545 | + </constraints> | ||
1546 | + <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
1547 | + <nil key="textColor"/> | ||
1548 | + <nil key="highlightedColor"/> | ||
1549 | + </label> | ||
1550 | + <textField opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="顺治中学" borderStyle="roundedRect" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Kua-m3-hXR"> | ||
1551 | + <rect key="frame" x="128" y="0.0" width="207" height="30"/> | ||
1552 | + <nil key="textColor"/> | ||
1553 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
1554 | + <textInputTraits key="textInputTraits"/> | ||
1555 | + </textField> | ||
1556 | + </subviews> | ||
1557 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1558 | + <constraints> | ||
1559 | + <constraint firstItem="Kua-m3-hXR" firstAttribute="leading" secondItem="3kR-Y4-SS6" secondAttribute="trailing" constant="8" id="2Jl-YH-hZ3"/> | ||
1560 | + <constraint firstAttribute="bottom" secondItem="Kua-m3-hXR" secondAttribute="bottom" id="aMB-3R-weH"/> | ||
1561 | + <constraint firstAttribute="height" constant="30" id="bvN-IZ-nON"/> | ||
1562 | + <constraint firstAttribute="bottom" secondItem="3kR-Y4-SS6" secondAttribute="bottom" id="e5D-Cl-sLi"/> | ||
1563 | + <constraint firstAttribute="trailing" secondItem="Kua-m3-hXR" secondAttribute="trailing" constant="8" id="esA-s7-A58"/> | ||
1564 | + <constraint firstItem="3kR-Y4-SS6" firstAttribute="top" secondItem="Ts6-G9-JrA" secondAttribute="top" id="kfK-H4-YLO"/> | ||
1565 | + <constraint firstItem="3kR-Y4-SS6" firstAttribute="leading" secondItem="Ts6-G9-JrA" secondAttribute="leading" id="qNK-9n-lRt"/> | ||
1566 | + <constraint firstItem="Kua-m3-hXR" firstAttribute="top" secondItem="Ts6-G9-JrA" secondAttribute="top" id="szn-MN-DRf"/> | ||
1567 | + </constraints> | ||
1568 | + </view> | ||
1569 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="J7F-BU-RFH"> | ||
1570 | + <rect key="frame" x="16" y="165" width="343" height="30"/> | ||
1571 | + <subviews> | ||
1572 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="班 级:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6lu-6J-E1c"> | ||
1573 | + <rect key="frame" x="0.0" y="0.0" width="120" height="30"/> | ||
1574 | + <constraints> | ||
1575 | + <constraint firstAttribute="width" constant="120" id="grw-Nd-lg2"/> | ||
1576 | + </constraints> | ||
1577 | + <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
1578 | + <nil key="textColor"/> | ||
1579 | + <nil key="highlightedColor"/> | ||
1580 | + </label> | ||
1581 | + <textField opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="初一(3)班" borderStyle="roundedRect" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="VLR-h8-hO3"> | ||
1582 | + <rect key="frame" x="128" y="0.0" width="207" height="30"/> | ||
1583 | + <nil key="textColor"/> | ||
1584 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
1585 | + <textInputTraits key="textInputTraits"/> | ||
1586 | + </textField> | ||
1587 | + </subviews> | ||
1588 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1589 | + <constraints> | ||
1590 | + <constraint firstItem="6lu-6J-E1c" firstAttribute="leading" secondItem="J7F-BU-RFH" secondAttribute="leading" id="3Pt-Ql-Xmm"/> | ||
1591 | + <constraint firstAttribute="trailing" secondItem="VLR-h8-hO3" secondAttribute="trailing" constant="8" id="3Q7-Ta-C7S"/> | ||
1592 | + <constraint firstAttribute="bottom" secondItem="6lu-6J-E1c" secondAttribute="bottom" id="D4l-so-U1a"/> | ||
1593 | + <constraint firstItem="6lu-6J-E1c" firstAttribute="top" secondItem="J7F-BU-RFH" secondAttribute="top" id="DaK-dt-xk3"/> | ||
1594 | + <constraint firstAttribute="bottom" secondItem="VLR-h8-hO3" secondAttribute="bottom" id="Gcx-85-62D"/> | ||
1595 | + <constraint firstItem="VLR-h8-hO3" firstAttribute="top" secondItem="J7F-BU-RFH" secondAttribute="top" id="jWf-GV-hMG"/> | ||
1596 | + <constraint firstAttribute="height" constant="30" id="mBu-Xb-xoY"/> | ||
1597 | + <constraint firstItem="VLR-h8-hO3" firstAttribute="leading" secondItem="6lu-6J-E1c" secondAttribute="trailing" constant="8" id="sOW-zp-HhJ"/> | ||
1598 | + </constraints> | ||
1599 | + </view> | ||
1600 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="DLs-pB-ghE"> | ||
1601 | + <rect key="frame" x="16" y="203" width="343" height="30"/> | ||
1602 | + <subviews> | ||
1603 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="学校所属地区:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0We-St-Vr0"> | ||
1604 | + <rect key="frame" x="0.0" y="0.0" width="120" height="30"/> | ||
1605 | + <constraints> | ||
1606 | + <constraint firstAttribute="width" constant="120" id="aKg-d3-aRw"/> | ||
1607 | + </constraints> | ||
1608 | + <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
1609 | + <nil key="textColor"/> | ||
1610 | + <nil key="highlightedColor"/> | ||
1611 | + </label> | ||
1612 | + <textField opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="杭州一上城区" borderStyle="roundedRect" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="4Ka-61-d8b"> | ||
1613 | + <rect key="frame" x="128" y="0.0" width="207" height="30"/> | ||
1614 | + <nil key="textColor"/> | ||
1615 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
1616 | + <textInputTraits key="textInputTraits"/> | ||
1617 | + </textField> | ||
1618 | + </subviews> | ||
1619 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1620 | + <constraints> | ||
1621 | + <constraint firstAttribute="bottom" secondItem="4Ka-61-d8b" secondAttribute="bottom" id="7Ev-ez-vYh"/> | ||
1622 | + <constraint firstItem="0We-St-Vr0" firstAttribute="top" secondItem="DLs-pB-ghE" secondAttribute="top" id="AmF-bo-oyU"/> | ||
1623 | + <constraint firstAttribute="bottom" secondItem="0We-St-Vr0" secondAttribute="bottom" id="BtD-8W-27H"/> | ||
1624 | + <constraint firstAttribute="height" constant="30" id="UTq-c6-lzO"/> | ||
1625 | + <constraint firstItem="4Ka-61-d8b" firstAttribute="top" secondItem="DLs-pB-ghE" secondAttribute="top" id="lPq-7v-Rfl"/> | ||
1626 | + <constraint firstItem="4Ka-61-d8b" firstAttribute="leading" secondItem="0We-St-Vr0" secondAttribute="trailing" constant="8" id="nwb-xl-8sB"/> | ||
1627 | + <constraint firstItem="0We-St-Vr0" firstAttribute="leading" secondItem="DLs-pB-ghE" secondAttribute="leading" id="r6L-tR-XeM"/> | ||
1628 | + <constraint firstAttribute="trailing" secondItem="4Ka-61-d8b" secondAttribute="trailing" constant="8" id="rX5-as-jKK"/> | ||
1629 | + </constraints> | ||
1630 | + </view> | ||
1631 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Vg2-tu-Jr9"> | ||
1632 | + <rect key="frame" x="16" y="241" width="343" height="30"/> | ||
1633 | + <subviews> | ||
1634 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="学生账号:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MXm-Fz-Li8"> | ||
1635 | + <rect key="frame" x="0.0" y="0.0" width="120" height="30"/> | ||
1636 | + <constraints> | ||
1637 | + <constraint firstAttribute="width" constant="120" id="PwB-vS-ceW"/> | ||
1638 | + </constraints> | ||
1639 | + <fontDescription key="fontDescription" type="system" pointSize="15"/> | ||
1640 | + <nil key="textColor"/> | ||
1641 | + <nil key="highlightedColor"/> | ||
1642 | + </label> | ||
1643 | + <textField opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="123456" borderStyle="roundedRect" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="6aM-bP-gD0"> | ||
1644 | + <rect key="frame" x="128" y="0.0" width="207" height="30"/> | ||
1645 | + <nil key="textColor"/> | ||
1646 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
1647 | + <textInputTraits key="textInputTraits"/> | ||
1648 | + </textField> | ||
1649 | + </subviews> | ||
1650 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1651 | + <constraints> | ||
1652 | + <constraint firstItem="MXm-Fz-Li8" firstAttribute="top" secondItem="Vg2-tu-Jr9" secondAttribute="top" id="1XD-bC-GwT"/> | ||
1653 | + <constraint firstItem="MXm-Fz-Li8" firstAttribute="leading" secondItem="Vg2-tu-Jr9" secondAttribute="leading" id="MGP-lQ-afX"/> | ||
1654 | + <constraint firstAttribute="bottom" secondItem="MXm-Fz-Li8" secondAttribute="bottom" id="NeV-Kh-TLi"/> | ||
1655 | + <constraint firstAttribute="height" constant="30" id="OnP-Ox-Tga"/> | ||
1656 | + <constraint firstItem="6aM-bP-gD0" firstAttribute="top" secondItem="Vg2-tu-Jr9" secondAttribute="top" id="ThI-m9-Wzh"/> | ||
1657 | + <constraint firstItem="6aM-bP-gD0" firstAttribute="leading" secondItem="MXm-Fz-Li8" secondAttribute="trailing" constant="8" id="k3o-o7-wV4"/> | ||
1658 | + <constraint firstAttribute="bottom" secondItem="6aM-bP-gD0" secondAttribute="bottom" id="kGH-h7-5sj"/> | ||
1659 | + <constraint firstAttribute="trailing" secondItem="6aM-bP-gD0" secondAttribute="trailing" constant="8" id="zHP-la-7CK"/> | ||
1660 | + </constraints> | ||
1661 | + </view> | ||
1662 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="jmq-mD-M7V"> | ||
1663 | + <rect key="frame" x="8" y="563" width="359" height="40"/> | ||
1664 | + <color key="backgroundColor" red="0.26289805769920349" green="0.83853167295455933" blue="0.5797455906867981" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
1665 | + <constraints> | ||
1666 | + <constraint firstAttribute="height" constant="40" id="TDs-w3-m8B"/> | ||
1667 | + </constraints> | ||
1668 | + <state key="normal" title="校卡激活"> | ||
1669 | + <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1670 | + </state> | ||
1671 | + <userDefinedRuntimeAttributes> | ||
1672 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
1673 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
1674 | + <integer key="value" value="5"/> | ||
1675 | + </userDefinedRuntimeAttribute> | ||
1676 | + </userDefinedRuntimeAttributes> | ||
1677 | + <connections> | ||
1678 | + <action selector="activationSchoolCardAction:" destination="dKf-Bp-I4E" eventType="touchUpInside" id="Fql-FN-QN6"/> | ||
1679 | + </connections> | ||
1680 | + </button> | ||
1681 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="eob-2f-LHk"> | ||
1682 | + <rect key="frame" x="8" y="611" width="359" height="40"/> | ||
1683 | + <color key="backgroundColor" red="0.99277454614639282" green="0.58486777544021606" blue="0.58350682258605957" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
1684 | + <constraints> | ||
1685 | + <constraint firstAttribute="height" constant="40" id="4TM-cx-grP"/> | ||
1686 | + </constraints> | ||
1687 | + <state key="normal" title="解除绑定"> | ||
1688 | + <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1689 | + </state> | ||
1690 | + <userDefinedRuntimeAttributes> | ||
1691 | + <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/> | ||
1692 | + <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> | ||
1693 | + <integer key="value" value="5"/> | ||
1694 | + </userDefinedRuntimeAttribute> | ||
1695 | + </userDefinedRuntimeAttributes> | ||
1696 | + <connections> | ||
1697 | + <action selector="unbundlingAction:" destination="dKf-Bp-I4E" eventType="touchUpInside" id="zHt-KY-kPh"/> | ||
1698 | + </connections> | ||
1699 | + </button> | ||
1700 | + </subviews> | ||
1701 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | ||
1702 | + <constraints> | ||
1703 | + <constraint firstItem="J7F-BU-RFH" firstAttribute="leading" secondItem="Q9l-Zq-soh" secondAttribute="leading" constant="16" id="5NG-Hh-4ff"/> | ||
1704 | + <constraint firstItem="qQn-2U-CCe" firstAttribute="top" secondItem="Q9l-Zq-soh" secondAttribute="top" constant="25" id="6ak-Ko-YLO"/> | ||
1705 | + <constraint firstItem="J7F-BU-RFH" firstAttribute="top" secondItem="Ts6-G9-JrA" secondAttribute="bottom" constant="8" id="6gb-Ru-vcE"/> | ||
1706 | + <constraint firstItem="Ts6-G9-JrA" firstAttribute="leading" secondItem="Q9l-Zq-soh" secondAttribute="leading" constant="16" id="Ch8-lH-pSf"/> | ||
1707 | + <constraint firstItem="Q9l-Zq-soh" firstAttribute="trailing" secondItem="DLs-pB-ghE" secondAttribute="trailing" constant="16" id="GGc-S4-evq"/> | ||
1708 | + <constraint firstItem="Ts6-G9-JrA" firstAttribute="top" secondItem="qQn-2U-CCe" secondAttribute="bottom" constant="8" id="Pv0-ef-SuP"/> | ||
1709 | + <constraint firstItem="Q9l-Zq-soh" firstAttribute="bottom" secondItem="eob-2f-LHk" secondAttribute="bottom" constant="16" id="UEJ-x6-5ZD"/> | ||
1710 | + <constraint firstItem="Q9l-Zq-soh" firstAttribute="trailing" secondItem="Vg2-tu-Jr9" secondAttribute="trailing" constant="16" id="XWK-gg-kgC"/> | ||
1711 | + <constraint firstItem="jmq-mD-M7V" firstAttribute="leading" secondItem="Q9l-Zq-soh" secondAttribute="leading" constant="8" id="YFr-qj-4hB"/> | ||
1712 | + <constraint firstItem="qQn-2U-CCe" firstAttribute="leading" secondItem="Q9l-Zq-soh" secondAttribute="leading" constant="16" id="ZIR-Df-DlQ"/> | ||
1713 | + <constraint firstItem="Vg2-tu-Jr9" firstAttribute="leading" secondItem="Q9l-Zq-soh" secondAttribute="leading" constant="16" id="kuS-Ms-wiS"/> | ||
1714 | + <constraint firstItem="Q9l-Zq-soh" firstAttribute="trailing" secondItem="eob-2f-LHk" secondAttribute="trailing" constant="8" id="lTx-UI-jFs"/> | ||
1715 | + <constraint firstItem="DLs-pB-ghE" firstAttribute="top" secondItem="J7F-BU-RFH" secondAttribute="bottom" constant="8" id="oh1-a0-CLl"/> | ||
1716 | + <constraint firstItem="eob-2f-LHk" firstAttribute="top" secondItem="jmq-mD-M7V" secondAttribute="bottom" constant="8" id="pKV-Bl-qCB"/> | ||
1717 | + <constraint firstItem="eob-2f-LHk" firstAttribute="leading" secondItem="Q9l-Zq-soh" secondAttribute="leading" constant="8" id="sE3-jt-0h9"/> | ||
1718 | + <constraint firstItem="Vg2-tu-Jr9" firstAttribute="top" secondItem="DLs-pB-ghE" secondAttribute="bottom" constant="8" id="wYh-Mo-4BC"/> | ||
1719 | + <constraint firstItem="Q9l-Zq-soh" firstAttribute="trailing" secondItem="J7F-BU-RFH" secondAttribute="trailing" constant="16" id="wgO-2D-rYm"/> | ||
1720 | + <constraint firstItem="Q9l-Zq-soh" firstAttribute="trailing" secondItem="Ts6-G9-JrA" secondAttribute="trailing" constant="16" id="wm7-oU-HJm"/> | ||
1721 | + <constraint firstItem="DLs-pB-ghE" firstAttribute="leading" secondItem="Q9l-Zq-soh" secondAttribute="leading" constant="16" id="wxO-LP-hUx"/> | ||
1722 | + <constraint firstItem="Q9l-Zq-soh" firstAttribute="trailing" secondItem="jmq-mD-M7V" secondAttribute="trailing" constant="8" id="xra-5X-buN"/> | ||
1723 | + <constraint firstItem="Q9l-Zq-soh" firstAttribute="trailing" secondItem="qQn-2U-CCe" secondAttribute="trailing" constant="16" id="xw1-9i-hVY"/> | ||
1724 | + </constraints> | ||
1725 | + <viewLayoutGuide key="safeArea" id="Q9l-Zq-soh"/> | ||
1726 | + </view> | ||
1727 | + <navigationItem key="navigationItem" title="我的孩子" id="8lH-aM-cte"/> | ||
1728 | + <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/> | ||
1729 | + <connections> | ||
1730 | + <outlet property="classTextField" destination="VLR-h8-hO3" id="BYE-JI-jdf"/> | ||
1731 | + <outlet property="nameTextField" destination="E9L-bY-Zua" id="h8b-0d-in5"/> | ||
1732 | + <outlet property="numberTextField" destination="6aM-bP-gD0" id="8yr-YJ-ieX"/> | ||
1733 | + <outlet property="placeTextField" destination="4Ka-61-d8b" id="KaF-43-4Y7"/> | ||
1734 | + <outlet property="schoolTextField" destination="Kua-m3-hXR" id="v9Q-1Q-jSA"/> | ||
1735 | + </connections> | ||
1736 | + </viewController> | ||
1737 | + <placeholder placeholderIdentifier="IBFirstResponder" id="oX3-9h-U5Y" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
1738 | + </objects> | ||
1739 | + <point key="canvasLocation" x="910" y="606"/> | ||
1740 | + </scene> | ||
1741 | + </scenes> | ||
1742 | + <resources> | ||
1743 | + <image name="defphoto" width="128" height="128"/> | ||
1744 | + <image name="my_currentInf_gendernoselected" width="16" height="16"/> | ||
1745 | + <image name="my_headerView_backgroundimageView" width="375" height="139"/> | ||
1746 | + <image name="my_order_message" width="52" height="36"/> | ||
1747 | + <image name="my_password_unlook" width="27" height="14"/> | ||
1748 | + </resources> | ||
1749 | +</document> |
ParentAssistant/ParentAssistant/Supporting Files/Base.lproj/Main.storyboard
@@ -502,7 +502,7 @@ | @@ -502,7 +502,7 @@ | ||
502 | </viewController> | 502 | </viewController> |
503 | <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/> | 503 | <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/> |
504 | </objects> | 504 | </objects> |
505 | - <point key="canvasLocation" x="1717.5999999999999" y="-971.06446776611699"/> | 505 | + <point key="canvasLocation" x="1487" y="-1078"/> |
506 | </scene> | 506 | </scene> |
507 | <!--Tab Bar Controller--> | 507 | <!--Tab Bar Controller--> |
508 | <scene sceneID="6yA-8W-l0b"> | 508 | <scene sceneID="6yA-8W-l0b"> |