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
651bbcf9
Commit
651bbcf9
authored
Apr 12, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除 不使用的代码
parent
12aea708
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
36 deletions
+4
-36
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+0
-4
YHDavidModel0.swift
galaxy/galaxy/Classes/Modules/Home(首页)/M/YHDavidModel0.swift
+0
-23
YHHomeBannerView.swift
.../galaxy/Classes/Modules/Home(首页)/V/YHHomeBannerView.swift
+4
-7
YHHomeCollectionViewCell.swift
...IntelligentService(服务中心)/V/YHHomeCollectionViewCell.swift
+0
-2
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
651bbcf9
...
...
@@ -384,7 +384,6 @@
A5C382CC2B5EA11800C5E65C
/* YHContractCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5C382CB2B5EA11800C5E65C
/* YHContractCell.swift */
;
};
A5C382CF2B5F9A9100C5E65C
/* YHServiceCenterMainViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5C382CE2B5F9A9100C5E65C
/* YHServiceCenterMainViewModel.swift */
;
};
A5C382D12B5FAAB300C5E65C
/* YHContactItemModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5C382D02B5FAAB300C5E65C
/* YHContactItemModel.swift */
;
};
A5C5B2EA2B4ECA4D00A7C5D1
/* YHDavidModel0.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5C5B2E92B4ECA4D00A7C5D1
/* YHDavidModel0.swift */
;
};
A5C5B2EE2B4F9B8800A7C5D1
/* Localizable.xcstrings in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5C5B2ED2B4F9B8800A7C5D1
/* Localizable.xcstrings */
;
};
A5C5B2FB2B5535DF00A7C5D1
/* YHHomeBannerView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5C5B2FA2B5535DF00A7C5D1
/* YHHomeBannerView.swift */
;
};
A5C5B2FD2B55361700A7C5D1
/* YHBannerModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5C5B2FC2B55361700A7C5D1
/* YHBannerModel.swift */
;
};
...
...
@@ -830,7 +829,6 @@
A5C382CB2B5EA11800C5E65C
/* YHContractCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHContractCell.swift
;
sourceTree
=
"<group>"
;
};
A5C382CE2B5F9A9100C5E65C
/* YHServiceCenterMainViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHServiceCenterMainViewModel.swift
;
sourceTree
=
"<group>"
;
};
A5C382D02B5FAAB300C5E65C
/* YHContactItemModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHContactItemModel.swift
;
sourceTree
=
"<group>"
;
};
A5C5B2E92B4ECA4D00A7C5D1
/* YHDavidModel0.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHDavidModel0.swift
;
sourceTree
=
"<group>"
;
};
A5C5B2ED2B4F9B8800A7C5D1
/* Localizable.xcstrings */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
text.json.xcstrings
;
path
=
Localizable.xcstrings
;
sourceTree
=
"<group>"
;
};
A5C5B2FA2B5535DF00A7C5D1
/* YHHomeBannerView.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHHomeBannerView.swift
;
sourceTree
=
"<group>"
;
};
A5C5B2FC2B55361700A7C5D1
/* YHBannerModel.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHBannerModel.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -2169,7 +2167,6 @@
children
=
(
A5C5B2FC2B55361700A7C5D1
/* YHBannerModel.swift */
,
A5D6AB1A2B46A1CC001C10A5
/* YHHomeModel.swift */
,
A5C5B2E92B4ECA4D00A7C5D1
/* YHDavidModel0.swift */
,
A53F42B82BC3DCA9009CAC70
/* YHHomeKingKongBlockModel.swift */
,
049AC4CB2BC6615500F857F4
/* YHHomeListModel.swift */
,
049AC4CD2BC674A700F857F4
/* YHHomeClassifyModel.swift */
,
...
...
@@ -2737,7 +2734,6 @@
045EEEA52B9F171A0022A143
/* YHImageViewController.swift in Sources */
,
045EEEF32B9F171A0022A143
/* YHFamilyMemberInfoListVC.swift in Sources */
,
04EA230C2BB5199D009DA928
/* YHDocumentToActionTableViewCell.swift in Sources */
,
A5C5B2EA2B4ECA4D00A7C5D1
/* YHDavidModel0.swift in Sources */
,
A5ACE9572B4564F7002C94D2
/* YHBasicContentView.swift in Sources */
,
A517A4E52BB6C4BB000DEECD
/* YHDocumentFileItemView.swift in Sources */
,
044414092BC3CE8500784A14
/* YHHomeCollectionLayout.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/M/YHDavidModel0.swift
deleted
100644 → 0
View file @
12aea708
//
// YHDavidModel0.swift
// galaxy
//
// Created by davidhuangA on 2024/1/10.
// Copyright © 2024 www.davidhuang.com. All rights reserved.
//
import
UIKit
import
SmartCodable
class
YHDavidModel0
:
SmartCodable
{
var
imageUrl
:
String
=
""
var
titleDes
:
String
=
""
var
uImageUrl
:
String
=
""
var
uName
:
String
=
""
var
date
:
String
=
"12-11"
var
heartNum
:
Int32
=
0
required
init
()
{
}
}
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeBannerView.swift
View file @
651bbcf9
...
...
@@ -37,10 +37,10 @@ class YHHomeBannerView: UIView {
let
view
=
FSPagerView
()
view
.
delegate
=
self
view
.
dataSource
=
self
view
.
automaticSlidingInterval
=
3
view
.
automaticSlidingInterval
=
4
view
.
register
(
FSPagerViewCell
.
self
,
forCellWithReuseIdentifier
:
"cell"
)
view
.
itemSize
=
FSPagerView
.
automaticSize
view
.
interitemSpacing
=
10
//
view.interitemSpacing = 10
return
view
}()
...
...
@@ -64,7 +64,7 @@ private extension YHHomeBannerView {
bannerView
.
addSubview
(
pageControl
)
pageControl
.
snp
.
makeConstraints
{
make
in
make
.
left
.
bottom
.
right
.
equalToSuperview
()
make
.
height
.
equalTo
(
2
5
)
make
.
height
.
equalTo
(
16.
5
)
}
setupPageControl
()
bannerView
.
reloadData
()
...
...
@@ -93,22 +93,19 @@ extension YHHomeBannerView: FSPagerViewDataSource, FSPagerViewDelegate {
public
func
pagerView
(
_
pagerView
:
FSPagerView
,
cellForItemAt
index
:
Int
)
->
FSPagerViewCell
{
let
cell
=
pagerView
.
dequeueReusableCell
(
withReuseIdentifier
:
"cell"
,
at
:
index
)
let
image
=
UIImage
(
named
:
"default_placeholder_image"
)
?
.
bs_scaled
(
toWidth
:
UIDevice
.
kScreenW
-
16*
2
,
opaque
:
false
)
let
image
=
UIImage
(
named
:
"default_placeholder_image"
)
cell
.
imageView
?
.
image
=
image
if
index
<
dataArr
.
count
{
let
model
=
dataArr
[
index
]
if
let
url
=
URL
(
string
:
model
.
img_url
)
{
cell
.
imageView
?
.
kf
.
setImage
(
with
:
url
)
}
cell
.
textLabel
?
.
text
=
model
.
name
}
cell
.
imageView
?
.
contentMode
=
.
scaleAspectFill
cell
.
backgroundColor
=
.
contentBkgColor
cell
.
contentView
.
layer
.
shadowColor
=
UIColor
.
clear
.
cgColor
return
cell
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHHomeCollectionViewCell.swift
View file @
651bbcf9
...
...
@@ -185,8 +185,6 @@ extension YHHomeCollectionViewCell {
}
}
@objc
func
clickHeart
()
{
guard
let
listModel
=
listModel
else
{
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