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
15a1a916
Commit
15a1a916
authored
Aug 06, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 原则批
parent
3a80d9dd
Changes
21
Show whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
321 additions
and
12 deletions
+321
-12
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+8
-0
YHPrincipleCongratulationAlertView.swift
...ipleBatch(原则批)/V/YHPrincipleCongratulationAlertView.swift
+158
-0
YHPrincipleGroupUploadCell.swift
...段)/PrincipleBatch(原则批)/V/YHPrincipleGroupUploadCell.swift
+26
-9
YHPrincipleUploadFileCell.swift
...服段)/PrincipleBatch(原则批)/V/YHPrincipleUploadFileCell.swift
+71
-0
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+8
-3
Contents.json
...y/Res/Assets.xcassets/ServiceCenter/客服段/原则批/Contents.json
+6
-0
Contents.json
...er/客服段/原则批/custom_service_expand_0.imageset/Contents.json
+0
-0
icon-展开@2x.png
...r/客服段/原则批/custom_service_expand_0.imageset/icon-展开@2x.png
+0
-0
icon-展开@3x.png
...r/客服段/原则批/custom_service_expand_0.imageset/icon-展开@3x.png
+0
-0
Contents.json
...er/客服段/原则批/custom_service_expand_1.imageset/Contents.json
+0
-0
icon-展开@2x.png
...r/客服段/原则批/custom_service_expand_1.imageset/icon-展开@2x.png
+0
-0
icon-展开@3x.png
...r/客服段/原则批/custom_service_expand_1.imageset/icon-展开@3x.png
+0
-0
Contents.json
.../客服段/原则批/custom_service_icon_right.imageset/Contents.json
+0
-0
Group 33333268@2x.png
.../custom_service_icon_right.imageset/Group 33333268@2x.png
+0
-0
Group 33333268@3x.png
.../custom_service_icon_right.imageset/Group 33333268@3x.png
+0
-0
Contents.json
...原则批/principle_congratulation_alpha.imageset/Contents.json
+22
-0
Rectangle 346241677@2x.png
..._congratulation_alpha.imageset/Rectangle 346241677@2x.png
+0
-0
Rectangle 346241677@3x.png
..._congratulation_alpha.imageset/Rectangle 346241677@3x.png
+0
-0
Contents.json
...服段/原则批/principle_congratulation_bg.imageset/Contents.json
+22
-0
Group 2033194607@2x.png
...nciple_congratulation_bg.imageset/Group 2033194607@2x.png
+0
-0
Group 2033194607@3x.png
...nciple_congratulation_bg.imageset/Group 2033194607@3x.png
+0
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
15a1a916
...
@@ -354,6 +354,8 @@
...
@@ -354,6 +354,8 @@
04AF82D82C291E960028CE2A
/* YHMatchUserViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04AF82D72C291E960028CE2A
/* YHMatchUserViewModel.swift */
;
};
04AF82D82C291E960028CE2A
/* YHMatchUserViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04AF82D72C291E960028CE2A
/* YHMatchUserViewModel.swift */
;
};
04B360E32C60A346001EB053
/* YHPrinciplePhotoCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04B360E22C60A346001EB053
/* YHPrinciplePhotoCell.swift */
;
};
04B360E32C60A346001EB053
/* YHPrinciplePhotoCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04B360E22C60A346001EB053
/* YHPrinciplePhotoCell.swift */
;
};
04B360E52C60B5D3001EB053
/* YHPrinciplePhotoCollectCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04B360E42C60B5D3001EB053
/* YHPrinciplePhotoCollectCell.swift */
;
};
04B360E52C60B5D3001EB053
/* YHPrinciplePhotoCollectCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04B360E42C60B5D3001EB053
/* YHPrinciplePhotoCollectCell.swift */
;
};
04B360E72C60CD37001EB053
/* YHPrincipleUploadFileCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04B360E62C60CD37001EB053
/* YHPrincipleUploadFileCell.swift */
;
};
04B360EB2C60E88C001EB053
/* YHPrincipleCongratulationAlertView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04B360EA2C60E88C001EB053
/* YHPrincipleCongratulationAlertView.swift */
;
};
04B9EE5A2C06CC3100A4018D
/* YHCodeSueecssViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04B9EE582C06CC3100A4018D
/* YHCodeSueecssViewController.swift */
;
};
04B9EE5A2C06CC3100A4018D
/* YHCodeSueecssViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04B9EE582C06CC3100A4018D
/* YHCodeSueecssViewController.swift */
;
};
04B9EE5B2C06CC3100A4018D
/* YHOtherLoginViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04B9EE592C06CC3100A4018D
/* YHOtherLoginViewController.swift */
;
};
04B9EE5B2C06CC3100A4018D
/* YHOtherLoginViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04B9EE592C06CC3100A4018D
/* YHOtherLoginViewController.swift */
;
};
04C693622B723AB8004C1758
/* YHMySettingViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04C693612B723AB8004C1758
/* YHMySettingViewController.swift */
;
};
04C693622B723AB8004C1758
/* YHMySettingViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04C693612B723AB8004C1758
/* YHMySettingViewController.swift */
;
};
...
@@ -987,6 +989,8 @@
...
@@ -987,6 +989,8 @@
04AF82D72C291E960028CE2A
/* YHMatchUserViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMatchUserViewModel.swift
;
sourceTree
=
"<group>"
;
};
04AF82D72C291E960028CE2A
/* YHMatchUserViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMatchUserViewModel.swift
;
sourceTree
=
"<group>"
;
};
04B360E22C60A346001EB053
/* YHPrinciplePhotoCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPrinciplePhotoCell.swift
;
sourceTree
=
"<group>"
;
};
04B360E22C60A346001EB053
/* YHPrinciplePhotoCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPrinciplePhotoCell.swift
;
sourceTree
=
"<group>"
;
};
04B360E42C60B5D3001EB053
/* YHPrinciplePhotoCollectCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPrinciplePhotoCollectCell.swift
;
sourceTree
=
"<group>"
;
};
04B360E42C60B5D3001EB053
/* YHPrinciplePhotoCollectCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPrinciplePhotoCollectCell.swift
;
sourceTree
=
"<group>"
;
};
04B360E62C60CD37001EB053
/* YHPrincipleUploadFileCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPrincipleUploadFileCell.swift
;
sourceTree
=
"<group>"
;
};
04B360EA2C60E88C001EB053
/* YHPrincipleCongratulationAlertView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPrincipleCongratulationAlertView.swift
;
sourceTree
=
"<group>"
;
};
04B9EE582C06CC3100A4018D
/* YHCodeSueecssViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCodeSueecssViewController.swift
;
sourceTree
=
"<group>"
;
};
04B9EE582C06CC3100A4018D
/* YHCodeSueecssViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCodeSueecssViewController.swift
;
sourceTree
=
"<group>"
;
};
04B9EE592C06CC3100A4018D
/* YHOtherLoginViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHOtherLoginViewController.swift
;
sourceTree
=
"<group>"
;
};
04B9EE592C06CC3100A4018D
/* YHOtherLoginViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHOtherLoginViewController.swift
;
sourceTree
=
"<group>"
;
};
04C693612B723AB8004C1758
/* YHMySettingViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMySettingViewController.swift
;
sourceTree
=
"<group>"
;
};
04C693612B723AB8004C1758
/* YHMySettingViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMySettingViewController.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -2192,6 +2196,8 @@
...
@@ -2192,6 +2196,8 @@
0409BEEA2C5B41D4003FCFD7
/* YHPrincipleUnapprovedCell.swift */
,
0409BEEA2C5B41D4003FCFD7
/* YHPrincipleUnapprovedCell.swift */
,
04B360E22C60A346001EB053
/* YHPrinciplePhotoCell.swift */
,
04B360E22C60A346001EB053
/* YHPrinciplePhotoCell.swift */
,
04B360E42C60B5D3001EB053
/* YHPrinciplePhotoCollectCell.swift */
,
04B360E42C60B5D3001EB053
/* YHPrinciplePhotoCollectCell.swift */
,
04B360E62C60CD37001EB053
/* YHPrincipleUploadFileCell.swift */
,
04B360EA2C60E88C001EB053
/* YHPrincipleCongratulationAlertView.swift */
,
);
);
path
=
V
;
path
=
V
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
...
@@ -3553,6 +3559,7 @@
...
@@ -3553,6 +3559,7 @@
045EEEC22B9F171A0022A143
/* YHOtherInfoFillViewController.swift in Sources */
,
045EEEC22B9F171A0022A143
/* YHOtherInfoFillViewController.swift in Sources */
,
045EEE7C2B9F171A0022A143
/* YHPreviewInfoSessionModel.swift in Sources */
,
045EEE7C2B9F171A0022A143
/* YHPreviewInfoSessionModel.swift in Sources */
,
049A48AA2B49536000D0C641
/* YHAboutUsAdvantageCell.swift in Sources */
,
049A48AA2B49536000D0C641
/* YHAboutUsAdvantageCell.swift in Sources */
,
04B360EB2C60E88C001EB053
/* YHPrincipleCongratulationAlertView.swift in Sources */
,
04CE1AD42C2AD91F001CB80A
/* YHActivityDetailModel.swift in Sources */
,
04CE1AD42C2AD91F001CB80A
/* YHActivityDetailModel.swift in Sources */
,
045EEF112B9F171A0022A143
/* YHMainInformationModel.swift in Sources */
,
045EEF112B9F171A0022A143
/* YHMainInformationModel.swift in Sources */
,
A58AC09D2BABD59600A30FA9
/* YHFileListModel.swift in Sources */
,
A58AC09D2BABD59600A30FA9
/* YHFileListModel.swift in Sources */
,
...
@@ -3687,6 +3694,7 @@
...
@@ -3687,6 +3694,7 @@
A5C382CA2B5E1F4C00C5E65C
/* YHLoginTipsView.swift in Sources */
,
A5C382CA2B5E1F4C00C5E65C
/* YHLoginTipsView.swift in Sources */
,
04FB01D02C23FA420040115D
/* YHMatchUserInfo.swift in Sources */
,
04FB01D02C23FA420040115D
/* YHMatchUserInfo.swift in Sources */
,
045EEEE92B9F171A0022A143
/* YHFamilyRequestViewModel.swift in Sources */
,
045EEEE92B9F171A0022A143
/* YHFamilyRequestViewModel.swift in Sources */
,
04B360E72C60CD37001EB053
/* YHPrincipleUploadFileCell.swift in Sources */
,
04F957472C203033003C631C
/* YHMyGoodFriendsVC.swift in Sources */
,
04F957472C203033003C631C
/* YHMyGoodFriendsVC.swift in Sources */
,
044867B42BA1953B00DFAD4A
/* YHCertificateFilterView.swift in Sources */
,
044867B42BA1953B00DFAD4A
/* YHCertificateFilterView.swift in Sources */
,
045EEEDF2B9F171A0022A143
/* YHCollegeSearchBar.swift in Sources */
,
045EEEDF2B9F171A0022A143
/* YHCollegeSearchBar.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService(客服段)/PrincipleBatch(原则批)/V/YHPrincipleCongratulationAlertView.swift
0 → 100644
View file @
15a1a916
//
// YHPrincipleCongratulationAlertView.swift
// galaxy
//
// Created by edy on 2024/8/5.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
import
AttributedString
class
YHPrincipleCongratulationAlertView
:
UIView
{
lazy
var
blackMaskView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
alertMaskColor
return
view
}()
lazy
var
whiteContentView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
}()
lazy
var
closeBtn
:
UIButton
=
{
let
btn
=
UIButton
()
btn
.
setImage
(
UIImage
(
named
:
"update_close"
),
for
:
.
normal
)
btn
.
addTarget
(
self
,
action
:
#selector(
didCloseBtnClicked
)
,
for
:
.
touchUpInside
)
return
btn
}()
lazy
var
titleLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
24
)
label
.
textColor
=
UIColor
.
brandMainColor
label
.
text
=
"祝贺获批!"
return
label
}()
lazy
var
detailLabel
:
UILabel
=
{
var
label
=
UILabel
()
label
.
numberOfLines
=
0
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14.0
)
let
a
:
ASAttributedString
=
.
init
(
"恭喜您申请的【优秀人才入境计划】"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.7
)))
let
b
:
ASAttributedString
=
.
init
(
"已获得港府的甄选名额!"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
brandMainColor
))
label
.
attributed
.
text
=
a
+
b
return
label
}()
lazy
var
bgImgView
:
UIImageView
=
{
let
view
=
UIImageView
(
image
:
UIImage
(
named
:
"principle_congratulation_bg"
))
let
bottomView
=
UIImageView
(
image
:
UIImage
(
named
:
"principle_congratulation_alpha"
))
view
.
addSubview
(
bottomView
)
bottomView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
bottom
.
equalToSuperview
()
make
.
height
.
equalTo
(
58.0
)
}
return
view
}()
lazy
var
lookBtn
:
UIButton
=
{
let
button
=
UIButton
()
button
.
backgroundColor
=
UIColor
.
brandMainColor
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
button
.
setTitle
(
"查看详情"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
white
,
for
:
.
normal
)
button
.
layer
.
cornerRadius
=
kCornerRadius3
button
.
addTarget
(
self
,
action
:
#selector(
didLookBtnClicked
)
,
for
:
.
touchUpInside
)
return
button
}()
static
func
alertView
()
->
YHPrincipleCongratulationAlertView
{
let
view
=
YHPrincipleCongratulationAlertView
(
frame
:
UIScreen
.
main
.
bounds
)
return
view
}
@objc
func
didCloseBtnClicked
()
{
self
.
dismiss
()
}
@objc
func
didLookBtnClicked
()
{
}
@objc
func
show
()
{
UIApplication
.
shared
.
yhKeyWindow
()?
.
addSubview
(
self
)
}
@objc
func
dismiss
()
{
self
.
removeFromSuperview
()
}
required
init
?(
coder
:
NSCoder
)
{
fatalError
(
"init(coder:) has not been implemented"
)
}
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
createUI
()
}
func
createUI
()
{
self
.
addSubview
(
blackMaskView
)
self
.
addSubview
(
whiteContentView
)
self
.
addSubview
(
closeBtn
)
whiteContentView
.
addSubview
(
titleLabel
)
whiteContentView
.
addSubview
(
detailLabel
)
whiteContentView
.
addSubview
(
bgImgView
)
whiteContentView
.
addSubview
(
lookBtn
)
blackMaskView
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalToSuperview
()
}
whiteContentView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
38
)
make
.
right
.
equalTo
(
-
38
)
make
.
centerY
.
equalToSuperview
()
}
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
24
)
make
.
top
.
equalTo
(
32
)
make
.
height
.
equalTo
(
34
)
}
detailLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
24
)
make
.
right
.
equalTo
(
-
24
)
make
.
top
.
equalTo
(
titleLabel
.
snp
.
bottom
)
.
offset
(
20
)
}
bgImgView
.
snp
.
makeConstraints
{
make
in
make
.
width
.
equalTo
(
245
)
make
.
height
.
equalTo
(
170
)
make
.
top
.
equalTo
(
detailLabel
.
snp
.
bottom
)
.
offset
(
20
)
make
.
centerX
.
equalToSuperview
()
}
lookBtn
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
16
)
make
.
right
.
equalTo
(
-
16
)
make
.
bottom
.
equalTo
(
-
16
)
make
.
height
.
equalTo
(
45
)
make
.
top
.
equalTo
(
bgImgView
.
snp
.
bottom
)
}
closeBtn
.
snp
.
makeConstraints
{
make
in
make
.
width
.
height
.
equalTo
(
24
)
make
.
top
.
equalTo
(
whiteContentView
.
snp
.
bottom
)
.
offset
(
24
)
make
.
centerX
.
equalTo
(
whiteContentView
)
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService(客服段)/PrincipleBatch(原则批)/V/YHPrincipleGroupUploadCell.swift
View file @
15a1a916
...
@@ -15,9 +15,11 @@ class YHPrincipleGroupUploadCell: UITableViewCell {
...
@@ -15,9 +15,11 @@ class YHPrincipleGroupUploadCell: UITableViewCell {
let
btnTitleColor
:
UIColor
=
.
brandMainColor
let
btnTitleColor
:
UIColor
=
.
brandMainColor
let
uploadBtnSize
=
CGSize
(
width
:
(
KScreenWidth
-
(
40
)
*
2
),
height
:
44
)
let
uploadBtnSize
=
CGSize
(
width
:
(
KScreenWidth
-
(
40
)
*
2
),
height
:
44
)
lazy
var
grayView
:
UIView
=
{
var
isNeedTemplate
:
Bool
=
false
lazy
var
whiteView
:
UIView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
UIColor
.
init
(
hex
:
0xf8f9fb
)
view
.
backgroundColor
=
UIColor
.
white
view
.
layer
.
cornerRadius
=
6.0
view
.
layer
.
cornerRadius
=
6.0
view
.
clipsToBounds
=
true
view
.
clipsToBounds
=
true
return
view
return
view
...
@@ -37,6 +39,17 @@ class YHPrincipleGroupUploadCell: UITableViewCell {
...
@@ -37,6 +39,17 @@ class YHPrincipleGroupUploadCell: UITableViewCell {
return
label
return
label
}()
}()
lazy
var
titleView
:
UITextView
=
{
let
view
=
UITextView
()
view
.
text
=
"《赴港居留同意书》"
view
.
textColor
=
UIColor
.
mainTextColor
view
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
17
)
view
.
isScrollEnabled
=
false
view
.
isEditable
=
false
view
.
isSelectable
=
false
return
view
}()
lazy
var
detailLabel
:
UILabel
=
{
lazy
var
detailLabel
:
UILabel
=
{
var
label
=
UILabel
()
var
label
=
UILabel
()
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
...
@@ -86,19 +99,23 @@ class YHPrincipleGroupUploadCell: UITableViewCell {
...
@@ -86,19 +99,23 @@ class YHPrincipleGroupUploadCell: UITableViewCell {
}
}
func
updateStatus
(
_
status
:
Int
)
{
}
func
setupUI
()
{
func
setupUI
()
{
self
.
selectionStyle
=
.
none
self
.
selectionStyle
=
.
none
contentView
.
backgroundColor
=
UIColor
.
white
contentView
.
backgroundColor
=
UIColor
.
init
(
hex
:
0xf8f9fb
)
contentView
.
addSubview
(
gray
View
)
contentView
.
addSubview
(
white
View
)
gray
View
.
addSubview
(
titleLabel
)
white
View
.
addSubview
(
titleLabel
)
gray
View
.
addSubview
(
lineView
)
white
View
.
addSubview
(
lineView
)
gray
View
.
addSubview
(
detailLabel
)
white
View
.
addSubview
(
detailLabel
)
gray
View
.
addSubview
(
uploadBtn
)
white
View
.
addSubview
(
uploadBtn
)
uploadBtn
.
layer
.
addSublayer
(
dotLineLayer
)
uploadBtn
.
layer
.
addSublayer
(
dotLineLayer
)
gray
View
.
snp
.
makeConstraints
{
make
in
white
View
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
24
)
make
.
left
.
equalTo
(
24
)
make
.
right
.
equalTo
(
-
24
)
make
.
right
.
equalTo
(
-
24
)
make
.
top
.
bottom
.
equalTo
(
0
)
make
.
top
.
bottom
.
equalTo
(
0
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService(客服段)/PrincipleBatch(原则批)/V/YHPrincipleUploadFileCell.swift
0 → 100644
View file @
15a1a916
//
// YHPrincipleUploadFileCell.swift
// galaxy
//
// Created by edy on 2024/8/5.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHPrincipleUploadFileCell
:
UITableViewCell
{
static
let
cellReuseIdentifier
=
"YHPrincipleUploadFileCell"
static
let
height
=
55.0
var
iconImgV
:
UIImageView
!
var
titleLabel
:
UILabel
!
var
timeLabel
:
UILabel
!
override
init
(
style
:
UITableViewCell
.
CellStyle
,
reuseIdentifier
:
String
?)
{
super
.
init
(
style
:
style
,
reuseIdentifier
:
reuseIdentifier
)
setupUI
()
}
required
init
?(
coder
:
NSCoder
)
{
super
.
init
(
coder
:
coder
)
}
func
updateModel
(
_
str
:
String
)
{
titleLabel
.
text
=
str
timeLabel
.
text
=
"上传于2023.02.06"
}
func
setupUI
()
{
iconImgV
=
UIImageView
(
image
:
UIImage
(
named
:
"my_cer_type_pdf"
))
self
.
addSubview
(
iconImgV
)
titleLabel
=
UILabel
()
titleLabel
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
titleLabel
.
textColor
=
UIColor
.
mainTextColor
titleLabel
.
text
=
"新公司在职证明.pdf"
self
.
addSubview
(
titleLabel
)
timeLabel
=
UILabel
()
timeLabel
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
11
)
timeLabel
.
textColor
=
UIColor
.
labelTextColor2
timeLabel
.
text
=
"上传于2024.12.12"
self
.
addSubview
(
timeLabel
)
iconImgV
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
22
)
make
.
centerY
.
equalToSuperview
()
make
.
width
.
height
.
equalTo
(
31.0
)
}
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
bottom
.
equalTo
(
self
.
snp
.
centerY
)
.
offset
(
-
1
)
make
.
left
.
equalTo
(
iconImgV
.
snp
.
right
)
.
offset
(
18
)
make
.
right
.
equalTo
(
-
16
)
make
.
height
.
equalTo
(
20
)
}
timeLabel
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
self
.
snp
.
centerY
)
.
offset
(
1
)
make
.
left
.
equalTo
(
iconImgV
.
snp
.
right
)
.
offset
(
18
)
make
.
height
.
equalTo
(
20
)
make
.
right
.
equalTo
(
-
16
)
}
}
}
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
15a1a916
...
@@ -332,15 +332,20 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
...
@@ -332,15 +332,20 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
if
(
indexPath
.
row
>=
items
.
count
)
{
return
}
if
(
indexPath
.
row
>=
items
.
count
)
{
return
}
if
!
checkLogin
()
{
if
!
checkLogin
()
{
return
return
}
}
// if true {
if
true
{
YHPrincipleCongratulationAlertView
.
alertView
()
.
show
()
// let vc = YHPrincipleReviewListVC()
// let vc = YHPrincipleReviewListVC()
// self.navigationController?.pushViewController(vc)
// self.navigationController?.pushViewController(vc)
//
return
return
//
}
}
let
item
:
PersonalModuleItem
=
items
[
indexPath
.
row
]
let
item
:
PersonalModuleItem
=
items
[
indexPath
.
row
]
switch
item
.
type
{
switch
item
.
type
{
...
...
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/原则批/Contents.json
0 → 100644
View file @
15a1a916
{
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/custom_service_expand_0.imageset/Contents.json
→
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/
原则批/
custom_service_expand_0.imageset/Contents.json
View file @
15a1a916
File moved
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/custom_service_expand_0.imageset/icon-展开@2x.png
→
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/
原则批/
custom_service_expand_0.imageset/icon-展开@2x.png
View file @
15a1a916
File moved
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/custom_service_expand_0.imageset/icon-展开@3x.png
→
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/
原则批/
custom_service_expand_0.imageset/icon-展开@3x.png
View file @
15a1a916
File moved
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/custom_service_expand_1.imageset/Contents.json
→
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/
原则批/
custom_service_expand_1.imageset/Contents.json
View file @
15a1a916
File moved
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/custom_service_expand_1.imageset/icon-展开@2x.png
→
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/
原则批/
custom_service_expand_1.imageset/icon-展开@2x.png
View file @
15a1a916
File moved
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/custom_service_expand_1.imageset/icon-展开@3x.png
→
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/
原则批/
custom_service_expand_1.imageset/icon-展开@3x.png
View file @
15a1a916
File moved
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/custom_service_icon_right.imageset/Contents.json
→
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/
原则批/
custom_service_icon_right.imageset/Contents.json
View file @
15a1a916
File moved
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/custom_service_icon_right.imageset/Group 33333268@2x.png
→
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/
原则批/
custom_service_icon_right.imageset/Group 33333268@2x.png
View file @
15a1a916
File moved
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/custom_service_icon_right.imageset/Group 33333268@3x.png
→
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/
原则批/
custom_service_icon_right.imageset/Group 33333268@3x.png
View file @
15a1a916
File moved
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/原则批/principle_congratulation_alpha.imageset/Contents.json
0 → 100644
View file @
15a1a916
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Rectangle 346241677@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Rectangle 346241677@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/原则批/principle_congratulation_alpha.imageset/Rectangle 346241677@2x.png
0 → 100644
View file @
15a1a916
10.5 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/原则批/principle_congratulation_alpha.imageset/Rectangle 346241677@3x.png
0 → 100644
View file @
15a1a916
16.7 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/原则批/principle_congratulation_bg.imageset/Contents.json
0 → 100644
View file @
15a1a916
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Group 2033194607@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Group 2033194607@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/原则批/principle_congratulation_bg.imageset/Group 2033194607@2x.png
0 → 100644
View file @
15a1a916
137 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/原则批/principle_congratulation_bg.imageset/Group 2033194607@3x.png
0 → 100644
View file @
15a1a916
273 KB
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