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
74702579
Commit
74702579
authored
Jul 01, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化
parent
bf059abe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
YHHomeBannerCollectionViewCell.swift
...s/Modules/Home(首页)/V/YHHomeBannerCollectionViewCell.swift
+1
-1
YHHomeCollectionViewCell.swift
...Classes/Modules/Home(首页)/V/YHHomeCollectionViewCell.swift
+1
-1
YHServiceBannerView.swift
...ules/IntelligentService(服务中心)/V/YHServiceBannerView.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeBannerCollectionViewCell.swift
View file @
74702579
...
@@ -89,7 +89,7 @@ private extension YHHomeBannerCollectionViewCell {
...
@@ -89,7 +89,7 @@ private extension YHHomeBannerCollectionViewCell {
visualEffectView
.
isHidden
=
false
visualEffectView
.
isHidden
=
false
if
let
url
=
URL
(
string
:
model
.
img_url
)
{
if
let
url
=
URL
(
string
:
model
.
img_url
)
{
if
let
avifUrl
=
URL
(
string
:
model
.
img_url
)
{
if
let
avifUrl
=
URL
(
string
:
model
.
img_url
_compress
)
{
bannerImagV
.
kf
.
setImage
(
with
:
avifUrl
,
placeholder
:
UIImage
(
named
:
"global_default_image"
))
{
result
in
bannerImagV
.
kf
.
setImage
(
with
:
avifUrl
,
placeholder
:
UIImage
(
named
:
"global_default_image"
))
{
result
in
switch
result
{
switch
result
{
case
.
success
:
break
case
.
success
:
break
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeCollectionViewCell.swift
View file @
74702579
...
@@ -183,7 +183,7 @@ extension YHHomeCollectionViewCell {
...
@@ -183,7 +183,7 @@ extension YHHomeCollectionViewCell {
make
.
height
.
equalTo
(
listModel
.
img_height_use
)
make
.
height
.
equalTo
(
listModel
.
img_height_use
)
}
}
if
let
url
=
URL
(
string
:
listModel
.
img_url
)
{
if
let
url
=
URL
(
string
:
listModel
.
img_url
)
{
if
let
avifUrl
=
URL
(
string
:
listModel
.
img_url
)
{
if
let
avifUrl
=
URL
(
string
:
listModel
.
img_url
_compress
)
{
titleImageView
.
kf
.
setImage
(
with
:
avifUrl
,
placeholder
:
UIImage
(
named
:
"global_default_image"
))
{
result
in
titleImageView
.
kf
.
setImage
(
with
:
avifUrl
,
placeholder
:
UIImage
(
named
:
"global_default_image"
))
{
result
in
switch
result
{
switch
result
{
case
.
success
:
break
case
.
success
:
break
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHServiceBannerView.swift
View file @
74702579
...
@@ -227,7 +227,7 @@ private extension YHServiceBannerCollectionViewCell {
...
@@ -227,7 +227,7 @@ private extension YHServiceBannerCollectionViewCell {
}
else
{
}
else
{
bannerTitleLable
.
isHidden
=
false
bannerTitleLable
.
isHidden
=
false
if
let
url
=
URL
(
string
:
model
.
img_url
)
{
if
let
url
=
URL
(
string
:
model
.
img_url
)
{
if
let
avifUrl
=
URL
(
string
:
model
.
img_url
)
{
if
let
avifUrl
=
URL
(
string
:
model
.
img_url
_compress
)
{
bannerImagV
.
kf
.
setImage
(
with
:
avifUrl
,
placeholder
:
UIImage
(
named
:
"global_default_image"
))
{
result
in
bannerImagV
.
kf
.
setImage
(
with
:
avifUrl
,
placeholder
:
UIImage
(
named
:
"global_default_image"
))
{
result
in
switch
result
{
switch
result
{
case
.
success
:
break
case
.
success
:
break
...
...
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