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
f6c7585b
Commit
f6c7585b
authored
Jun 28, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 活动bug修复
parent
7a960ef3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
9 deletions
+14
-9
YHActivityListViewController.swift
...ity(社区)/Activity(活动)/C/YHActivityListViewController.swift
+8
-3
YHActivityApplyInfoItemView.swift
...nity(社区)/Activity(活动)/V/YHActivityApplyInfoItemView.swift
+1
-1
YHMatchUserInfo.swift
...axy/Classes/Modules/Community(社区)/M/YHMatchUserInfo.swift
+2
-2
YHMyEducationCell.swift
...y/Classes/Modules/Community(社区)/V/YHMyEducationCell.swift
+1
-1
YHMyWorkExperienceCell.swift
...sses/Modules/Community(社区)/V/YHMyWorkExperienceCell.swift
+1
-1
YHOrderTipsView.swift
...y/galaxy/Classes/Modules/Home(首页)/V/YHOrderTipsView.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/Activity(活动)/C/YHActivityListViewController.swift
View file @
f6c7585b
...
@@ -127,7 +127,7 @@ class YHActivityListViewController: YHBaseViewController {
...
@@ -127,7 +127,7 @@ class YHActivityListViewController: YHBaseViewController {
}()
}()
lazy
var
emptyDataTipsView
:
YHEmptyDataView
=
{
lazy
var
emptyDataTipsView
:
YHEmptyDataView
=
{
let
view
=
YHEmptyDataView
.
createView
(
"暂无活动"
,
k
NoFriends
BgName
)
let
view
=
YHEmptyDataView
.
createView
(
"暂无活动"
,
k
EmptyCommon
BgName
)
view
.
topMargin
=
222
view
.
topMargin
=
222
view
.
isHidden
=
true
view
.
isHidden
=
true
return
view
return
view
...
@@ -199,7 +199,6 @@ extension YHActivityListViewController {
...
@@ -199,7 +199,6 @@ extension YHActivityListViewController {
self
.
tableView
.
es
.
noticeNoMoreData
()
self
.
tableView
.
es
.
noticeNoMoreData
()
self
.
tableView
.
footer
?
.
alpha
=
1
self
.
tableView
.
footer
?
.
alpha
=
1
}
}
})
})
}
}
}
}
...
@@ -212,9 +211,15 @@ extension YHActivityListViewController {
...
@@ -212,9 +211,15 @@ extension YHActivityListViewController {
self
.
emptyDataTipsView
.
isHidden
=
self
.
viewModel
.
arrActivityListData
.
count
>
0
?
true
:
false
self
.
emptyDataTipsView
.
isHidden
=
self
.
viewModel
.
arrActivityListData
.
count
>
0
?
true
:
false
DispatchQueue
.
main
.
asyncAfter
(
deadline
:
.
now
()
+
0.5
,
execute
:
{
DispatchQueue
.
main
.
asyncAfter
(
deadline
:
.
now
()
+
0.5
,
execute
:
{
self
.
tableView
.
es
.
stopPullToRefresh
()
self
.
tableView
.
es
.
stopPullToRefresh
()
self
.
emptyDataTipsView
.
isHidden
=
self
.
viewModel
.
arrActivityListData
.
count
>
0
?
true
:
false
if
self
.
viewModel
.
hasMoreForActivityList
==
false
{
if
self
.
viewModel
.
hasMoreForActivityList
==
false
{
self
.
tableView
.
es
.
noticeNoMoreData
()
self
.
tableView
.
es
.
noticeNoMoreData
()
self
.
tableView
.
footer
?
.
alpha
=
1
if
self
.
viewModel
.
arrActivityListData
.
count
>
0
{
self
.
tableView
.
footer
?
.
alpha
=
1
}
else
{
self
.
tableView
.
footer
?
.
alpha
=
0
}
}
}
})
})
}
}
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/Activity(活动)/V/YHActivityApplyInfoItemView.swift
View file @
f6c7585b
...
@@ -62,7 +62,7 @@ extension YHActivityApplyInfoItemView {
...
@@ -62,7 +62,7 @@ extension YHActivityApplyInfoItemView {
}
}
nameItem
.
updateItem
(
title
:
"您的姓名"
,
value
:
model
.
name
)
nameItem
.
updateItem
(
title
:
"您的姓名"
,
value
:
model
.
name
)
numberItem
.
updateItem
(
title
:
"报名人数"
,
value
:
String
(
model
.
number
)
)
numberItem
.
updateItem
(
title
:
"报名人数"
,
value
:
"
\(
model
.
number
)
人"
)
phoneItem
.
updateItem
(
title
:
"手机号码"
,
value
:
model
.
mobile
)
phoneItem
.
updateItem
(
title
:
"手机号码"
,
value
:
model
.
mobile
)
}
}
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/M/YHMatchUserInfo.swift
View file @
f6c7585b
...
@@ -117,12 +117,12 @@ class YHUserNameCardInfo: SmartCodable {
...
@@ -117,12 +117,12 @@ class YHUserNameCardInfo: SmartCodable {
var
isHiddenEducation
:
Bool
{
var
isHiddenEducation
:
Bool
{
get
{
get
{
return
self
.
authorization
.
educationExperience
=
=
2
return
self
.
authorization
.
educationExperience
!
=
2
}
}
}
}
var
isHiddenWorkExperience
:
Bool
{
var
isHiddenWorkExperience
:
Bool
{
get
{
get
{
return
self
.
authorization
.
workExperience
=
=
2
return
self
.
authorization
.
workExperience
!
=
2
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/V/YHMyEducationCell.swift
View file @
f6c7585b
...
@@ -53,7 +53,7 @@ class YHMyEducationCell: UITableViewCell {
...
@@ -53,7 +53,7 @@ class YHMyEducationCell: UITableViewCell {
}
}
if
self
.
userModel
.
isCurrentUser
{
if
self
.
userModel
.
isCurrentUser
{
self
.
hiddenBtn
.
isHidden
=
self
.
userModel
.
isHiddenEducation
self
.
hiddenBtn
.
isHidden
=
!
self
.
userModel
.
isHiddenEducation
}
else
{
}
else
{
self
.
hiddenBtn
.
isHidden
=
true
self
.
hiddenBtn
.
isHidden
=
true
...
...
galaxy/galaxy/Classes/Modules/Community(社区)/V/YHMyWorkExperienceCell.swift
View file @
f6c7585b
...
@@ -145,7 +145,7 @@ class YHMyWorkExperienceCell: UITableViewCell {
...
@@ -145,7 +145,7 @@ class YHMyWorkExperienceCell: UITableViewCell {
}
}
if
self
.
userModel
.
isCurrentUser
{
if
self
.
userModel
.
isCurrentUser
{
self
.
hiddenBtn
.
isHidden
=
self
.
userModel
.
isHiddenWorkExperience
self
.
hiddenBtn
.
isHidden
=
!
self
.
userModel
.
isHiddenWorkExperience
}
else
{
}
else
{
self
.
hiddenBtn
.
isHidden
=
true
self
.
hiddenBtn
.
isHidden
=
true
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHOrderTipsView.swift
View file @
f6c7585b
...
@@ -284,7 +284,7 @@ private extension YHOrderTipsView {
...
@@ -284,7 +284,7 @@ private extension YHOrderTipsView {
}
}
let
aa
:
ASAttributedString
=
.
init
(
"智能"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
17
)),
.
foreground
(
UIColor
(
hex
:
0x2465DE
,
alpha
:
1.0
)))
let
aa
:
ASAttributedString
=
.
init
(
"智能"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
17
)),
.
foreground
(
UIColor
(
hex
:
0x2465DE
,
alpha
:
1.0
)))
let
bb
:
ASAttributedString
=
.
init
(
"
客服
"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
17
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
"
助理
"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
17
)),
.
foreground
(
UIColor
.
mainTextColor
))
lableTip
.
attributed
.
text
=
aa
+
bb
lableTip
.
attributed
.
text
=
aa
+
bb
...
...
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