Browse Source

修改生物反馈gif

plg 9 months ago
parent
commit
17b2e7f4d8

BIN
src/renderer/assets/manage/dt.gif


+ 22 - 2
src/renderer/components/AnimationDes.vue

@@ -147,7 +147,13 @@
             :height="heightIframe"
           >
           </iframe>
+          <div v-if="equipment == '2'" style="width:20vw;display:flex;justify-content: center;align-items:start;padding-left: 10px;">
+            <img src="../assets/manage/dt.gif" />
+          </div>
+         
+      
         </div>
+       
       </div>
       <div style="flex: 1">&nbsp;</div>
     </div>
@@ -1455,6 +1461,10 @@ export default {
         //开始脑电各个部分的数据
         targetList: [],
       };
+      
+      setTimeout(() => {
+        this.getSize();
+      }, 0);
 
       this.disconnectDevice();
       //先判断当选择的设备是否连接
@@ -1466,7 +1476,8 @@ export default {
       //   this.userLink.linkStatus = false;
       //   this.userTwoLink.linkStatus = false;
       this.resetData();
-
+      
+      
       //只要切换类型就断开
       // this.userLink.mac = "";
       // this.linkStatus = false;
@@ -1476,6 +1487,7 @@ export default {
       //断开所有设备
 
       //结束测试
+
     },
     //断开所有设备的操作
     disconnectDevice() {
@@ -1971,7 +1983,12 @@ export default {
         // that.visibleFlag = true;
         let width = that.$refs.animationFlow.clientWidth;
         let height = that.$refs.animationFlow.clientHeight - 40;
-        that.widthIframe = width;
+        that.widthIframe = width
+        if(this.equipment=='1'){
+          that.widthIframe = width
+        }else{
+          that.widthIframe = width -200;
+        }
         that.heightIframe = height;
 
         that.changeSize(width, height);
@@ -2735,6 +2752,9 @@ canvas {
 }
 
 .flood-plan-page {
+ display: flex;
+ justify-content: center;
+ flex-direction: row;
   margin-top: 20px;
   flex: 1;
   width: 100%;

+ 15 - 1
src/renderer/components/AnimationDouble.vue

@@ -184,6 +184,9 @@
             :height="heightIframe"
           >
           </iframe>
+          <div v-if="equipment == '2'" style="width:20vw;display:flex;justify-content: center;align-items:start;padding-left: 10px;">
+            <img src="../assets/manage/dt.gif" />
+          </div>
         </div>
       </div>
       <div style="flex: 1"></div>
@@ -2179,6 +2182,9 @@ export default {
         ];
         this.gameTarget = 3;
       }
+      setTimeout(() => {
+        this.getSize();
+      }, 0);
       //先判断当选择的设备是否连接
       //如果已连接,则继续测试
       //如果未连接则提示连接设备
@@ -2823,7 +2829,11 @@ export default {
         // that.visibleFlag = true;
         let width = this.$refs.animationFlow.clientWidth;
         let height = this.$refs.animationFlow.clientHeight - 40;
-        that.widthIframe = width;
+        if(this.equipment=='1'){
+          that.widthIframe = width
+        }else{
+          that.widthIframe = width -200;
+        }
         that.heightIframe = height;
         that.changeSize(width, height);
       }, 0);
@@ -4260,9 +4270,13 @@ canvas {
 }
 
 .flood-plan-page {
+  display: flex;
+ justify-content: center;
+ flex-direction: row;
   margin-top: 20px;
   flex: 1;
   width: 100%;
+  overflow: visible;
 }
 
 .selectSty {

+ 2 - 2
src/renderer/components/TopPage.vue

@@ -107,9 +107,9 @@
             本计算机程序受著作权法和国际公约的保护,未经授权擅自复制或传播本程序的部分或全部,
             可能受到严厉的民事及刑事制裁,并将在法律许可的范围内受到最大可能的起诉.
           </p>
-          <p><span>Version:</span> 1.3.8</p>
+          <p><span>Version:</span> 1.3.9</p>
           <p><span>Build:</span>#900ae1a50e</p>
-          <p><span>Build on:</span>2024/06/03</p>
+          <p><span>Build on:</span>2024/06/20</p>
           <p><span>Windows:</span>{{ windowsVersion }}</p>
         </el-col>
       </el-row>