Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
web.yazhai.co
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
872be8a5
authored
4 years ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
0715f703
master
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
mimiRecharge/index.html
mimiRecharge/index.html
View file @
872be8a5
...
@@ -244,13 +244,13 @@ try{
...
@@ -244,13 +244,13 @@ try{
$
(
".taobao-Pay"
).
on
(
"click"
,
function
()
{
$
(
".taobao-Pay"
).
on
(
"click"
,
function
()
{
var
ua
=
navigator
.
userAgent
.
toLowerCase
();
var
ua
=
navigator
.
userAgent
.
toLowerCase
();
if
(
/android/
.
test
(
ua
))
{
if
(
/android/
.
test
(
ua
))
{
window
.
location
.
href
=
"taobao://
https://
shop405864110.taobao.com/?spm=2013.1.0.0.9cfc97022UcWTe"
window
.
location
.
href
=
"taobao://shop405864110.taobao.com/?spm=2013.1.0.0.9cfc97022UcWTe"
}
else
if
(
/iphone|ipad|ipod/
.
test
(
ua
))
{
}
else
if
(
/iphone|ipad|ipod/
.
test
(
ua
))
{
var
obj2
=
{
var
obj2
=
{
"cid"
:
5
,
"cid"
:
5
,
"reqCode"
:
new
Date
().
getTime
(),
"reqCode"
:
new
Date
().
getTime
(),
"data"
:
{
"data"
:
{
"url"
:
"taobao://
https://
shop405864110.taobao.com/?spm=2013.1.0.0.9cfc97022UcWTe"
,
"url"
:
"taobao://shop405864110.taobao.com/?spm=2013.1.0.0.9cfc97022UcWTe"
,
}
}
}
}
var
obj
=
JSON
.
stringify
(
obj2
);
var
obj
=
JSON
.
stringify
(
obj2
);
...
...
This diff is collapsed.
Click to expand it.
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