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
b36b941c
Commit
b36b941c
authored
Apr 23, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
fc80aa04
' into xiezhaolin
parents
2a905b5c
fc80aa04
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
32 additions
and
28 deletions
+32
-28
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+6
-6
YHHKEventViewController.swift
.../Classes/Modules/Home(首页)/C/YHHKEventViewController.swift
+1
-1
YHHomeWebViewController.swift
.../Classes/Modules/Home(首页)/C/YHHomeWebViewController.swift
+9
-5
YHHomeHeadView.swift
...xy/galaxy/Classes/Modules/Home(首页)/V/YHHomeHeadView.swift
+2
-2
YHHomePageViewModel.swift
...axy/Classes/Modules/Home(首页)/VM/YHHomePageViewModel.swift
+9
-5
YHCertificateEntryCell.swift
...服务中心)/MyCertificates(我的证书)/V/YHCertificateEntryCell.swift
+1
-1
YHScorePersonInfoCell.swift
...Service(服务中心)/MyScore(我的评分)/V/YHScorePersonInfoCell.swift
+0
-2
YHServiceOrderProgressTableViewCell.swift
...Service(服务中心)/V/YHServiceOrderProgressTableViewCell.swift
+4
-4
YHMessageDetailListVC.swift
...Classes/Modules/Message(消息)/C/YHMessageDetailListVC.swift
+0
-2
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
b36b941c
...
...
@@ -2985,7 +2985,7 @@
CODE_SIGN_IDENTITY
=
"Apple Development"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
CODE_SIGN_STYLE
=
Manual
;
CURRENT_PROJECT_VERSION
=
5
;
CURRENT_PROJECT_VERSION
=
1
;
DEVELOPMENT_TEAM
=
""
;
"DEVELOPMENT_TEAM[sdk=iphoneos*]"
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
...
...
@@ -3010,7 +3010,7 @@
"$(inherited)"
,
"@executable_path/Frameworks"
,
);
MARKETING_VERSION
=
0.
2.1
0
;
MARKETING_VERSION
=
0.
5.
0
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.intelligence.galaxy
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
...
...
@@ -3191,7 +3191,7 @@
CODE_SIGN_IDENTITY
=
"Apple Development"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
CODE_SIGN_STYLE
=
Manual
;
CURRENT_PROJECT_VERSION
=
5
;
CURRENT_PROJECT_VERSION
=
1
;
DEVELOPMENT_TEAM
=
""
;
"DEVELOPMENT_TEAM[sdk=iphoneos*]"
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
...
...
@@ -3216,7 +3216,7 @@
"$(inherited)"
,
"@executable_path/Frameworks"
,
);
MARKETING_VERSION
=
0.
2.1
0
;
MARKETING_VERSION
=
0.
5.
0
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.intelligence.galaxy
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
...
...
@@ -3239,7 +3239,7 @@
CODE_SIGN_IDENTITY
=
"Apple Development"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
CODE_SIGN_STYLE
=
Manual
;
CURRENT_PROJECT_VERSION
=
5
;
CURRENT_PROJECT_VERSION
=
1
;
DEVELOPMENT_TEAM
=
""
;
"DEVELOPMENT_TEAM[sdk=iphoneos*]"
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
...
...
@@ -3264,7 +3264,7 @@
"$(inherited)"
,
"@executable_path/Frameworks"
,
);
MARKETING_VERSION
=
0.
2.1
0
;
MARKETING_VERSION
=
0.
5.
0
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.intelligence.galaxy
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHKEventViewController.swift
View file @
b36b941c
...
...
@@ -114,7 +114,7 @@ extension YHHKEventViewController {
extension
YHHKEventViewController
{
func
saveImageToPhotoLib
()
{
var
urlString
=
self
.
picUrl
let
urlString
=
self
.
picUrl
guard
let
url
=
URL
(
string
:
urlString
)
else
{
YHHUD
.
flash
(
message
:
"参数错误,保存失败"
)
return
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomeWebViewController.swift
View file @
b36b941c
...
...
@@ -172,6 +172,12 @@ class YHHomeWebViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
}
else
{
bottomViewForSavePic
.
isHidden
=
true
}
if
id
>
0
{
//资讯详情 不展示title
gk_navTitle
=
""
}
getData
()
}
...
...
@@ -200,11 +206,9 @@ class YHHomeWebViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
// MARK: - WKNavigationDelegate
func
webView
(
_
webView
:
WKWebView
,
didFinish
navigation
:
WKNavigation
!
)
{
if
vcTitle
==
nil
{
gk_navTitle
=
webview
.
title
}
// if vcTitle == nil {
// gk_navTitle = webview.title
// }
}
// MARK: - WKUIDelegate
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeHeadView.swift
View file @
b36b941c
...
...
@@ -8,7 +8,7 @@
import
UIKit
class
YHHomeHeadView
:
UIView
{
static
let
viewH
:
CGFloat
=
(
20
+
YHHomeBannerView
.
viewH
)
+
(
20
+
YHHkLifeAndIdView
.
viewH
)
+
(
20
+
YHHomeKingKongBlockView
.
viewH
)
+
31
+
3
1
static
let
viewH
:
CGFloat
=
(
20
+
YHHomeBannerView
.
viewH
)
+
(
20
+
YHHkLifeAndIdView
.
viewH
)
+
(
20
+
YHHomeKingKongBlockView
.
viewH
)
+
21
+
2
1
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
...
...
@@ -67,7 +67,7 @@ private extension YHHomeHeadView {
line
.
backgroundColor
=
UIColor
(
hex
:
0xF0F3F7
,
alpha
:
1.0
)
addSubview
(
line
)
line
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
homeKingKongBlock
.
snp
.
bottom
)
.
offset
(
3
1
)
make
.
top
.
equalTo
(
homeKingKongBlock
.
snp
.
bottom
)
.
offset
(
2
1
)
make
.
left
.
right
.
equalToSuperview
()
make
.
height
.
equalTo
(
1
)
}
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/VM/YHHomePageViewModel.swift
View file @
b36b941c
...
...
@@ -85,12 +85,16 @@ extension YHHomePageViewModel {
self
.
arrHomeNewsData
?
.
append
(
contentsOf
:
result
.
data
)
}
if
let
count
=
self
.
arrHomeNewsData
?
.
count
{
if
count
>=
self
.
totalCount
{
self
.
hasMoreForHomeNews
=
false
}
else
{
self
.
hasMoreForHomeNews
=
true
if
result
.
data
.
count
>=
page_Size
{
if
let
count
=
self
.
arrHomeNewsData
?
.
count
{
if
count
>=
self
.
totalCount
{
self
.
hasMoreForHomeNews
=
false
}
else
{
self
.
hasMoreForHomeNews
=
true
}
}
}
else
{
self
.
hasMoreForHomeNews
=
false
}
callBackBlock
(
true
,
nil
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/V/YHCertificateEntryCell.swift
View file @
b36b941c
...
...
@@ -60,7 +60,7 @@ extension YHCertificateEntryCell {
var
color
:
UIColor
=
.
failColor
if
dataModel
.
checkStatus
==
0
{
title
=
"审核中"
color
=
UIColor
.
labelTextColor2
color
=
UIColor
.
warnColor
}
else
if
dataModel
.
checkStatus
==
1
{
title
=
"已完成"
color
=
UIColor
.
labelTextColor2
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyScore(我的评分)/V/YHScorePersonInfoCell.swift
View file @
b36b941c
...
...
@@ -218,11 +218,9 @@ extension YHScorePersonInfoCell {
self
.
requestVM
.
getPublicImageUrl
(
url
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
success
!=
nil
else
{
return
}
// self.headImagV.kf.setImage(with: URL(string: success))
self
.
headImagV
.
kf
.
setImage
(
with
:
URL
(
string
:
success
),
placeholder
:
UIImage
(
named
:
"global_default_image"
))
}
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHServiceOrderProgressTableViewCell.swift
View file @
b36b941c
...
...
@@ -50,10 +50,10 @@ extension YHServiceOrderProgressTableViewCell {
messageLabel
.
text
=
"您还有"
+
"
\(
model
.
num
)
"
+
"份信息待填写哦~"
// 0未知 1待开始 2进行中 3 已完成
if
model
.
status
==
1
{
titleLabel
.
textColor
=
UIColor
(
hex
:
0x121a26
)
messageLabel
.
textColor
=
UIColor
(
hex
:
0x94a3b8
)
titleLabel
.
textColor
=
UIColor
(
hex
:
0x121a26
,
transparency
:
0.3
)
messageLabel
.
textColor
=
UIColor
(
hex
:
0x94a3b8
,
transparency
:
0.3
)
buttonLabel
.
text
=
"待开始"
buttonLabel
.
backgroundColor
=
UIColor
(
hex
:
0xb8babe
)
buttonLabel
.
backgroundColor
=
UIColor
(
hex
:
0xb8babe
,
transparency
:
0.3
)
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_normal"
)
// 1 证件 2 信息完善 3 我的评分 4 我的方案 5 我的签字 6我的文书
if
model
.
type
==
1
{
...
...
@@ -79,7 +79,7 @@ extension YHServiceOrderProgressTableViewCell {
titleLabel
.
text
=
"我的文书"
messageLabel
.
text
=
"您的文书还没确认哦~"
}
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
(
hex
:
0x121a26
)))
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
.
withAlphaComponent
(
0.3
)
))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
(
hex
:
0x121a26
)
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
}
...
...
galaxy/galaxy/Classes/Modules/Message(消息)/C/YHMessageDetailListVC.swift
View file @
b36b941c
...
...
@@ -119,10 +119,8 @@ class YHMessageDetailListVC: YHBaseViewController {
}
func
getMsgList
()
{
YHHUD
.
show
(
.
progress
(
message
:
"加载中..."
))
self
.
viewModel
.
getMsgDetailList
(
type
:
self
.
type
)
{
[
weak
self
]
success
,
error
in
YHHUD
.
hide
()
guard
let
self
=
self
else
{
return
}
msgArr
.
removeAll
()
msgArr
.
append
(
contentsOf
:
self
.
viewModel
.
msgDetailList
)
...
...
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