liujt пре 6 месеци
родитељ
комит
8eb18a607f

+ 7 - 1
src/views/ledgerAssets/components/details/components/internetDetail.vue

@@ -58,7 +58,7 @@
       <div class="chart-card" v-for="item in historyData">
         <el-row :gutter="20">
             <el-col :span="8">{{item.name}}</el-col>
-            <el-col :span="8"><span class="detail-span">最高值{{ item.maxValue }} {{ item.unit}}</span> | <span class="detail-span">最低值{{ item.minValue }} {{ item.unit}}</span> | <span class="detail-span">平均值{{ item.avgValue }} {{ item.unit}}</span></el-col>
+            <el-col :span="8"><span class="detail-span">最高值<span class="detail-value">{{ item.maxValue }} {{ item.unit}}</span></span> | <span class="detail-span">最低值<span class="detail-value">{{ item.minValue }} {{ item.unit}}</span></span> | <span class="detail-span">平均值<span class="detail-value" style="color: rgb(8, 64, 213);">{{ item.avgValue }} {{ item.unit}}</span></span></el-col>
             <el-col :span="8">
                 <div class="tools">
                     <div class="">
@@ -535,6 +535,12 @@ export default {
   margin-left: 10px;
 }
 
+.detail-value {
+  font-weight: 600;
+  color: rgb(255, 62, 82);
+  margin-left: 5px;
+}
+
 .gauge-card,
 .chart-card {
   flex: 1;

+ 1 - 1
vue.config.js

@@ -37,7 +37,7 @@ module.exports = {
         // target: 'http://192.168.1.132:18086', // 徐
         // target: 'http://192.168.1.125:18086', //本
         // target: 'http://192.168.1.116:18086', // 赵沙金
-        target: 'http://192.168.1.251:18186', // 测试环境
+        target: 'http://192.168.1.251:18086', // 测试环境
         changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
         pathRewrite: {
           '^/api': ''