<!DOCTYPE html>
<html lang="zh">
  <head>
 <meta charset="UTF-8" />
 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
 <title>Black Hole Visualization</title>
 <style>
   body,
   html {
     height: 100%;
     margin: 0;
     padding: 0;
   }

   body {
     height: 100%;
     background-color: rgba(25, 25, 25, 1);
     overflow: hidden;
   }

   #blackhole {
     height: 100%;
     width: 100%;
     position: relative;
     display: flex;
   }

   .centerHover {
     width: 255px;
     height: 255px;
     background-color: transparent;
     border-radius: 50%;
     position: absolute;
     left: 50%;
     top: 50%;
     margin-top: -128px;
     margin-left: -128px;
     z-index: 2;
     cursor: pointer;
     line-height: 255px;
     text-align: center;
     transition: all 500ms;
   }

   .centerHover.open {
     opacity: 0;
     pointer-events: none;
   }

   .centerHover:hover span {
     color: #ddd;
   }

   .centerHover:hover span:before {
     background-color: #ddd;
   }

   .centerHover:hover span:after {
     background-color: #ddd;
   }

   .centerHover span {
     color: #666;
     font-family: serif;
     font-size: 18px;
     position: relative;
     transition: all 500ms;
   }

   .centerHover span:before {
     content: "";
     display: inline-block;
     height: 1px;
     width: 16px;
     margin-right: 12px;
     margin-bottom: 4px;
     background-color: #666;
     transition: all 500ms;
   }

   .centerHover span:after {
     content: "";
     display: inline-block;
     height: 1px;
     width: 16px;
     margin-left: 12px;
     margin-bottom: 4px;
     background-color: #666;
     transition: all 500ms;
   }

   canvas {
     position: relative;
     z-index: 1;
     width: 100%;
     height: 100%;
     margin: auto;
   }

   #blackhole {
     height: 100%;
     width: 100%;
     position: relative;
     display: flex;
   }

   .centerHover {
     width: 255px;
     height: 255px;
     background-color: transparent;
     border-radius: 50%;
     position: absolute;
     left: 50%;
     top: 50%;
     margin-top: -128px;
     margin-left: -128px;
     z-index: 2;
     cursor: pointer;
     line-height: 255px;
     text-align: center;
     transition: all 500ms;
   }

   .centerHover.open {
     opacity: 0;
     pointer-events: none;
   }

   .centerHover:hover span {
     color: #ddd;
   }

   .centerHover:hover span:before {
     background-color: #ddd;
   }

   .centerHover:hover span:after {
     background-color: #ddd;
   }

   .centerHover span {
     color: #666;
     font-family: serif;
     font-size: 18px;
     position: relative;
     transition: all 500ms;
   }

   .centerHover span:before {
     content: "";
     display: inline-block;
     height: 1px;
     width: 16px;
     margin-right: 12px;
     margin-bottom: 4px;
     background-color: #666;
     transition: all 500ms;
   }

   .centerHover span:after {
     content: "";
     display: inline-block;
     height: 1px;
     width: 16px;
     margin-left: 12px;
     margin-bottom: 4px;
     background-color: #666;
     transition: all 500ms;
   }

   canvas {
     position: relative;
     z-index: 1;
     width: 100%;
     height: 100%;
     margin: auto;
   }
 </style>
  </head>
  <body>
 <div id="blackhole">
   <div class="centerHover"><span>点击进入</span></div>
 </div>
 <script>
   function blackhole(element) {
     const container = document.querySelector(element);
     const h = container.offsetHeight;
     const w = container.offsetWidth;
     const cw = w;
     const ch = h;
     const maxorbit = 255;
     const centery = ch / 2;
     const centerx = cw / 2;

     const startTime = new Date().getTime();
     let currentTime = 0;

     const stars = [];
     let collapse = false;
     let expanse = false;
     let returning = false;

     const canvas = document.createElement("canvas");
     canvas.width = cw;
     canvas.height = ch;
     container.appendChild(canvas);
     const context = canvas.getContext("2d");

     context.globalCompositeOperation = "multiply";

     function setDPI(canvas, dpi) {
       if (!canvas.style.width) canvas.style.width = canvas.width + "px";
       if (!canvas.style.height) canvas.style.height = canvas.height + "px";

       const scaleFactor = dpi / 96;
       canvas.width = Math.ceil(canvas.width * scaleFactor);
       canvas.height = Math.ceil(canvas.height * scaleFactor);
       const ctx = canvas.getContext("2d");
       ctx.scale(scaleFactor, scaleFactor);
     }

     function rotate(cx, cy, x, y, angle) {
       const radians = angle;
       const cos = Math.cos(radians);
       const sin = Math.sin(radians);
       const nx = cos * (x - cx) + sin * (y - cy) + cx;
       const ny = cos * (y - cy) - sin * (x - cx) + cy;
       return [nx, ny];
     }

     setDPI(canvas, 192);

     class Star {
       constructor() {
         const rands = [];
         rands.push(Math.random() * (maxorbit / 2) + 1);
         rands.push(Math.random() * (maxorbit / 2) + maxorbit);

         this.orbital = rands.reduce((p, c) => p + c, 0) / rands.length;

         this.x = centerx;
         this.y = centery + this.orbital;

         this.yOrigin = centery + this.orbital;

         this.speed =
           ((Math.floor(Math.random() * 2.5) + 1.5) * Math.PI) / 180;
         this.rotation = 0;
         this.startRotation =
           ((Math.floor(Math.random() * 360) + 1) * Math.PI) / 180;

         this.id = stars.length;

         this.collapseBonus = this.orbital - maxorbit * 0.7;
         if (this.collapseBonus < 0) {
           this.collapseBonus = 0;
         }

         this.color = "rgba(255,255,255," + (1 - this.orbital / 255) + ")";

         this.hoverPos = centery + maxorbit / 2 + this.collapseBonus;
         this.expansePos =
           centery +
           (this.id % 100) * -10 +
           (Math.floor(Math.random() * 20) + 1);

         this.prevR = this.startRotation;
         this.prevX = this.x;
         this.prevY = this.y;

         this.originalY = this.yOrigin;

         stars.push(this);
       }

       draw() {
         if (!expanse && !returning) {
           this.rotation = this.startRotation + currentTime * this.speed;
           if (!collapse) {
             if (this.y > this.yOrigin) {
               this.y -= 2.5;
             }
             if (this.y < this.yOrigin - 4) {
               this.y += (this.yOrigin - this.y) / 10;
             }
           } else {
             this.trail = 1;
             if (this.y > this.hoverPos) {
               this.y -= (this.hoverPos - this.y) / -5;
             }
             if (this.y < this.hoverPos - 4) {
               this.y += 2.5;
             }
           }
         } else if (expanse && !returning) {
           this.rotation =
             this.startRotation + currentTime * (this.speed / 2);
           if (this.y > this.expansePos) {
             this.y -= Math.floor(this.expansePos - this.y) / -80;
           }
         } else if (returning) {
           this.rotation = this.startRotation + currentTime * this.speed;
           if (Math.abs(this.y - this.originalY) > 2) {
             this.y += (this.originalY - this.y) / 50;
           } else {
             this.y = this.originalY;
             this.yOrigin = this.originalY;
           }
         }

         context.save();
         context.fillStyle = this.color;
         context.strokeStyle = this.color;
         context.beginPath();
         const oldPos = rotate(
           centerx,
           centery,
           this.prevX,
           this.prevY,
           -this.prevR
         );
         context.moveTo(oldPos[0], oldPos[1]);
         context.translate(centerx, centery);
         context.rotate(this.rotation);
         context.translate(-centerx, -centery);
         context.lineTo(this.x, this.y);
         context.stroke();
         context.restore();

         this.prevR = this.rotation;
         this.prevX = this.x;
         this.prevY = this.y;
       }
     }

     const centerHover = document.querySelector(".centerHover");

     centerHover.addEventListener("click", function () {
       collapse = false;
       expanse = true;
       returning = false;
       this.classList.add("open");

       setTimeout(() => {
         expanse = false;
         returning = true;

         setTimeout(() => {
           returning = false;
           this.classList.remove("open");
         }, 2000);
       }, 5000);
     });

     centerHover.addEventListener("mouseover", function () {
       if (expanse === false) {
         collapse = true;
       }
     });

     centerHover.addEventListener("mouseout", function () {
       if (expanse === false) {
         collapse = false;
       }
     });

     function loop() {
       const now = new Date().getTime();
       currentTime = (now - startTime) / 50;

       context.fillStyle = "rgba(25,25,25,0.2)";
       context.fillRect(0, 0, cw, ch);

       for (let i = 0; i < stars.length; i++) {
         if (stars[i] !== undefined) {
           stars[i].draw();
         }
       }

       requestAnimationFrame(loop);
     }

     function init() {
       context.fillStyle = "rgba(25,25,25,1)";
       context.fillRect(0, 0, cw, ch);
       for (let i = 0; i < 2500; i++) {
         new Star();
       }
       loop();
     }

     init();
   }

   document.addEventListener("DOMContentLoaded", () => {
     blackhole("#blackhole");
   });
 </script>
  </body>
