Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GeliBusinessPlatform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ljy
GeliBusinessPlatform
Commits
6b7b45a4
Commit
6b7b45a4
authored
Apr 16, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
账号信息,修改密码,放大显示密码按钮触控范围
parent
25f3b71d
Changes
19
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
777 additions
and
15 deletions
+777
-15
GeliBusinessPlatform.xcodeproj/project.pbxproj
GeliBusinessPlatform.xcodeproj/project.pbxproj
+32
-0
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/Contents.json
...BusinessPlatform/Assets.xcassets/登录界面图/信息中心/Contents.json
+7
-0
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/jinru.imageset/Contents.json
...m/Assets.xcassets/登录界面图/信息中心/jinru.imageset/Contents.json
+23
-0
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/jinru.imageset/jinru@2x.png
...rm/Assets.xcassets/登录界面图/信息中心/jinru.imageset/jinru@2x.png
+0
-0
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/jinru.imageset/jinru@3x.png
...rm/Assets.xcassets/登录界面图/信息中心/jinru.imageset/jinru@3x.png
+0
-0
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/msgBanner.imageset/Contents.json
...sets.xcassets/登录界面图/信息中心/msgBanner.imageset/Contents.json
+23
-0
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/msgBanner.imageset/banner@2x.png
...sets.xcassets/登录界面图/信息中心/msgBanner.imageset/banner@2x.png
+0
-0
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/msgBanner.imageset/banner@3x.png
...sets.xcassets/登录界面图/信息中心/msgBanner.imageset/banner@3x.png
+0
-0
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/xiaoxi.imageset/Contents.json
.../Assets.xcassets/登录界面图/信息中心/xiaoxi.imageset/Contents.json
+23
-0
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/xiaoxi.imageset/xiaoxi@2x.png
.../Assets.xcassets/登录界面图/信息中心/xiaoxi.imageset/xiaoxi@2x.png
+0
-0
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/xiaoxi.imageset/xiaoxi@3x.png
.../Assets.xcassets/登录界面图/信息中心/xiaoxi.imageset/xiaoxi@3x.png
+0
-0
GeliBusinessPlatform/ViewController/修改密码/ChangePassViewController.swift
...atform/ViewController/修改密码/ChangePassViewController.swift
+69
-0
GeliBusinessPlatform/ViewController/修改密码/ChangePassViewController.xib
...Platform/ViewController/修改密码/ChangePassViewController.xib
+226
-0
GeliBusinessPlatform/ViewController/消息中心/MsgCenterViewController.swift
...latform/ViewController/消息中心/MsgCenterViewController.swift
+1
-0
GeliBusinessPlatform/ViewController/登录/LoginViewController.swift
...inessPlatform/ViewController/登录/LoginViewController.swift
+4
-15
GeliBusinessPlatform/ViewController/登录/LoginViewController.xib
...usinessPlatform/ViewController/登录/LoginViewController.xib
+13
-0
GeliBusinessPlatform/ViewController/账号信息/AccountViewController.swift
...sPlatform/ViewController/账号信息/AccountViewController.swift
+52
-0
GeliBusinessPlatform/ViewController/账号信息/AccountViewController.xib
...essPlatform/ViewController/账号信息/AccountViewController.xib
+304
-0
No files found.
GeliBusinessPlatform.xcodeproj/project.pbxproj
View file @
6b7b45a4
...
...
@@ -38,6 +38,10 @@
E09B03C32445BD9500211A51
/* NavViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E09B03C22445BD9500211A51
/* NavViewController.swift */
;
};
E09B03C62445BF6700211A51
/* NavBarView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E09B03C52445BF6700211A51
/* NavBarView.swift */
;
};
E09B03C82445BF9300211A51
/* SwiftNotice.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E09B03C72445BF9300211A51
/* SwiftNotice.swift */
;
};
E0D4165F24482AAF008DCAB4
/* AccountViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0D4165D24482AAF008DCAB4
/* AccountViewController.swift */
;
};
E0D4166024482AAF008DCAB4
/* AccountViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0D4165E24482AAF008DCAB4
/* AccountViewController.xib */
;
};
E0D4166424483058008DCAB4
/* ChangePassViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0D4166224483058008DCAB4
/* ChangePassViewController.swift */
;
};
E0D4166524483058008DCAB4
/* ChangePassViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0D4166324483058008DCAB4
/* ChangePassViewController.xib */
;
};
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
...
...
@@ -98,6 +102,10 @@
E09B03C22445BD9500211A51
/* NavViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
NavViewController.swift
;
sourceTree
=
"<group>"
;
};
E09B03C52445BF6700211A51
/* NavBarView.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
NavBarView.swift
;
sourceTree
=
"<group>"
;
};
E09B03C72445BF9300211A51
/* SwiftNotice.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
SwiftNotice.swift
;
sourceTree
=
"<group>"
;
};
E0D4165D24482AAF008DCAB4
/* AccountViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
AccountViewController.swift
;
sourceTree
=
"<group>"
;
};
E0D4165E24482AAF008DCAB4
/* AccountViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
AccountViewController.xib
;
sourceTree
=
"<group>"
;
};
E0D4166224483058008DCAB4
/* ChangePassViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
ChangePassViewController.swift
;
sourceTree
=
"<group>"
;
};
E0D4166324483058008DCAB4
/* ChangePassViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
ChangePassViewController.xib
;
sourceTree
=
"<group>"
;
};
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
...
...
@@ -313,6 +321,8 @@
E09B03AD2445B0BA00211A51
/* ViewController */
=
{
isa
=
PBXGroup
;
children
=
(
E0D4166124483045008DCAB4
/* 修改密码 */
,
E0D4165C24482A7D008DCAB4
/* 账号信息 */
,
E0516F792448066300E373CE
/* 消息中心 */
,
E0516F742448000F00E373CE
/* 支付账号(设置,修改) */
,
E088CC8E24470F84000DAA8A
/* 换绑支付账号(绑定,换绑) */
,
...
...
@@ -356,6 +366,24 @@
path
=
NavBarView
;
sourceTree
=
"<group>"
;
};
E0D4165C24482A7D008DCAB4
/* 账号信息 */
=
{
isa
=
PBXGroup
;
children
=
(
E0D4165D24482AAF008DCAB4
/* AccountViewController.swift */
,
E0D4165E24482AAF008DCAB4
/* AccountViewController.xib */
,
);
path
=
"账号信息"
;
sourceTree
=
"<group>"
;
};
E0D4166124483045008DCAB4
/* 修改密码 */
=
{
isa
=
PBXGroup
;
children
=
(
E0D4166224483058008DCAB4
/* ChangePassViewController.swift */
,
E0D4166324483058008DCAB4
/* ChangePassViewController.xib */
,
);
path
=
"修改密码"
;
sourceTree
=
"<group>"
;
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
...
...
@@ -469,7 +497,9 @@
E0516F782448003D00E373CE
/* PayViewController.xib in Resources */
,
E088CC942447124D000DAA8A
/* BindViewController.xib in Resources */
,
E00D85EB244561FE00F5F816
/* LaunchScreen.storyboard in Resources */
,
E0D4166024482AAF008DCAB4
/* AccountViewController.xib in Resources */
,
E01C26B12446989700ADCC70
/* Interface_Z.plist in Resources */
,
E0D4166524483058008DCAB4
/* ChangePassViewController.xib in Resources */
,
E00D85E8244561FE00F5F816
/* Preview Assets.xcassets in Resources */
,
E00D85E5244561FE00F5F816
/* Assets.xcassets in Resources */
,
);
...
...
@@ -543,6 +573,7 @@
E00D85DF244561FD00F5F816
/* AppDelegate.swift in Sources */
,
E0516F7F244806C500E373CE
/* MsgCenterViewController.swift in Sources */
,
E0516F822448086700E373CE
/* MsgCenterCell.swift in Sources */
,
E0D4166424483058008DCAB4
/* ChangePassViewController.swift in Sources */
,
E09B03C62445BF6700211A51
/* NavBarView.swift in Sources */
,
E00D85E1244561FD00F5F816
/* SceneDelegate.swift in Sources */
,
E09B03A12445AF7100211A51
/* Define.swift in Sources */
,
...
...
@@ -550,6 +581,7 @@
E09B03C02445B96500211A51
/* FgPassViewController.swift in Sources */
,
E09B03AB2445B0A300211A51
/* LoginModel.swift in Sources */
,
E09B03C82445BF9300211A51
/* SwiftNotice.swift in Sources */
,
E0D4165F24482AAF008DCAB4
/* AccountViewController.swift in Sources */
,
E01C26B62446AF3100ADCC70
/* DemoViewController.swift in Sources */
,
E0516F772448003D00E373CE
/* PayViewController.swift in Sources */
,
E09B03A32445AF9500211A51
/* NetworkRequest.swift in Sources */
,
...
...
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
6b7b45a4
No preview for this file type
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/Contents.json
0 → 100644
View file @
6b7b45a4
{
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
}
}
\ No newline at end of file
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/jinru.imageset/Contents.json
0 → 100644
View file @
6b7b45a4
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"idiom"
:
"universal"
,
"filename"
:
"jinru@2x.png"
,
"scale"
:
"2x"
},
{
"idiom"
:
"universal"
,
"filename"
:
"jinru@3x.png"
,
"scale"
:
"3x"
}
],
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
}
}
\ No newline at end of file
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/jinru.imageset/jinru@2x.png
0 → 100644
View file @
6b7b45a4
684 Bytes
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/jinru.imageset/jinru@3x.png
0 → 100644
View file @
6b7b45a4
967 Bytes
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/msgBanner.imageset/Contents.json
0 → 100644
View file @
6b7b45a4
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"idiom"
:
"universal"
,
"filename"
:
"banner@2x.png"
,
"scale"
:
"2x"
},
{
"idiom"
:
"universal"
,
"filename"
:
"banner@3x.png"
,
"scale"
:
"3x"
}
],
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
}
}
\ No newline at end of file
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/msgBanner.imageset/banner@2x.png
0 → 100644
View file @
6b7b45a4
948 KB
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/msgBanner.imageset/banner@3x.png
0 → 100644
View file @
6b7b45a4
1.85 MB
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/xiaoxi.imageset/Contents.json
0 → 100644
View file @
6b7b45a4
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"idiom"
:
"universal"
,
"filename"
:
"xiaoxi@2x.png"
,
"scale"
:
"2x"
},
{
"idiom"
:
"universal"
,
"filename"
:
"xiaoxi@3x.png"
,
"scale"
:
"3x"
}
],
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
}
}
\ No newline at end of file
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/xiaoxi.imageset/xiaoxi@2x.png
0 → 100644
View file @
6b7b45a4
1.29 KB
GeliBusinessPlatform/Assets.xcassets/登录界面图/信息中心/xiaoxi.imageset/xiaoxi@3x.png
0 → 100644
View file @
6b7b45a4
2.05 KB
GeliBusinessPlatform/ViewController/修改密码/ChangePassViewController.swift
0 → 100644
View file @
6b7b45a4
//
// ChangePassViewController.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/4/16.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
import
LGButton
class
ChangePassViewController
:
BaseViewController
,
NavBarViewDelegate
{
@IBOutlet
weak
var
newPBtn
:
UIButton
!
@IBOutlet
weak
var
oldPBtn
:
UIButton
!
@IBOutlet
weak
var
newPassTF
:
UITextField
!
@IBOutlet
weak
var
oldPassTF
:
UITextField
!
@IBOutlet
weak
var
fisrtView
:
UIView
!
@IBOutlet
weak
var
submitBtn
:
LGButton
!
//MARK: -方法
@IBAction
func
newPassAction
(
_
sender
:
UIButton
)
{
newPBtn
.
isSelected
=
!
newPBtn
.
isSelected
newPassTF
.
isSecureTextEntry
=
!
newPBtn
.
isSelected
}
@IBAction
func
oldPassAction
(
_
sender
:
UIButton
)
{
oldPBtn
.
isSelected
=
!
oldPBtn
.
isSelected
oldPassTF
.
isSecureTextEntry
=
!
oldPBtn
.
isSelected
}
@IBAction
func
submitAction
(
_
sender
:
Any
)
{
}
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
let
navbar
=
NavBarView
(
frame
:
NavCGRect
)
navbar
.
title
=
"账号信息"
navbar
.
deleagte
=
self
self
.
view
.
addSubview
(
navbar
)
newPassTF
.
isSecureTextEntry
=
true
oldPassTF
.
isSecureTextEntry
=
true
newPassTF
.
addTarget
(
self
,
action
:
#selector(
tfChange(sender:)
)
,
for
:
.
editingChanged
)
oldPassTF
.
addTarget
(
self
,
action
:
#selector(
tfChange(sender:)
)
,
for
:
.
editingChanged
)
// Do any additional setup after loading the view.
fisrtView
.
snp
.
makeConstraints
({
(
make
)
in
make
.
top
.
equalTo
(
NavCGRect
.
height
)
make
.
left
.
right
.
equalTo
(
0
)
make
.
height
.
equalTo
(
50
)
})
// Do any additional setup after loading the view.
}
@objc
func
tfChange
(
sender
:
UITextField
){
if
oldPassTF
.
text
!.
count
>
0
&&
newPassTF
.
text
!.
count
>
0
{
submitBtn
.
alpha
=
1
}
else
{
submitBtn
.
alpha
=
0.45
}
}
//MARK: -delegate方法
func
backAction
()
{
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
}
}
GeliBusinessPlatform/ViewController/修改密码/ChangePassViewController.xib
0 → 100644
View file @
6b7b45a4
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"15702"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina5_5"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"15704"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
<objects>
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
customClass=
"ChangePassViewController"
customModule=
"GeliBusinessPlatform"
customModuleProvider=
"target"
>
<connections>
<outlet
property=
"fisrtView"
destination=
"6Yq-Qa-XRQ"
id=
"zKW-xf-qqn"
/>
<outlet
property=
"newPBtn"
destination=
"006-9S-e0S"
id=
"FuL-Gr-SJo"
/>
<outlet
property=
"newPassTF"
destination=
"jRo-Gj-zds"
id=
"yHN-pw-X2Y"
/>
<outlet
property=
"oldPBtn"
destination=
"fB8-td-z07"
id=
"ury-8N-kUI"
/>
<outlet
property=
"oldPassTF"
destination=
"ThF-LB-0fr"
id=
"wWX-hH-Dy8"
/>
<outlet
property=
"submitBtn"
destination=
"zYW-Sl-5Qf"
id=
"oBG-B2-DMo"
/>
<outlet
property=
"view"
destination=
"i5M-Pr-FkT"
id=
"sfx-zR-JGt"
/>
</connections>
</placeholder>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"-2"
customClass=
"UIResponder"
/>
<view
clearsContextBeforeDrawing=
"NO"
contentMode=
"scaleToFill"
id=
"i5M-Pr-FkT"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"736"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"6Yq-Qa-XRQ"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"50"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Mlj-j0-R7G"
>
<rect
key=
"frame"
x=
"15"
y=
"49"
width=
"399"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"kgX-ue-GJA"
/>
</constraints>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"原密码:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"OC7-Yl-Tme"
>
<rect
key=
"frame"
x=
"15"
y=
"0.0"
width=
"54"
height=
"49"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"54"
id=
"xaR-gD-yvP"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"fB8-td-z07"
>
<rect
key=
"frame"
x=
"377"
y=
"20"
width=
"17"
height=
"10"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"17"
id=
"hkt-pK-89W"
/>
<constraint
firstAttribute=
"height"
constant=
"10"
id=
"vZV-bu-e5U"
/>
</constraints>
<state
key=
"normal"
image=
"guanbi"
/>
<state
key=
"selected"
image=
"xianshi "
/>
<connections>
<action
selector=
"oldPassAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"Mzs-XF-S1i"
/>
</connections>
</button>
<textField
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
placeholder=
"请输入原密码"
textAlignment=
"natural"
minimumFontSize=
"17"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"ThF-LB-0fr"
>
<rect
key=
"frame"
x=
"69"
y=
"7.6666666666666679"
width=
"293"
height=
"34"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"34"
id=
"9qi-tv-pst"
/>
</constraints>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<textInputTraits
key=
"textInputTraits"
/>
</textField>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"roundedRect"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"AlZ-5X-1jb"
>
<rect
key=
"frame"
x=
"362.66666666666669"
y=
"2"
width=
"46"
height=
"46"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"46"
id=
"BaO-ZA-ABp"
/>
<constraint
firstAttribute=
"height"
constant=
"46"
id=
"D3V-aj-u8N"
/>
</constraints>
<connections>
<action
selector=
"oldPassAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"yLk-62-4a5"
/>
</connections>
</button>
</subviews>
<color
key=
"backgroundColor"
name=
"白色背景色"
/>
<constraints>
<constraint
firstAttribute=
"bottom"
secondItem=
"Mlj-j0-R7G"
secondAttribute=
"bottom"
id=
"1mF-Zf-W7a"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"fB8-td-z07"
secondAttribute=
"trailing"
constant=
"20"
id=
"83j-yb-PYN"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Mlj-j0-R7G"
secondAttribute=
"trailing"
id=
"AkX-Oe-z85"
/>
<constraint
firstItem=
"ThF-LB-0fr"
firstAttribute=
"centerY"
secondItem=
"OC7-Yl-Tme"
secondAttribute=
"centerY"
id=
"BMn-62-Xg0"
/>
<constraint
firstItem=
"OC7-Yl-Tme"
firstAttribute=
"top"
secondItem=
"6Yq-Qa-XRQ"
secondAttribute=
"top"
id=
"EEa-2S-lpr"
/>
<constraint
firstItem=
"AlZ-5X-1jb"
firstAttribute=
"centerX"
secondItem=
"fB8-td-z07"
secondAttribute=
"centerX"
id=
"FVk-Q3-87h"
/>
<constraint
firstItem=
"Mlj-j0-R7G"
firstAttribute=
"top"
secondItem=
"OC7-Yl-Tme"
secondAttribute=
"bottom"
id=
"K6e-Cd-9nb"
/>
<constraint
firstItem=
"fB8-td-z07"
firstAttribute=
"leading"
secondItem=
"ThF-LB-0fr"
secondAttribute=
"trailing"
constant=
"15"
id=
"KaN-qL-6BX"
/>
<constraint
firstItem=
"Mlj-j0-R7G"
firstAttribute=
"leading"
secondItem=
"6Yq-Qa-XRQ"
secondAttribute=
"leading"
constant=
"15"
id=
"Rjz-4K-6kD"
/>
<constraint
firstItem=
"ThF-LB-0fr"
firstAttribute=
"leading"
secondItem=
"OC7-Yl-Tme"
secondAttribute=
"trailing"
id=
"SD2-3B-lRu"
/>
<constraint
firstItem=
"OC7-Yl-Tme"
firstAttribute=
"leading"
secondItem=
"6Yq-Qa-XRQ"
secondAttribute=
"leading"
constant=
"15"
id=
"eD7-gr-oZf"
/>
<constraint
firstItem=
"AlZ-5X-1jb"
firstAttribute=
"centerY"
secondItem=
"fB8-td-z07"
secondAttribute=
"centerY"
id=
"iBr-mt-5Eh"
/>
<constraint
firstItem=
"fB8-td-z07"
firstAttribute=
"centerY"
secondItem=
"6Yq-Qa-XRQ"
secondAttribute=
"centerY"
id=
"sV1-rF-efZ"
/>
<constraint
firstAttribute=
"height"
constant=
"50"
id=
"zZM-Lb-y6J"
/>
</constraints>
</view>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"fm5-dW-aFR"
>
<rect
key=
"frame"
x=
"0.0"
y=
"50"
width=
"414"
height=
"50"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"5Jb-ah-Mww"
>
<rect
key=
"frame"
x=
"15"
y=
"49"
width=
"399"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"43X-5l-rUb"
/>
</constraints>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"新密码:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"5cO-zW-GIb"
>
<rect
key=
"frame"
x=
"15"
y=
"0.0"
width=
"54"
height=
"49"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"54"
id=
"ko2-3D-dOs"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"006-9S-e0S"
>
<rect
key=
"frame"
x=
"377"
y=
"20"
width=
"17"
height=
"10"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"10"
id=
"g8H-7e-q9I"
/>
<constraint
firstAttribute=
"width"
constant=
"17"
id=
"y1f-4z-IQI"
/>
</constraints>
<state
key=
"normal"
image=
"guanbi"
/>
<state
key=
"selected"
image=
"xianshi "
/>
<connections>
<action
selector=
"newPassAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"bfg-kt-Abu"
/>
</connections>
</button>
<textField
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
placeholder=
"请输入新密码"
textAlignment=
"natural"
minimumFontSize=
"17"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"jRo-Gj-zds"
>
<rect
key=
"frame"
x=
"69"
y=
"7.6666666666666643"
width=
"293"
height=
"34"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"34"
id=
"7Mb-oK-53a"
/>
</constraints>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<textInputTraits
key=
"textInputTraits"
/>
</textField>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"roundedRect"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"j1H-eu-dfH"
>
<rect
key=
"frame"
x=
"362.66666666666669"
y=
"2"
width=
"46"
height=
"46"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"46"
id=
"0kH-pF-rL7"
/>
<constraint
firstAttribute=
"width"
constant=
"46"
id=
"pnG-lv-7gt"
/>
</constraints>
<connections>
<action
selector=
"newPassAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"YpD-6Y-SFd"
/>
</connections>
</button>
</subviews>
<color
key=
"backgroundColor"
name=
"白色背景色"
/>
<constraints>
<constraint
firstAttribute=
"bottom"
secondItem=
"5Jb-ah-Mww"
secondAttribute=
"bottom"
id=
"1Rb-YH-Ito"
/>
<constraint
firstAttribute=
"height"
constant=
"50"
id=
"21g-dI-5XH"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"5Jb-ah-Mww"
secondAttribute=
"trailing"
id=
"34T-1o-fmN"
/>
<constraint
firstItem=
"jRo-Gj-zds"
firstAttribute=
"centerY"
secondItem=
"5cO-zW-GIb"
secondAttribute=
"centerY"
id=
"9et-4o-YmF"
/>
<constraint
firstItem=
"5Jb-ah-Mww"
firstAttribute=
"leading"
secondItem=
"fm5-dW-aFR"
secondAttribute=
"leading"
constant=
"15"
id=
"V3a-5h-2Rs"
/>
<constraint
firstItem=
"jRo-Gj-zds"
firstAttribute=
"leading"
secondItem=
"5cO-zW-GIb"
secondAttribute=
"trailing"
id=
"ZK0-ct-1zE"
/>
<constraint
firstItem=
"006-9S-e0S"
firstAttribute=
"leading"
secondItem=
"jRo-Gj-zds"
secondAttribute=
"trailing"
constant=
"15"
id=
"bZX-Q2-4XZ"
/>
<constraint
firstItem=
"j1H-eu-dfH"
firstAttribute=
"centerX"
secondItem=
"006-9S-e0S"
secondAttribute=
"centerX"
id=
"bl9-NV-sTb"
/>
<constraint
firstItem=
"5cO-zW-GIb"
firstAttribute=
"leading"
secondItem=
"fm5-dW-aFR"
secondAttribute=
"leading"
constant=
"15"
id=
"dV1-Pv-O5G"
/>
<constraint
firstItem=
"5Jb-ah-Mww"
firstAttribute=
"top"
secondItem=
"5cO-zW-GIb"
secondAttribute=
"bottom"
id=
"ePC-Yf-vW3"
/>
<constraint
firstItem=
"j1H-eu-dfH"
firstAttribute=
"centerY"
secondItem=
"006-9S-e0S"
secondAttribute=
"centerY"
id=
"gCh-d5-q28"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"006-9S-e0S"
secondAttribute=
"trailing"
constant=
"20"
id=
"kNx-wO-BHG"
/>
<constraint
firstItem=
"006-9S-e0S"
firstAttribute=
"centerY"
secondItem=
"fm5-dW-aFR"
secondAttribute=
"centerY"
id=
"pm0-7g-A2L"
/>
<constraint
firstItem=
"5cO-zW-GIb"
firstAttribute=
"top"
secondItem=
"fm5-dW-aFR"
secondAttribute=
"top"
id=
"xm5-67-if5"
/>
</constraints>
</view>
<view
alpha=
"0.45000000000000001"
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"zYW-Sl-5Qf"
customClass=
"LGButton"
customModule=
"LGButton"
>
<rect
key=
"frame"
x=
"37.666666666666657"
y=
"359"
width=
"339"
height=
"44"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"44"
id=
"w6e-t5-Ds1"
/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"color"
keyPath=
"gradientStartColor"
>
<color
key=
"value"
name=
"按钮渐变色上"
/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute
type=
"color"
keyPath=
"gradientEndColor"
>
<color
key=
"value"
name=
"按钮渐变色下,字体颜色"
/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"cornerRadius"
>
<real
key=
"value"
value=
"5"
/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute
type=
"string"
keyPath=
"titleString"
value=
"确认修改"
/>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"titleFontSize"
>
<real
key=
"value"
value=
"17"
/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action
selector=
"submitAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"MT7-fK-Uew"
/>
</connections>
</view>
</subviews>
<color
key=
"backgroundColor"
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<constraints>
<constraint
firstItem=
"zYW-Sl-5Qf"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
constant=
"37.5"
id=
"4MS-FX-twV"
/>
<constraint
firstItem=
"zYW-Sl-5Qf"
firstAttribute=
"top"
secondItem=
"fm5-dW-aFR"
secondAttribute=
"bottom"
constant=
"259"
id=
"5ao-cb-rbc"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"zYW-Sl-5Qf"
secondAttribute=
"trailing"
constant=
"37.5"
id=
"F8I-Uo-uTg"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"6Yq-Qa-XRQ"
secondAttribute=
"trailing"
id=
"IEm-OP-4Qd"
/>
<constraint
firstItem=
"fm5-dW-aFR"
firstAttribute=
"top"
secondItem=
"6Yq-Qa-XRQ"
secondAttribute=
"bottom"
id=
"U4z-Uj-uXF"
/>
<constraint
firstItem=
"6Yq-Qa-XRQ"
firstAttribute=
"top"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"top"
id=
"dmB-5C-P4f"
/>
<constraint
firstItem=
"6Yq-Qa-XRQ"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"eCM-Uh-t9N"
/>
<constraint
firstItem=
"fm5-dW-aFR"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"ebW-Pg-lk3"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"fm5-dW-aFR"
secondAttribute=
"trailing"
id=
"gst-lD-tnK"
/>
</constraints>
<viewLayoutGuide
key=
"safeArea"
id=
"fnl-2z-Ty3"
/>
<point
key=
"canvasLocation"
x=
"131.8840579710145"
y=
"110.86956521739131"
/>
</view>
</objects>
<resources>
<image
name=
"guanbi"
width=
"37"
height=
"18"
/>
<image
name=
"xianshi "
width=
"37"
height=
"24"
/>
<namedColor
name=
"按钮渐变色上"
>
<color
red=
"0.3880000114440918"
green=
"0.62400001287460327"
blue=
"0.90200001001358032"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"按钮渐变色下,字体颜色"
>
<color
red=
"0.27799999713897705"
green=
"0.56099998950958252"
blue=
"0.88999998569488525"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"标题字颜色"
>
<color
red=
"0.18000000715255737"
green=
"0.18000000715255737"
blue=
"0.18000000715255737"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"灰色分界线"
>
<color
red=
"0.92900002002716064"
green=
"0.92900002002716064"
blue=
"0.92900002002716064"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"白色背景色"
>
<color
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
</resources>
</document>
GeliBusinessPlatform/ViewController/消息中心/MsgCenterViewController.swift
View file @
6b7b45a4
...
...
@@ -23,6 +23,7 @@ class MsgCenterViewController: BaseViewController,NavBarViewDelegate,UITableView
navbar
.
title
=
"消息中心"
navbar
.
deleagte
=
self
self
.
view
.
addSubview
(
navbar
)
// Do any additional setup after loading the view.
msgTbv
=
UITableView
()
msgTbv
?
.
backgroundColor
=
UIColor
(
named
:
"app底色"
)
...
...
GeliBusinessPlatform/ViewController/登录/LoginViewController.swift
View file @
6b7b45a4
...
...
@@ -21,13 +21,13 @@ self.navigationController?.pushViewController(vc, animated: true)
}
@IBAction
func
shPassAction
(
_
sender
:
UIButton
)
{
s
ender
.
isSelected
=
!
sender
.
isSelected
passTF
.
isSecureTextEntry
=
!
s
ender
.
isSelected
s
hBtn
.
isSelected
=
!
shBtn
.
isSelected
passTF
.
isSecureTextEntry
=
!
s
hBtn
.
isSelected
}
@IBAction
func
loginAction
(
_
sender
:
Any
)
{
print
(
"loginAction"
)
let
vc
=
MsgCenter
ViewController
()
let
vc
=
ChangePass
ViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
//MARK: - 输入账号、密码、验证码
...
...
@@ -37,6 +37,7 @@ self.navigationController?.pushViewController(vc, animated: true)
@IBOutlet
weak
var
codeTF
:
UITextField
!
@IBOutlet
weak
var
bannerImg
:
UIImageView
!
@IBOutlet
weak
var
topImg
:
UIImageView
!
@IBOutlet
weak
var
shBtn
:
UIButton
!
//MARK: - viewWillAppear
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
super
.
viewWillAppear
(
animated
)
...
...
@@ -61,16 +62,4 @@ self.navigationController?.pushViewController(vc, animated: true)
}
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
// Pass the selected object to the new view controller.
}
*/
}
GeliBusinessPlatform/ViewController/登录/LoginViewController.xib
View file @
6b7b45a4
...
...
@@ -15,6 +15,7 @@
<outlet
property=
"codeView"
destination=
"dgy-iq-Edz"
id=
"6HM-ez-mXt"
/>
<outlet
property=
"passTF"
destination=
"ipW-Al-eG6"
id=
"P2q-AH-6SO"
/>
<outlet
property=
"phoneTF"
destination=
"xEL-ml-rz8"
id=
"wzo-Rz-RWS"
/>
<outlet
property=
"shBtn"
destination=
"xgv-CB-GLZ"
id=
"3XV-lQ-3ja"
/>
<outlet
property=
"topImg"
destination=
"5Z0-Os-dI3"
id=
"FoU-Ay-ylS"
/>
<outlet
property=
"view"
destination=
"i5M-Pr-FkT"
id=
"sfx-zR-JGt"
/>
</connections>
...
...
@@ -141,6 +142,16 @@
<action
selector=
"shPassAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"S3P-pI-hyJ"
/>
</connections>
</button>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"roundedRect"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"49B-fO-IDj"
>
<rect
key=
"frame"
x=
"291"
y=
"5"
width=
"46"
height=
"46"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"46"
id=
"4ox-Gd-KdC"
/>
<constraint
firstAttribute=
"width"
constant=
"46"
id=
"wMa-BI-uDu"
/>
</constraints>
<connections>
<action
selector=
"shPassAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"a1q-uC-b3Y"
/>
</connections>
</button>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<constraints>
...
...
@@ -155,9 +166,11 @@
<constraint
firstItem=
"xgv-CB-GLZ"
firstAttribute=
"leading"
secondItem=
"ipW-Al-eG6"
secondAttribute=
"trailing"
constant=
"15"
id=
"W8f-1r-MAj"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"xgv-CB-GLZ"
secondAttribute=
"trailing"
constant=
"52.5"
id=
"crQ-SX-Q2S"
/>
<constraint
firstItem=
"Mlw-Ng-8f9"
firstAttribute=
"top"
secondItem=
"hAO-bO-280"
secondAttribute=
"bottom"
id=
"qTb-8R-WjZ"
/>
<constraint
firstItem=
"49B-fO-IDj"
firstAttribute=
"centerY"
secondItem=
"xgv-CB-GLZ"
secondAttribute=
"centerY"
id=
"rbj-OE-Nwl"
/>
<constraint
firstItem=
"hAO-bO-280"
firstAttribute=
"leading"
secondItem=
"OaN-ws-ype"
secondAttribute=
"leading"
constant=
"52.5"
id=
"uHI-YO-GLX"
/>
<constraint
firstItem=
"Mlw-Ng-8f9"
firstAttribute=
"leading"
secondItem=
"OaN-ws-ype"
secondAttribute=
"leading"
constant=
"42.5"
id=
"vaj-M3-2ae"
/>
<constraint
firstItem=
"xgv-CB-GLZ"
firstAttribute=
"centerY"
secondItem=
"hAO-bO-280"
secondAttribute=
"centerY"
id=
"xYu-7C-4aY"
/>
<constraint
firstItem=
"49B-fO-IDj"
firstAttribute=
"centerX"
secondItem=
"xgv-CB-GLZ"
secondAttribute=
"centerX"
id=
"ymi-Tz-Knr"
/>
</constraints>
</view>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"ZRL-RS-ju7"
>
...
...
GeliBusinessPlatform/ViewController/账号信息/AccountViewController.swift
0 → 100644
View file @
6b7b45a4
//
// AccountViewController.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/4/16.
// Copyright © 2020 junye lu. All rights reserved.
//
import
UIKit
class
AccountViewController
:
BaseViewController
,
NavBarViewDelegate
{
@IBOutlet
weak
var
phoneLbl
:
UILabel
!
@IBOutlet
weak
var
accountLbl
:
UILabel
!
@IBOutlet
weak
var
nameLbl
:
UILabel
!
@IBOutlet
weak
var
firstView
:
UIView
!
//MARK: -方法
@IBAction
func
gotoDetailAction
(
_
sender
:
Any
)
{
print
(
"进入商家详情"
)
}
@IBAction
func
changPassAction
(
_
sender
:
Any
)
{
print
(
"修改密码"
)
}
@IBAction
func
logOutAction
(
_
sender
:
Any
)
{
print
(
"退出登录"
)
}
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
let
navbar
=
NavBarView
(
frame
:
NavCGRect
)
navbar
.
title
=
"账号信息"
navbar
.
deleagte
=
self
self
.
view
.
addSubview
(
navbar
)
// Do any additional setup after loading the view.
firstView
?
.
snp
.
makeConstraints
({
(
make
)
in
make
.
top
.
equalTo
(
NavCGRect
.
height
)
make
.
left
.
right
.
equalTo
(
0
)
make
.
height
.
equalTo
(
50
)
})
}
//MARK: -delegate方法
func
backAction
()
{
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
}
}
GeliBusinessPlatform/ViewController/账号信息/AccountViewController.xib
0 → 100644
View file @
6b7b45a4
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"15702"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"15704"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
<objects>
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
customClass=
"AccountViewController"
customModule=
"GeliBusinessPlatform"
customModuleProvider=
"target"
>
<connections>
<outlet
property=
"accountLbl"
destination=
"Oe5-qS-595"
id=
"049-bM-3Az"
/>
<outlet
property=
"firstView"
destination=
"FvD-OT-BC6"
id=
"0GB-0e-Kal"
/>
<outlet
property=
"nameLbl"
destination=
"sPz-wX-qgV"
id=
"3ov-KN-AvI"
/>
<outlet
property=
"phoneLbl"
destination=
"3eK-Gy-rQa"
id=
"UxX-Cp-bhF"
/>
<outlet
property=
"view"
destination=
"i5M-Pr-FkT"
id=
"sfx-zR-JGt"
/>
</connections>
</placeholder>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"-2"
customClass=
"UIResponder"
/>
<view
clearsContextBeforeDrawing=
"NO"
contentMode=
"scaleToFill"
id=
"i5M-Pr-FkT"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"896"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"FvD-OT-BC6"
>
<rect
key=
"frame"
x=
"0.0"
y=
"44"
width=
"414"
height=
"50"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"ADg-u0-xRh"
>
<rect
key=
"frame"
x=
"15"
y=
"49"
width=
"399"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"viu-1U-NYo"
/>
</constraints>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"名称:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"taa-Fq-CPo"
>
<rect
key=
"frame"
x=
"15"
y=
"0.0"
width=
"40"
height=
"49"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"40"
id=
"Amd-k1-w3u"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"梁小锋"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"sPz-wX-qgV"
>
<rect
key=
"frame"
x=
"55"
y=
"0.0"
width=
"344"
height=
"49"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<color
key=
"backgroundColor"
name=
"白色背景色"
/>
<constraints>
<constraint
firstAttribute=
"trailing"
secondItem=
"ADg-u0-xRh"
secondAttribute=
"trailing"
id=
"8RD-ll-9bt"
/>
<constraint
firstItem=
"taa-Fq-CPo"
firstAttribute=
"top"
secondItem=
"FvD-OT-BC6"
secondAttribute=
"top"
id=
"EmZ-R0-3Ef"
/>
<constraint
firstItem=
"taa-Fq-CPo"
firstAttribute=
"leading"
secondItem=
"FvD-OT-BC6"
secondAttribute=
"leading"
constant=
"15"
id=
"Qsv-WN-01h"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"ADg-u0-xRh"
secondAttribute=
"bottom"
id=
"R9l-2W-UJv"
/>
<constraint
firstItem=
"ADg-u0-xRh"
firstAttribute=
"leading"
secondItem=
"FvD-OT-BC6"
secondAttribute=
"leading"
constant=
"15"
id=
"TnS-m3-LQn"
/>
<constraint
firstItem=
"ADg-u0-xRh"
firstAttribute=
"top"
secondItem=
"sPz-wX-qgV"
secondAttribute=
"bottom"
id=
"Veb-gX-dhr"
/>
<constraint
firstItem=
"ADg-u0-xRh"
firstAttribute=
"top"
secondItem=
"taa-Fq-CPo"
secondAttribute=
"bottom"
id=
"YqC-3A-Car"
/>
<constraint
firstAttribute=
"height"
constant=
"50"
id=
"aWE-Dt-ZHG"
/>
<constraint
firstItem=
"sPz-wX-qgV"
firstAttribute=
"leading"
secondItem=
"taa-Fq-CPo"
secondAttribute=
"trailing"
id=
"bTb-Re-cRI"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"sPz-wX-qgV"
secondAttribute=
"trailing"
constant=
"15"
id=
"eI8-5h-69s"
/>
<constraint
firstItem=
"sPz-wX-qgV"
firstAttribute=
"top"
secondItem=
"FvD-OT-BC6"
secondAttribute=
"top"
id=
"okT-uV-vVV"
/>
</constraints>
</view>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"1mA-tl-eER"
>
<rect
key=
"frame"
x=
"0.0"
y=
"144"
width=
"414"
height=
"50"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Vil-8s-YqF"
>
<rect
key=
"frame"
x=
"15"
y=
"49"
width=
"399"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"9Zh-Xf-yF1"
/>
</constraints>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"手机号:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"9Ol-sn-Fdn"
>
<rect
key=
"frame"
x=
"15"
y=
"0.0"
width=
"54"
height=
"49"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"54"
id=
"4RJ-li-YZN"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"15577124121"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"3eK-Gy-rQa"
>
<rect
key=
"frame"
x=
"69"
y=
"0.0"
width=
"330"
height=
"49"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<color
key=
"backgroundColor"
name=
"白色背景色"
/>
<constraints>
<constraint
firstItem=
"Vil-8s-YqF"
firstAttribute=
"top"
secondItem=
"9Ol-sn-Fdn"
secondAttribute=
"bottom"
id=
"10M-UH-FgQ"
/>
<constraint
firstAttribute=
"height"
constant=
"50"
id=
"BlR-z8-udH"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Vil-8s-YqF"
secondAttribute=
"trailing"
id=
"EWR-sV-ki5"
/>
<constraint
firstItem=
"Vil-8s-YqF"
firstAttribute=
"top"
secondItem=
"3eK-Gy-rQa"
secondAttribute=
"bottom"
id=
"UKN-IH-7vP"
/>
<constraint
firstItem=
"Vil-8s-YqF"
firstAttribute=
"leading"
secondItem=
"1mA-tl-eER"
secondAttribute=
"leading"
constant=
"15"
id=
"YYX-lr-qHn"
/>
<constraint
firstItem=
"9Ol-sn-Fdn"
firstAttribute=
"top"
secondItem=
"1mA-tl-eER"
secondAttribute=
"top"
id=
"dMv-Zu-x1I"
/>
<constraint
firstItem=
"3eK-Gy-rQa"
firstAttribute=
"top"
secondItem=
"1mA-tl-eER"
secondAttribute=
"top"
id=
"hlZ-Rn-E83"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"3eK-Gy-rQa"
secondAttribute=
"trailing"
constant=
"15"
id=
"l1F-Gz-vHn"
/>
<constraint
firstItem=
"9Ol-sn-Fdn"
firstAttribute=
"leading"
secondItem=
"1mA-tl-eER"
secondAttribute=
"leading"
constant=
"15"
id=
"niM-nM-5g6"
/>
<constraint
firstItem=
"3eK-Gy-rQa"
firstAttribute=
"leading"
secondItem=
"9Ol-sn-Fdn"
secondAttribute=
"trailing"
id=
"u6d-wU-wbB"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"Vil-8s-YqF"
secondAttribute=
"bottom"
id=
"zHA-n5-7LB"
/>
</constraints>
</view>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"bXg-eE-8wx"
>
<rect
key=
"frame"
x=
"0.0"
y=
"94"
width=
"414"
height=
"50"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"hSe-qV-0Gi"
>
<rect
key=
"frame"
x=
"15"
y=
"49"
width=
"399"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"9Sa-IC-rPY"
/>
</constraints>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"账号:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"U1r-eS-gHh"
>
<rect
key=
"frame"
x=
"15"
y=
"0.0"
width=
"40"
height=
"49"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"40"
id=
"Clj-4k-5e7"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"15577124121VGJ"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Oe5-qS-595"
>
<rect
key=
"frame"
x=
"55"
y=
"0.0"
width=
"344"
height=
"49"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<color
key=
"backgroundColor"
name=
"白色背景色"
/>
<constraints>
<constraint
firstItem=
"hSe-qV-0Gi"
firstAttribute=
"leading"
secondItem=
"bXg-eE-8wx"
secondAttribute=
"leading"
constant=
"15"
id=
"9yi-Ox-B0k"
/>
<constraint
firstItem=
"U1r-eS-gHh"
firstAttribute=
"top"
secondItem=
"bXg-eE-8wx"
secondAttribute=
"top"
id=
"BW9-1p-xFI"
/>
<constraint
firstAttribute=
"height"
constant=
"50"
id=
"Khr-gG-dvG"
/>
<constraint
firstItem=
"hSe-qV-0Gi"
firstAttribute=
"top"
secondItem=
"U1r-eS-gHh"
secondAttribute=
"bottom"
id=
"Qx2-w7-rWY"
/>
<constraint
firstItem=
"hSe-qV-0Gi"
firstAttribute=
"top"
secondItem=
"Oe5-qS-595"
secondAttribute=
"bottom"
id=
"R1t-7a-fP4"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Oe5-qS-595"
secondAttribute=
"trailing"
constant=
"15"
id=
"bnR-n7-DBJ"
/>
<constraint
firstItem=
"U1r-eS-gHh"
firstAttribute=
"leading"
secondItem=
"bXg-eE-8wx"
secondAttribute=
"leading"
constant=
"15"
id=
"fCz-VN-h8C"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"hSe-qV-0Gi"
secondAttribute=
"bottom"
id=
"hPA-bP-b9P"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"hSe-qV-0Gi"
secondAttribute=
"trailing"
id=
"p6J-n5-XWh"
/>
<constraint
firstItem=
"Oe5-qS-595"
firstAttribute=
"top"
secondItem=
"bXg-eE-8wx"
secondAttribute=
"top"
id=
"ppI-rD-Bvg"
/>
<constraint
firstItem=
"Oe5-qS-595"
firstAttribute=
"leading"
secondItem=
"U1r-eS-gHh"
secondAttribute=
"trailing"
id=
"tnf-qT-Poc"
/>
</constraints>
</view>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"h7g-DW-8hd"
>
<rect
key=
"frame"
x=
"0.0"
y=
"194"
width=
"414"
height=
"50"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"yOQ-rM-XUt"
>
<rect
key=
"frame"
x=
"15"
y=
"49"
width=
"399"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"zun-bp-98X"
/>
</constraints>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"商家信息:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"0t7-TL-pUY"
>
<rect
key=
"frame"
x=
"15"
y=
"0.0"
width=
"67"
height=
"49"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"67"
id=
"Pu9-cc-Uqw"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"jinru"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"tOQ-vN-n9S"
>
<rect
key=
"frame"
x=
"392"
y=
"21.5"
width=
"7"
height=
"7"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"7"
id=
"8lh-dC-ZF0"
/>
<constraint
firstAttribute=
"height"
constant=
"7"
id=
"D7J-h5-CGO"
/>
</constraints>
</imageView>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"roundedRect"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"mYo-OE-94s"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"49"
/>
<connections>
<action
selector=
"gotoDetailAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"fWz-ZK-2RG"
/>
</connections>
</button>
</subviews>
<color
key=
"backgroundColor"
name=
"白色背景色"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"50"
id=
"EZk-bO-pQC"
/>
<constraint
firstItem=
"yOQ-rM-XUt"
firstAttribute=
"leading"
secondItem=
"h7g-DW-8hd"
secondAttribute=
"leading"
constant=
"15"
id=
"FSG-AJ-O4m"
/>
<constraint
firstItem=
"yOQ-rM-XUt"
firstAttribute=
"top"
secondItem=
"mYo-OE-94s"
secondAttribute=
"bottom"
id=
"GAy-XY-4jY"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"mYo-OE-94s"
secondAttribute=
"trailing"
id=
"HbP-fj-ASN"
/>
<constraint
firstItem=
"0t7-TL-pUY"
firstAttribute=
"top"
secondItem=
"h7g-DW-8hd"
secondAttribute=
"top"
id=
"Jry-NB-qza"
/>
<constraint
firstItem=
"mYo-OE-94s"
firstAttribute=
"leading"
secondItem=
"h7g-DW-8hd"
secondAttribute=
"leading"
id=
"SJq-9K-CAm"
/>
<constraint
firstItem=
"mYo-OE-94s"
firstAttribute=
"top"
secondItem=
"h7g-DW-8hd"
secondAttribute=
"top"
id=
"Veb-Kn-u01"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"yOQ-rM-XUt"
secondAttribute=
"bottom"
id=
"VsG-Yu-C7v"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"tOQ-vN-n9S"
secondAttribute=
"trailing"
constant=
"15"
id=
"gnk-Fq-muM"
/>
<constraint
firstItem=
"0t7-TL-pUY"
firstAttribute=
"leading"
secondItem=
"h7g-DW-8hd"
secondAttribute=
"leading"
constant=
"15"
id=
"h5Y-4z-xjj"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"yOQ-rM-XUt"
secondAttribute=
"trailing"
id=
"isQ-bZ-dnP"
/>
<constraint
firstItem=
"tOQ-vN-n9S"
firstAttribute=
"centerY"
secondItem=
"h7g-DW-8hd"
secondAttribute=
"centerY"
id=
"oNO-Xi-X3j"
/>
<constraint
firstItem=
"yOQ-rM-XUt"
firstAttribute=
"top"
secondItem=
"0t7-TL-pUY"
secondAttribute=
"bottom"
id=
"pm6-QS-ES1"
/>
</constraints>
</view>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"l1f-k2-92P"
>
<rect
key=
"frame"
x=
"0.0"
y=
"254"
width=
"414"
height=
"50"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"登录密码"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"td4-0h-eDh"
>
<rect
key=
"frame"
x=
"15"
y=
"0.0"
width=
"54"
height=
"50"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"54"
id=
"sY9-vz-3hX"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
</label>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"roundedRect"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"ROu-Cb-d36"
>
<rect
key=
"frame"
x=
"345"
y=
"11"
width=
"54"
height=
"28"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"28"
id=
"06O-dU-rH7"
/>
<constraint
firstAttribute=
"width"
constant=
"54"
id=
"JwY-lW-cbi"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<state
key=
"normal"
title=
"修改密码"
>
<color
key=
"titleColor"
name=
"按钮渐变色下,字体颜色"
/>
</state>
<connections>
<action
selector=
"changPassAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"CBA-Wq-DUG"
/>
</connections>
</button>
</subviews>
<color
key=
"backgroundColor"
name=
"白色背景色"
/>
<constraints>
<constraint
firstItem=
"td4-0h-eDh"
firstAttribute=
"top"
secondItem=
"l1f-k2-92P"
secondAttribute=
"top"
id=
"8Jh-Mn-5tl"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"ROu-Cb-d36"
secondAttribute=
"trailing"
constant=
"15"
id=
"DZT-ev-9Vh"
/>
<constraint
firstItem=
"td4-0h-eDh"
firstAttribute=
"leading"
secondItem=
"l1f-k2-92P"
secondAttribute=
"leading"
constant=
"15"
id=
"fxZ-Dg-quX"
/>
<constraint
firstAttribute=
"height"
constant=
"50"
id=
"hNz-gC-de6"
/>
<constraint
firstItem=
"ROu-Cb-d36"
firstAttribute=
"centerY"
secondItem=
"l1f-k2-92P"
secondAttribute=
"centerY"
id=
"vk0-O9-cms"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"td4-0h-eDh"
secondAttribute=
"bottom"
id=
"wqe-JC-RaW"
/>
</constraints>
</view>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"gzL-Ok-JDM"
customClass=
"LGButton"
customModule=
"LGButton"
>
<rect
key=
"frame"
x=
"37.5"
y=
"404"
width=
"339"
height=
"44"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"44"
id=
"P4c-4l-coZ"
/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"color"
keyPath=
"gradientStartColor"
>
<color
key=
"value"
name=
"按钮渐变色上"
/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute
type=
"color"
keyPath=
"gradientEndColor"
>
<color
key=
"value"
name=
"按钮渐变色下,字体颜色"
/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"cornerRadius"
>
<real
key=
"value"
value=
"5"
/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute
type=
"string"
keyPath=
"titleString"
value=
"退出登录"
/>
<userDefinedRuntimeAttribute
type=
"number"
keyPath=
"titleFontSize"
>
<real
key=
"value"
value=
"17"
/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action
selector=
"logOutAction:"
destination=
"-1"
eventType=
"touchUpInside"
id=
"6k3-EX-iq5"
/>
</connections>
</view>
</subviews>
<color
key=
"backgroundColor"
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<constraints>
<constraint
firstItem=
"gzL-Ok-JDM"
firstAttribute=
"top"
secondItem=
"l1f-k2-92P"
secondAttribute=
"bottom"
constant=
"100"
id=
"3dX-3L-TT8"
/>
<constraint
firstItem=
"h7g-DW-8hd"
firstAttribute=
"top"
secondItem=
"1mA-tl-eER"
secondAttribute=
"bottom"
id=
"8lw-Mc-f92"
/>
<constraint
firstItem=
"FvD-OT-BC6"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"99y-GN-jlu"
/>
<constraint
firstItem=
"1mA-tl-eER"
firstAttribute=
"top"
secondItem=
"bXg-eE-8wx"
secondAttribute=
"bottom"
id=
"9Ww-JD-41B"
/>
<constraint
firstItem=
"l1f-k2-92P"
firstAttribute=
"top"
secondItem=
"h7g-DW-8hd"
secondAttribute=
"bottom"
constant=
"10"
id=
"Ajy-wt-PUe"
/>
<constraint
firstItem=
"bXg-eE-8wx"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"Kz1-bP-0BD"
/>
<constraint
firstItem=
"gzL-Ok-JDM"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
constant=
"37.5"
id=
"Li7-Yj-YDO"
/>
<constraint
firstItem=
"FvD-OT-BC6"
firstAttribute=
"top"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"top"
id=
"MXt-uY-Dt0"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"h7g-DW-8hd"
secondAttribute=
"trailing"
id=
"SxX-wJ-bHq"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"1mA-tl-eER"
secondAttribute=
"trailing"
id=
"Vsw-C6-v7a"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"bXg-eE-8wx"
secondAttribute=
"trailing"
id=
"aml-Jh-Yrt"
/>
<constraint
firstItem=
"h7g-DW-8hd"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"d2x-bp-yCh"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"FvD-OT-BC6"
secondAttribute=
"trailing"
id=
"fLx-ol-LuA"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"gzL-Ok-JDM"
secondAttribute=
"trailing"
constant=
"37.5"
id=
"hli-Hq-a84"
/>
<constraint
firstItem=
"bXg-eE-8wx"
firstAttribute=
"top"
secondItem=
"FvD-OT-BC6"
secondAttribute=
"bottom"
id=
"mEm-9B-2Rr"
/>
<constraint
firstItem=
"l1f-k2-92P"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"oxc-aU-eEp"
/>
<constraint
firstItem=
"fnl-2z-Ty3"
firstAttribute=
"trailing"
secondItem=
"l1f-k2-92P"
secondAttribute=
"trailing"
id=
"ptc-h2-SbI"
/>
<constraint
firstItem=
"1mA-tl-eER"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"qgm-zY-gaX"
/>
</constraints>
<viewLayoutGuide
key=
"safeArea"
id=
"fnl-2z-Ty3"
/>
<point
key=
"canvasLocation"
x=
"131.8840579710145"
y=
"110.49107142857143"
/>
</view>
</objects>
<resources>
<image
name=
"jinru"
width=
"13"
height=
"23"
/>
<namedColor
name=
"按钮渐变色上"
>
<color
red=
"0.3880000114440918"
green=
"0.62400001287460327"
blue=
"0.90200001001358032"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"按钮渐变色下,字体颜色"
>
<color
red=
"0.27799999713897705"
green=
"0.56099998950958252"
blue=
"0.88999998569488525"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"标题字颜色"
>
<color
red=
"0.18000000715255737"
green=
"0.18000000715255737"
blue=
"0.18000000715255737"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"灰色分界线"
>
<color
red=
"0.92900002002716064"
green=
"0.92900002002716064"
blue=
"0.92900002002716064"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<namedColor
name=
"白色背景色"
>
<color
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
</resources>
</document>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment