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
83b16a32
Commit
83b16a32
authored
Apr 11, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 消息
parent
232ca251
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
187 additions
and
4 deletions
+187
-4
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+11
-3
YHInformationFillCell.swift
...Classes/Modules/Message(消息)/C/YHInformationFillCell.swift
+122
-0
YHInformationFillVC.swift
...y/Classes/Modules/Message(消息)/C/YHInformationFillVC.swift
+19
-0
YHMsgViewController.swift
...y/Classes/Modules/Message(消息)/C/YHMsgViewController.swift
+0
-0
IMAppKey.swift
galaxy/galaxy/Classes/Modules/Message(消息)/IM/IMAppKey.swift
+0
-0
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+18
-0
YHUserInfoHeaderView.swift
...axy/Classes/Modules/Mine(我的)/V/YHUserInfoHeaderView.swift
+17
-1
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
83b16a32
...
...
@@ -19,6 +19,8 @@
0435FA832BA2DEB100024EAE
/* YHCardButton.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0435FA822BA2DEB100024EAE
/* YHCardButton.swift */
;
};
043F0AB22BC781F5006CB887
/* YHMessageSessionCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
043F0AB12BC781F5006CB887
/* YHMessageSessionCell.swift */
;
};
043F0AB42BC7B80F006CB887
/* YHTestViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
043F0AB32BC7B80F006CB887
/* YHTestViewController.swift */
;
};
043F0AB62BC7CE1B006CB887
/* YHInformationFillVC.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
043F0AB52BC7CE1B006CB887
/* YHInformationFillVC.swift */
;
};
043F0AB82BC7CE5C006CB887
/* YHInformationFillCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
043F0AB72BC7CE5C006CB887
/* YHInformationFillCell.swift */
;
};
044413F72BC2786200784A14
/* YHHomeWebViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
044413F62BC2786200784A14
/* YHHomeWebViewController.swift */
;
};
044413F92BC279D200784A14
/* YHHomeWebBottomView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
044413F82BC279D200784A14
/* YHHomeWebBottomView.swift */
;
};
044413FB2BC27E6F00784A14
/* YHHomeWebBottomButton.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
044413FA2BC27E6F00784A14
/* YHHomeWebBottomButton.swift */
;
};
...
...
@@ -461,6 +463,8 @@
0435FA822BA2DEB100024EAE
/* YHCardButton.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCardButton.swift
;
sourceTree
=
"<group>"
;
};
043F0AB12BC781F5006CB887
/* YHMessageSessionCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
name
=
YHMessageSessionCell.swift
;
path
=
galaxy/Classes/Base/C/YHMessageSessionCell.swift
;
sourceTree
=
SOURCE_ROOT
;
};
043F0AB32BC7B80F006CB887
/* YHTestViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHTestViewController.swift
;
sourceTree
=
"<group>"
;
};
043F0AB52BC7CE1B006CB887
/* YHInformationFillVC.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHInformationFillVC.swift
;
sourceTree
=
"<group>"
;
};
043F0AB72BC7CE5C006CB887
/* YHInformationFillCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
name
=
YHInformationFillCell.swift
;
path
=
"galaxy/Classes/Modules/Message(消息)/C/YHInformationFillCell.swift"
;
sourceTree
=
SOURCE_ROOT
;
};
044413F62BC2786200784A14
/* YHHomeWebViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHHomeWebViewController.swift
;
sourceTree
=
"<group>"
;
};
044413F82BC279D200784A14
/* YHHomeWebBottomView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHHomeWebBottomView.swift
;
sourceTree
=
"<group>"
;
};
044413FA2BC27E6F00784A14
/* YHHomeWebBottomButton.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHHomeWebBottomButton.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -1736,7 +1740,7 @@
path
=
V
;
sourceTree
=
"<group>"
;
};
A53D38172BC23745006AE6F7
/* Message */
=
{
A53D38172BC23745006AE6F7
/* Message
(消息)
*/
=
{
isa
=
PBXGroup
;
children
=
(
041B52852B565798007EBCEB
/* IM */
,
...
...
@@ -1745,7 +1749,7 @@
A53D38192BC23757006AE6F7
/* V */
,
A53D38182BC23752006AE6F7
/* M */
,
);
path
=
Message
;
path
=
"Message(消息)"
;
sourceTree
=
"<group>"
;
};
A53D38182BC23752006AE6F7
/* M */
=
{
...
...
@@ -1759,6 +1763,7 @@
isa
=
PBXGroup
;
children
=
(
043F0AB12BC781F5006CB887
/* YHMessageSessionCell.swift */
,
043F0AB72BC7CE5C006CB887
/* YHInformationFillCell.swift */
,
);
path
=
V
;
sourceTree
=
"<group>"
;
...
...
@@ -1767,6 +1772,7 @@
isa
=
PBXGroup
;
children
=
(
A53D381D2BC23794006AE6F7
/* YHMsgViewController.swift */
,
043F0AB52BC7CE1B006CB887
/* YHInformationFillVC.swift */
,
);
path
=
C
;
sourceTree
=
"<group>"
;
...
...
@@ -2102,7 +2108,7 @@
A5ACE91B2B4564F7002C94D2
/* Modules */
=
{
isa
=
PBXGroup
;
children
=
(
A53D38172BC23745006AE6F7
/* Message */
,
A53D38172BC23745006AE6F7
/* Message
(消息)
*/
,
A5ACE9592B457113002C94D2
/* Home(首页) */
,
A5ACE8D82B4564F7002C94D2
/* Login(登录) */
,
A5ACE9162B4564F7002C94D2
/* IntelligentService(服务中心) */
,
...
...
@@ -2455,6 +2461,7 @@
044867B82BA1C75700DFAD4A
/* YHCertificateUploadFailTipsView.swift in Sources */
,
045EEF002B9F171A0022A143
/* YHFormItemEnterDetailCell.swift in Sources */
,
A5ACE9362B4564F7002C94D2
/* YHNetworkStatusManager.swift in Sources */
,
043F0AB82BC7CE5C006CB887
/* YHInformationFillCell.swift in Sources */
,
A5D0012A2BABC84A001F003C
/* YHFileListHeaerView.swift in Sources */
,
044414052BC3B9DE00784A14
/* YHServiceTableFootView.swift in Sources */
,
045EEEEF2B9F171A0022A143
/* YHCertificateInfoController.swift in Sources */
,
...
...
@@ -2622,6 +2629,7 @@
045EEF152B9F171A0022A143
/* YHHKIDCardModel.swift in Sources */
,
0477E17E2BA4362A00436346
/* YHCustomNavigationBar.swift in Sources */
,
045EEEC42B9F171A0022A143
/* YHOtherInfoFillCell.swift in Sources */
,
043F0AB62BC7CE1B006CB887
/* YHInformationFillVC.swift in Sources */
,
045EEE9F2B9F171A0022A143
/* YHWorkExperienceModel.swift in Sources */
,
045EEF232B9F171A0022A143
/* YHItemView.swift in Sources */
,
04754A952B96FF3D00F8ADCA
/* UITextField+Extension.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/Message(消息)/C/YHInformationFillCell.swift
0 → 100644
View file @
83b16a32
//
// YHInformationFillCell.swift
// galaxy
//
// Created by edy on 2024/4/11.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
import
AttributedString
class
YHInformationFillCell
:
UITableViewCell
{
static
let
unreadPointWidth
=
6.0
var
whiteView
:
UIView
!
var
titleLabel
:
UILabel
!
var
detailLabel
:
UILabel
!
var
unreadPointView
:
UIView
!
var
bottomBtn
:
UIButton
!
var
lineView
:
UIView
!
required
init
?(
coder
:
NSCoder
)
{
super
.
init
(
coder
:
coder
)
}
override
init
(
style
:
UITableViewCell
.
CellStyle
,
reuseIdentifier
:
String
?)
{
super
.
init
(
style
:
style
,
reuseIdentifier
:
reuseIdentifier
)
setupUI
()
}
func
setupUI
()
{
self
.
selectionStyle
=
.
none
contentView
.
backgroundColor
=
.
white
whiteView
=
UIView
()
contentView
.
addSubview
(
whiteView
)
titleLabel
=
UILabel
()
titleLabel
.
textColor
=
UIColor
(
hex
:
0x222222
)
titleLabel
.
textAlignment
=
.
left
titleLabel
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
17
)
titleLabel
.
text
=
"资料填写提醒"
.
local
whiteView
.
addSubview
(
titleLabel
)
unreadPointView
=
UIView
()
unreadPointView
.
backgroundColor
=
UIColor
(
hex
:
0xF81D22
)
unreadPointView
.
layer
.
cornerRadius
=
Self
.
unreadPointWidth
/
2.0
unreadPointView
.
clipsToBounds
=
true
whiteView
.
addSubview
(
unreadPointView
)
detailLabel
=
UILabel
()
detailLabel
.
textColor
=
UIColor
(
hex
:
0x222222
)
detailLabel
.
textAlignment
=
.
left
detailLabel
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
17
)
detailLabel
.
text
=
"资料填写提醒"
.
local
whiteView
.
addSubview
(
detailLabel
)
lineView
=
UIView
()
lineView
.
backgroundColor
=
UIColor
(
hex
:
0x888F98
)
whiteView
.
addSubview
(
lineView
)
bottomBtn
=
UIButton
()
bottomBtn
.
setTitle
(
"去填写"
.
local
,
for
:
.
normal
)
bottomBtn
.
setTitleColor
(
UIColor
(
hex
:
0x3570DC
),
for
:
.
normal
)
bottomBtn
.
titleLabel
?
.
font
=
.
PFSC_R
(
ofSize
:
14
)
bottomBtn
.
addTarget
(
self
,
action
:
#selector(
didBottomBtnClicked
)
,
for
:
.
touchUpInside
)
whiteView
.
addSubview
(
bottomBtn
)
whiteView
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalToSuperview
()
}
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalToSuperview
()
.
offset
(
16
)
make
.
top
.
equalToSuperview
()
.
offset
(
16
)
make
.
height
.
equalTo
(
24.0
)
}
unreadPointView
.
snp
.
makeConstraints
{
make
in
make
.
width
.
height
.
equalTo
(
Self
.
unreadPointWidth
)
make
.
left
.
equalTo
(
titleLabel
.
snp
.
right
)
.
offset
(
4
)
make
.
centerY
.
equalTo
(
titleLabel
)
make
.
right
.
lessThanOrEqualToSuperview
()
.
offset
(
-
16
)
}
detailLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalToSuperview
()
.
offset
(
16
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
16
)
make
.
top
.
equalTo
(
titleLabel
.
snp
.
bottom
)
.
offset
(
12
)
}
lineView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
equalToSuperview
()
make
.
top
.
equalTo
(
detailLabel
.
snp
.
bottom
)
.
offset
(
16
)
make
.
height
.
equalTo
(
1
)
}
bottomBtn
.
snp
.
makeConstraints
{
make
in
}
}
@objc
func
didBottomBtnClicked
()
{
}
func
updateModel
()
{
let
text1
:
ASAttributedString
=
.
init
(
"林先生,您好,您尚有20%内容未填写,请到"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x121A26
,
alpha
:
0.7
)))
let
text2
:
ASAttributedString
=
.
init
(
"服务中心-资料上传"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x3570DC
)),
.
action
{
})
let
text3
:
ASAttributedString
=
.
init
(
"去填写,请您尽快完成~"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x121A26
,
alpha
:
0.7
)))
detailLabel
.
attributed
.
text
=
text1
+
text2
+
text3
}
}
galaxy/galaxy/Classes/Modules/Message(消息)/C/YHInformationFillVC.swift
0 → 100644
View file @
83b16a32
//
// YHInformationFillVC.swift
// galaxy
//
// Created by edy on 2024/4/11.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHInformationFillVC
:
YHBaseViewController
{
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
// Do any additional setup after loading the view.
}
}
galaxy/galaxy/Classes/Modules/Message/C/YHMsgViewController.swift
→
galaxy/galaxy/Classes/Modules/Message
(消息)
/C/YHMsgViewController.swift
View file @
83b16a32
File moved
galaxy/galaxy/Classes/Modules/Message/IM/IMAppKey.swift
→
galaxy/galaxy/Classes/Modules/Message
(消息)
/IM/IMAppKey.swift
View file @
83b16a32
File moved
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
83b16a32
...
...
@@ -96,6 +96,24 @@ class YHMyViewController: YHBaseViewController, ConstraintRelatableTarget {
guard
let
self
=
self
else
{
return
}
if
!
checkLogin
()
{
return
}
}
view
.
likeClick
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
if
!
checkLogin
()
{
return
}
print
(
"点赞"
)
}
view
.
collectClick
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
if
!
checkLogin
()
{
return
}
print
(
"收藏"
)
}
view
.
recentScanClick
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
if
!
checkLogin
()
{
return
}
print
(
"最近浏览"
)
}
return
view
}()
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/V/YHUserInfoHeaderView.swift
View file @
83b16a32
...
...
@@ -7,6 +7,7 @@
//
import
UIKit
import
AttributedString
class
YHUserInfoHeaderView
:
UIView
{
...
...
@@ -14,7 +15,10 @@ class YHUserInfoHeaderView: UIView {
var
evaluateBlock
:(()
->
Void
)?
var
avatarClickBlock
:(()
->
Void
)?
var
nickNameClickBlock
:(()
->
Void
)?
var
likeClick
:(()
->
Void
)?
var
collectClick
:(()
->
Void
)?
var
recentScanClick
:(()
->
Void
)?
var
nickName
:
String
?
{
didSet
{
userNameLabel
.
text
=
nickName
...
...
@@ -52,6 +56,18 @@ class YHUserInfoHeaderView: UIView {
label
.
textColor
=
UIColor
(
hexString
:
"#949DB5"
)
label
.
textAlignment
=
NSTextAlignment
.
left
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
let
text1
:
ASAttributedString
=
.
init
(
"点赞 0 "
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x949DB5
)),
.
action
{
self
.
likeClick
?()
})
let
text2
:
ASAttributedString
=
.
init
(
"收藏 0 "
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x949DB5
)),
.
action
{
self
.
collectClick
?()
})
let
text3
:
ASAttributedString
=
.
init
(
"最近浏览 0 "
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x949DB5
)),
.
action
{
self
.
recentScanClick
?()
})
label
.
attributed
.
text
=
text1
+
text2
+
text3
return
label
}()
...
...
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