Selaa lähdekoodia

[feat] 彩虹图

byq 1 viikko sitten
vanhempi
commit
15f0c94138
1 muutettua tiedostoa jossa 6 lisäystä ja 6 poistoa
  1. 6 6
      src/views/xjc-integratedmachine/wakeup/rainbow/index.vue

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

@@ -1,8 +1,9 @@
 <template>
     <div id="outerDiv" class="development_stage">
-      <div style="z-index:9999;">
-        <canvas id="myCanvas" width="1920" height="1080" style="background: #00ff00;z-index: 9999"></canvas>
-      </div>
+<!--      <div style="z-index:9999;background: red;width: 1920px;height: 1080px">-->
+
+        <canvas id="myCanvas" width="1900" height="1080" style="background: #00ff00;z-index: 9999"></canvas>
+<!--      </div>-->
 
         <head-component :headinfo=headinfo></head-component>
         <div id="cc"
@@ -542,7 +543,7 @@
         const ctx = canvas.getContext("2d");
 
         // 圆心和半径
-        const centerX = 910;
+        const centerX = 960;
         const centerY = 1023;
         const radius = 855;
 
@@ -576,7 +577,6 @@
         z-index: 10;
         width: 100%;
         height: 1080px;
-
         .page-content {
             width: 1832px;
             height: 980px;
@@ -780,7 +780,7 @@
             height: 800px;
             border: 1px pink solid;
             position: absolute;
-            left: -36px;
+            left: 13px;
             top: 0px;
             //background: #ffff00;
         }