riku
2024-05-08 d0f5933cb7fe9196ca0250252efc820a1a9d947e
src/views/historymode/HistoryMode.vue
@@ -1,6 +1,6 @@
<template>
  <div class="p-events-none m-t-2">
    <el-row justify="center">
    <el-row v-show="status == 0" justify="center">
      <SearchBar
        :search-time="searchTime"
        @search="fetchHistroyData"
@@ -32,6 +32,11 @@
      :factor-datas="factorDatas"
      :device-type="deviceType"
    ></DataSheet>
    <el-row class="historical" justify="center">
      <HistoricalTrajectory
        @change="(e) => (status = e)"
      ></HistoricalTrajectory>
    </el-row>
  </div>
</template>
@@ -70,7 +75,9 @@
      drawMode: 0,
      searchTime: [],
      // 当前选中高亮的数据点索引
      locateIndex: undefined
      locateIndex: undefined,
      // 轨迹动画状态
      status: 0
    };
  },
  watch: {
@@ -192,4 +199,11 @@
  right: 0;
  top: 0;
}
.historical {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
</style>