</html>


钩子类——————

126-034
126-035
126-036
126-037
126-038
126-039
126-5904735

支架类——————

126-033
126-040
126-5311(白色5cm)
126-5312(白色10cm)
126-5004514(黑色5cm)
126-5004515(银色5cm)
126-5905336
126-12607(黑色3cm)
126-12609(白色3cm)
126-51044(黑色7cm)
126-51045(白色7cm)

铝条类——————

126-717(白色A铝glidere)
126-(黑色色A铝glidere)
126-493(白色U铝glidere)
126-5906474(黑色U铝gludere)
126-490(银色U铝连接器)
126-491(白色U铝连接器)
126-5906481(黑色U铝连接器)
126-488(银色U铝支架包)
126-489(白色U铝支架包)
126-492(白色U铝条端盖)
126-5906476(黑色U铝端盖)
126-5906477(黑色U铝支架包)
126-2985(白色A铝条端盖)
126-12695(黑色A铝条端盖)
126-5802830(A铝连接器)
126-719(白色A铝定位)
126-12693(黑色A铝定位)

夹子————

126-043

线glidere类————

126-13331(白色)
126-13298(白色)
126-5906475(黑色)
126-5906638(黑色)

其他类————

126-7901
126-047
126-12758(银色圈)
126-12759(黑色圈)
126-5904938
126-13355(3.4M布)
126-5903596(窗帘绳)
126-5905561
126-5905001
126-5802778(直出附件包)

