瀏覽代碼

feat 决策

sys5923812@126.com 1 周之前
父節點
當前提交
7942d8cb9b
共有 1 個文件被更改,包括 7 次插入6 次删除
  1. 7 6
      src/views/xjc-integratedmachine/wakeup/rainbow/index.vue

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

@@ -1,9 +1,9 @@
 <template>
     <div id="outerDiv" class="development_stage">
-<!--      <div style="z-index:9999;background: red;width: 1920px;height: 1080px">-->
+        <!--      <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>-->
+        <!--      </div>-->
 
         <head-component :headinfo=headinfo></head-component>
         <div id="cc"
@@ -20,9 +20,9 @@
                     <!--<div style="width: 1700px;height: 1px;border: 1px solid white;position: absolute;left: 70px;top: 906px"></div>-->
                     <FollowRingChart ref="followRingChart1" id="ring-chart1" class="ring-chart1"
                                      :chartProps="chartPrpps1"/>
-                    <!--<FollowRingChart ref="followRingChar2" id="ring-chart2" class="ring-chart2"-->
-                    <!--:chartProps="chartPrpps2"-->
-                    <!--style="z-index: 99999999"/>-->
+                    <FollowRingChart ref="followRingChar2" id="ring-chart2" class="ring-chart2"
+                                     :chartProps="chartPrpps2"
+                                     style="z-index: 9999"/>
                     <!--<FollowRingChart ref="followRingChart3" id="ring-chart3" class="ring-chart3"-->
                     <!--:chartProps="chartPrpps3"/>-->
                     <!--<FollowRingChart ref="followRingChart4" id="ring-chart4" class="ring-chart4"-->
@@ -166,7 +166,7 @@
         console.log("dis:", distance)
         if (distance <= out_height.value - raduis_half[0] && distance > out_height.value - raduis_half[1]) {
             console.log("t1")
-        }else if (distance <= out_height.value - raduis_half[1] && distance > out_height.value - raduis_half[2]) {
+        } else if (distance <= out_height.value - raduis_half[1] && distance > out_height.value - raduis_half[2]) {
             console.log("t2")
         }
 
@@ -574,6 +574,7 @@
         z-index: 10;
         width: 100%;
         height: 1080px;
+
         .page-content {
             width: 1832px;
             height: 980px;