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
bae10749
Commit
bae10749
authored
Apr 08, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// plan
parent
b03926d3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
YHPlanAnalyzeInfoCell.swift
...xy/Classes/Modules/Plan(方案)/V/YHPlanAnalyzeInfoCell.swift
+16
-0
No files found.
galaxy/galaxy/Classes/Modules/Plan(方案)/V/YHPlanAnalyzeInfoCell.swift
View file @
bae10749
...
@@ -29,6 +29,13 @@ class YHPlanAnalyzeInfoView: UIView {
...
@@ -29,6 +29,13 @@ class YHPlanAnalyzeInfoView: UIView {
return
lable
return
lable
}()
}()
lazy
var
lineView
:
UIView
=
{
let
v
=
UIView
()
v
.
backgroundColor
=
.
init
(
hex
:
0xF1E8E0
)
v
.
backgroundColor
=
.
init
(
hex
:
0xE9ECF0
)
return
v
}()
override
init
(
frame
:
CGRect
)
{
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
super
.
init
(
frame
:
frame
)
createUI
()
createUI
()
...
@@ -40,6 +47,7 @@ class YHPlanAnalyzeInfoView: UIView {
...
@@ -40,6 +47,7 @@ class YHPlanAnalyzeInfoView: UIView {
func
createUI
()
{
func
createUI
()
{
backgroundColor
=
.
clear
backgroundColor
=
.
clear
self
.
addSubview
(
lineView
)
self
.
addSubview
(
titleLabel
)
self
.
addSubview
(
titleLabel
)
self
.
addSubview
(
descLabel
)
self
.
addSubview
(
descLabel
)
...
@@ -50,6 +58,13 @@ class YHPlanAnalyzeInfoView: UIView {
...
@@ -50,6 +58,13 @@ class YHPlanAnalyzeInfoView: UIView {
make
.
height
.
equalTo
(
20
)
make
.
height
.
equalTo
(
20
)
}
}
lineView
.
snp
.
makeConstraints
{
make
in
make
.
height
.
equalTo
(
6
)
make
.
width
.
equalTo
(
60
)
make
.
left
.
equalTo
(
titleLabel
)
make
.
bottom
.
equalTo
(
titleLabel
)
.
offset
(
-
2
)
}
descLabel
.
snp
.
makeConstraints
{
make
in
descLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
0
)
make
.
left
.
equalTo
(
0
)
make
.
right
.
equalTo
(
-
0
)
make
.
right
.
equalTo
(
-
0
)
...
@@ -149,6 +164,7 @@ class YHPlanAnalyzeInfoCell: UITableViewCell {
...
@@ -149,6 +164,7 @@ class YHPlanAnalyzeInfoCell: UITableViewCell {
lazy
var
suggestVeiw
:
YHPlanAnalyzeInfoView
=
{
lazy
var
suggestVeiw
:
YHPlanAnalyzeInfoView
=
{
let
v
=
YHPlanAnalyzeInfoView
(
frame
:
.
zero
)
let
v
=
YHPlanAnalyzeInfoView
(
frame
:
.
zero
)
v
.
titleLabel
.
textColor
=
.
init
(
hex
:
0xAE6C32
)
v
.
titleLabel
.
textColor
=
.
init
(
hex
:
0xAE6C32
)
v
.
lineView
.
backgroundColor
=
.
init
(
hex
:
0xF1E8E0
)
v
.
titleLabel
.
text
=
"银河建议"
v
.
titleLabel
.
text
=
"银河建议"
return
v
return
v
}()
}()
...
...
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