commit 3eb7676dac73bb604bc1f1e4b26a2446100a0bcf Author: xiaoyongyong666 <1163246049@qq.com> Date: Fri Mar 20 21:14:40 2026 +0800 由脚本自动发布至SP Git 更新日志详见log.starpixel.club diff --git a/assets/HarmonyOS_Sans_SC_Bold-DTtO5jJ5.ttf b/assets/HarmonyOS_Sans_SC_Bold-DTtO5jJ5.ttf new file mode 100644 index 0000000..5c925d1 Binary files /dev/null and b/assets/HarmonyOS_Sans_SC_Bold-DTtO5jJ5.ttf differ diff --git a/assets/HarmonyOS_Sans_SC_Medium-C0JYcCxp.ttf b/assets/HarmonyOS_Sans_SC_Medium-C0JYcCxp.ttf new file mode 100644 index 0000000..350f6a0 Binary files /dev/null and b/assets/HarmonyOS_Sans_SC_Medium-C0JYcCxp.ttf differ diff --git a/assets/HarmonyOS_Sans_SC_Regular-DdsgBYS9.ttf b/assets/HarmonyOS_Sans_SC_Regular-DdsgBYS9.ttf new file mode 100644 index 0000000..aff150a Binary files /dev/null and b/assets/HarmonyOS_Sans_SC_Regular-DdsgBYS9.ttf differ diff --git a/assets/index-BRZLJsOS.css b/assets/index-BRZLJsOS.css new file mode 100644 index 0000000..5e7610c --- /dev/null +++ b/assets/index-BRZLJsOS.css @@ -0,0 +1 @@ +.load{position:fixed;inset:0;z-index:9999;overflow:hidden;display:flex;align-items:center;justify-content:center}.load-panel{position:absolute;top:0;bottom:0;width:50%;background:#1d1d1d;transition:transform 1s cubic-bezier(.22,.9,.35,1);z-index:2}.load-panel.bg{background:#00ffa2;z-index:1;transition-delay:.3s}.load-panel.left{left:0;transform:translate(0)}.load-panel.right{right:0;transform:translate(0)}.load-center{position:relative;z-index:3;display:flex;flex-direction:column;align-items:center;gap:12px}.load-logo{width:76px;height:76px;border-radius:14px;background-image:url(/icon.svg);box-shadow:0 6px 20px #0b142099;animation:logoFloat 1.6s ease-in-out infinite}.load-text{font-size:14px;opacity:.95}.load-progress{display:flex;align-items:center;gap:12px}.bar{width:220px;height:10px;background:#ffffff14;border-radius:999px;overflow:hidden;box-shadow:inset 0 1px #ffffff05}.fill{height:100%;width:0%;background:#18d1ff;transition:width .26s cubic-bezier(.2,.8,.2,1)}.load-percent{font-size:13px;opacity:.9;min-width:36px;text-align:left}@media(max-width:420px){.bar{width:160px}.load-percent{min-width:30px;font-size:12px}}@keyframes logoFloat{0%{transform:translateY(0)}50%{transform:translateY(-6px)}to{transform:translateY(0)}}.load.is-open .load-panel.left{transform:translate(-110%)}.load.is-open .load-panel.right{transform:translate(110%)}.load.is-open .load-center{opacity:0;transform:translateY(-8px);transition:opacity .42s ease,transform 1s ease}.load.removed{display:none}@media(max-width:600px){.load-logo{width:56px;height:56px;border-radius:12px}}:root{--section-1-bg-size: 95px;--section-1-bg-logo-rotation-duration: 100s;scroll-behavior:smooth}@font-face{font-family:HarmonyOS Sans SC;src:url(/assets/HarmonyOS_Sans_SC_Regular-DdsgBYS9.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:HarmonyOS Sans SC;src:url(/assets/HarmonyOS_Sans_SC_Medium-C0JYcCxp.ttf) format("truetype");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:HarmonyOS Sans SC;src:url(/assets/HarmonyOS_Sans_SC_Bold-DTtO5jJ5.ttf) format("truetype");font-weight:700;font-style:normal;font-display:swap}*{margin:0;padding:0;box-sizing:border-box}body{font-family:HarmonyOS Sans SC,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:#000}.section{width:100%;min-height:100vh;display:flex;overflow:hidden}.container{width:100%}.down-arrow{position:absolute;left:50%;transform:translate(-50%);bottom:40px;width:24px;height:24px;color:#fff;display:flex;flex-direction:column;align-items:center}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.down-arrow i{font-size:24px;animation:bounce 2s infinite;width:24px}.home-section{background-color:#191919;background-image:linear-gradient(#3a3a3a 1px,transparent 1px),linear-gradient(90deg,#3a3a3a 1px,transparent 1px);background-size:var(--section-1-bg-size) var(--section-1-bg-size);animation:moveGrid 10s linear infinite;justify-content:space-evenly}.line{width:1px;background-color:#fff;transition:transform 1s,left 1s,right 1s,top 1s,bottom 1s;position:absolute}.angle_line{position:absolute;height:30vw;transform-origin:top left;transform:rotate(45deg);left:15%;top:0}.straight_line{position:absolute;bottom:35%;left:0;width:100%;height:1px}.home-section-left{display:flex;flex-direction:column;align-items:center}.home-section .title{color:#fff;display:flex;align-items:center;flex-direction:column;font-size:48px;margin-top:15rem}.home-section .title .subtitle{margin-top:1rem}.btn{cursor:pointer;transition:.3s}.btn:hover{filter:brightness(1.2);transform:translateY(-2px)}.home-section .home-btn{margin-top:3rem;display:flex;height:min-content;width:max-content}.home-section .home-btn .btn{font-size:24px;color:#fff;padding:.5rem;border-radius:5px}.home-btn .download-btn{background-color:#07c160de}.home-btn .help-btn{background-color:#707070ad;margin-left:1rem}.home-section-right{display:flex;flex-direction:column;margin-right:5rem;align-items:center}.home-logo,.home-border-1,.home-border-2{width:350px;height:350px}.home-logo{margin-top:10rem;position:relative}.home-logo .home-border-1{position:absolute;border:#ff1aac solid 2px;transform:rotate(45deg);z-index:7;animation:rotateBorder var(--section-1-bg-logo-rotation-duration) linear infinite reverse}.home-logo .home-border-2{position:absolute;background-color:#191919b9;border:#a0bffa solid 2px;z-index:8;animation:rotateBorder var(--section-1-bg-logo-rotation-duration) linear infinite}.home-logo .home-logo-img{position:relative;z-index:9}.home-slogan{color:#fff;font-size:24px;margin-top:5rem}.home-show{width:100%;height:180px;border-bottom:1px solid white;border-top:1px solid white;position:absolute;left:0;bottom:10%;padding:1rem}.home-show p{height:100%;color:#fff;margin:auto;width:max-content}.home-show-item{height:100%;width:200px;border:1px solid white;border-radius:5px;overflow:hidden;position:relative}.home-show-item-name{position:absolute;bottom:0;left:0;width:100%;height:100%;background-image:linear-gradient(0deg,#000,#dedede27 43%,#fff0);color:#fff;text-align:center;display:flex;padding-bottom:8px;align-items:flex-end;justify-content:center;opacity:1;transition:opacity .3s;pointer-events:none}.home-show-item:hover .home-show-item-name{opacity:1}.home-show-item-img{width:100%;height:100%}.home-show-item-img img{width:100%;height:100%;object-fit:cover}@keyframes moveGrid{0%{background-position:0 0}to{background-position:var(--section-1-bg-size) 0}}@keyframes rotateBorder{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.about-section{background-color:#191919;background-image:repeating-linear-gradient(45deg,#3a3a3a 0px,#3a3a3a 1px,transparent 1px,transparent var(--section-1-bg-size)),repeating-linear-gradient(-45deg,#3a3a3a 0px,#3a3a3a 1px,transparent 1px,transparent var(--section-1-bg-size));background-size:auto;position:relative}.straight_line_X{position:absolute;width:100%;height:1px;top:10rem}.straight_line_Y{position:absolute;width:1px;height:100%;left:10rem}.about-section .head{color:#fff;font-size:36px;margin-top:1rem;margin-left:auto;margin-right:auto;position:relative;height:min-content;text-align:center}.about-section .content{color:#fff;font-size:18px;width:70vw;height:700px;border:white 1px solid;padding:2rem;border-radius:5px;position:absolute;bottom:4rem;left:18rem}.color_line_1{right:13rem;top:14.5rem;height:500px;width:.25rem;background:linear-gradient(to bottom,red 0% 14.2857%,orange 14.2857% 28.5714%,#ff0 28.5714% 42.8571%,green 42.8571% 57.1428%,#0ff 57.1428% 71.4285%,#00f 71.4285% 85.7142%,purple 85.7142% 100%)}.color_line_2{right:10rem;top:14.5rem;height:300px;width:.25rem;background:linear-gradient(to bottom,#0ff 0% 20%,#ff0 20% 40%,#000 40% 60%,#0f0 60% 80%,red 80% 100%)}.color_line_3{right:7rem;top:14.5rem;height:200px;width:.25rem;background:linear-gradient(to bottom,red 0% 33.3333%,#ff0 33.3333% 66.6666%,#0f0 66.6666% 100%)}.nav{position:fixed;left:20px;top:50%;transform:translateY(-50%);width:60px;height:200px;background:#7c7c7c3d;border-radius:12px;box-shadow:0 4px 10px #0003;z-index:1000}.nav-links{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%;padding:20px 0;gap:24px}.nav-links a{color:#fff;text-decoration:none;font-size:1rem;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;background:#fff3;transition:.4s;transform:rotate(45deg);border-radius:0}.nav-links a i{transform:rotate(-45deg)}.nav-links a:hover{transform:none;background:#3a9bdc;transform:scale(1.2)}.nav-links a:hover i{transform:none}.sites-section{background-color:#191919;background-image:repeating-linear-gradient(45deg,#3a3a3a 0px,#3a3a3a 1px,transparent 1px,transparent 20px);background-size:auto;position:relative;flex-direction:column}.sites-section .head{color:#fff;font-size:36px;margin-top:1rem;margin-left:auto;margin-right:auto;position:relative;height:min-content;text-align:center}.head p{font-size:1.2rem;letter-spacing:2px;opacity:.8}.sites-section .content{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:1.5rem 1rem 3rem;width:100%}.carousel-container{width:100%;max-width:780px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:1.8rem}.carousel{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%}.carousel-arrow{width:44px;height:44px;border-radius:50%;background:transparent;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);border:1px solid rgba(255,255,255,.15);color:#fff;font-size:1.4rem;line-height:1;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;box-shadow:0 8px 20px #0000004d}.carousel-arrow:hover:not(:disabled){background:#3c3c3ce6;border-color:#fff6;transform:scale(1.05)}.carousel-arrow:disabled{opacity:.2;cursor:not-allowed;pointer-events:none}.carousel-viewport{flex:1;overflow:hidden;border-radius:28px;background:transparent;box-shadow:0 20px 35px -5px #000000b3;border:1px solid rgba(255,255,255,.1)}.carousel-track{display:flex;transition:transform .35s cubic-bezier(.2,.9,.3,1)}.site-card{flex:0 0 100%;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);border:1px solid rgba(255,255,255,.08);border-radius:28px;padding:1.8rem 1.5rem 2rem;color:#f0f0f0;display:flex;flex-direction:column;transition:opacity .2s;box-shadow:inset 0 1px 1px #ffffff0d}.site-card.disabled{opacity:.8}.site-card.disabled .card-link span{background:#2c2c2c;color:#888;cursor:default;border:1px dashed #555}.card-image{height:170px;background:#2a2a2a;border-radius:24px;margin-bottom:1.5rem;display:flex;align-items:center;justify-content:center;border:1px solid #3f3f3f;box-shadow:inset 0 2px 8px #00000080;background:linear-gradient(145deg,#252525,#1f1f1f)}.card-image-text{font-size:5.5rem;font-weight:600;color:#e6e6e6b3;text-shadow:0 4px 12px rgba(0,0,0,.6);line-height:1;letter-spacing:4px;filter:drop-shadow(0 2px 4px #000)}.card-image img{max-width:100%;max-height:100%;object-fit:contain}.card-name{font-size:2rem;font-weight:600;margin-bottom:.35rem;letter-spacing:1px;color:#fff}.card-desc{font-size:1rem;color:#b0b0b0;margin-bottom:1.8rem;border-left:3px solid #555;padding-left:.8rem;line-height:1.5}.card-link{margin-top:auto}.card-link a,.card-link span{display:inline-flex;align-items:center;gap:.4rem;padding:.7rem 1.5rem;background:#2f2f2f;border-radius:60px;font-size:1rem;text-decoration:none;color:#ddd;border:1px solid #4a4a4a;transition:background .2s,border-color .2s;box-shadow:0 4px 10px #0000004d;font-weight:500;word-break:break-all}.card-link a:hover{background:#3e3e3e;border-color:#6a6a6a;color:#fff}.card-link span{background:#252525;border-color:#444;color:#888;cursor:default}.carousel-dots{display:flex;gap:.9rem;justify-content:center;margin-top:.25rem}.dot{width:12px;height:12px;border-radius:50%;background:#b4b4b44d;border:1px solid rgba(255,255,255,.2);cursor:pointer;transition:all .25s ease;box-shadow:0 2px 6px #00000080}.dot.active{background:#fff;transform:scale(1.4);border-color:#ffd70099;box-shadow:0 0 12px #ffd966}.dot:hover{background:#ffffffb3}@media(max-width:767px){:root{--section-1-bg-size: 45px}.section{flex-direction:column;min-height:auto}.down-arrow{bottom:20px}.line,.angle_line,.straight_line,.straight_line_X,.straight_line_Y,.color_line_1,.color_line_2,.color_line_3{display:none}.nav{left:0;top:auto;bottom:20px;transform:none;width:auto;height:auto;background:transparent;box-shadow:none;border-radius:0;display:flex;justify-content:center;width:100%}.nav-links{flex-direction:row;justify-content:center;gap:16px;padding:10px 20px;background:#0009;border-radius:40px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);height:auto}.nav-links a{transform:rotate(0);width:2.5rem;height:2.5rem;border-radius:50%}.nav-links a i{transform:rotate(0)}.nav-links a:hover{transform:scale(1.1)}.home-section{justify-content:flex-start;flex-direction:column;padding:20px 0}.home-section-left{width:100%;margin-top:0;order:1}.home-section .title{font-size:32px;margin-top:2rem}.home-section .title .subtitle{font-size:18px;margin-top:.5rem}.home-section .home-btn{margin-top:1.5rem;flex-wrap:wrap;justify-content:center}.home-section .home-btn .btn{font-size:18px;padding:.4rem .8rem}.home-section-right{width:100%;margin-right:0;order:0}.home-logo,.home-border-1,.home-border-2{width:200px;height:200px}.home-logo{margin-top:2rem}.home-slogan{font-size:18px;margin-top:2rem;text-align:center}.home-show{position:relative;bottom:auto;height:auto;padding:1rem .5rem;margin-top:2rem;overflow-x:auto;white-space:nowrap;display:none;gap:10px}.home-show p{display:none}.home-show-item{width:140px;height:140px;flex-shrink:0}.home-show-item-name{font-size:14px;padding-bottom:4px}.about-section{min-height:auto;padding:20px 0}.about-section .head{font-size:28px;margin-top:1rem;text-align:center;position:static}.about-section .content{position:static;width:90%;height:auto;margin:1rem auto;padding:1.5rem;font-size:16px;bottom:auto;left:auto}.sites-section .head{font-size:28px;margin-top:.5rem}.head p{font-size:1rem}.sites-section .content{padding:1rem .5rem 2rem}.carousel-container{max-width:100%;gap:1rem}.carousel{gap:.25rem}.carousel-arrow{width:36px;height:36px;font-size:1.2rem;flex-shrink:0}.carousel-viewport{border-radius:20px}.site-card{padding:1.2rem 1rem 1.5rem;border-radius:20px}.card-image{height:130px;border-radius:18px;margin-bottom:1rem}.card-image-text{font-size:4rem}.card-name{font-size:1.6rem;margin-bottom:.2rem}.card-desc{font-size:.9rem;margin-bottom:1.2rem;padding-left:.6rem}.card-link a,.card-link span{padding:.5rem 1rem;font-size:.9rem}.carousel-dots{gap:.6rem;margin-top:.1rem}.dot{width:10px;height:10px}.dot.active{transform:scale(1.3)}}.footer{background:#252726;color:#e2e8f0;min-height:300px;padding:30px 30px 20px;display:flex;flex-direction:column;justify-content:space-between;width:100%;box-sizing:border-box}.footer-top{display:flex;flex-wrap:wrap;gap:40px 60px;justify-content:space-between;align-items:flex-start}.footer-logo,.footer-info,.footer-social{flex:1 1 180px}.footer-social{display:flex;flex-direction:column;gap:30px}.social-section,.stats-section{width:100%}.stat-item-container{display:flex;flex-direction:column;gap:12px}.stat-item{display:flex;align-items:center;gap:10px;font-size:.95rem;color:#b9c7da}.stat-item i{width:20px;color:#38bdf8;font-size:1rem;text-align:center}.stat-number{font-weight:600;color:#fff;margin-right:5px}.stat-label{color:#94a3b8;font-size:.9rem}.footer-logo{display:flex;flex-direction:column;gap:8px;margin:auto}.logo-wrapper{display:flex;align-items:center;gap:10px;justify-content:center}.logo-icon{font-size:2.5rem;color:#38bdf8}.logo-text{font-size:1.8rem;font-weight:600;color:#fff;line-height:1.2}.logo-tagline{font-size:.85rem;color:#94a3b8;margin-top:4px}.logo-tagline p{margin:.5rem 0;text-align:center}.footer-info h3,.footer-social h3,.footer-stats h3{font-size:1.1rem;font-weight:600;color:#fff;margin-bottom:1rem;border-bottom:1px solid rgba(255,255,255,.15);padding-bottom:.6rem}.info-links{list-style:none;margin-bottom:1.2rem;padding-left:0}.info-links li{margin-bottom:.5rem;color:#8a8a8a}.info-links a{color:#cbd5e1;text-decoration:none;font-size:.95rem;transition:color .15s,padding-left .15s;display:inline-block}.info-links a:hover{color:#fff;padding-left:5px}.contact-details{margin-top:.8rem}.contact-item{display:flex;align-items:center;gap:8px;font-size:.9rem;color:#b9c7da;margin-bottom:.5rem}.contact-item i{width:18px;font-size:.95rem;text-align:center}.social-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:.5rem}.social-links a{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;background:#ffffff0f;border-radius:50%;color:#e2e8f0;text-decoration:none;transition:all .2s ease;border:1px solid rgba(255,255,255,.05)}.social-links a:nth-child(1):hover{background:#fb739a}.social-links a:nth-child(2):hover{background:#1da1f2}.social-links a:nth-child(3):hover{background:#04f2e8}.stat-item i{color:#b9c7da;width:18px}.stat-item .stat-number{color:#8a8a8a}.social-links a:hover{color:#fff;border-color:transparent;transform:translateY(-3px)}.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;padding-top:20px;margin-top:20px;border-top:1px solid rgba(255,255,255,.1);font-size:.9rem;color:#9aa9bb}.footer-icp i,.footer-copyright i{margin-right:6px;color:#38bdf8;font-size:.8rem}#beian{color:unset;text-decoration:none}#beian:hover{text-decoration:underline}@media(max-width:700px){.footer-top{flex-direction:column;align-items:center;text-align:center;gap:30px}.footer-logo,.footer-info,.footer-social{width:100%;max-width:360px}.logo-wrapper{justify-content:center}.info-links{padding-left:0}.contact-item,.social-links{justify-content:center}.footer-bottom{flex-direction:column;text-align:center;gap:10px}.footer-social{align-items:center}.stat-item{justify-content:center}.social-section,.stats-section{text-align:center}}@media(max-width:480px){.footer{padding:25px 20px}.logo-text{font-size:1.6rem}} diff --git a/assets/index-KFqvYqIH.js b/assets/index-KFqvYqIH.js new file mode 100644 index 0000000..e65ad90 --- /dev/null +++ b/assets/index-KFqvYqIH.js @@ -0,0 +1,2 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))f(e);new MutationObserver(e=>{for(const n of e)if(n.type==="childList")for(const a of n.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&f(a)}).observe(document,{childList:!0,subtree:!0});function h(e){const n={};return e.integrity&&(n.integrity=e.integrity),e.referrerPolicy&&(n.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?n.credentials="include":e.crossOrigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function f(e){if(e.ep)return;e.ep=!0;const n=h(e);fetch(e.href,n)}})();function M(g,t,h,f){if(!t||t.length===0)return;let e=0,n=!1,a=!1,b=null;f.forEach((s,l)=>{s.addEventListener("click",()=>{const m=s.getAttribute("set-current-index");m!==null&&(e=parseInt(m,10))})}),t[0].scrollIntoView({behavior:"smooth",block:"start"}),g.addEventListener("wheel",s=>{if(s.preventDefault(),n)return;n=!0;const l=s.deltaY;l>0?e0&&e--),!a&&e>=0&&e{n=!1},400)},{passive:!1})}function D(){const g=[{name:"陨石坑",desc:"一个安静的角落",img:"/images/doge.png",link:"blog.starpixel.club"},{name:"状态监控",desc:"24h多节点展示站点健康度",text:'',link:"status.starpixel.club"},{name:"实验室",desc:"开发Demo初体验",text:'',link:"lab.starpixel.club",disabled:!0},{name:"建议反馈",desc:"提供宝贵意见",text:'',link:"feedback.starpixel.club",disabled:!0}],t=document.querySelector(".sites-section .content");if(!t)return;t.innerHTML="";function h(c){const r=document.createElement("div");r.className="carousel-container";const p=document.createElement("div");p.className="carousel";const x=document.createElement("button");x.className="carousel-arrow prev",x.innerHTML='',x.setAttribute("aria-label","上一个站点");const w=document.createElement("div");w.className="carousel-viewport";const C=document.createElement("div");C.className="carousel-track",c.forEach((i,N)=>{const u=document.createElement("div");u.className=`site-card ${i.disabled?"disabled":""}`,u.dataset.index=N;const E=document.createElement("div");if(E.className="card-image",i.text){const o=document.createElement("span");o.className="card-image-text",o.innerHTML=i.text,E.appendChild(o)}else if(i.img){const o=document.createElement("img");o.src=i.img,o.alt=i.name,E.appendChild(o)}else{const o=document.createElement("span");o.className="card-image-text",o.innerHTML="图片丢失",E.appendChild(o)}const T=document.createElement("div");T.className="card-name",T.textContent=i.name;const S=document.createElement("div");S.className="card-desc",S.textContent=i.desc;const y=document.createElement("div");if(y.className="card-link",i.disabled){const o=document.createElement("span");o.className="disabled",o.innerHTML=''+i.link,y.appendChild(o)}else{const o=document.createElement("a");let L=i.link;!L.startsWith("http://")&&!L.startsWith("https://")&&(L="https://"+L),o.href=L,o.target="_blank",o.rel="noopener noreferrer",o.innerHTML=''+i.link,y.appendChild(o)}u.appendChild(E),u.appendChild(T),u.appendChild(S),u.appendChild(y),C.appendChild(u)}),w.appendChild(C);const v=document.createElement("button");v.className="carousel-arrow next",v.innerHTML='',v.setAttribute("aria-label","下一个站点"),p.appendChild(x),p.appendChild(w),p.appendChild(v);const k=document.createElement("div");return k.className="carousel-dots",c.forEach((i,N)=>{const u=document.createElement("span");u.className="dot",u.dataset.index=N,k.appendChild(u)}),r.appendChild(p),r.appendChild(k),{container:r,track:C,prevBtn:x,nextBtn:v,dotsDiv:k,total:c.length}}const{container:f,track:e,prevBtn:n,nextBtn:a,dotsDiv:b,total:s}=h(g);t.appendChild(f);let l=0;const m=Array.from(b.children);function d(c){c<0&&(c=0),c>=s&&(c=s-1),l=c,e.style.transform=`translateX(-${l*100}%)`,m.forEach((r,p)=>{p===l?r.classList.add("active"):r.classList.remove("active")}),n.disabled=l===0,a.disabled=l===s-1}n.addEventListener("click",()=>{d(l-1)}),a.addEventListener("click",()=>{d(l+1)}),b.addEventListener("click",c=>{const r=c.target.closest(".dot");if(!r)return;const p=r.dataset.index;p!==void 0&&d(parseInt(p,10))}),d(0)}const q=()=>{window.addEventListener("error",function(g){alert(`很抱歉 页面发生错误 详情请查看控制台 +恳请您将错误信息截图并反馈给我们,以便我们尽快修复问题`),I(Date.now())})},A=()=>{console.log("%cStarpixel%cv0.1.0-260305-dev","padding: 2px 6px; border-radius: 3px 0 0 3px; color: #fff; background: rgb(247, 147, 31); font-weight: bold;","padding: 2px 6px; border-radius: 0 3px 3px 0; color: #fff; background: rgb(3, 220, 107); font-weight: bold;"),console.log("%cScroll Utils%cLoaded","padding: 2px 6px; border-radius: 3px 0 0 3px; color: #fff; background: #13a2e7; font-weight: bold;","padding: 2px 6px; border-radius: 0 3px 3px 0; color: #fff; background: rgb(3, 220, 107); font-weight: bold;"),console.log("%cStarpixel Utils%cv0.1.0-dev","padding: 2px 6px; border-radius: 3px 0 0 3px; color: #fff; background: rgb(139, 104, 200); font-weight: bold;","padding: 2px 6px; border-radius: 0 3px 3px 0; color: #fff; background: rgb(3, 220, 107); font-weight: bold;")},I=g=>{const t=document.getElementById("load");if(t){const h=t.querySelector(".load-fill"),f=t.querySelector(".load-percent");let e=0,n=null;const a=m=>{e=Math.max(0,Math.min(100,Math.round(m))),h&&(h.style.width=e+"%"),f&&(f.textContent=e+"%");const d=t.querySelector(".bar");d&&d.setAttribute("aria-valuenow",String(e))},b=()=>{t.classList.add("is-open");const m=setTimeout(()=>{t.classList.add("removed"),t.parentNode&&t.parentNode.removeChild(t)},950),d=r=>{r.target.classList&&r.target.classList.contains("load-panel")&&(clearTimeout(m),t.classList.add("removed"),t.parentNode&&t.parentNode.removeChild(t))};t.querySelectorAll(".load-panel").forEach(r=>r.addEventListener("transitionend",d,{once:!0}))},s=()=>{if(e>=100)return;const m=e<80?Math.random()*6+2:Math.random()*1.6+.2;a(e+m);const d=e<80?180+Math.random()*220:400+Math.random()*400;n=setTimeout(s,d)},l=()=>{n&&clearTimeout(n),a(100),setTimeout(b,400)};s(),document.readyState==="complete"?(setTimeout(l,200),document.getElementById("ping").textContent=Date.now()-g+"ms"):window.addEventListener("load",()=>{setTimeout(l,200),document.getElementById("ping").textContent=Date.now()-g+"ms"})}},B=()=>{q(),document.title="星像素 - Starpixel",document.getElementById("version").textContent="0.1.0-260305-dev",M(document.querySelector(".container"),document.querySelectorAll(".section"),document.getElementById("foot"),document.querySelectorAll("a[set-current-index]")),D(),A(),I(_time)};B(); diff --git a/icon.svg b/icon.svg new file mode 100644 index 0000000..1247d28 --- /dev/null +++ b/icon.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/images/doge.png b/images/doge.png new file mode 100644 index 0000000..8ba20ee Binary files /dev/null and b/images/doge.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..0157324 --- /dev/null +++ b/index.html @@ -0,0 +1,230 @@ + + + + + + + + + + + Starpixel - unset + + + + + +
+
+
+
+
+
+ +
+
+
+
+
0%
+
+
+
+ +
+
+ +
+ + + +
+ +
+
+ +
+
+

STARPIXEL

+
+

- 好久不见 -

+
+
+
+
下载中心
+
帮助中心
+
+
+ +
+ +
+

点亮每个像素 成就璀璨星空

+

+
+ +
+ +

暂无展示内容

+
+ +
+ +

SCROLL

+
+
+ +
+
+
+ +
+
+
+ +
+

ABOUT

+

- 关于本站 -

+
+ +
+

星像素® Starpixel 是一个在Internet不起眼的角落里生存的小站,这里是创意与梦想的交汇点。


+

本站致力于服务大众,为每个人提供简单易上手的服务。站长也曾是从此阶段一步一步走过来的,非常清楚新手时期与电脑小白的需求与痛点。


+

用爱发电 · 用心创造,这是站长一直铭记于心的 slogan。


+

本站首次在2020年开发,经过多次改版重构,学习新技术后,于2022年正式上线 v1 版本。本介绍书写于2026年3月份,这是站长在进行 v3 版本的主站开发时突现的灵感,经过多次删删改改也是上线了这版介绍 +

+
+

对于 v2 版本的开发,其实是站长心里一直都过不去的坎。因为 v2 开发时 AI 盛行,就多次借用了工具进行开发,这违背了我自己的初衷,所以 v3 版本能够出现也是跟这个原因脱不了干系。TvT


+

站长创建本站的初衷是希望大部分人能够更加轻松地使用当代技术。


+

本站以后将会主力开发辅助类的软件,编写大众级软件的教程和分享站长个人多年以来的经验。


+

站长认为,每一个微小的创意,都是夜空中独一无二的像素点,像素点日积月累,最终成就璀璨星空。


+

点亮每个像素,成就璀璨星空。

+
+
+ +
+ +
+

SITES

+

- 相关站点 -

+
+ +
+ +
+ +
+ +
+ + + + + \ No newline at end of file diff --git a/logo_trans.svg b/logo_trans.svg new file mode 100644 index 0000000..6f7d230 --- /dev/null +++ b/logo_trans.svg @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file