diff --git a/src/views/dashboard/homepage.vue b/src/views/dashboard/homepage.vue index f12c5ce..79d9fca 100644 --- a/src/views/dashboard/homepage.vue +++ b/src/views/dashboard/homepage.vue @@ -30,17 +30,17 @@
+
+
+
排名
+
乡镇
+
运单量
+
-
+
-
-
-
排名
-
乡镇
-
运单量
-
{{ item1.no <= 3 ? "top" : "" }} @@ -50,6 +50,7 @@
{{ item1.count }}
+
@@ -62,15 +63,15 @@
村点信息
+
+
站点名称
+
上行
+
下行
+
-
-
-
-
站点名称
-
上行
-
下行
-
+
+
{{ item1.name }}
{{ item1.upData }}
@@ -288,10 +289,10 @@ export default { run() { this.mySwiper = new Swiper(".swiper1", { loop: true, // 循环模式选项 - autoplay:{ - delay: 10000,//10秒切换一次 + autoplay: { + delay: 10000, //10秒切换一次 disableOnInteraction: false, - } + }, }); }, @@ -299,10 +300,10 @@ export default { this.mySwiper = new Swiper(".swiper2", { loop: true, // 循环模式选项 // autoplay: true, //可选选项,自动滑动 - autoplay:{ - delay: 10000,//10秒切换一次 + autoplay: { + delay: 10000, //10秒切换一次 disableOnInteraction: false, - } + }, }); }, @@ -1103,11 +1104,14 @@ export default { height: 89%; .swiper1 { + width: 100%; height: 100%; .swiper-wrapper { + width: 100%; height: 100%; .swiper-slide { + width: 100%; height: 100%; } } @@ -1115,7 +1119,7 @@ export default { .table_con { width: 100%; - height: 100%; + height: 92%; display: flex; flex-direction: column; justify-content: space-between; @@ -1205,13 +1209,16 @@ export default { height: 88%; // overflow-y: auto; - .swiper2{ + .swiper2 { + width: 100%; height: 100%; - .swiper-wrapper{ + .swiper-wrapper { + width: 100%; height: 100%; - .swiper-slide{ + .swiper-slide { + width: 100%; height: 100%; } } @@ -1219,13 +1226,17 @@ export default { .table_con { width: 100%; - height: 100%; + height: 88%; display: flex; flex-direction: column; justify-content: space-between; align-items: center; } + .tab_con { + height: 55%; + } + .table_line { width: 100%; height: 0.4rem;