From eef9fb0a70d6249b80f067663d910b5c2becc4ef Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Sat, 12 Nov 2022 09:01:44 +0800
Subject: [PATCH] 1

---
 src/views/home/components/rightContainer.vue |   54 ++++++++++++++++++++++++++++++++++++++++++------------
 1 files changed, 42 insertions(+), 12 deletions(-)

diff --git a/src/views/home/components/rightContainer.vue b/src/views/home/components/rightContainer.vue
index 5453b71..78d020e 100644
--- a/src/views/home/components/rightContainer.vue
+++ b/src/views/home/components/rightContainer.vue
@@ -4,9 +4,16 @@
             <div class="title">
                 案件统计
                 <div class="timer">
-                    <el-date-picker v-model="eventTime" type="daterange" align="right" unlink-panels range-separator="至"
-                        start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions">
-                    </el-date-picker>
+                    <el-date-picker
+                        v-model="eventTime"
+                        type="daterange"
+                        align="right"
+                        unlink-panels
+                        range-separator="至"
+                        start-placeholder="开始日期"
+                        end-placeholder="结束日期"
+                        :picker-options="pickerOptions"
+                    ></el-date-picker>
                 </div>
             </div>
             <div id="EventChangeEcharts" class="echarts-box"></div>
@@ -14,15 +21,28 @@
         <div class="alert-box">
             <div class="title">
                 <span style="margin-right:130px">安保活动</span>
-                <span class="activity" :class="{ choosed: acttype == 0 }" @click="actTabClick(0)">正在进行</span>
+                <span
+                    class="activity"
+                    :class="{ choosed: acttype == 0 }"
+                    @click="actTabClick(0)"
+                >正在进行</span>
                 <span>/</span>
-                <span class="activity" :class="{ choosed: acttype == 1 }" @click="actTabClick(1)">历史活动</span>
+                <span
+                    class="activity"
+                    :class="{ choosed: acttype == 1 }"
+                    @click="actTabClick(1)"
+                >历史活动</span>
             </div>
             <div id="peopleList" class="echarts-box">
-                <el-table :data="acttype == 0 ? underwayArr : historyArr" style="width: 100%"
+                <el-table
+                    :data="acttype == 0 ? underwayArr : historyArr"
+                    style="width: 100%"
                     :header-cell-style="{ 'text-align': 'center', 'background-color': '#203c60', 'borderColor': '#324e75' }"
                     :cell-style="{ 'text-align': 'center', 'borderColor': '#324e75' }"
-                    :row-class-name="tableRowClassName" ref="activityTable" @row-click="activityRowClick">
+                    :row-class-name="tableRowClassName"
+                    ref="activityTable"
+                    @row-click="activityRowClick"
+                >
                     <el-table-column prop="activityName" label="活动名称" width="100"></el-table-column>
                     <el-table-column prop="startTime" label="开始时间" width="100"></el-table-column>
                     <el-table-column prop="endTime" label="结束时间" width="100"></el-table-column>
@@ -33,9 +53,17 @@
         <div class="crowd-box">
             <div class="title">
                 <span style="margin-right:130px">现有设备</span>
-                <span class="equiment" :class="{ choosed: linetype == 0 }" @click="lineTabClick(0)">在线设备</span>
+                <span
+                    class="equiment"
+                    :class="{ choosed: linetype == 0 }"
+                    @click="lineTabClick(0)"
+                >在线设备</span>
                 <span>/</span>
-                <span class="activity" :class="{ choosed: linetype == 1 }" @click="lineTabClick(1)">离线设备</span>
+                <span
+                    class="activity"
+                    :class="{ choosed: linetype == 1 }"
+                    @click="lineTabClick(1)"
+                >离线设备</span>
             </div>
             <div style="overflow: hidden;" id="EquipmentEcharts" class="echarts-box"></div>
         </div>
@@ -502,15 +530,17 @@
             border-radius: 50%;
             background: #43bafe;
             box-shadow: 0px 0px 8px 2px #43bafe;
+            margin-left: 8px;
         }
 
         .title {
-            padding: 0 18px;
+            padding: 0 18px 0 25px;
             position: relative;
             text-align: left;
             height: 40px;
             line-height: 40px;
             font-size: 20px;
+            background-image: linear-gradient(to right, #2e4aba, #010d3e);
 
             .timer {
                 width: 250px;
@@ -554,7 +584,7 @@
                 border: 1px solid rgba(20, 50, 123, 1);
                 cursor: pointer;
 
-                &>div {
+                & > div {
                     height: 26px;
                     line-height: 26px;
                 }
@@ -569,7 +599,7 @@
             flex: 1;
         }
 
-        .sub-tab+.echarts-box {
+        .sub-tab + .echarts-box {
             margin-top: 10px;
         }
 

--
Gitblit v1.9.3