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
7e7d6c23
Commit
7e7d6c23
authored
Mar 08, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
6d0c8de5
' into xiezhaolin
parents
a5e8e7ed
6d0c8de5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
28 deletions
+3
-28
YHLoginTipsView.swift
.../Modules/IntelligentService(服务中心)/V/YHLoginTipsView.swift
+2
-1
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+1
-27
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHLoginTipsView.swift
View file @
7e7d6c23
...
...
@@ -87,7 +87,8 @@ class YHLoginTipsView: UIView {
}
loginBtn
.
addTarget
(
self
,
action
:
#selector(
clickLoginBtn
)
,
for
:
.
touchUpInside
)
loginBtn
.
layoutIfNeeded
()
layoutIfNeeded
()
loginBtn
.
backgroundColor
=
.
brandMainColor
//for test hjl
loginBtn
.
addYinHeGradualLayer
()
}
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
7e7d6c23
...
...
@@ -102,36 +102,10 @@ class YHMyViewController: YHBaseViewController, ConstraintRelatableTarget {
let
img
=
UIImageView
(
image
:
UIImage
(
named
:
"mine_header_bg"
))
return
img
}()
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