Commit b03b8bf2 by agan

修改ios下载

parent e3f576dc
Showing with 53 additions and 110 deletions
......@@ -91,9 +91,9 @@
mData = data.iOSChannel
}
copyText(mData);
window.location.href = 'http://www.app6.cam/app_merge/163';
// window.location.href = 'http://www.app6.cam/app_merge/163';
window.location.href = 'https://apps.apple.com/us/app/firefly-live-live-video-chat/id1473568058'
});
// window.location.href = 'https://apps.apple.com/us/app/firefly-live-live-video-chat/id1473568058'
})
function gtag_report_conversion() {
......
......@@ -87,9 +87,9 @@
}
copyText(mData);
window.location.href = 'http://www.app6.cam/app_merge/163';
// window.location.href = 'http://www.app6.cam/app_merge/163';
window.location.href = 'https://apps.apple.com/us/app/firefly-live-live-video-chat/id1473568058'
});
// window.location.href = 'https://apps.apple.com/us/app/firefly-live-live-video-chat/id1473568058'
})
function gtag_report_conversion() {
......
......@@ -82,74 +82,7 @@
<div class="downloadBtn2"></div>
<div class="recommendBox">
<div class="rVideos">
<!-- <div class="rRow">
<div class="youtubeVideos">
<iframe loading="lazy" class="elementor-video-iframe"
src="https://www.youtube.com/embed/PxRti9Bknrs" title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
<div class="rInfo">
<span class="rTime">2021/08/22</span>
<span class="rName">美麗妄娜</span>
</div>
</div>
<div class="rRow">
<div class="youtubeVideos">
<iframe loading="lazy" class="elementor-video-iframe"
src="https://www.youtube.com/embed/ygtef2thdgw" title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
<div class="rInfo">
<span class="rTime">2021/07/16</span>
<span class="rName">超直白Chaozhibai</span>
</div>
</div>
<div class="rRow">
<div class="youtubeVideos">
<iframe loading="lazy" class="elementor-video-iframe"
src="https://www.youtube.com/embed/n9QRNjZNJQ4" title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
<div class="rInfo">
<span class="rTime">2021/06/06</span>
<span class="rName">Dashen大神</span>
</div>
</div>
<div class="rRow">
<div class="youtubeVideos">
<iframe loading="lazy" class="elementor-video-iframe"
src="https://www.youtube.com/embed/Lt3fZZqNulg" title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
<div class="rInfo">
<span class="rTime">2021/05/29</span>
<span class="rName">耀耀</span>
</div>
</div>
<div class="rRow">
<div class="youtubeVideos">
<iframe loading="lazy" class="elementor-video-iframe"
src="https://www.youtube.com/embed/UNtQytZtGkM" title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
<div class="rInfo">
<span class="rTime">2021/05/09</span>
<span class="rName">秀煜 Show YoU</span>
</div>
</div> -->
</div>
<div class="rVideos"></div>
</div>
</div>
</div>
......@@ -165,44 +98,7 @@
var scrollH = $('#pro').height();
parr = curpage.find('.p');
var curp = 0;
var vList = [
{
vSrc: "https://www.youtube.com/embed/PxRti9Bknrs",
vTime: "2021/08/22",
vName: "美麗妄娜",
},
{
vSrc: "https://www.youtube.com/embed/ygtef2thdgw",
vTime: "2021/07/16",
vName: "超直白Chaozhibai",
},
{
vSrc: "https://www.youtube.com/embed/n9QRNjZNJQ4",
vTime: "2021/06/06",
vName: "Dashen大神",
},
{
vSrc: "https://www.youtube.com/embed/Lt3fZZqNulg",
vTime: "2021/05/29",
vName: "耀耀",
},
{
vSrc: "https://www.youtube.com/embed/UNtQytZtGkM",
vTime: "2021/05/09",
vName: "秀煜 Show YoU",
}
];
//生成主播推荐列表
var temp = '';
for (var i = 0; i < vList.length; i++) {
temp += "<div class='rRow'><div class='youtubeVideos'><iframe loading='lazy' class='elementor-video-iframe' src='"
+ vList[i].vSrc
+ "' title='YouTube video player' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture'"
+ " allowfullscreen></iframe>"
+ "</div>" + "<div class='rInfo'>" + "<span class='rTime'>" + vList[i].vTime + "</span>"
+ "<span class='rName'>" + vList[i].vName + "</span>" + "</div></div>"
}
$('.recommendBox').html(temp)
touch.on(document, 'swipeup swipedown', function (ev) {
if (!touchB) {
......@@ -217,6 +113,9 @@
if (curp == 2) {
$('.wipeUp').hide();
$('.downloadBtn2').show();
if(!$('.rVideos').html()){
getVList();
}
} else {
$('.wipeUp').show();
$('.downloadBtn2').hide();
......@@ -237,6 +136,9 @@
if (curp == 2) {
$('.wipeUp').hide();
$('.downloadBtn2').show();
if(!$('.rVideos').html()){
getVList();
}
} else {
$('.wipeUp').show();
$('.downloadBtn2').hide();
......@@ -283,6 +185,47 @@
})
function getVList() {
var vList = [
{
vSrc: "https://www.youtube.com/embed/PxRti9Bknrs",
vTime: "2021/08/22",
vName: "美麗妄娜",
},
{
vSrc: "https://www.youtube.com/embed/ygtef2thdgw",
vTime: "2021/07/16",
vName: "超直白Chaozhibai",
},
{
vSrc: "https://www.youtube.com/embed/n9QRNjZNJQ4",
vTime: "2021/06/06",
vName: "Dashen大神",
},
{
vSrc: "https://www.youtube.com/embed/Lt3fZZqNulg",
vTime: "2021/05/29",
vName: "耀耀",
},
{
vSrc: "https://www.youtube.com/embed/UNtQytZtGkM",
vTime: "2021/05/09",
vName: "秀煜 Show YoU",
}
];
//生成主播推荐列表
var temp = '';
for (var i = 0; i < vList.length; i++) {
temp += "<div class='rRow'><div class='youtubeVideos'><iframe loading='lazy' class='elementor-video-iframe' src='"
+ vList[i].vSrc
+ "' title='YouTube video player' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture'"
+ " allowfullscreen></iframe>"
+ "</div>" + "<div class='rInfo'>" + "<span class='rTime'>" + vList[i].vTime + "</span>"
+ "<span class='rName'>" + vList[i].vName + "</span>" + "</div></div>"
}
$('.rVideos').html(temp)
}
function url_get_params() {
var url = location.href;
var theRequest = new Object();
......
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