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
25f3b71d
Commit
25f3b71d
authored
Apr 16, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整登录页显示
parent
4093b68e
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
47 additions
and
2 deletions
+47
-2
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/登录界面图/返回箭头/fanhui.imageset/Contents.json
.../Assets.xcassets/登录界面图/返回箭头/fanhui.imageset/Contents.json
+23
-0
GeliBusinessPlatform/Assets.xcassets/登录界面图/返回箭头/fanhui.imageset/fanhui@2x.png
.../Assets.xcassets/登录界面图/返回箭头/fanhui.imageset/fanhui@2x.png
+0
-0
GeliBusinessPlatform/Assets.xcassets/登录界面图/返回箭头/fanhui.imageset/fanhui@3x.png
.../Assets.xcassets/登录界面图/返回箭头/fanhui.imageset/fanhui@3x.png
+0
-0
GeliBusinessPlatform/Define/Define.swift
GeliBusinessPlatform/Define/Define.swift
+2
-0
GeliBusinessPlatform/View/NavBarView/NavBarView.swift
GeliBusinessPlatform/View/NavBarView/NavBarView.swift
+1
-1
GeliBusinessPlatform/ViewController/登录/LoginViewController.swift
...inessPlatform/ViewController/登录/LoginViewController.swift
+12
-1
GeliBusinessPlatform/ViewController/登录/LoginViewController.xib
...usinessPlatform/ViewController/登录/LoginViewController.xib
+2
-0
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
25f3b71d
No preview for this file type
GeliBusinessPlatform/Assets.xcassets/登录界面图/返回箭头/Contents.json
0 → 100644
View file @
25f3b71d
{
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
}
}
\ No newline at end of file
GeliBusinessPlatform/Assets.xcassets/登录界面图/返回箭头/fanhui.imageset/Contents.json
0 → 100644
View file @
25f3b71d
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"idiom"
:
"universal"
,
"filename"
:
"fanhui@2x.png"
,
"scale"
:
"2x"
},
{
"idiom"
:
"universal"
,
"filename"
:
"fanhui@3x.png"
,
"scale"
:
"3x"
}
],
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
}
}
\ No newline at end of file
GeliBusinessPlatform/Assets.xcassets/登录界面图/返回箭头/fanhui.imageset/fanhui@2x.png
0 → 100644
View file @
25f3b71d
1.2 KB
GeliBusinessPlatform/Assets.xcassets/登录界面图/返回箭头/fanhui.imageset/fanhui@3x.png
0 → 100644
View file @
25f3b71d
1.61 KB
GeliBusinessPlatform/Define/Define.swift
View file @
25f3b71d
...
...
@@ -33,6 +33,8 @@ let SERVERCE_HOST = "http://a.gelifood.com/apia"
//视图常量
let
IS_IPHONE_X
=
__CGSizeEqualToSize
(
CGSize
(
width
:
375.0
,
height
:
812.0
),
UIScreen
.
main
.
bounds
.
size
)
||
__CGSizeEqualToSize
(
CGSize
(
width
:
812.0
,
height
:
375.0
),
UIScreen
.
main
.
bounds
.
size
)
||
__CGSizeEqualToSize
(
CGSize
(
width
:
414.0
,
height
:
896.0
),
UIScreen
.
main
.
bounds
.
size
)
||
__CGSizeEqualToSize
(
CGSize
(
width
:
896.0
,
height
:
414.0
),
UIScreen
.
main
.
bounds
.
size
)
let
NavHeight
=
(
IS_IPHONE_X
?
88
:
64
)
let
TabHeight
=
(
IS_IPHONE_X
?
83
:
49
)
...
...
GeliBusinessPlatform/View/NavBarView/NavBarView.swift
View file @
25f3b71d
...
...
@@ -82,7 +82,7 @@ class NavBarView: BaseView {
}
leftImgV
=
UIImageView
()
leftImgV
.
image
=
UIImage
(
named
:
"
icon_
fanhui"
)
leftImgV
.
image
=
UIImage
(
named
:
"fanhui"
)
self
.
addSubview
(
leftImgV
)
leftImgV
.
snp
.
makeConstraints
{
(
make
)
in
make
.
left
.
equalTo
(
12
)
...
...
GeliBusinessPlatform/ViewController/登录/LoginViewController.swift
View file @
25f3b71d
...
...
@@ -35,6 +35,8 @@ self.navigationController?.pushViewController(vc, animated: true)
@IBOutlet
weak
var
phoneTF
:
UITextField
!
@IBOutlet
weak
var
passTF
:
UITextField
!
@IBOutlet
weak
var
codeTF
:
UITextField
!
@IBOutlet
weak
var
bannerImg
:
UIImageView
!
@IBOutlet
weak
var
topImg
:
UIImageView
!
//MARK: - viewWillAppear
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
super
.
viewWillAppear
(
animated
)
...
...
@@ -46,8 +48,17 @@ self.navigationController?.pushViewController(vc, animated: true)
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
let
glscale
=
UIScreen
.
main
.
bounds
.
size
.
width
/
375
passTF
.
isSecureTextEntry
=
true
bannerImg
.
snp
.
makeConstraints
{
(
make
)
in
make
.
top
.
left
.
right
.
equalTo
(
0
)
make
.
height
.
equalTo
(
234*
glscale
)
}
topImg
.
snp
.
makeConstraints
{
(
make
)
in
make
.
bottom
.
equalTo
(
bannerImg
.
snp_top
)
make
.
left
.
right
.
equalTo
(
0
)
make
.
height
.
equalTo
(
60
)
}
}
...
...
GeliBusinessPlatform/ViewController/登录/LoginViewController.xib
View file @
25f3b71d
...
...
@@ -10,10 +10,12 @@
<objects>
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
customClass=
"LoginViewController"
customModule=
"GeliBusinessPlatform"
customModuleProvider=
"target"
>
<connections>
<outlet
property=
"bannerImg"
destination=
"AdE-4p-9iF"
id=
"Eub-F8-pfv"
/>
<outlet
property=
"codeTF"
destination=
"qfV-go-Nf1"
id=
"dsy-cS-dte"
/>
<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=
"topImg"
destination=
"5Z0-Os-dI3"
id=
"FoU-Ay-ylS"
/>
<outlet
property=
"view"
destination=
"i5M-Pr-FkT"
id=
"sfx-zR-JGt"
/>
</connections>
</placeholder>
...
...
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