瀏覽代碼

[feat] 彩虹图

byq 1 周之前
父節點
當前提交
12d91f32e4
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/xjc-integratedmachine/wakeup/rainbow/index.vue

+ 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;
         }