Commit d78d681f by agan

添加内容

parent ab912f1a
......@@ -63,23 +63,38 @@
$(function () {
var browserLang = navigator.language
if (browserLang.indexOf("zh") == -1) {
$(".new-bg").css("background", 'url("../download/images/bg-En.png")0 -0.5rem / 100% 100% no-repeat')
$(".down-btn2").css("background", 'url(../download/images/downBtn2-En.png) 0/ 100% 100% no-repeat')
}
var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
var videoNum = Math.ceil(Math.random() * 6)
var html = [];
html += '<img class="down-webp" src="../download/images/down' + videoNum + '.png" alt="">'
if (browserLang.indexOf("zh") == -1) {
var videoNum = Math.ceil(Math.random() * 10)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/En/down' + videoNum + '.png" alt="">'
} else {
var videoNum = Math.ceil(Math.random() * 19)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/down' + videoNum + '.png" alt="">'
}
}
else if (/android/.test(ua)) {
var videoNum = Math.ceil(Math.random() * 7)
var html = [];
html += '<img class="down-webp" src="../download/images/down' + videoNum + '.webp" alt="">'
if (browserLang.indexOf("zh") == -1) {
var videoNum = Math.ceil(Math.random() * 10)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/En/down' + videoNum + '.webp" alt="">'
} else {
var videoNum = Math.ceil(Math.random() * 19)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/down' + videoNum + '.webp" alt="">'
}
} else {
var videoNum = Math.ceil(Math.random() * 7)
var html = [];
html += '<img class="down-webp" src="../download/images/down' + videoNum + '.webp" alt="">'
if (browserLang.indexOf("zh") == -1) {
var videoNum = Math.ceil(Math.random() * 10)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/En/down' + videoNum + '.webp" alt="">'
} else {
var videoNum = Math.ceil(Math.random() * 19)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/down' + videoNum + '.webp" alt="">'
}
}
$(".down-webp-box").html(html)
$(".down-btn2").on("click", function () {
......
......@@ -63,23 +63,38 @@
$(function () {
var browserLang = navigator.language
if (browserLang.indexOf("zh") == -1) {
$(".new-bg").css("background", 'url("../download/images/bg-En.png")0 -0.5rem / 100% 100% no-repeat')
$(".down-btn2").css("background", 'url(../download/images/downBtn2-En.png) 0/ 100% 100% no-repeat')
}
var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
var videoNum = Math.ceil(Math.random() * 6)
var html = [];
html += '<img class="down-webp" src="../download/images/down' + videoNum + '.png" alt="">'
if (browserLang.indexOf("zh") == -1) {
var videoNum = Math.ceil(Math.random() * 10)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/En/down' + videoNum + '.png" alt="">'
} else {
var videoNum = Math.ceil(Math.random() * 19)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/down' + videoNum + '.png" alt="">'
}
}
else if (/android/.test(ua)) {
var videoNum = Math.ceil(Math.random() * 7)
var html = [];
html += '<img class="down-webp" src="../download/images/down' + videoNum + '.webp" alt="">'
if (browserLang.indexOf("zh") == -1) {
var videoNum = Math.ceil(Math.random() * 10)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/En/down' + videoNum + '.webp" alt="">'
} else {
var videoNum = Math.ceil(Math.random() * 19)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/down' + videoNum + '.webp" alt="">'
}
} else {
var videoNum = Math.ceil(Math.random() * 7)
var html = [];
html += '<img class="down-webp" src="../download/images/down' + videoNum + '.webp" alt="">'
if (browserLang.indexOf("zh") == -1) {
var videoNum = Math.ceil(Math.random() * 10)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/En/down' + videoNum + '.webp" alt="">'
} else {
var videoNum = Math.ceil(Math.random() * 19)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/down' + videoNum + '.webp" alt="">'
}
}
$(".down-webp-box").html(html)
$(".down-btn2").on("click", function () {
......
......@@ -64,23 +64,38 @@
$(function () {
var browserLang = navigator.language
if (browserLang.indexOf("zh") == -1) {
$(".new-bg").css("background", 'url("download/images/bg-En.png")0 -0.5rem / 100% 100% no-repeat')
$(".down-btn2").css("background", 'url(download/images/downBtn2-En.png) 0/ 100% 100% no-repeat')
}
var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
var videoNum = Math.ceil(Math.random() * 6)
var html = [];
html += '<img class="down-webp" src="download/images/down' + videoNum + '.png" alt="">'
if (browserLang.indexOf("zh") == -1) {
var videoNum = Math.ceil(Math.random() * 10)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/En/down' + videoNum + '.png" alt="">'
} else {
var videoNum = Math.ceil(Math.random() * 19)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/down' + videoNum + '.png" alt="">'
}
}
else if (/android/.test(ua)) {
var videoNum = Math.ceil(Math.random() * 7)
var html = [];
html += '<img class="down-webp" src="download/images/down' + videoNum + '.webp" alt="">'
if (browserLang.indexOf("zh") == -1) {
var videoNum = Math.ceil(Math.random() * 10)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/En/down' + videoNum + '.webp" alt="">'
} else {
var videoNum = Math.ceil(Math.random() * 19)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/down' + videoNum + '.webp" alt="">'
}
} else {
var videoNum = Math.ceil(Math.random() * 7)
var html = [];
html += '<img class="down-webp" src="download/images/down' + videoNum + '.webp" alt="">'
if (browserLang.indexOf("zh") == -1) {
var videoNum = Math.ceil(Math.random() * 10)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/En/down' + videoNum + '.webp" alt="">'
} else {
var videoNum = Math.ceil(Math.random() * 19)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/down' + videoNum + '.webp" alt="">'
}
}
$(".down-webp-box").html(html)
$(".down-btn2").on("click", function () {
......
......@@ -64,23 +64,38 @@
$(function () {
var browserLang = navigator.language
if (browserLang.indexOf("zh") == -1) {
$(".new-bg").css("background", 'url("download/images/bg-En.png")0 -0.5rem / 100% 100% no-repeat')
$(".down-btn2").css("background", 'url(download/images/downBtn2-En.png) 0/ 100% 100% no-repeat')
}
var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
var videoNum = Math.ceil(Math.random() * 6)
var html = [];
html += '<img class="down-webp" src="download/images/down' + videoNum + '.png" alt="">'
if (browserLang.indexOf("zh") == -1) {
var videoNum = Math.ceil(Math.random() * 10)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/En/down' + videoNum + '.png" alt="">'
} else {
var videoNum = Math.ceil(Math.random() * 19)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/down' + videoNum + '.png" alt="">'
}
}
else if (/android/.test(ua)) {
var videoNum = Math.ceil(Math.random() * 7)
var html = [];
html += '<img class="down-webp" src="download/images/down' + videoNum + '.webp" alt="">'
if (browserLang.indexOf("zh") == -1) {
var videoNum = Math.ceil(Math.random() * 10)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/En/down' + videoNum + '.webp" alt="">'
} else {
var videoNum = Math.ceil(Math.random() * 19)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/down' + videoNum + '.webp" alt="">'
}
} else {
var videoNum = Math.ceil(Math.random() * 7)
var html = [];
html += '<img class="down-webp" src="download/images/down' + videoNum + '.webp" alt="">'
if (browserLang.indexOf("zh") == -1) {
var videoNum = Math.ceil(Math.random() * 10)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/En/down' + videoNum + '.webp" alt="">'
} else {
var videoNum = Math.ceil(Math.random() * 19)
var html = [];
html += '<img class="down-webp" src="https://app.ixiulive.com/static/downImg/down' + videoNum + '.webp" alt="">'
}
}
$(".down-webp-box").html(html)
$(".down-btn2").on("click", function () {
......
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