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
b7779ba1
Commit
b7779ba1
authored
Mar 08, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除 测试代码
parent
f73f5bf5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
24 deletions
+1
-24
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+1
-24
No files found.
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
b7779ba1
...
...
@@ -104,34 +104,11 @@ class YHMyViewController: YHBaseViewController, ConstraintRelatableTarget {
}()
let
bigView
:
UIView
=
UIView
()
let
smallButton
:
UIButton
=
UIButton
(
type
:
.
custom
)
//
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
initView
()
view
.
addSubview
(
bigView
)
bigView
.
backgroundColor
=
.
green
bigView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
200
)
make
.
width
.
equalTo
(
200
)
make
.
height
.
equalTo
(
200
)
make
.
left
.
equalTo
(
200
)
}
smallButton
.
addTarget
(
self
,
action
:
#selector(
clickBtn
)
,
for
:
.
touchUpInside
)
smallButton
.
backgroundColor
=
.
red
bigView
.
addSubview
(
smallButton
)
smallButton
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
100
)
make
.
left
.
equalTo
(
100
)
make
.
width
.
equalTo
(
100
)
make
.
height
.
equalTo
(
100
)
}
view
.
layoutIfNeeded
()
let
crect
=
smallButton
.
convert
(
smallButton
.
frame
,
to
:
UIApplication
.
shared
.
yhKeyWindow
())
return
}
...
...
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