Ver código fonte

[feat] 彩虹图

byq 1 semana atrás
pai
commit
12d91f32e4

+ 2 - 2
src/views/xjc-integratedmachine/wakeup/rainbow/index.vue

@@ -542,7 +542,7 @@
         const ctx = canvas.getContext("2d");
 
         // 圆心和半径
-        const centerX = 916;
+        const centerX = 910;
         const centerY = 1023;
         const radius = 855;
 
@@ -780,7 +780,7 @@
             height: 800px;
             border: 1px pink solid;
             position: absolute;
-            left: 0px;
+            left: -36px;
             top: 0px;
             //background: #ffff00;
         }