Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
footsen
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
6bfa7ce1
authored
4 years ago
by
liubai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
footseen 安卓下载方式修改
parent
80b45e1e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
38 deletions
index.html
index.html
View file @
6bfa7ce1
...
...
@@ -148,49 +148,45 @@ ga('clientTracker.send', 'pageview');
eventAction
:
'click'
,
eventLabel
:
'andorid'
});
// if(location.pathname == '/'){
// var data = {'icid':'ftsgp'};
// layer.open({
// type: 1,
// title: false,
// shadeClose: true,
// area: ["7.2rem", "6.98rem"],
// content: $(".layer-box"),
// })
// $(".googleDown").on("click", function () {
// copyText('footseen#ftsgp');
// new OpenInstall({
// appKey: "dzxj4c",
// preferWakeup: true,
// mask: function () {
// return '
<
div
id
=
"openinstall_shadow"
class
=
"shadow-img"
><
img
src
=
"images/share-img.png"
alt
=
""
><
/div>
'
// },
// onready: function () {
// var m = this, button = document.getElementById("iosDown");
// m.schemeWakeup();
// setTimeout(function(){
// m.wakeupOrInstall();
// return false;
// },1000)
// }
// }, data);
//
// })
// $(".apkDown").on("click", function () {
// window.location.href="apk";
// })
// } else {
//
// gtag('event', 'conversion', {
// 'send_to': 'AW-678006312/kqI0CJCE-7gBEKicpsMC',
// 'event_callback': gtag_report_conversion('apk')
// });
// }
if
(
location
.
pathname
==
'/'
){
var
data
=
{
'icid'
:
'ftsgp'
};
layer
.
open
({
type
:
1
,
title
:
false
,
shadeClose
:
true
,
area
:
[
"7.2rem"
,
"6.98rem"
],
content
:
$
(
".layer-box"
),
})
$
(
".googleDown"
).
on
(
"click"
,
function
()
{
copyText
(
'footseen#ftsgp'
);
new
OpenInstall
({
appKey
:
"dzxj4c"
,
preferWakeup
:
true
,
mask
:
function
()
{
return
'
<
div
id
=
"openinstall_shadow"
class
=
"shadow-img"
><
img
src
=
"images/share-img.png"
alt
=
""
><
/div>
'
},
onready
:
function
()
{
var
m
=
this
,
button
=
document
.
getElementById
(
"iosDown"
);
m
.
schemeWakeup
();
setTimeout
(
function
(){
m
.
wakeupOrInstall
();
return
false
;
},
1000
)
}
},
data
);
})
$
(
".apkDown"
).
on
(
"click"
,
function
()
{
window
.
location
.
href
=
"apk"
;
})
}
else
{
gtag
(
'event'
,
'conversion'
,
{
'send_to'
:
'AW-678006312/kqI0CJCE-7gBEKicpsMC'
,
'event_callback'
:
gtag_report_conversion
(
'apk'
)
});
}
}
})
function
gtag_report_conversion
(
url
)
{
...
...
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