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
df7c09b2
Commit
df7c09b2
authored
Apr 09, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'plan' of
http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS
into plan
parents
ef323993
b469b304
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
12 deletions
+7
-12
YHSelectViewController.swift
.../Modules/Home(首页)/YHSelect/C/YHSelectViewController.swift
+2
-2
YHMakePlanPriceAlertView.swift
...odules/Plan(方案)/MakePlan/V/YHMakePlanPriceAlertView.swift
+5
-10
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/YHSelect/C/YHSelectViewController.swift
View file @
df7c09b2
...
...
@@ -286,8 +286,8 @@ class YHSelectLookTableViewCell: UITableViewCell {
flagLabel
.
isHidden
=
false
}
let
a
:
ASAttributedString
=
.
init
(
"¥"
,
.
font
(
UIFont
(
name
:
"D-DIN-PRO-Bold"
,
size
:
14
)
??
UIFont
()),
.
foreground
(
UIColor
.
mainTextColor
))
let
b
:
ASAttributedString
=
.
init
(
"
\(
dataSource
.
linePrice
)
"
,
.
font
(
UIFont
(
name
:
"D-DIN-PRO-Bold"
,
size
:
20
)
??
UIFont
()),
.
foreground
(
UIColor
.
mainTextColor
))
let
c
:
ASAttributedString
=
.
init
(
"¥
\(
dataSource
.
price
)
"
,
.
font
(
UIFont
(
name
:
"D-DIN-PRO-Bold"
,
size
:
14
)
??
UIFont
()),
.
foreground
(
UIColor
(
hex
:
0x8993a2
)),
.
strikethrough
(
.
single
))
let
b
:
ASAttributedString
=
.
init
(
"
\(
dataSource
.
linePrice
.
formattedPrice
()
)
"
,
.
font
(
UIFont
(
name
:
"D-DIN-PRO-Bold"
,
size
:
20
)
??
UIFont
()),
.
foreground
(
UIColor
.
mainTextColor
))
let
c
:
ASAttributedString
=
.
init
(
"¥
\(
dataSource
.
price
.
formattedPrice
()
)
"
,
.
font
(
UIFont
(
name
:
"D-DIN-PRO-Bold"
,
size
:
14
)
??
UIFont
()),
.
foreground
(
UIColor
(
hex
:
0x8993a2
)),
.
strikethrough
(
.
single
))
if
dataSource
.
linePrice
==
dataSource
.
price
{
self
.
subTitleLabel
.
attributed
.
text
=
a
+
b
}
else
{
...
...
galaxy/galaxy/Classes/Modules/Plan(方案)/MakePlan/V/YHMakePlanPriceAlertView.swift
View file @
df7c09b2
...
...
@@ -294,8 +294,8 @@ class YHMakePlanLabelCell: UITableViewCell {
}()
contentView
.
addSubview
(
centerView
)
centerView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
1
6
)
make
.
right
.
equalTo
(
-
1
6
)
make
.
left
.
equalTo
(
1
8
)
make
.
right
.
equalTo
(
-
1
8
)
make
.
top
.
equalTo
(
7
)
make
.
bottom
.
equalTo
(
-
7
)
}
...
...
@@ -309,10 +309,9 @@ class YHMakePlanLabelCell: UITableViewCell {
}()
centerView
.
addSubview
(
titleLabel
)
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
18
)
make
.
left
.
right
.
equalToSuperview
(
)
make
.
top
.
equalTo
(
16
)
make
.
height
.
equalTo
(
20
)
make
.
right
.
equalTo
(
-
18
)
}
mainItemView
=
{
...
...
@@ -323,10 +322,8 @@ class YHMakePlanLabelCell: UITableViewCell {
}()
centerView
.
addSubview
(
mainItemView
)
mainItemView
.
snp
.
makeConstraints
{
make
in
make
.
bottom
.
equalToSuperview
()
make
.
left
.
right
.
bottom
.
equalToSuperview
()
make
.
top
.
equalTo
(
36
)
make
.
left
.
equalTo
(
18
)
make
.
right
.
equalTo
(
-
18
)
}
lineView
=
{
...
...
@@ -336,10 +333,8 @@ class YHMakePlanLabelCell: UITableViewCell {
}()
centerView
.
addSubview
(
lineView
)
lineView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
18
)
make
.
bottom
.
equalToSuperview
()
make
.
left
.
right
.
bottom
.
equalToSuperview
()
make
.
height
.
equalTo
(
1
)
make
.
right
.
equalTo
(
-
18
)
}
}
...
...
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