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
5dce3557
Commit
5dce3557
authored
Oct 12, 2025
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI走查bug修复
parent
4c8dccf0
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
26 additions
and
27 deletions
+26
-27
YHCommunityViewController.swift
...s/Modules/Community(社区)/C/YHCommunityViewController.swift
+12
-12
YHResourceViewController.swift
...mmunity(社区)/Resource(资源)/C/YHResourceViewController.swift
+1
-1
YHResourceDetailBaseInfoCell.swift
...ity(社区)/Resource(资源)/V/YHResourceDetailBaseInfoCell.swift
+2
-2
YHResourceDetailDemandCell.swift
...unity(社区)/Resource(资源)/V/YHResourceDetailDemandCell.swift
+2
-2
YHResourceDetailHeaderCell.swift
...unity(社区)/Resource(资源)/V/YHResourceDetailHeaderCell.swift
+2
-2
YHResourceTableViewCell.swift
...ommunity(社区)/Resource(资源)/V/YHResourceTableViewCell.swift
+7
-8
icon_organize_event@2x.png
...e/icon_organize_event.imageset/icon_organize_event@2x.png
+0
-0
icon_organize_event@3x.png
...e/icon_organize_event.imageset/icon_organize_event@3x.png
+0
-0
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/C/YHCommunityViewController.swift
View file @
5dce3557
...
...
@@ -192,12 +192,12 @@ class YHCommunityViewController: YHBaseViewController {
segmentedView
.
delegate
=
self
// 配置指示器
let
indicator
=
JXSegmentedIndicatorLineView
()
indicator
.
indicatorWidth
=
16
indicator
.
indicatorHeight
=
2
indicator
.
indicatorCornerRadius
=
0.0
indicator
.
indicatorColor
=
UIColor
.
white
segmentedView
.
indicators
=
[
indicator
]
//
let indicator = JXSegmentedIndicatorLineView()
//
indicator.indicatorWidth = 16
//
indicator.indicatorHeight = 2
//
indicator.indicatorCornerRadius = 0.0
//
indicator.indicatorColor = UIColor.white
//
segmentedView.indicators = [indicator]
segmentedView
.
defaultSelectedIndex
=
defaltIndex
segmentedView
(
segmentedView
,
didSelectedItemAt
:
defaltIndex
)
...
...
@@ -359,12 +359,12 @@ extension YHCommunityViewController: JXSegmentedViewDelegate {
cleanAllMsgBtn
.
isHidden
=
segmentedView
.
selectedIndex
!=
0
segmentedDataSource
.
titleNormalColor
=
UIColor
.
yhGreyColor
segmentedDataSource
.
titleSelectedColor
=
UIColor
.
mainTextColor
let
indicator
=
JXSegmentedIndicatorLineView
()
indicator
.
indicatorWidth
=
16
indicator
.
indicatorHeight
=
2
indicator
.
indicatorCornerRadius
=
0.0
indicator
.
indicatorColor
=
UIColor
.
brandMainColor
segmentedView
.
indicators
=
[
indicator
]
//
let indicator = JXSegmentedIndicatorLineView()
//
indicator.indicatorWidth = 16
//
indicator.indicatorHeight = 2
//
indicator.indicatorCornerRadius = 0.0
//
indicator.indicatorColor = UIColor.brandMainColor
//
segmentedView.indicators = [indicator]
// }
segmentedView
.
dataSource
=
segmentedDataSource
self
.
segmentedView
.
reloadDataWithoutListContainer
()
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/Resource(资源)/C/YHResourceViewController.swift
View file @
5dce3557
...
...
@@ -180,7 +180,7 @@ private extension YHResourceViewController {
func
setupUI
()
{
gk_navigationBar
.
isHidden
=
true
view
.
backgroundColor
=
UIColor
.
contentBkgColor
view
.
backgroundColor
=
UIColor
.
white
// 添加子视图
view
.
addSubview
(
customSearchView
)
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/Resource(资源)/V/YHResourceDetailBaseInfoCell.swift
View file @
5dce3557
...
...
@@ -61,11 +61,11 @@ class YHResourceDetailBaseInfoCell: UITableViewCell {
make
.
right
.
equalToSuperview
()
.
offset
(
-
20
)
make
.
top
.
equalTo
(
titleLabel
.
snp
.
bottom
)
.
offset
(
16
)
}
let
pixelOne
=
1.0
/
UIScreen
.
main
.
scale
dividerView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
equalToSuperview
()
.
inset
(
20
)
make
.
top
.
equalTo
(
stackView
.
snp
.
bottom
)
.
offset
(
24
)
make
.
height
.
equalTo
(
1
)
make
.
height
.
equalTo
(
pixelOne
)
make
.
bottom
.
equalToSuperview
()
}
}
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/Resource(资源)/V/YHResourceDetailDemandCell.swift
View file @
5dce3557
...
...
@@ -76,11 +76,11 @@ class YHResourceDetailDemandCell: UITableViewCell {
make
.
right
.
equalToSuperview
()
.
offset
(
-
20
)
make
.
top
.
equalTo
(
demandTitleLabel
)
}
let
pixelOne
=
1.0
/
UIScreen
.
main
.
scale
dividerView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
equalToSuperview
()
.
inset
(
20
)
make
.
top
.
equalTo
(
demandContentLabel
.
snp
.
bottom
)
.
offset
(
24
)
make
.
height
.
equalTo
(
1
)
make
.
height
.
equalTo
(
pixelOne
)
make
.
bottom
.
equalToSuperview
()
}
}
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/Resource(资源)/V/YHResourceDetailHeaderCell.swift
View file @
5dce3557
...
...
@@ -80,10 +80,10 @@ class YHResourceDetailHeaderCell: UITableViewCell {
if
!
model
.
companyLogoUrl
.
isEmpty
{
logoImageView
.
kf
.
setImage
(
with
:
URL
(
string
:
model
.
companyLogoUrl
),
placeholder
:
UIImage
(
named
:
"
global_default_image
"
)
placeholder
:
UIImage
(
named
:
"
plan_product_default
"
)
)
}
else
{
logoImageView
.
image
=
UIImage
(
named
:
"
global_default_image
"
)
logoImageView
.
image
=
UIImage
(
named
:
"
plan_product_default
"
)
}
// 设置公司名称
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/Resource(资源)/V/YHResourceTableViewCell.swift
View file @
5dce3557
...
...
@@ -51,8 +51,7 @@ class YHResourceTableViewCell: UITableViewCell {
imageView
.
layer
.
cornerRadius
=
4
imageView
.
clipsToBounds
=
true
imageView
.
layer
.
borderColor
=
UIColor
.
brandGrayColor3
.
cgColor
imageView
.
layer
.
borderWidth
=
1
imageView
.
backgroundColor
=
UIColor
.
lightGray
.
withAlphaComponent
(
0.3
)
imageView
.
layer
.
borderWidth
=
0.5
return
imageView
}()
...
...
@@ -80,8 +79,8 @@ class YHResourceTableViewCell: UITableViewCell {
// 公司名称
lazy
var
companyLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
1
4
)
label
.
textColor
=
UIColor
.
gray
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
1
2
)
label
.
textColor
=
UIColor
.
brandGrayColor7
label
.
numberOfLines
=
1
return
label
}()
...
...
@@ -89,8 +88,8 @@ class YHResourceTableViewCell: UITableViewCell {
// 行业标签
lazy
var
industryLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
1
4
)
label
.
textColor
=
UIColor
.
gray
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
1
2
)
label
.
textColor
=
UIColor
.
brandGrayColor7
label
.
numberOfLines
=
1
return
label
}()
...
...
@@ -173,12 +172,12 @@ extension YHResourceTableViewCell {
make
.
top
.
equalTo
(
companyLabel
)
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
32
)
}
let
pixelOne
=
1.0
/
UIScreen
.
main
.
scale
// 分割线约束
separatorLine
.
snp
.
makeConstraints
{
make
in
make
.
bottom
.
equalToSuperview
()
make
.
left
.
right
.
equalToSuperview
()
.
inset
(
20
)
make
.
height
.
equalTo
(
0.5
)
make
.
height
.
equalTo
(
pixelOne
)
}
}
...
...
galaxy/galaxy/Res/Assets.xcassets/Community/Circle/icon_organize_event.imageset/icon_organize_event@2x.png
View replaced file @
4c8dccf0
View file @
5dce3557
414 Bytes
|
W:
|
H:
537 Bytes
|
W:
|
H:
2-up
Swipe
Onion skin
galaxy/galaxy/Res/Assets.xcassets/Community/Circle/icon_organize_event.imageset/icon_organize_event@3x.png
View replaced file @
4c8dccf0
View file @
5dce3557
614 Bytes
|
W:
|
H:
816 Bytes
|
W:
|
H:
2-up
Swipe
Onion skin
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