Comparing version 1.0.11 to 1.0.12
@@ -1,1 +0,1 @@ | ||
let fast=document.querySelectorAll(".fast .label");async function getFooterImg(){var e=0<=window.navigator.userAgent.indexOf("Mobile"),t=await getFastBannerItem("FixImg");e&&0<t.length&&(e=getRandomObjects(t,1),document.querySelector(".menu_box .down_app").innerHTML=`<a href="${e[0].links}" target="_blank" class="fast" style="background-image:url(${e[0].pic})"><img src="${e[0].pic}" loading="lazy"/></a>`)}function clickStoreMenu(t){fast.forEach(e=>{e.classList.remove("active"),e.textContent===t&&e.classList.add("active")}),scrollPageTop(),document.getElementById("huobao").style.display="\u63a8\u8350"===t?"block":"none",document.querySelectorAll("#remen .list a").forEach(e=>{e.getAttribute("type")===t||"\u63a8\u8350"===t?e.style.display="block":e.style.display="none"}),document.querySelectorAll("#xiazai .list a").forEach(e=>{e.getAttribute("type")===t||"\u63a8\u8350"===t?e.style.display="flex":e.style.display="none"})}fast.forEach(e=>{e.addEventListener("click",function(){clickStoreMenu(e.textContent)})}),getFooterImg(); | ||
let fast=document.querySelectorAll(".fast .label");async function getFooterImg(){var e=0<=window.navigator.userAgent.indexOf("Mobile"),t=await getFastBannerItem("FixImg");e&&0<t.length&&(e=getRandomObjects(t,1),document.querySelector(".menu_box .down_app").innerHTML=`<a link="${e[0].links}" target="_blank" class="fast ulink" style="background-image:url(${e[0].pic})"><img src="${e[0].pic}" loading="lazy"/></a>`,clickFastTap())}function clickStoreMenu(t){fast.forEach(e=>{e.classList.remove("active"),e.textContent===t&&e.classList.add("active")}),scrollPageTop(),document.getElementById("huobao").style.display="\u63a8\u8350"===t?"block":"none",document.querySelectorAll("#remen .list a").forEach(e=>{e.getAttribute("type")===t||"\u63a8\u8350"===t?e.style.display="block":e.style.display="none"}),document.querySelectorAll("#xiazai .list a").forEach(e=>{e.getAttribute("type")===t||"\u63a8\u8350"===t?e.style.display="flex":e.style.display="none"})}fast.forEach(e=>{e.addEventListener("click",function(){clickStoreMenu(e.textContent)})}),getFooterImg(); |
{ | ||
"name": "htmxskyjs", | ||
"private": false, | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "high power tools for html", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2721783