Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VirtualCard-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
APP
VirtualCard-iOS
Commits
ce5421e3
Commit
ce5421e3
authored
May 19, 2020
by
guanghui.shi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除通知活动部分的JS跳转兼容
parent
69f939e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
30 deletions
+2
-30
QGEditListBaseVC.m
...erCenter/Function/UserCenterMessage/VC/QGEditListBaseVC.m
+2
-30
No files found.
VirtualPayment/VirtualPayment/QGClasses/UserCenter/Function/UserCenterMessage/VC/QGEditListBaseVC.m
View file @
ce5421e3
...
@@ -285,7 +285,7 @@
...
@@ -285,7 +285,7 @@
if
([
DeviceAdaptation
canClick
])
{
if
([
DeviceAdaptation
canClick
])
{
if
(
model
.
nav_url
&&
model
.
nav_url
.
length
>
0
)
{
if
(
model
.
nav_url
&&
model
.
nav_url
.
length
>
0
)
{
NSString
*
urlStr
=
model
.
nav_url
;
NSString
*
urlStr
=
model
.
nav_url
;
[
self
openURLWithUrlString
:
urlStr
];
[
QGApplicationOpenURL
handleAllSupportUrl
:
urlStr
];
}
else
{
}
else
{
NSMutableDictionary
*
mdict
=
[
NSMutableDictionary
dictionaryWithCapacity
:
1
];
NSMutableDictionary
*
mdict
=
[
NSMutableDictionary
dictionaryWithCapacity
:
1
];
[
mdict
setValue
:
model
forKey
:
@"msgListModel"
];
[
mdict
setValue
:
model
forKey
:
@"msgListModel"
];
...
@@ -297,7 +297,7 @@
...
@@ -297,7 +297,7 @@
}
else
{
}
else
{
if
(
!
model
.
navExpire
||
!
[
model
.
navExpire
boolValue
])
{
if
(
!
model
.
navExpire
||
!
[
model
.
navExpire
boolValue
])
{
NSString
*
urlStr
=
model
.
nav_url
;
NSString
*
urlStr
=
model
.
nav_url
;
[
self
openURLWithUrlString
:
urlStr
];
[
QGApplicationOpenURL
handleAllSupportUrl
:
urlStr
];
}
}
}
}
}
}
...
@@ -310,34 +310,6 @@
...
@@ -310,34 +310,6 @@
}
}
}
}
/// 处理跳转逻辑,如果是http处理callbackBlock,如果不是,任意跳转
/// @param urlString NSString
-
(
void
)
openURLWithUrlString
:(
NSString
*
)
urlString
{
NSString
*
urlStr
=
urlString
;
NSURL
*
url
=
[
NSURL
URLWithString
:
urlStr
];
//如果直接转失败,则编码一下 再转
if
(
!
url
)
{
urlStr
=
[
urlStr
stringByAddingPercentEscapesUsingEncoding
:
NSUTF8StringEncoding
];
url
=
[
NSURL
URLWithString
:
urlStr
];
}
XYQBJumpType
jumpType
=
[[
QGApplicationOpenURL
shareInstance
]
autoParseURL
:
url
];
/// 针对webView特别处理
if
(
jumpType
==
XYQBJumpTypeHttp
)
{
CWWebViewController
*
webVC
=
[[
CWWebViewController
alloc
]
init
];
webVC
.
urlString
=
urlStr
;
webVC
.
callBackBlock
=
^
(
NSString
*
tag
,
NSDictionary
*
params
)
{
if
([
tag
isEqualToString
:
WebView_ReopenBrowserWithNewUrl
])
{
[
QGApplicationOpenURL
handleAllSupportUrl
:
params
[
@"urlString"
]];
}
};
[
self
.
navigationController
pushViewController
:
webVC
animated
:
YES
];
}
else
{
[
QGApplicationOpenURL
handleAllSupportUrl
:
urlString
];
}
}
-
(
void
)
allDataSelected
{
-
(
void
)
allDataSelected
{
BOOL
selected
=
NO
;
BOOL
selected
=
NO
;
if
([
self
.
dataSource
count
]
!=
self
.
selectedData
.
count
)
{
if
([
self
.
dataSource
count
]
!=
self
.
selectedData
.
count
)
{
...
...
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