From 00ef473d3b7508fd898549fc9f4c74eef52a7d71 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期三, 20 三月 2024 09:54:26 +0800
Subject: [PATCH] feat:详情跳转

---
 src/views/screen/components/screen-video/index.vue |   26 ++++++++++++++------------
 1 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/src/views/screen/components/screen-video/index.vue b/src/views/screen/components/screen-video/index.vue
index 3fa66d1..d97042f 100644
--- a/src/views/screen/components/screen-video/index.vue
+++ b/src/views/screen/components/screen-video/index.vue
@@ -1,6 +1,6 @@
 <template>
   <div class="video-container">
-    <wrapper-title :title="'瑙嗛璁惧鏁版嵁'"></wrapper-title>
+    <wrapper-title :title="'瑙嗛璁惧鏁版嵁'" :path="'/monitorServe/video'"></wrapper-title>
 
     <div class="video-content">
       <div class="data-plane">
@@ -11,7 +11,7 @@
             </div>
             <div class="data-info">
               <div class="data-lable">璁惧鎬绘暟</div>
-              <div class="data-num">{{ formatNumber(1123) }}</div>
+              <div class="data-num type1" v-roll>{{ 1123 }}</div>
             </div>
           </div>
         </dv-border-box-13>
@@ -23,7 +23,7 @@
             </div>
             <div class="data-info">
               <div class="data-lable">璁惧姝e父鏁�</div>
-              <div class="data-num">{{ formatNumber(200000) }}</div>
+              <div class="data-num type2" v-roll>{{ 2000 }}</div>
             </div>
           </div>
         </dv-border-box-13>
@@ -35,7 +35,7 @@
             </div>
             <div class="data-info">
               <div class="data-lable">璁惧寮傚父鏁�</div>
-              <div class="data-num">{{ formatNumber(112313141111) }}</div>
+              <div class="data-num type3" v-roll>{{ 1000 }}</div>
             </div>
           </div>
         </dv-border-box-13>
@@ -54,18 +54,10 @@
   },
   data() {
     return {
-      dataList: {
-        state: { '01:00': 1000, '02:00': 2131, '03:00': 1233, '04:00': 2132, '05:00': 3211, '06:00': 213, '07:00': 123, '08:00': 566 },
-        state2: { '01:00': 900, '02:00': 1131, '03:00': 1533, '04:00': 2132, '05:00': 3011, '06:00': 13, '07:00': 113, '08:00': 566 },
-      },
     }
   },
 
   methods: {
-
-    formatNumber(value) {
-      return new Intl.NumberFormat('en-US').format(value);
-    }
   },
 
   mounted() {
@@ -113,6 +105,16 @@
           font-size: 24px;
           color: #fff;
         }
+
+        .type1 {
+          color: #287cfa;
+        }
+        .type2 {
+          color: #0cd81d;
+        }
+        .type3 {
+          color: #e20c0c
+        }
       }
     }
   }

--
Gitblit v1.8.0