Genshin Impact Teyvat Map

Spread the love

[]

Genshin Impact Teyvat Map fold

  • Others
  • Specialties
  • Ores
  • Bosses
  • Ingredients
  • Alchemy

${text}close `); $(“.selector-list-containor p:last”).click(function () { let bind = $(this).attr(“bind”); for (let i = 0; i < $(".options-list .map-opts").length; i++) { if ($(".options-list .map-opts").eq(i).hasClass(bind) == true) { $(".options-list .map-opts").eq(i).trigger("click"); } } if ($(".opt-selector").length == 0) { $(".selector-hint").show(); } }); //改变地图标记 let typeclass = $(this).attr("class"); let idx = typeclass.indexOf(" "); let typetext = typeclass.slice(0, idx); // $(`.leaflet-control-layers-overlays .${typetext}`).parent().prev().trigger("click"); map.addLayer(LayerMap[fclass]); } $(this).toggleClass("on"); $(".map-opts.on").click(function () { if ($(".opt-selector").length == 0) { $(".selector-hint").show(); } }) }); //初始化筛选器功能 $(document).ready(function () { $(".con-type-label:first").trigger("click"); $(".reg_log_link").click(function () { alert("即将开放,敬请期待!"); }) // 复制的方法 function copyText(text, callback) { // text: 要复制的内容, callback: 回调 var tag = document.createElement('input'); tag.setAttribute('id', 'cp_hgz_input'); tag.value = text; document.getElementsByTagName('body')[0].appendChild(tag); document.getElementById('cp_hgz_input').select(); document.execCommand('copy'); document.getElementById('cp_hgz_input').remove(); if (callback) { callback(text) } } //下载保存数据并复制到剪切板 $(".save-btn").click(function () { var markedLog = [] for (var i = 0; i < 29; i++) { for (var j = 1; j < 1200; j++) { var key = i + "_" + j if (localStorage.getItem(key)) { markedLog.push(key) } } } var eleLink = document.createElement('a'); eleLink.download = 'markers.json'; eleLink.style.display = 'none'; var blob = new Blob([JSON.stringify(markedLog)]); eleLink.href = URL.createObjectURL(blob); document.body.appendChild(eleLink); eleLink.click(); document.body.removeChild(eleLink); var markedLog1 = [] for (var i = 0; i < 29; i++) { for (var j = 1; j < 1200; j++) { var key = i + "_" + j if (localStorage.getItem(key)) { markedLog1.push(key) } } } toolresult = JSON.stringify(markedLog1); var texts = toolresult copyText(texts, function () { alert('Copied markers nContent: n' + texts) }) console.log(toolresult); }) //单机跳转 $(".danjixiazai").click(function () { window.event.returnValue = false; window.location.href = 'main.html'; }) var statu = 1; if (/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)) { $(".bottom-beian").hide(); $(".fold-btn").css("background", "url(imgs/con_img/fold_open.png)"); //几项M端的适配 $(".control-containor").css("transform-origin", "0% 0% 0"); $(".control-containor").css("transform", "scale(0.5)"); // $(".control-containor").css("right", "-255px"); // $(".control-containor").css("width", "300px"); // $(".fold-btn").css("left", "-55px"); //面板切换动画(m) $(".fold-btn").click(function () { if (statu == 1) { $(".area-list-containor").show(); // $(".control-containor").css("width", "431px"); // $(".fold-btn").css("left", "65px"); $(".control-containor").animate({ right: '-215px' }, function () { statu = 0; }); $(".area-list-li-containor").fadeIn(500); $(".fold-btn").css("background-image", "url(imgs/con_img/fold.png)"); } else { $(".control-containor").animate({ right: '-415px' }, function () { statu = 1; // $(".control-containor").css("width", "431px"); // $(".fold-btn").css("left", "-55px"); }); $(".area-list-li-containor").fadeOut(500); $(".fold-btn").css("background-image", "url(imgs/con_img/fold_open.png)"); } }); $(".area-list-containor").show(); // $(".control-containor").css("width", "431px"); // $(".fold-btn").css("left", "65px"); $(".control-containor").animate({ right: '-215px' }, function () { statu = 0; }); $(".area-list-li-containor").fadeIn(500); $(".fold-btn").css("background-image", "url(imgs/con_img/fold.png)"); } // else // { // //面板切换动画(pc) // var Lock = true; //锁,防止抖动 // $(".control-containor").mouseenter(function () { // Lock = true; // $(".control-containor").animate({ // right: '0px' // }); // for (let i = 0; i < 5; i++) { // $(".con-type-label").fadeIn(500); // } // }); // $(".control-containor").mouseleave(function () { // Lock = false; // setTimeout(function () { // if (Lock == false) { // $(".control-containor").animate({ // right: '-270px' // }); // for (let i = 0; i 1) { event.preventDefault(); } }); document.addEventListener('touchend', function (event) { var now = (new Date()).getTime(); if (now - lastTouchEnd


Source

Leave a Reply

Your email address will not be published. Required fields are marked *