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
32b83258
Commit
32b83258
authored
Sep 11, 2024
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、首页初次登录订单相关的信息显示错误2、银河管家未读消息bug强杀消失bug修复 3、订单时间显示bug修复
parent
40ed6135
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
37 additions
and
58 deletions
+37
-58
YHButlerServiceManager.swift
...s/ButlerServiceManager(银河管家)/YHButlerServiceManager.swift
+5
-19
YHHomePageViewController.swift
...Classes/Modules/Home(首页)/C/YHHomePageViewController.swift
+7
-8
YHGalaxyManagerTipsItemView.swift
...sses/Modules/Home(首页)/V/YHGalaxyManagerTipsItemView.swift
+8
-9
YHHomeHeadView.swift
...xy/galaxy/Classes/Modules/Home(首页)/V/YHHomeHeadView.swift
+3
-3
YHOrderTipsItemView.swift
...laxy/Classes/Modules/Home(首页)/V/YHOrderTipsItemView.swift
+12
-14
YHOrderTipsView.swift
...y/galaxy/Classes/Modules/Home(首页)/V/YHOrderTipsView.swift
+2
-1
YhConstant.swift
galaxy/galaxy/Classes/Tools/Helper/YhConstant.swift
+0
-4
No files found.
galaxy/galaxy/Classes/Modules/ButlerServiceManager(银河管家)/YHButlerServiceManager.swift
View file @
32b83258
...
@@ -18,14 +18,12 @@ class YHButlerServiceManager: NSObject {
...
@@ -18,14 +18,12 @@ class YHButlerServiceManager: NSObject {
// 调整UI
// 调整UI
private
weak
var
customUIConfig
=
QYSDK
.
shared
()
.
customUIConfig
()
private
weak
var
customUIConfig
=
QYSDK
.
shared
()
.
customUIConfig
()
// 增加事件
private
weak
var
customActionConfig
=
QYSDK
.
shared
()
.
customActionConfig
()
private
lazy
var
getUserInfoViewModel
:
YHButlerServiceViewModel
=
YHButlerServiceViewModel
()
private
lazy
var
getUserInfoViewModel
:
YHButlerServiceViewModel
=
YHButlerServiceViewModel
()
var
lastMessage
:
YHButlerServiceMessage
?
var
lastMessage
:
YHButlerServiceMessage
?
var
unreadCount
:
Int
=
0
var
unreadCount
:
Int
{
allUnreadCount
()
}
private
override
init
()
{
private
override
init
()
{
super
.
init
()
super
.
init
()
...
@@ -44,8 +42,6 @@ class YHButlerServiceManager: NSObject {
...
@@ -44,8 +42,6 @@ class YHButlerServiceManager: NSObject {
let
qyOption
=
QYSDKOption
(
appKey
:
YhConstant
.
QiYuSDK
.
appKey
)
let
qyOption
=
QYSDKOption
(
appKey
:
YhConstant
.
QiYuSDK
.
appKey
)
qyOption
.
appName
=
YhConstant
.
QiYuSDK
.
appName
qyOption
.
appName
=
YhConstant
.
QiYuSDK
.
appName
QYSDK
.
shared
()
.
register
(
with
:
qyOption
)
QYSDK
.
shared
()
.
register
(
with
:
qyOption
)
//setupCustomAction()
/*
/*
QYSDK.shared().registerPushMessageNotification { pushMessage in
QYSDK.shared().registerPushMessageNotification { pushMessage in
os_log("#####registerPushMessageNotification %@ %ld %f", (pushMessage?.text ?? ""), (pushMessage?.type.rawValue ?? 0), (pushMessage?.time ?? 0))
os_log("#####registerPushMessageNotification %@ %ld %f", (pushMessage?.text ?? ""), (pushMessage?.type.rawValue ?? 0), (pushMessage?.time ?? 0))
...
@@ -136,7 +132,6 @@ extension YHButlerServiceManager {
...
@@ -136,7 +132,6 @@ extension YHButlerServiceManager {
return
return
}
}
initSDKAccountAndLastMessage
()
initSDKAccountAndLastMessage
()
NotificationCenter
.
default
.
post
(
name
:
YhConstant
.
YhNotification
.
didQiYuAccountUpdateNotification
,
object
:
nil
)
}
}
@objc
private
func
logoutSuccess
()
{
@objc
private
func
logoutSuccess
()
{
...
@@ -149,7 +144,6 @@ extension YHButlerServiceManager {
...
@@ -149,7 +144,6 @@ extension YHButlerServiceManager {
}
}
*/
*/
logoutCurrentUser
{
_
in
logoutCurrentUser
{
_
in
NotificationCenter
.
default
.
post
(
name
:
YhConstant
.
YhNotification
.
didQiYuAccountUpdateNotification
,
object
:
nil
)
}
}
}
}
...
@@ -207,14 +201,6 @@ extension YHButlerServiceManager {
...
@@ -207,14 +201,6 @@ extension YHButlerServiceManager {
completion
(
flag
)
completion
(
flag
)
}
}
}
}
private
func
setupCustomAction
()
{
customActionConfig
?
.
linkClickBlock
=
{
linkAddress
in
//
return
QYLinkClickActionPolicy
.
open
}
}
}
}
extension
YHButlerServiceManager
{
extension
YHButlerServiceManager
{
...
@@ -240,7 +226,7 @@ extension YHButlerServiceManager {
...
@@ -240,7 +226,7 @@ extension YHButlerServiceManager {
// 清空已读消息后刷新最新消息状态
// 清空已读消息后刷新最新消息状态
lastMessage
=
getLastMessage
()
lastMessage
=
getLastMessage
()
printLog
(
"$$$$clearUnreadCount"
)
printLog
(
"$$$$clearUnreadCount"
)
unreadCount
=
0
//
unreadCount = 0
NotificationCenter
.
default
.
post
(
name
:
YhConstant
.
YhNotification
.
didQiYuUnReadMsgCountChangeNotification
,
object
:
nil
)
NotificationCenter
.
default
.
post
(
name
:
YhConstant
.
YhNotification
.
didQiYuUnReadMsgCountChangeNotification
,
object
:
nil
)
}
}
...
@@ -267,7 +253,7 @@ extension YHButlerServiceManager: QYConversationManagerDelegate {
...
@@ -267,7 +253,7 @@ extension YHButlerServiceManager: QYConversationManagerDelegate {
/// 会话未读数变化(进聊天页面会刷新)
/// 会话未读数变化(进聊天页面会刷新)
func
onUnreadCountChanged
(
_
count
:
Int
)
{
func
onUnreadCountChanged
(
_
count
:
Int
)
{
printLog
(
"$$$$onUnreadCountChanged
\(
count
)
"
)
printLog
(
"$$$$onUnreadCountChanged
\(
count
)
"
)
unreadCount
=
count
//
unreadCount = count
NotificationCenter
.
default
.
post
(
name
:
YhConstant
.
YhNotification
.
didQiYuUnReadMsgCountChangeNotification
,
object
:
nil
)
NotificationCenter
.
default
.
post
(
name
:
YhConstant
.
YhNotification
.
didQiYuUnReadMsgCountChangeNotification
,
object
:
nil
)
}
}
}
}
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomePageViewController.swift
View file @
32b83258
...
@@ -104,7 +104,7 @@ class YHHomePageViewController: YHBaseViewController {
...
@@ -104,7 +104,7 @@ class YHHomePageViewController: YHBaseViewController {
private
extension
YHHomePageViewController
{
private
extension
YHHomePageViewController
{
func
updateMgrItem
()
{
func
updateMgrItem
()
{
// 页面已经加载了
// 页面已经加载了
guard
view
.
window
!=
nil
,
isViewLoaded
,
homeHeaderView
.
superview
!=
nil
else
{
guard
isViewLoaded
,
homeHeaderView
.
superview
!=
nil
else
{
return
return
}
}
guard
YHButlerServiceManager
.
shared
.
isUatAllowed
(),
YHLoginManager
.
shared
.
isLogin
()
else
{
guard
YHButlerServiceManager
.
shared
.
isUatAllowed
(),
YHLoginManager
.
shared
.
isLogin
()
else
{
...
@@ -310,7 +310,7 @@ private extension YHHomePageViewController {
...
@@ -310,7 +310,7 @@ private extension YHHomePageViewController {
}
}
}
}
@objc
func
needUpdateYinheManager
()
{
func
needUpdateYinheManager
()
{
if
!
isTopMostAndVisible
{
if
!
isTopMostAndVisible
{
// 需要回到页面再刷新已读,因为不在当前页
// 需要回到页面再刷新已读,因为不在当前页
self
.
needUpdateMgrItem
=
true
self
.
needUpdateMgrItem
=
true
...
@@ -323,7 +323,7 @@ private extension YHHomePageViewController {
...
@@ -323,7 +323,7 @@ private extension YHHomePageViewController {
needUpdateYinheManager
()
needUpdateYinheManager
()
}
}
@objc
func
didRevUatParam
()
{
@objc
private
func
didRevUatParam
()
{
guard
serviceCenterMainReqVM
.
arrContactList
.
count
>
0
else
{
guard
serviceCenterMainReqVM
.
arrContactList
.
count
>
0
else
{
return
return
}
}
...
@@ -335,8 +335,6 @@ private extension YHHomePageViewController {
...
@@ -335,8 +335,6 @@ private extension YHHomePageViewController {
// NotificationCenter.default.addObserver(self, selector: #selector(didQiYuReceiveNewMsg), name: YhConstant.YhNotification.didQiYuReceiveNewMsgNotification, object: nil)
// NotificationCenter.default.addObserver(self, selector: #selector(didQiYuReceiveNewMsg), name: YhConstant.YhNotification.didQiYuReceiveNewMsgNotification, object: nil)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
didQiYuReceiveNewMsg
)
,
name
:
YhConstant
.
YhNotification
.
didQiYuUnReadMsgCountChangeNotification
,
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
didQiYuReceiveNewMsg
)
,
name
:
YhConstant
.
YhNotification
.
didQiYuUnReadMsgCountChangeNotification
,
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
didRevUatParam
)
,
name
:
YhConstant
.
YhNotification
.
didRevUatParam
,
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
didRevUatParam
)
,
name
:
YhConstant
.
YhNotification
.
didRevUatParam
,
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
needUpdateYinheManager
)
,
name
:
YhConstant
.
YhNotification
.
didQiYuAccountUpdateNotification
,
object
:
nil
)
}
}
}
}
...
@@ -377,8 +375,6 @@ extension YHHomePageViewController {
...
@@ -377,8 +375,6 @@ extension YHHomePageViewController {
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
let
isShow
=
self
.
serviceCenterMainReqVM
.
arrContactList
.
count
>
0
let
isShow
=
self
.
serviceCenterMainReqVM
.
arrContactList
.
count
>
0
if
isShow
{
if
isShow
{
self
.
updateMgrItem
()
self
.
viewModel
.
getBasicInfoForSigner
{
success
,
error
in
self
.
viewModel
.
getBasicInfoForSigner
{
success
,
error
in
if
success
{
if
success
{
self
.
homeHeaderView
.
orderTipsView
.
dataModelForBasicInfo
=
self
.
viewModel
.
signerModel
self
.
homeHeaderView
.
orderTipsView
.
dataModelForBasicInfo
=
self
.
viewModel
.
signerModel
...
@@ -387,13 +383,16 @@ extension YHHomePageViewController {
...
@@ -387,13 +383,16 @@ extension YHHomePageViewController {
}
}
self
.
viewModel
.
getLastTwoMessagesForSigner
{
success
,
error
in
self
.
viewModel
.
getLastTwoMessagesForSigner
{
success
,
error
in
self
.
showOrderTipsView
(
isShow
)
if
success
{
if
success
{
self
.
homeHeaderView
.
orderTipsView
.
arrLastTwoMessage
=
self
.
viewModel
.
arrLastTwoMessages
self
.
homeHeaderView
.
orderTipsView
.
arrLastTwoMessage
=
self
.
viewModel
.
arrLastTwoMessages
self
.
updateMgrItem
()
self
.
homeHeaderView
.
updateSubViewsConstraints
()
self
.
homeHeaderView
.
updateSubViewsConstraints
()
}
else
{
}
else
{
self
.
updateMgrItem
()
self
.
homeHeaderView
.
updateSubViewsConstraints
()
}
}
self
.
showOrderTipsView
(
isShow
)
}
}
}
}
}
else
{
}
else
{
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHGalaxyManagerTipsItemView.swift
View file @
32b83258
...
@@ -96,16 +96,21 @@ extension YHGalaxyManagerTipsItemView {
...
@@ -96,16 +96,21 @@ extension YHGalaxyManagerTipsItemView {
layer
.
borderColor
=
UIColor
.
white
.
cgColor
layer
.
borderColor
=
UIColor
.
white
.
cgColor
addSubview
(
lableGalaxyMgr
)
addSubview
(
lableGalaxyMgr
)
addSubview
(
segmentationView
)
addSubview
(
rightIconImageV
)
addSubview
(
dotView
)
addSubview
(
lableMessage
)
lableGalaxyMgr
.
setContentCompressionResistancePriority
(
.
required
,
for
:
.
horizontal
)
lableGalaxyMgr
.
setContentCompressionResistancePriority
(
.
required
,
for
:
.
horizontal
)
lableGalaxyMgr
.
setContentCompressionResistancePriority
(
.
required
,
for
:
.
horizontal
)
rightIconImageV
.
setContentCompressionResistancePriority
(
.
required
,
for
:
.
horizontal
)
dotView
.
setContentCompressionResistancePriority
(
.
required
,
for
:
.
horizontal
)
lableMessage
.
setContentCompressionResistancePriority
(
.
defaultLow
,
for
:
.
horizontal
)
lableGalaxyMgr
.
snp
.
makeConstraints
{
make
in
lableGalaxyMgr
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalToSuperview
()
make
.
centerY
.
equalToSuperview
()
make
.
left
.
equalTo
(
12
)
make
.
left
.
equalTo
(
12
)
make
.
height
.
equalTo
(
18
)
make
.
height
.
equalTo
(
18
)
make
.
width
.
equalTo
(
60
)
}
}
addSubview
(
segmentationView
)
lableGalaxyMgr
.
setContentCompressionResistancePriority
(
.
required
,
for
:
.
horizontal
)
segmentationView
.
snp
.
makeConstraints
{
make
in
segmentationView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
lableGalaxyMgr
.
snp
.
right
)
.
offset
(
8
)
make
.
left
.
equalTo
(
lableGalaxyMgr
.
snp
.
right
)
.
offset
(
8
)
make
.
height
.
equalTo
(
10
)
make
.
height
.
equalTo
(
10
)
...
@@ -113,24 +118,18 @@ extension YHGalaxyManagerTipsItemView {
...
@@ -113,24 +118,18 @@ extension YHGalaxyManagerTipsItemView {
make
.
centerY
.
equalToSuperview
()
make
.
centerY
.
equalToSuperview
()
}
}
addSubview
(
rightIconImageV
)
rightIconImageV
.
setContentCompressionResistancePriority
(
.
required
,
for
:
.
horizontal
)
rightIconImageV
.
snp
.
makeConstraints
{
make
in
rightIconImageV
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalTo
(
-
12
)
make
.
right
.
equalTo
(
-
12
)
make
.
centerY
.
equalToSuperview
()
make
.
centerY
.
equalToSuperview
()
make
.
width
.
height
.
equalTo
(
12
)
make
.
width
.
height
.
equalTo
(
12
)
}
}
addSubview
(
dotView
)
dotView
.
setContentCompressionResistancePriority
(
.
required
,
for
:
.
horizontal
)
dotView
.
snp
.
makeConstraints
{
make
in
dotView
.
snp
.
makeConstraints
{
make
in
make
.
width
.
height
.
equalTo
(
dotWidth
)
make
.
width
.
height
.
equalTo
(
dotWidth
)
make
.
right
.
equalTo
(
rightIconImageV
.
snp
.
left
)
.
offset
(
-
12
)
make
.
right
.
equalTo
(
rightIconImageV
.
snp
.
left
)
.
offset
(
-
12
)
make
.
centerY
.
equalToSuperview
()
make
.
centerY
.
equalToSuperview
()
}
}
addSubview
(
lableMessage
)
lableMessage
.
setContentCompressionResistancePriority
(
.
defaultLow
,
for
:
.
horizontal
)
lableMessage
.
snp
.
makeConstraints
{
make
in
lableMessage
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
segmentationView
.
snp
.
right
)
.
offset
(
8
)
make
.
left
.
equalTo
(
segmentationView
.
snp
.
right
)
.
offset
(
8
)
make
.
height
.
equalTo
(
18
)
make
.
height
.
equalTo
(
18
)
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeHeadView.swift
View file @
32b83258
...
@@ -127,7 +127,7 @@ class YHHomeHeadView: UIView {
...
@@ -127,7 +127,7 @@ class YHHomeHeadView: UIView {
}
}
orderTipsView
.
snp
.
removeConstraints
()
//
orderTipsView.snp.removeConstraints()
if
self
.
orderTipsView
.
isHidden
{
if
self
.
orderTipsView
.
isHidden
{
orderTipsView
.
isHidden
=
true
orderTipsView
.
isHidden
=
true
evaluationView
.
isHidden
=
false
evaluationView
.
isHidden
=
false
...
@@ -205,8 +205,8 @@ private extension YHHomeHeadView {
...
@@ -205,8 +205,8 @@ private extension YHHomeHeadView {
orderTipsView
.
snp
.
makeConstraints
{
make
in
orderTipsView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
bannerLineTop
.
snp
.
bottom
)
.
offset
(
20
)
make
.
top
.
equalTo
(
bannerLineTop
.
snp
.
bottom
)
.
offset
(
20
)
make
.
left
.
right
.
equalToSuperview
()
make
.
left
.
right
.
equalToSuperview
()
make
.
height
.
equalTo
(
226
)
//
make.height.equalTo(226)
//
make.height.equalTo(orderTipsView.tipViewH)
make
.
height
.
equalTo
(
orderTipsView
.
tipViewH
)
}
}
//测评界面
//测评界面
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHOrderTipsItemView.swift
View file @
32b83258
...
@@ -183,14 +183,22 @@ extension YHOrderTipsItemView {
...
@@ -183,14 +183,22 @@ extension YHOrderTipsItemView {
addSubview
(
lableMyOrder
)
addSubview
(
lableMyOrder
)
addSubview
(
segmentationView
)
addSubview
(
rightIconImageV
)
addSubview
(
lableTime
)
addSubview
(
lableName
)
lableMyOrder
.
setContentCompressionResistancePriority
(
.
required
,
for
:
.
horizontal
)
segmentationView
.
setContentCompressionResistancePriority
(
.
required
,
for
:
.
horizontal
)
rightIconImageV
.
setContentCompressionResistancePriority
(
.
required
,
for
:
.
horizontal
)
lableTime
.
setContentCompressionResistancePriority
(
.
defaultHigh
,
for
:
.
horizontal
)
lableName
.
setContentCompressionResistancePriority
(
.
defaultLow
,
for
:
.
horizontal
)
lableMyOrder
.
snp
.
makeConstraints
{
make
in
lableMyOrder
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalToSuperview
()
make
.
centerY
.
equalToSuperview
()
make
.
left
.
equalTo
(
12
)
make
.
left
.
equalTo
(
12
)
make
.
height
.
equalTo
(
18
)
make
.
height
.
equalTo
(
18
)
make
.
width
.
equalTo
(
60
)
}
}
addSubview
(
segmentationView
)
segmentationView
.
snp
.
makeConstraints
{
make
in
segmentationView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
lableMyOrder
.
snp
.
right
)
.
offset
(
8
)
make
.
left
.
equalTo
(
lableMyOrder
.
snp
.
right
)
.
offset
(
8
)
make
.
height
.
equalTo
(
10
)
make
.
height
.
equalTo
(
10
)
...
@@ -198,33 +206,23 @@ extension YHOrderTipsItemView {
...
@@ -198,33 +206,23 @@ extension YHOrderTipsItemView {
make
.
centerY
.
equalToSuperview
()
make
.
centerY
.
equalToSuperview
()
}
}
addSubview
(
rightIconImageV
)
rightIconImageV
.
snp
.
makeConstraints
{
make
in
rightIconImageV
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalTo
(
-
12
)
make
.
right
.
equalTo
(
-
12
)
make
.
centerY
.
equalToSuperview
()
make
.
centerY
.
equalToSuperview
()
make
.
width
.
height
.
equalTo
(
12
)
make
.
width
.
height
.
equalTo
(
12
)
}
}
addSubview
(
lableTime
)
lableTime
.
snp
.
makeConstraints
{
make
in
lableTime
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalTo
(
rightIconImageV
.
snp
.
left
)
make
.
right
.
equalTo
(
rightIconImageV
.
snp
.
left
)
.
offset
(
-
2
)
make
.
centerY
.
equalTo
(
rightIconImageV
)
make
.
centerY
.
equalTo
(
rightIconImageV
)
make
.
height
.
equalTo
(
18
)
make
.
height
.
equalTo
(
18
)
make
.
width
.
lessThanOrEqualTo
(
60
)
}
}
addSubview
(
lableName
)
lableName
.
snp
.
makeConstraints
{
make
in
lableName
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
segmentationView
.
snp
.
right
)
.
offset
(
8
)
make
.
left
.
equalTo
(
segmentationView
.
snp
.
right
)
.
offset
(
8
)
make
.
height
.
equalTo
(
18
)
make
.
height
.
equalTo
(
18
)
make
.
centerY
.
equalToSuperview
()
make
.
centerY
.
equalToSuperview
()
make
.
right
.
e
qualTo
(
lableTime
.
snp
.
left
)
.
offset
(
-
12
)
make
.
right
.
lessThanOrE
qualTo
(
lableTime
.
snp
.
left
)
.
offset
(
-
12
)
}
}
// let aa: ASAttributedString = .init("您有", .font(UIFont.PFSC_R(ofSize: 13)),.foreground(UIColor.mainTextColor70))
// let aa: ASAttributedString = .init("您有", .font(UIFont.PFSC_R(ofSize: 13)),.foreground(UIColor.mainTextColor70))
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHOrderTipsView.swift
View file @
32b83258
...
@@ -194,6 +194,7 @@ private extension YHOrderTipsView {
...
@@ -194,6 +194,7 @@ private extension YHOrderTipsView {
orderTipsViewStyle
=
.
none
orderTipsViewStyle
=
.
none
}
}
layoutIfNeeded
()
layoutIfNeeded
()
setNeedsLayout
()
}
}
private
func
updateItemsStyle
()
{
private
func
updateItemsStyle
()
{
...
@@ -273,7 +274,7 @@ private extension YHOrderTipsView {
...
@@ -273,7 +274,7 @@ private extension YHOrderTipsView {
lableTip
.
snp
.
makeConstraints
{
make
in
lableTip
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
.
offset
(
21
)
make
.
top
.
equalToSuperview
()
.
offset
(
21
)
make
.
left
.
equalTo
(
iconImageV
.
snp
.
right
)
.
offset
(
12
)
make
.
left
.
equalTo
(
iconImageV
.
snp
.
right
)
.
offset
(
12
)
make
.
right
.
lessThanOrEqualToSuperview
()
.
offset
(
12
)
make
.
right
.
lessThanOrEqualToSuperview
()
.
offset
(
-
12
)
}
}
addSubview
(
lableDays
)
addSubview
(
lableDays
)
...
...
galaxy/galaxy/Classes/Tools/Helper/YhConstant.swift
View file @
32b83258
...
@@ -292,10 +292,6 @@ extension YhConstant {
...
@@ -292,10 +292,6 @@ extension YhConstant {
// 七鱼未读消息数量变化
// 七鱼未读消息数量变化
public
static
let
didQiYuUnReadMsgCountChangeNotification
=
Notification
.
Name
(
rawValue
:
"com.yinhe.qiyu.unReadMsgCountChange"
)
public
static
let
didQiYuUnReadMsgCountChangeNotification
=
Notification
.
Name
(
rawValue
:
"com.yinhe.qiyu.unReadMsgCountChange"
)
// 七鱼登录登出
public
static
let
didQiYuAccountUpdateNotification
=
Notification
.
Name
(
rawValue
:
"com.yinhe.qiyu.accountUpdate"
)
//获取灰度参数
//获取灰度参数
public
static
let
didRevUatParam
=
Notification
.
Name
(
rawValue
:
"com.yinhe.didRevUatParam"
)
public
static
let
didRevUatParam
=
Notification
.
Name
(
rawValue
:
"com.yinhe.didRevUatParam"
)
...
...
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