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
6bd1d7d9
Commit
6bd1d7d9
authored
Apr 17, 2025
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
直播间金额字体调整
parent
3bd14846
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
YHLiveShopView.swift
...sses/Modules/LivestreamSales(直播销售)/V/YHLiveShopView.swift
+5
-3
YHGalaxyNewsListViewController.swift
...odules/Message(消息)/C/YHGalaxyNewsListViewController.swift
+0
-2
No files found.
galaxy/galaxy/Classes/Modules/LivestreamSales(直播销售)/V/YHLiveShopView.swift
View file @
6bd1d7d9
...
...
@@ -262,10 +262,12 @@ class YHLiveShopViewCell: UITableViewCell {
}
titleLabel
.
text
=
dataSource
.
name
messageLabel
.
text
=
dataSource
.
description
let
a
:
ASAttributedString
=
.
init
(
"¥"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
b
:
ASAttributedString
=
.
init
(
"
\(
dataSource
.
linePrice
)
"
,
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
20
)
??
UIFont
.
PFSC_R
(
ofSize
:
20
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
a
:
ASAttributedString
=
.
init
(
"¥"
,
.
font
(
UIFont
(
name
:
"D-DIN-PRO-Bold"
,
size
:
14
)
??
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
linePrice
=
dataSource
.
linePrice
.
formattedPrice
()
let
b
:
ASAttributedString
=
.
init
(
"
\(
linePrice
)
"
,
.
font
(
UIFont
(
name
:
"D-DIN-PRO-Bold"
,
size
:
20
)
??
UIFont
.
PFSC_R
(
ofSize
:
20
)),
.
foreground
(
UIColor
.
mainTextColor
))
priceLabel
.
attributed
.
text
=
a
+
b
let
c
:
ASAttributedString
=
.
init
(
"¥
\(
dataSource
.
price
)
"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x8993a2
)),
.
strikethrough
(
.
single
))
let
price
=
dataSource
.
price
.
formattedPrice
()
let
c
:
ASAttributedString
=
.
init
(
"¥
\(
price
)
"
,
.
font
(
UIFont
(
name
:
"D-DIN-PRO-Medium"
,
size
:
14
)
??
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x8993a2
)),
.
strikethrough
(
.
single
))
subPriceLabel
.
attributed
.
text
=
c
flagLabel
.
text
=
"
\(
dataSource
.
flag
)
"
subPriceLabel
.
isHidden
=
dataSource
.
linePrice
==
dataSource
.
price
...
...
galaxy/galaxy/Classes/Modules/Message(消息)/C/YHGalaxyNewsListViewController.swift
View file @
6bd1d7d9
...
...
@@ -32,12 +32,10 @@ class YHGalaxyNewsListViewController: YHBaseViewController {
gk_navRightBarButtonItem
=
rightButtonItem
gk_navItemRightSpace
=
16
}
@objc
func
didCleanBtnClicked
()
{
}
}
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