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
1c95bd74
Commit
1c95bd74
authored
Jul 23, 2024
by
DavidHuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除 不使用的代码
parent
a7735b54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
15 deletions
+8
-15
YHStatusAdvantageVC.swift
...laxy/Classes/Modules/Home(首页)/C/YHStatusAdvantageVC.swift
+8
-15
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHStatusAdvantageVC.swift
View file @
1c95bd74
...
...
@@ -168,23 +168,16 @@ private extension YHStatusAdvantageVC {
loadQrInfo
()
}
func
addRightItems
()
{
let
rightButtonItem
=
UIBarButtonItem
(
image
:
UIImage
(
named
:
"share_item"
)?
.
withRenderingMode
(
.
alwaysOriginal
),
style
:
.
plain
,
target
:
self
,
action
:
#selector(
share
)
)
gk_navRightBarButtonItem
=
rightButtonItem
gk_navItemRightSpace
=
16
}
//
func addRightItems() {
//
let rightButtonItem = UIBarButtonItem(image: UIImage(named: "share_item")?.withRenderingMode(.alwaysOriginal), style: .plain, target: self, action: #selector(share))
//
gk_navRightBarButtonItem = rightButtonItem
//
gk_navItemRightSpace = 16
//
}
@objc
func
share
()
{
if
!
YHNetworkStatusManager
.
shared
.
isNetWorkOK
{
YHHUD
.
flash
(
message
:
"网络不可用,请检查网络设置"
)
return
}
// TODO: - for test hjl 需要进一步完善
YHShareManager
.
shared
.
shareToMiniProgram
(
path
:
"/pages/abc/d/param=https://www.baidu.com/"
,
shareTitle
:
"请查看"
)
}
// @objc func share() {
// YHShareManager.shared.shareToMiniProgram(path: "/pages/abc/d/param=https://www.baidu.com/", shareTitle: "请查看")
// }
@objc
func
updateNetWorkUI
()
{
updateNetWorkStatusUI
(
needReload
:
true
)
...
...
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