Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
ef2f4d36
Commit
ef2f4d36
authored
May 23, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片 替换
parent
00ff0ef2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
2 deletions
+36
-2
YHPhoneLoginWithVideoBkgViewController.swift
.../Login(登录)/C/YHPhoneLoginWithVideoBkgViewController.swift
+14
-2
Contents.json
...Login/login_privacy_disagree_white.imageset/Contents.json
+22
-0
Rectangle 2490@2x.png
...gin_privacy_disagree_white.imageset/Rectangle 2490@2x.png
+0
-0
Rectangle 2490@3x.png
...gin_privacy_disagree_white.imageset/Rectangle 2490@3x.png
+0
-0
No files found.
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHPhoneLoginWithVideoBkgViewController.swift
View file @
ef2f4d36
...
@@ -86,6 +86,18 @@ extension YHPhoneLoginWithVideoBkgViewController {
...
@@ -86,6 +86,18 @@ extension YHPhoneLoginWithVideoBkgViewController {
make
.
left
.
right
.
equalToSuperview
()
make
.
left
.
right
.
equalToSuperview
()
}
}
}
}
if
let
keyboardSize
=
(
notification
.
userInfo
?[
UIResponder
.
keyboardFrameEndUserInfoKey
]
as?
NSValue
)?
.
cgRectValue
{
let
keyboardHeight
=
keyboardSize
.
height
// 使用键盘的高度进行后续操作
contentHoldView
.
snp
.
remakeConstraints
{
make
in
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
32
-
keyboardHeight
)
make
.
left
.
right
.
equalToSuperview
()
}
}
}
}
// 键盘将要隐藏时的处理函数
// 键盘将要隐藏时的处理函数
...
@@ -142,8 +154,8 @@ extension YHPhoneLoginWithVideoBkgViewController {
...
@@ -142,8 +154,8 @@ extension YHPhoneLoginWithVideoBkgViewController {
logImageView
=
{
logImageView
=
{
let
imageView
=
UIImageView
()
let
imageView
=
UIImageView
()
imageView
.
image
=
UIImage
(
named
:
"login_icon"
)
imageView
.
image
=
UIImage
(
named
:
"login_icon"
)
imageView
.
layer
.
masksToBounds
=
true
//
imageView.layer.masksToBounds = true
imageView
.
layer
.
cornerRadius
=
kCornerRadius8
//
imageView.layer.cornerRadius = kCornerRadius8
return
imageView
return
imageView
}()
}()
frontHoldView
.
addSubview
(
logImageView
)
frontHoldView
.
addSubview
(
logImageView
)
...
...
galaxy/galaxy/Res/Assets.xcassets/Login/login_privacy_disagree_white.imageset/Contents.json
0 → 100644
View file @
ef2f4d36
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Rectangle 2490@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Rectangle 2490@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/Login/login_privacy_disagree_white.imageset/Rectangle 2490@2x.png
0 → 100644
View file @
ef2f4d36
242 Bytes
galaxy/galaxy/Res/Assets.xcassets/Login/login_privacy_disagree_white.imageset/Rectangle 2490@3x.png
0 → 100644
View file @
ef2f4d36
326 Bytes
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