roose 5 年之前
父节点
当前提交
24b1a744af
共有 2 个文件被更改,包括 8 次插入10 次删除
  1. 1 1
      src/components/PatrolmanStatistics/3.vue
  2. 7 9
      src/pages/Home.vue

+ 1 - 1
src/components/PatrolmanStatistics/3.vue

@@ -46,7 +46,7 @@
                       waveAnimation: false, // 禁止左右波动
                       label: {
                           normal: {
-                              position: ['50%', '35%'],
+                              position: ['50%', '50%'],
                               textStyle: {
                                   fontSize: 20,
                                   color: this.colorArr[i].color1

+ 7 - 9
src/pages/Home.vue

@@ -140,17 +140,15 @@
                     <ul class="item" style="height:100%">
                         <li v-for="(item, index) in listData" :key="index">
                             <el-row
-                                    style="padding-top:1%;padding-bottom:1%;margin-top:2%;color:#fff"
-                                    type="flex"
-                                    justify="center"
-                                    align="middle"
+                                    style="padding-top:1%;padding-bottom:1%;margin-top:2%;color:#fff;text-align: center"
+
                                     :class="{'sc0': index%2==0}"
                             >
-<!--                                <el-col :span="4" class="col4">-->
-<!--                                    <el-image class="img" :src="scrollTextisColor(index)"></el-image>-->
-<!--                                </el-col>-->
-                                <el-col :span="4">{{item.date}}</el-col>
-                                <el-col :span="4">{{item.time}}</el-col>
+                                <el-col :span="2" class="col4">
+                                    <el-image class="img" :src="scrollTextisColor(index)"></el-image>
+                                </el-col>
+                                <el-col :span="7">{{item.date}}</el-col>
+                                <el-col :span="3">{{item.time}}</el-col>
                                 <!-- <el-col :span="4">
                                   <img src="../assets/index/block.png" alt />
                                 </el-col>-->