Fury %!s(int64=3) %!d(string=hai) anos
pai
achega
6ad41c1311
Modificáronse 2 ficheiros con 40 adicións e 41 borrados
  1. 0 1
      src/components/device/toy/connecting.vue
  2. 40 40
      src/utils/index.js

+ 0 - 1
src/components/device/toy/connecting.vue

@@ -326,7 +326,6 @@ export default {
 
       if(wx.getStorageSync("userinfo").level == 11){
         $this.choose_pay(2)
-        
       }else{
         $this.pay_window = true;
       }

+ 40 - 40
src/utils/index.js

@@ -187,12 +187,12 @@ function getLineOption(lineData_att, lineData_med, lineData_amp) {
       show: false,
     },
     series: [{
-      name: "Att(专注度)",
-      symbol: "none", //取消折点圆圈
-      type: "line",
-      smooth: true,
-      data: lineData_att,
-    },
+        name: "Att(专注度)",
+        symbol: "none", //取消折点圆圈
+        type: "line",
+        smooth: true,
+        data: lineData_att,
+      },
       {
         name: "Med(放松度)",
         symbol: "none", //取消折点圆圈
@@ -289,12 +289,12 @@ function getABOption(lineData_alphaL, lineData_alphaH, lineData_betaL, lineData_
       show: false,
     },
     series: [{
-      name: "alphaL",
-      symbol: "none", //取消折点圆圈
-      type: "line",
-      smooth: true,
-      data: lineData_alphaL,
-    },
+        name: "alphaL",
+        symbol: "none", //取消折点圆圈
+        type: "line",
+        smooth: true,
+        data: lineData_alphaL,
+      },
       {
         name: "alphaH",
         symbol: "none", //取消折点圆圈
@@ -398,8 +398,7 @@ function getDTOption(delta, theta) {
       },
       show: false,
     },
-    series: [
-      {
+    series: [{
         name: "Delta",
         symbol: "none", //取消折点圆圈
         type: "line",
@@ -425,7 +424,7 @@ function getBaseOption(delta, theta, low_beta, high_beta, low_alpha, high_alpha)
   var option = {
     color: ["#FF77B3", "#FFE838", "#0060F1", "#00CCFF", "#38FF49", "#00AD0E"],
     legend: {
-      data: ["Delta", "Theta", "Low_Beta", "High_Beta","Low_Alpha", "High_Alpha",],
+      data: ["Delta", "Theta", "Low_Beta", "High_Beta", "Low_Alpha", "High_Alpha", ],
       left: "center",
       bottom: 20,
       icon: "circle",
@@ -491,12 +490,12 @@ function getBaseOption(delta, theta, low_beta, high_beta, low_alpha, high_alpha)
       show: false,
     },
     series: [{
-      name: "Delta",
-      symbol: "none", //取消折点圆圈
-      type: "line",
-      smooth: true,
-      data: delta,
-    },
+        name: "Delta",
+        symbol: "none", //取消折点圆圈
+        type: "line",
+        smooth: true,
+        data: delta,
+      },
       {
         name: "Theta",
         symbol: "none", //取消折点圆圈
@@ -695,24 +694,24 @@ export function getRadarChartOption($params) {
       },
       name: {
         rich: {
-            a: {
-              color: '#333333',
-              fontSize: 10,
-              fontWeight: "400",
-              fontFamily: "Microsoft YaHei",
-            },
-            b: {
-              color: '#333333',
-              align: 'center',
-              padding: 5,
-              fontSize: 10,
-            }
+          a: {
+            color: '#333333',
+            fontSize: 10,
+            fontWeight: "400",
+            fontFamily: "Microsoft YaHei",
+          },
+          b: {
+            color: '#333333',
+            align: 'center',
+            padding: 5,
+            fontSize: 10,
+          }
         },
         formatter: (a, b) => {
           i++;
           return `{a|${a}}\n{b|${$params[i]}}`
         }
-    }
+      }
     },
     series: [{
       silent: true,
@@ -727,8 +726,8 @@ export function getRadarChartOption($params) {
         // areaStyle: {
         //   color: "#FFB72D",
         // },
-      },],
-    },],
+      }, ],
+    }, ],
   };
   return $option;
 }
@@ -758,14 +757,14 @@ export function getPieChartsOption($pie_datas) {
         show: false,
       },
       data: $pie_datas,
-    },],
+    }, ],
   };
   return option;
 }
 
 // 受干扰次数 getInterfereChartsOption 小乌龟
 export function getInterfereChartsOption(interfere_datas) {
-  // console.log('干扰初始化', interfere_datas)
+  console.log('干扰初始化', interfere_datas)
   if (interfere_datas) {
     let option = {
       color: '#23CC92',
@@ -799,6 +798,7 @@ export function getInterfereChartsOption(interfere_datas) {
         min: -100,
         max: 0,
         axisLabel: {
+
           formatter: '{value}',
           textStyle: {
             color: '#23CC92'
@@ -811,7 +811,7 @@ export function getInterfereChartsOption(interfere_datas) {
         type: "line",
         large: true,
         areaStyle: {}
-      },],
+      }, ],
     }
     return option
   }
@@ -864,7 +864,7 @@ export function getAdjustmentChartsOption(interfere_datas) {
         type: "line",
         large: true,
         areaStyle: {}
-      },],
+      }, ],
     }
     return option
   }