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
9cf25fd6
Commit
9cf25fd6
authored
Oct 29, 2024
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页会话弹窗优化
parent
9a23bd8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
3 deletions
+21
-3
YHManagerFuncGuildeCheckView.swift
...ses/Modules/Home(首页)/V/YHManagerFuncGuildeCheckView.swift
+21
-3
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHManagerFuncGuildeCheckView.swift
View file @
9cf25fd6
...
@@ -24,14 +24,21 @@ class YHManagerFuncGuildeCheckView: UIView {
...
@@ -24,14 +24,21 @@ class YHManagerFuncGuildeCheckView: UIView {
let
button
=
UIButton
(
type
:
.
custom
)
let
button
=
UIButton
(
type
:
.
custom
)
button
.
addTarget
(
self
,
action
:
#selector(
clickCloseBtn
)
,
for
:
.
touchUpInside
)
button
.
addTarget
(
self
,
action
:
#selector(
clickCloseBtn
)
,
for
:
.
touchUpInside
)
button
.
setTitle
(
"知道啦"
,
for
:
.
normal
)
button
.
setTitle
(
"知道啦"
,
for
:
.
normal
)
button
.
layer
.
borderColor
=
UIColor
.
white
.
cgColor
button
.
setTitleColor
(
UIColor
(
hexString
:
"#232D71"
),
for
:
.
normal
)
button
.
backgroundColor
=
.
white
button
.
layer
.
cornerRadius
=
2
button
.
layer
.
cornerRadius
=
2
button
.
layer
.
borderWidth
=
0.5
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
return
button
return
button
}()
}()
lazy
var
cancelBtn
:
UIButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
setImage
(
UIImage
(
named
:
"invitation_with_gifts_detail_close"
),
for
:
.
normal
)
button
.
addTarget
(
self
,
action
:
#selector(
clickCancelBtn
)
,
for
:
.
touchUpInside
)
return
button
}()
lazy
var
imageV1
:
UIImageView
=
{
lazy
var
imageV1
:
UIImageView
=
{
let
imageV
=
UIImageView
()
let
imageV
=
UIImageView
()
imageV
.
image
=
UIImage
(
named
:
"home_guild_yhmanager_1"
)
imageV
.
image
=
UIImage
(
named
:
"home_guild_yhmanager_1"
)
...
@@ -91,6 +98,10 @@ extension YHManagerFuncGuildeCheckView {
...
@@ -91,6 +98,10 @@ extension YHManagerFuncGuildeCheckView {
self
.
block
?()
self
.
block
?()
dismiss
()
dismiss
()
}
}
@objc
func
clickCancelBtn
()
{
dismiss
()
}
}
}
private
extension
YHManagerFuncGuildeCheckView
{
private
extension
YHManagerFuncGuildeCheckView
{
...
@@ -130,7 +141,14 @@ private extension YHManagerFuncGuildeCheckView {
...
@@ -130,7 +141,14 @@ private extension YHManagerFuncGuildeCheckView {
make
.
height
.
equalTo
(
228
.
fix
)
make
.
height
.
equalTo
(
228
.
fix
)
}
}
blackMaskView
.
addSubview
(
cancelBtn
)
cancelBtn
.
snp
.
makeConstraints
{
make
in
make
.
bottom
.
equalTo
(
imageV1
.
snp
.
top
)
.
offset
(
-
6
)
make
.
right
.
equalTo
(
imageV1
.
snp
.
right
)
make
.
width
.
height
.
equalTo
(
24
)
}
cancelBtn
.
YH_clickEdgeInsets
=
UIEdgeInsets
(
top
:
10
,
left
:
10
,
bottom
:
10
,
right
:
10
)
imageV1
.
addSubview
(
closeBtn
)
imageV1
.
addSubview
(
closeBtn
)
closeBtn
.
snp
.
makeConstraints
{
make
in
closeBtn
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalToSuperview
()
.
offset
(
-
20
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
20
)
...
...
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