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
549726b3
Commit
549726b3
authored
Nov 16, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
a0501208
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
app_jump.js
public/app/js/app_jump.js
+4
-1
No files found.
public/app/js/app_jump.js
View file @
549726b3
...
@@ -87,7 +87,9 @@ function jumpEvent(){
...
@@ -87,7 +87,9 @@ function jumpEvent(){
var
params
=
"?"
+
window
.
location
.
href
.
split
(
'?'
)[
1
]
var
params
=
"?"
+
window
.
location
.
href
.
split
(
'?'
)[
1
]
$
(
'#jump_link'
).
click
(
function
(
e
){
$
(
'#jump_link'
).
click
(
function
(
e
){
if
(
JSON
.
parse
(
$
(
'#open_id'
).
val
()).
is_user
==
'true'
){
console
.
log
(
JSON
.
parse
(
$
(
'#open_id'
).
val
()).
is_user
)
if
(
JSON
.
parse
(
$
(
'#open_id'
).
val
()).
is_user
){
console
.
log
(
"true console"
)
if
(
device
.
isIos
())
{
if
(
device
.
isIos
())
{
console
.
log
(
navigator
.
userAgent
.
toLowerCase
().
match
(
/MicroMessenger/i
)
!=
'micromessenger'
)
console
.
log
(
navigator
.
userAgent
.
toLowerCase
().
match
(
/MicroMessenger/i
)
!=
'micromessenger'
)
if
(
navigator
.
userAgent
.
toLowerCase
().
match
(
/MicroMessenger/i
)
!=
'micromessenger'
)
{
if
(
navigator
.
userAgent
.
toLowerCase
().
match
(
/MicroMessenger/i
)
!=
'micromessenger'
)
{
...
@@ -112,6 +114,7 @@ function jumpEvent(){
...
@@ -112,6 +114,7 @@ function jumpEvent(){
}
else
{
}
else
{
};
};
}
else
{
}
else
{
console
.
log
(
"false console"
)
var
user_id
=
JSON
.
parse
(
$
(
'#open_id'
).
val
()).
user_id
;
//从url获取的商铺id
var
user_id
=
JSON
.
parse
(
$
(
'#open_id'
).
val
()).
user_id
;
//从url获取的商铺id
var
referrer
=
_clientType
===
'b'
?
20
:
10
;
var
referrer
=
_clientType
===
'b'
?
20
:
10
;
var
union_id
=
JSON
.
parse
(
$
(
'#open_id'
).
val
()).
wx_union_id
;
var
union_id
=
JSON
.
parse
(
$
(
'#open_id'
).
val
()).
wx_union_id
;
...
...
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