diff --git a/src/views/vehicleMent/overview/center-bg.png b/src/views/vehicleMent/overview/center-bg.png
deleted file mode 100644
index ad72cd6..0000000
Binary files a/src/views/vehicleMent/overview/center-bg.png and /dev/null differ
diff --git a/src/views/vehicleMent/overview/components/container1/bg.png b/src/views/vehicleMent/overview/components/container1/bg.png
deleted file mode 100644
index f1e48b1..0000000
Binary files a/src/views/vehicleMent/overview/components/container1/bg.png and /dev/null differ
diff --git a/src/views/vehicleMent/overview/components/container1/index.vue b/src/views/vehicleMent/overview/components/container1/index.vue
deleted file mode 100644
index 37fdb96..0000000
--- a/src/views/vehicleMent/overview/components/container1/index.vue
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/src/views/vehicleMent/overview/components/container2/bg.png b/src/views/vehicleMent/overview/components/container2/bg.png
deleted file mode 100644
index cfcc9a2..0000000
Binary files a/src/views/vehicleMent/overview/components/container2/bg.png and /dev/null differ
diff --git a/src/views/vehicleMent/overview/components/container2/index.vue b/src/views/vehicleMent/overview/components/container2/index.vue
deleted file mode 100644
index 27c5e17..0000000
--- a/src/views/vehicleMent/overview/components/container2/index.vue
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/src/views/vehicleMent/overview/icon.png b/src/views/vehicleMent/overview/icon.png
deleted file mode 100644
index c5dd663..0000000
Binary files a/src/views/vehicleMent/overview/icon.png and /dev/null differ
diff --git a/src/views/vehicleMent/overview/icon2.png b/src/views/vehicleMent/overview/icon2.png
deleted file mode 100644
index 065ec21..0000000
Binary files a/src/views/vehicleMent/overview/icon2.png and /dev/null differ
diff --git a/src/views/vehicleMent/overview/index.vue b/src/views/vehicleMent/overview/index.vue
index c981764..9bc4fac 100644
--- a/src/views/vehicleMent/overview/index.vue
+++ b/src/views/vehicleMent/overview/index.vue
@@ -1,7 +1,7 @@
-
+
-
+
车牌号:{{ item.carId }}
- 实际名称:{{ item.readName }}
-
-
- 时间:{{ item.createTime }}
车辆状态:
+
+ 时间:{{
+ parseTime(item.createTime)
+ }}
+
@@ -176,6 +174,10 @@ export default {
this.scrollList1.push(obj);
this.listData = Array(this.scrollList1.length).fill(0);
this.$refs.seamlessScroll.reset();
+ setTimeout(() => {
+ this.$refs.seamlessScroll.$refs.wrap.scrollTop =
+ this.$refs.seamlessScroll.$refs.wrap.scrollHeight;
+ }, 0);
},
getUrl() {
this.request({
@@ -214,19 +216,19 @@ export default {
if (data.isLocationUpdate) {
this.setDataList(data.isLocationUpdate);
}
- // setInterval(() => {
+ // let time = setInterval(() => {
// data.isLocationUpdate = Object.assign(
// {},
// this.data[Math.floor(Math.random() * 5)]
// );
- // data.isLocationUpdate["createTime"] = this.parseTime(
- // new Date(),
- // "{h}:{i}:{s}"
- // );
+ // data.isLocationUpdate["createTime"] = +new Date();
+ // if (this.scrollList1.length > 20) {
+ // return clearInterval(time);
+ // }
// if (data.isLocationUpdate) {
// this.setDataList(data.isLocationUpdate);
// }
- // }, 3000);
+ // }, 1000);
},
close: function () {
console.log("socket已经关闭");
@@ -288,7 +290,7 @@ export default {
.right1 {
position: absolute;
top: 86px;
- left: 1476px;
+ left: 1436px;
}
.bg_box {
position: absolute;
@@ -301,7 +303,27 @@ export default {
.warp {
height: 890px;
margin: 10px auto 0 auto;
- overflow: hidden;
+ padding-right: 10px;
+ // overflow: hidden;
+ overflow: auto;
+ // 自定义滚动条
+ &::-webkit-scrollbar {
+ // display: none;
+ }
+ &::-webkit-scrollbar {
+ width: 6px;
+ // height: 640px;
+ }
+ &::-webkit-scrollbar-thumb {
+ border-radius: 3px;
+ -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
+ background: rgba(255, 255, 255, 1);
+ }
+ &::-webkit-scrollbar-track {
+ -webkit-box-shadow: inset 0 0 0px rgba(0, 0, 0, 0.2);
+ border-radius: 0;
+ background: rgba(241, 241, 241, 0.1);
+ }
ul {
width: 100%;
height: 100%;
@@ -320,7 +342,7 @@ export default {
}
.item-tit {
text-align: center;
- width: 100px;
+ width: 140px;
height: 80px;
font-size: 18px;
font-family: PingFangSC-Medium, PingFang SC;