折弯——

126-5906473(黑色U铝)
126-5352(白色U铝)
126-5353(银色U铝)
126-755(白色A铝外)
126-751(白色A知内)
126-5905598(黑色A铝外)
126-756(黑色A铝外与126-5905598一样的吊卡和产品)
126-13137(黑色A铝内)

U铝样品——

126-344(1.5m银)
126-345(1.5m白)
126-346(2m银)
126-347(2m白)
126-348(2.5m银)
126-349(2.5白)
126-5906478(1.5m黑)
126-5906479(2m黑)
126-5906480(2.5m黑)

A铝样品——

126-737(2m白)
126-13133(2m黑)
126-739(2.5m白)
126-5903619(2.5m黑)

C铝样品————

126-060(附件带有5311与126-049等不一样)
126-049(同类型只留一个,区别在折弯长度和总长度,附件包一样)
126-5905837(拉杆)
126-5903565(浴帘杆)
126-584(伸缩杆)
126-5904719(卷帘深灰)
126-5904725(卷帘浅灰)
126-5904731(卷帘浅灰不带彩卡)
126-5904780(百折帘白色)

126-5905322(印花卷帘)
126-5905332(印花卷帘)
126-5905323(印花卷帘)
126-5905334(印花卷帘)
126-5905324(印花卷帘)




前几天在测试新主题中,遇见双栏图片总是对不齐(在前面有2个字符空白),并换行,后来求助了一下就解决了,其实只需要在页面直接插入以下代码就解决了。

p {
margin: 0;
display: flex;
flex-wrap: wrap;
gap: 10px;
}

在buyu魔改主题中,我想给p换行后的前面加2个空白字符,“达到缩进效果”,文字的效果达到了,但会把首个图片也缩进了,因为我的图片灯箱可能会被识别成a字符,后面我通过加一个图片识别就完美解决了。

    p img{
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    }

其中gap: 10px;是间隔,图片间隔有点丑就删除。


前言

嘴上说着今天不打,手还不是不老实。
为此为让大家戒撸,我把“戒撸”做成一个程序,让“戒撸”和“上班”一样,都需要“打卡”。以此来记录,今天的你老实,还是今天你的手老实。

演示

PicsArt_07-03-10.09.56.jpg

介绍

整个程序大小:2.46k
由一个txt文件来储存数据,2个php组成。
戒撸刻不容缓,速度下载使用。

下载

https://pan.baidu.com/s/1XjeYO3hMccY0ARPqqhUrCg?pwd=i485 


前言

你还在烦恼日子记不住?
你还在烦恼她 / 他记错帐?不要怕,程序来了,那天交的公粮,一目了然,清清楚楚,明明白白。
不止能记录今天的,甚至能记录月、年的,还能统计总数,交了多少又有谁能知道呢?(记得隐私,小心大家给你加班,假装你很强)
IMG_20250701_004409.jpg

演示 /

https://199696.xyz/assets/20/

像我一样单身的,根本不配拥有这种程序,玛的,用不上。

下载地址

https://pan.baidu.com/s/1FUOgV9Y6sNx-pIR3dRQdow?pwd=nsud