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
468ebf12
authored
Jul 21, 2022
by
agan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改ios粘贴板问题
parent
9eb071dd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
3 deletions
b/downloadIos.html
iosnew.html
js/buriedPoint.js
b/downloadIos.html
View file @
468ebf12
...
...
@@ -5,7 +5,7 @@
<meta
charset=
"UTF-8"
>
<title>
Footseen - APP Download Homepage
</title>
<script
src=
"https://www.footseen.com/js/jquery-3.1.1.min.js"
></script>
<script
src=
"../js/buriedPoint.js?v=20220
6061147
"
></script>
<script
src=
"../js/buriedPoint.js?v=20220
7211959
"
></script>
<script>
var
_url
=
"https://webserver.yabolive.net"
;
if
(
url_get_params
().
mrefer
&&
url_get_params
().
mrefer
.
indexOf
(
'vip'
)
>
-
1
)
{
...
...
@@ -116,6 +116,7 @@
<div
class=
"wipeUp"
></div>
<script
src=
"https://www.footseen.com/js/new/lang.js?v=20220322"
></script>
<script
src=
'https://www.footseen.com/layer-v3.1.0/layer/layer.js'
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/clipboard@2.0.6/dist/clipboard.min.js"
></script>
<script>
$
(
function
()
{
...
...
@@ -124,7 +125,7 @@
var
scrollH
=
$
(
'#pro'
).
height
();
parr
=
curpage
.
find
(
'.p'
);
var
curp
=
0
;
var
clipboard
=
new
ClipboardJS
(
'.iosDown,.downloadBtn2,.btnPage2'
)
touch
.
on
(
document
,
'swipeup swipedown'
,
function
(
ev
)
{
if
(
!
touchB
)
{
...
...
@@ -196,6 +197,14 @@
}
else
{
iosData
=
'iosftsB'
;
}
getChannel
(
function
(
data
)
{
if
(
data
){
$
(
".iosDown,.downloadBtn2,.btnPage2"
).
attr
(
'data-clipboard-text'
,
data
.
iOSChannel
)
}
else
{
$
(
".iosDown,.downloadBtn2,.btnPage2"
).
attr
(
'data-clipboard-text'
,
iosData
)
}
});
$
(
".iosDown,.downloadBtn2,.btnPage2"
).
on
(
"click"
,
function
()
{
clickDownload
(
function
(
data
)
{
var
mData
=
''
;
...
...
iosnew.html
View file @
468ebf12
...
...
@@ -5,7 +5,7 @@
<meta
charset=
"UTF-8"
>
<title>
Footseen - APP Download Homepage
</title>
<script
src=
"https://www.footseen.com/js/jquery-3.1.1.min.js"
></script>
<script
src=
"../js/buriedPoint.js"
></script>
<script
src=
"../js/buriedPoint.js
?v=202207211959
"
></script>
<script>
var
_url
=
"https://webserver.yabolive.net"
;
viewPage
(
checkIp
);
...
...
@@ -112,6 +112,7 @@
<div
class=
"wipeUp"
></div>
<script
src=
"https://www.footseen.com/js/new/lang.js?v=20220322"
></script>
<script
src=
'https://www.footseen.com/layer-v3.1.0/layer/layer.js'
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/clipboard@2.0.6/dist/clipboard.min.js"
></script>
<script>
$
(
function
()
{
...
...
@@ -120,6 +121,7 @@
var
scrollH
=
$
(
'#pro'
).
height
();
parr
=
curpage
.
find
(
'.p'
);
var
curp
=
0
;
var
clipboard
=
new
ClipboardJS
(
'.iosDown,.downloadBtn2,.btnPage2'
)
touch
.
on
(
document
,
'swipeup swipedown'
,
function
(
ev
)
{
...
...
@@ -192,6 +194,13 @@
}
else
{
iosData
=
'iosftsB'
;
}
getChannel
(
function
(
data
)
{
if
(
data
)
{
$
(
".iosDown,.downloadBtn2,.btnPage2"
).
attr
(
'data-clipboard-text'
,
data
.
iOSChannel
)
}
else
{
$
(
".iosDown,.downloadBtn2,.btnPage2"
).
attr
(
'data-clipboard-text'
,
iosData
)
}
});
$
(
".iosDown,.downloadBtn2,.btnPage2"
).
on
(
"click"
,
function
()
{
clickDownload
(
function
(
data
)
{
var
mData
=
''
;
...
...
js/buriedPoint.js
View file @
468ebf12
...
...
@@ -35,6 +35,22 @@ function viewPage(callback) {
})
}
function
getChannel
(
callback
){
$
.
ajax
({
url
:
_url
+
'/info/getChannelByLink'
,
data
:
{
cid
:
icid
,
linkNumber
:
icid
,
os
:
'WEB'
,
lang
:
2
},
success
:
function
(
res
){
var
mResult
=
JSON
.
parse
(
res
);
callback
&&
callback
(
mResult
.
result
);
}
})
}
function
clickDownload
(
callback
)
{
$
.
ajax
({
url
:
_url
+
'/info/updateDownload'
,
...
...
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