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
a52cd89e
Commit
a52cd89e
authored
Apr 16, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 消息
parent
7ded3f94
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
110 additions
and
15 deletions
+110
-15
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+4
-4
AppDelegate.swift
galaxy/galaxy/AppDelegate.swift
+1
-1
YHStartPageViewController.swift
...lasses/Modules/Home(首页)/C/YHStartPageViewController.swift
+1
-1
YHMessageListVC.swift
...alaxy/Classes/Modules/Message(消息)/C/YHMessageListVC.swift
+12
-7
YHMessageSessionCell.swift
.../Classes/Modules/Message(消息)/V/YHMessageSessionCell.swift
+4
-2
Contents.json
...assets/Message/msg_icon_cer_upload.imageset/Contents.json
+22
-0
Message_zhengjian@2x.png
...age/msg_icon_cer_upload.imageset/Message_zhengjian@2x.png
+0
-0
Message_zhengjian@3x.png
...age/msg_icon_cer_upload.imageset/Message_zhengjian@3x.png
+0
-0
Contents.json
...ts.xcassets/Message/msg_icon_draft.imageset/Contents.json
+22
-0
icon-wenshuqingdan@2x.png
...Message/msg_icon_draft.imageset/icon-wenshuqingdan@2x.png
+0
-0
icon-wenshuqingdan@3x.png
...Message/msg_icon_draft.imageset/icon-wenshuqingdan@3x.png
+0
-0
Contents.json
...cassets/Message/msg_icon_file_sign.imageset/Contents.json
+22
-0
icon-wenshuqingdan@2x.png
...age/msg_icon_file_sign.imageset/icon-wenshuqingdan@2x.png
+0
-0
icon-wenshuqingdan@3x.png
...age/msg_icon_file_sign.imageset/icon-wenshuqingdan@3x.png
+0
-0
Contents.json
...cassets/Message/msg_icon_info_fill.imageset/Contents.json
+22
-0
Group 2033194489@2x.png
...ssage/msg_icon_info_fill.imageset/Group 2033194489@2x.png
+0
-0
Group 2033194489@3x.png
...ssage/msg_icon_info_fill.imageset/Group 2033194489@3x.png
+0
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
a52cd89e
...
...
@@ -17,7 +17,7 @@
04174D752BCD5B74000BA46D
/* YHMessageListModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04174D6B2BCD5B74000BA46D
/* YHMessageListModel.swift */
;
};
04174D762BCD5B74000BA46D
/* YHMsgListModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04174D6C2BCD5B74000BA46D
/* YHMsgListModel.swift */
;
};
04174D772BCD5B74000BA46D
/* YHMessageDetailListVC.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04174D6E2BCD5B74000BA46D
/* YHMessageDetailListVC.swift */
;
};
04174D782BCD5B74000BA46D
/* YHM
sgViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04174D6F2BCD5B74000BA46D
/* YHMsgViewController
.swift */
;
};
04174D782BCD5B74000BA46D
/* YHM
essageListVC.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04174D6F2BCD5B74000BA46D
/* YHMessageListVC
.swift */
;
};
04174D792BCD5B74000BA46D
/* YHMessageSessionCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04174D712BCD5B74000BA46D
/* YHMessageSessionCell.swift */
;
};
04174D7A2BCD5B74000BA46D
/* YHInformationFillCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04174D722BCD5B74000BA46D
/* YHInformationFillCell.swift */
;
};
0425E63D2BA9345200A5E763
/* YHSchemeTableViewCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
0425E63C2BA9345200A5E763
/* YHSchemeTableViewCell.swift */
;
};
...
...
@@ -462,7 +462,7 @@
04174D6B2BCD5B74000BA46D
/* YHMessageListModel.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMessageListModel.swift
;
sourceTree
=
"<group>"
;
};
04174D6C2BCD5B74000BA46D
/* YHMsgListModel.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMsgListModel.swift
;
sourceTree
=
"<group>"
;
};
04174D6E2BCD5B74000BA46D
/* YHMessageDetailListVC.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMessageDetailListVC.swift
;
sourceTree
=
"<group>"
;
};
04174D6F2BCD5B74000BA46D
/* YHM
sgViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMsgViewController
.swift
;
sourceTree
=
"<group>"
;
};
04174D6F2BCD5B74000BA46D
/* YHM
essageListVC.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMessageListVC
.swift
;
sourceTree
=
"<group>"
;
};
04174D712BCD5B74000BA46D
/* YHMessageSessionCell.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMessageSessionCell.swift
;
sourceTree
=
"<group>"
;
};
04174D722BCD5B74000BA46D
/* YHInformationFillCell.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHInformationFillCell.swift
;
sourceTree
=
"<group>"
;
};
0425E63C2BA9345200A5E763
/* YHSchemeTableViewCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSchemeTableViewCell.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -952,7 +952,7 @@
isa
=
PBXGroup
;
children
=
(
04174D6E2BCD5B74000BA46D
/* YHMessageDetailListVC.swift */
,
04174D6F2BCD5B74000BA46D
/* YHM
sgViewController
.swift */
,
04174D6F2BCD5B74000BA46D
/* YHM
essageListVC
.swift */
,
);
path
=
C
;
sourceTree
=
"<group>"
;
...
...
@@ -2803,7 +2803,7 @@
044413F92BC279D200784A14
/* YHHomeWebBottomView.swift in Sources */
,
045EEEC32B9F171A0022A143
/* YHOtherResidenceFillView.swift in Sources */
,
045EEE792B9F171A0022A143
/* YHPreviewViewModel.swift in Sources */
,
04174D782BCD5B74000BA46D
/* YHM
sgViewController
.swift in Sources */
,
04174D782BCD5B74000BA46D
/* YHM
essageListVC
.swift in Sources */
,
A517A4E12BB573EB000DEECD
/* YHDocListCell.swift in Sources */
,
A58037212BAD7B2A0031C312
/* YHMySchemeModel.swift in Sources */
,
0493B3DE2BA80C2300AF9393
/* YHCertificateFilterButton.swift in Sources */
,
...
...
galaxy/galaxy/AppDelegate.swift
View file @
a52cd89e
...
...
@@ -129,7 +129,7 @@ extension AppDelegate {
tabBarController
.
delegate
=
homeVC
let
v0
=
YHNavigationController
(
rootVC
:
homeVC
)
let
v1
=
YHNavigationController
(
rootVC
:
YHServiceCenterMainViewController
())
let
v2
=
YHNavigationController
(
rootVC
:
YHM
sgViewController
())
let
v2
=
YHNavigationController
(
rootVC
:
YHM
essageListVC
())
let
v3
=
YHNavigationController
(
rootVC
:
YHMyViewController
())
v0
.
tabBarItem
=
ESTabBarItem
.
init
(
YHBasicContentView
(),
title
:
"首页"
,
image
:
UIImage
(
named
:
"home"
),
selectedImage
:
UIImage
(
named
:
"home_1"
))
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHStartPageViewController.swift
View file @
a52cd89e
...
...
@@ -102,7 +102,7 @@ private extension YHStartPageViewController {
tabBarController
.
delegate
=
homeVC
let
v0
=
YHNavigationController
(
rootVC
:
homeVC
)
let
v1
=
YHNavigationController
(
rootVC
:
YHServiceCenterMainViewController
())
let
v2
=
YHNavigationController
(
rootVC
:
YHM
sgViewController
())
let
v2
=
YHNavigationController
(
rootVC
:
YHM
essageListVC
())
let
v3
=
YHNavigationController
(
rootVC
:
YHMyViewController
())
v0
.
tabBarItem
=
ESTabBarItem
.
init
(
YHBasicContentView
(),
title
:
"首页"
,
image
:
UIImage
(
named
:
"home"
),
selectedImage
:
UIImage
(
named
:
"home_1"
))
...
...
galaxy/galaxy/Classes/Modules/Message(消息)/C/YHM
sgViewController
.swift
→
galaxy/galaxy/Classes/Modules/Message(消息)/C/YHM
essageListVC
.swift
View file @
a52cd89e
...
...
@@ -8,7 +8,7 @@
import
UIKit
class
YHM
sgViewController
:
YHBaseViewController
{
class
YHM
essageListVC
:
YHBaseViewController
{
var
msgArr
:[
YHMessageInfoModel
]
=
[]
lazy
var
viewModel
=
{
...
...
@@ -171,18 +171,23 @@ class YHMsgViewController: YHBaseViewController {
}
}
extension
YHM
sgViewController
{
extension
YHM
essageListVC
{
@objc
func
clean
()
{
@objc
func
didEnableNotifyBtnClicked
()
{
self
.
goToSettingPage
()
}
@objc
func
didEnableNotifyBtnClicked
()
{
func
goToSettingPage
()
{
let
url
=
URL
(
string
:
UIApplication
.
openSettingsURLString
)
if
let
url
=
url
,
UIApplication
.
shared
.
canOpenURL
(
url
)
{
UIApplication
.
shared
.
open
(
url
,
options
:
[:],
completionHandler
:
{
(
success
)
in
})
}
}
}
extension
YHM
sgViewController
:
UITableViewDelegate
,
UITableViewDataSource
{
extension
YHM
essageListVC
:
UITableViewDelegate
,
UITableViewDataSource
{
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
return
msgArr
.
count
...
...
galaxy/galaxy/Classes/Modules/Message(消息)/V/YHMessageSessionCell.swift
View file @
a52cd89e
...
...
@@ -34,15 +34,19 @@ class YHMessageSessionCell: UITableViewCell {
if
model
.
customType
==
.
infoFill
{
self
.
nameLabel
.
text
=
"资料填写"
self
.
iconImgView
.
image
=
UIImage
(
named
:
"msg_icon_info_fill"
)
}
else
if
model
.
customType
==
.
cerUpload
{
self
.
nameLabel
.
text
=
"证件上传"
self
.
iconImgView
.
image
=
UIImage
(
named
:
"msg_icon_cer_upload"
)
}
else
if
model
.
customType
==
.
draft
{
self
.
nameLabel
.
text
=
"文书定稿"
self
.
iconImgView
.
image
=
UIImage
(
named
:
"msg_icon_draft"
)
}
else
if
model
.
customType
==
.
fileSign
{
self
.
nameLabel
.
text
=
"文件签字"
self
.
iconImgView
.
image
=
UIImage
(
named
:
"msg_icon_file_sign"
)
}
else
{
self
.
nameLabel
.
text
=
""
...
...
@@ -103,7 +107,6 @@ class YHMessageSessionCell: UITableViewCell {
contentView
.
addSubview
(
iconContentView
)
iconImgView
=
UIImageView
()
iconImgView
.
backgroundColor
=
.
red
iconContentView
.
addSubview
(
iconImgView
)
badgeLabel
=
UILabel
()
...
...
@@ -183,5 +186,4 @@ class YHMessageSessionCell: UITableViewCell {
make
.
bottom
.
equalToSuperview
()
}
}
}
galaxy/galaxy/Res/Assets.xcassets/Message/msg_icon_cer_upload.imageset/Contents.json
0 → 100644
View file @
a52cd89e
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Message_zhengjian@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Message_zhengjian@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/Message/msg_icon_cer_upload.imageset/Message_zhengjian@2x.png
0 → 100644
View file @
a52cd89e
830 Bytes
galaxy/galaxy/Res/Assets.xcassets/Message/msg_icon_cer_upload.imageset/Message_zhengjian@3x.png
0 → 100644
View file @
a52cd89e
1.04 KB
galaxy/galaxy/Res/Assets.xcassets/Message/msg_icon_draft.imageset/Contents.json
0 → 100644
View file @
a52cd89e
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"icon-wenshuqingdan@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"icon-wenshuqingdan@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/Message/msg_icon_draft.imageset/icon-wenshuqingdan@2x.png
0 → 100644
View file @
a52cd89e
1.07 KB
galaxy/galaxy/Res/Assets.xcassets/Message/msg_icon_draft.imageset/icon-wenshuqingdan@3x.png
0 → 100644
View file @
a52cd89e
1.47 KB
galaxy/galaxy/Res/Assets.xcassets/Message/msg_icon_file_sign.imageset/Contents.json
0 → 100644
View file @
a52cd89e
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"icon-wenshuqingdan@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"icon-wenshuqingdan@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/Message/msg_icon_file_sign.imageset/icon-wenshuqingdan@2x.png
0 → 100644
View file @
a52cd89e
977 Bytes
galaxy/galaxy/Res/Assets.xcassets/Message/msg_icon_file_sign.imageset/icon-wenshuqingdan@3x.png
0 → 100644
View file @
a52cd89e
1.22 KB
galaxy/galaxy/Res/Assets.xcassets/Message/msg_icon_info_fill.imageset/Contents.json
0 → 100644
View file @
a52cd89e
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Group 2033194489@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Group 2033194489@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/Message/msg_icon_info_fill.imageset/Group 2033194489@2x.png
0 → 100644
View file @
a52cd89e
661 Bytes
galaxy/galaxy/Res/Assets.xcassets/Message/msg_icon_info_fill.imageset/Group 2033194489@3x.png
0 → 100644
View file @
a52cd89e
917 Bytes
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