Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
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
hujun
tl_estate
Commits
2275376d
Commit
2275376d
authored
Nov 14, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new
parent
3dc5cdb8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
app_jump.js
public/app/js/app_jump.js
+4
-10
No files found.
public/app/js/app_jump.js
View file @
2275376d
...
...
@@ -77,23 +77,20 @@ function readUrlIos(isFutang, fn){
function
jumpEvent
(){
var
_clientType
=
getUrlParam
(
'client'
);
var
id
=
getUrlParam
(
'id'
);
var
_ft
=
getUrlParam
(
'ft'
);
if
(
_ft
==
'1'
){
/*
if(_ft == '1'){
$('.fix_area_top>img:nth-of-type(2)').attr('src','images/pbl_logo_ft.png');
$('.fix_area_top>p>span:nth-of-type(2)').html('请下载福堂中国APP');
$('#jump_link>img').attr('src','images/pbl_dakai_ft.png');
}
}
*/
var
params
=
"?"
+
window
.
location
.
href
.
split
(
'?'
)[
1
]
$
(
'#jump_link'
).
click
(
function
(
e
){
if
(
$
(
'#jump_link'
).
attr
(
"data-phone"
)
==
'true'
?
true
:
false
){
if
(
device
.
isIos
())
{
if
(
navigator
.
userAgent
.
toLowerCase
().
match
(
/MicroMessenger/i
)
!=
'micromessenger'
)
{
/*readUrlIos(_ft, function(_url){
window.location.href = _url;
});*/
window
.
location
.
href
=
'tlscheme://tlhost/tongtonglian/open'
+
params
;
window
.
location
.
href
=
'externalCallTLC://ToTLC/openShopDetail'
+
"?"
+
id
;
window
.
setTimeout
(
function
(){
location
.
href
=
ServerHostTempC
+
_clientType
===
'b'
?
'/app_broker/download_b'
:
'/app.php/app/download_c'
},
10000
);
...
...
@@ -102,9 +99,6 @@ function jumpEvent(){
}
}
else
if
(
device
.
isAndroid
()){
if
(
navigator
.
userAgent
.
toLowerCase
().
match
(
/MicroMessenger/i
)
!=
'micromessenger'
)
{
/*readUrlAndroid(_ft, function(_url){
window.location.href = _url;
});*/
window
.
location
.
href
=
'tlscheme://tlhost/tongtonglian/open'
+
params
;
window
.
setTimeout
(
function
(){
location
.
href
=
ServerHostTempC
+
_clientType
===
'b'
?
'/app_broker/download_b'
:
'/app.php/app/download_c'
...
...
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