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
460d2d27
Commit
460d2d27
authored
May 11, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 版本更新UI
parent
1b46d8c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
YHFindAppNewVersionView.swift
...dules/VersionUpload(版本更新)/V/YHFindAppNewVersionView.swift
+4
-2
No files found.
galaxy/galaxy/Classes/Modules/VersionUpload(版本更新)/V/YHFindAppNewVersionView.swift
View file @
460d2d27
...
@@ -153,7 +153,9 @@ class YHFindAppNewVersionView: UIView {
...
@@ -153,7 +153,9 @@ class YHFindAppNewVersionView: UIView {
static
func
alertView
(
version
:
String
?)
->
YHFindAppNewVersionView
{
static
func
alertView
(
version
:
String
?)
->
YHFindAppNewVersionView
{
let
alertView
=
YHFindAppNewVersionView
(
frame
:
UIScreen
.
main
.
bounds
)
let
alertView
=
YHFindAppNewVersionView
(
frame
:
UIScreen
.
main
.
bounds
)
alertView
.
versionLabel
.
text
=
version
if
let
version
=
version
{
alertView
.
versionLabel
.
text
=
"V"
+
version
}
return
alertView
return
alertView
}
}
...
@@ -224,7 +226,7 @@ class YHFindAppNewVersionView: UIView {
...
@@ -224,7 +226,7 @@ class YHFindAppNewVersionView: UIView {
versionLabel
.
snp
.
makeConstraints
{
make
in
versionLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
titleLabel
)
make
.
left
.
equalTo
(
titleLabel
)
make
.
top
.
equalTo
(
titleLabel
.
snp
.
bottom
)
.
offset
(
6
)
make
.
top
.
equalTo
(
titleLabel
.
snp
.
bottom
)
.
offset
(
6
)
make
.
width
.
equalTo
(
5
4
)
make
.
width
.
equalTo
(
5
8
)
make
.
height
.
equalTo
(
22
)
make
.
height
.
equalTo
(
22
)
}
}
...
...
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