Commit cc4108e0 by agan

开放tf渠道

parent 5805edcc
Showing with 41 additions and 15 deletions
......@@ -71,7 +71,7 @@
bottom: 4.16rem;
}
.iosDown1 {
.iosDown2 {
background: url(../img/new2/dbutton1.png) no-repeat;
background-size: 100% 100%;
width: 7.173rem;
......@@ -85,6 +85,20 @@
bottom: 2.32rem;
margin-left: -3.586rem;
}
.iosDown1 {
background: url(../img/new2/button2.png) no-repeat;
background-size: 100% 100%;
width: 7.173rem;
height: 1.333rem;
line-height: 1.333rem;
font-size: 0.64rem;
color: #D82F66;
text-align: center;
position: absolute;
left: 50%;
bottom: 5.32rem;
margin-left: -3.586rem;
}
.guide1{
width: 2rem;
font-size: 0.373rem;
......@@ -105,20 +119,7 @@
position: relative;
padding-bottom: 2.133rem;
}
.iosDown2 {
background: url(../img/new2/dbutton2.png) no-repeat;
background-size: 100% 100%;
width: 7.173rem;
height: 1.333rem;
line-height: 1.333rem;
font-size: 0.64rem;
color: #D82F66;
text-align: center;
position: absolute;
left: 50%;
bottom: 5.32rem;
margin-left: -3.586rem;
}
.guide2{
width: 2rem;
font-size: 0.373rem;
......
......@@ -60,6 +60,10 @@
}
});
console.log(params);
$('.iosDown1').on('click', function () {
copyText(data.icid);
window.location.href = 'https://tf.kekouyun.vip/app/Footseen';
})
// $(".iosDown1").on("click", function () {
// setTimeout(function () {
// // window.location.href = 'https://apps.apple.com/us/app/footseen-random-video-chat-app/id1491129400';
......@@ -102,6 +106,26 @@
}
return theRequest;
}
//複製到剪切板
function copyText(text) {
var textarea = document.createElement("textarea");
var currentFocus = document.activeElement;
document.body.appendChild(textarea);
textarea.value = text;
textarea.focus();
if (textarea.setSelectionRange)
textarea.setSelectionRange(0, textarea.value.length);
else
textarea.select();
try {
var flag = document.execCommand("copy");
} catch (eo) {
var flag = false;
}
document.body.removeChild(textarea);
currentFocus.focus();
return flag;
}
</script>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment