Commit a1ec7755 by libai

测试

parent 15c6ed6d
Showing with 14 additions and 15 deletions
...@@ -1548,21 +1548,20 @@ $(function () { ...@@ -1548,21 +1548,20 @@ $(function () {
else html+='<div class="swiper-slide"><img data-type="https://www.footseen.xyz/mobile/download/downApp.html?v=2022101101" data-type2="3" class="act-btn" src="'+langList[sessionStorage.lang].roomSrc5+'" alt=""><p id="room-qrcode"></p><img class="footseen-icon" src="../images/footseen-icon.png"></div>' else html+='<div class="swiper-slide"><img data-type="https://www.footseen.xyz/mobile/download/downApp.html?v=2022101101" data-type2="3" class="act-btn" src="'+langList[sessionStorage.lang].roomSrc5+'" alt=""><p id="room-qrcode"></p><img class="footseen-icon" src="../images/footseen-icon.png"></div>'
$(".swiper-wrapper").html(html); $(".swiper-wrapper").html(html);
if(sessionStorage.pmt!=undefined&&sessionStorage.pmt!='undefined')new QRCode(document.getElementById("room-qrcode"),sessionStorage.pmt+'&from=pc'); if(sessionStorage.pmt!=undefined&&sessionStorage.pmt!='undefined')new QRCode(document.getElementById("room-qrcode"),sessionStorage.pmt+'&from=pc');
if(data.dataList.activitys.length>=0){ var swiper = new Swiper(".mySwiper", {
var swiper = new Swiper(".mySwiper", { pagination: {
pagination: { el: ".swiper-pagination",
el: ".swiper-pagination", clickable: true,
clickable: true, renderBullet: function (index, className) {
renderBullet: function (index, className) { return '<span class="' + className + '">' + (index + 1) + "</span>";
return '<span class="' + className + '">' + (index + 1) + "</span>"; },
}, },
}, autoplay: {
autoplay: { delay: 8000,
delay: 8000, },
}, loop:true,
loop:true, });
});
}
$(".act-btn").unbind("click").on("click",function(){ $(".act-btn").unbind("click").on("click",function(){
var _self=$(this) var _self=$(this)
if(_self.attr("data-type2")==3){ if(_self.attr("data-type2")==3){
......
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