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
0c35bb91
Commit
0c35bb91
authored
Mar 15, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提示 添加close 按钮
parent
2171ebd4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
2 deletions
+36
-2
YHInformationFillTipsAlertView.swift
...igentService(服务中心)/V/YHInformationFillTipsAlertView.swift
+14
-2
Contents.json
...Center/个人信息表/person_info_close_btn.imageset/Contents.json
+22
-0
Frame 33332868@2x.png
...人信息表/person_info_close_btn.imageset/Frame 33332868@2x.png
+0
-0
Frame 33332868@3x.png
...人信息表/person_info_close_btn.imageset/Frame 33332868@3x.png
+0
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHInformationFillTipsAlertView.swift
View file @
0c35bb91
...
...
@@ -174,6 +174,16 @@ class YHInformationFillTipsAlertView: UIView {
make
.
height
.
equalTo
(
24
)
}
let
closeBtn
:
UIButton
=
UIButton
(
type
:
.
custom
)
closeBtn
.
setImage
(
UIImage
(
named
:
"person_info_close_btn"
),
for
:
.
normal
)
closeBtn
.
setImage
(
UIImage
(
named
:
"person_info_close_btn"
),
for
:
.
highlighted
)
topView
.
addSubview
(
closeBtn
)
closeBtn
.
addTarget
(
self
,
action
:
#selector(
clickCloseBtn
)
,
for
:
.
touchUpInside
)
closeBtn
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalTo
(
lable01
.
snp
.
centerY
)
make
.
right
.
equalTo
(
-
25
)
make
.
width
.
height
.
equalTo
(
20
)
}
let
line
=
UIView
()
line
.
backgroundColor
=
UIColor
.
separatorColor
...
...
@@ -212,7 +222,10 @@ class YHInformationFillTipsAlertView: UIView {
}
else
{
YHHUD
.
flash
(
message
:
"请先勾选确认知悉内容"
)
}
}
@objc
func
clickCloseBtn
()
{
dismiss
()
}
@objc
func
onClickAgree
()
{
...
...
@@ -220,7 +233,6 @@ class YHInformationFillTipsAlertView: UIView {
}
@objc
func
agree
()
{
block
?(
true
)
// dismiss()
...
...
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/个人信息表/person_info_close_btn.imageset/Contents.json
0 → 100644
View file @
0c35bb91
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Frame 33332868@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Frame 33332868@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/个人信息表/person_info_close_btn.imageset/Frame 33332868@2x.png
0 → 100644
View file @
0c35bb91
843 Bytes
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/个人信息表/person_info_close_btn.imageset/Frame 33332868@3x.png
0 → 100644
View file @
0c35bb91
1.11 KB
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