|
@@ -1,24 +1,59 @@
|
|
|
<template>
|
|
|
<div class="grid">
|
|
|
- <div class="item1"><item1></item1></div>
|
|
|
- <div class="span-col-2 span-row-3 item2"><Main></Main></div>
|
|
|
- <div class="item3"><item3></item3></div>
|
|
|
- <div class="item4"><excavation></excavation></div>
|
|
|
- <div class="item5"><item5></item5></div>
|
|
|
- <div class="item6"><item6></item6></div>
|
|
|
- <div class="item7"><item7></item7></div>
|
|
|
- <div class="item8"><coal-proportion></coal-proportion></div>
|
|
|
- <div class="span-col-2 span-row-2 item9">
|
|
|
- <div class="watch watch1"></div>
|
|
|
- <div class="watch watch2"></div>
|
|
|
- <div class="watch watch3"></div>
|
|
|
- <div class="watch watch4"></div>
|
|
|
- <div class="watch watch5"></div>
|
|
|
- <div class="watch watch6"></div>
|
|
|
+ <div class="item1 item">
|
|
|
+ <item1></item1>
|
|
|
+ </div>
|
|
|
+ <div class="span-col-2 span-row-3 item2 item">
|
|
|
+ <Main></Main>
|
|
|
+ </div>
|
|
|
+ <!-- <div class="span-col-2 span-row-3 item2">item2</div> -->
|
|
|
+ <div class="item3 item">
|
|
|
+ <item3></item3>
|
|
|
+ </div>
|
|
|
+ <div class="item4 item">
|
|
|
+ <excavation></excavation>
|
|
|
+ </div>
|
|
|
+ <div class="item5 item">
|
|
|
+ <item5></item5>
|
|
|
+ </div>
|
|
|
+ <div class="item6 item">
|
|
|
+ <item6></item6>
|
|
|
+ </div>
|
|
|
+ <div class="item7 item">
|
|
|
+ <item7></item7>
|
|
|
+ </div>
|
|
|
+ <div class="item8 item">
|
|
|
+ <coal-proportion></coal-proportion>
|
|
|
+ </div>
|
|
|
+ <div class="span-col-2 span-row-2 item9 item">
|
|
|
+ <div class="watch watch1">
|
|
|
+ <m3u8></m3u8>
|
|
|
+ </div>
|
|
|
+ <div class="watch watch2">
|
|
|
+ <m3u8></m3u8>
|
|
|
+ </div>
|
|
|
+ <div class="watch watch3">
|
|
|
+ <m3u8></m3u8>
|
|
|
+ </div>
|
|
|
+ <div class="watch watch4">
|
|
|
+ <m3u8></m3u8>
|
|
|
+ </div>
|
|
|
+ <div class="watch watch5">
|
|
|
+ <m3u8></m3u8>
|
|
|
+ </div>
|
|
|
+ <div class="watch watch6">
|
|
|
+ <m3u8></m3u8>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="item10 item">
|
|
|
+ <equipment></equipment>
|
|
|
+ </div>
|
|
|
+ <div class="item11 item">
|
|
|
+ <coal-position></coal-position>
|
|
|
+ </div>
|
|
|
+ <div class="item12 item">
|
|
|
+ <item12></item12>
|
|
|
</div>
|
|
|
- <div class="item10"><equipment></equipment></div>
|
|
|
- <div class="item11"><coal-position></coal-position></div>
|
|
|
- <div class="item12"><item12></item12></div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -30,10 +65,11 @@ import item5 from "@/components/newMain/item5";
|
|
|
import item7 from "@/components/newMain/item7";
|
|
|
import item3 from "@/components/newMain/item3";
|
|
|
import item12 from "@/components/newMain/item12";
|
|
|
-import excavation from "@/components/newMain/item4"
|
|
|
-import coalPosition from "@/components/newMain/item11"
|
|
|
-import coalProportion from "@/components/newMain/item8"
|
|
|
-import equipment from "@/components/newMain/item10"
|
|
|
+import excavation from "@/components/newMain/item4";
|
|
|
+import coalPosition from "@/components/newMain/item11";
|
|
|
+import coalProportion from "@/components/newMain/item8";
|
|
|
+import equipment from "@/components/newMain/item10";
|
|
|
+import m3u8 from "@/common/m3u8";
|
|
|
|
|
|
export default {
|
|
|
name: "newMain",
|
|
@@ -48,25 +84,37 @@ export default {
|
|
|
excavation,
|
|
|
coalPosition,
|
|
|
coalProportion,
|
|
|
- equipment
|
|
|
+ equipment,
|
|
|
+ m3u8,
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
.grid {
|
|
|
- background: linear-gradient(to bottom, #323232 0%, #3f3f3f 40%, #1c1c1c 150%),
|
|
|
- linear-gradient(
|
|
|
- to top,
|
|
|
- rgba(255, 255, 255, 0.4) 0%,
|
|
|
- rgba(0, 0, 0, 0.25) 200%
|
|
|
- );
|
|
|
+ // background: linear-gradient(to bottom, #323232 0%, #3f3f3f 40%, #1c1c1c 150%),
|
|
|
+ // linear-gradient(
|
|
|
+ // to top,
|
|
|
+ // rgba(255, 255, 255, 0.4) 0%,
|
|
|
+ // rgba(0, 0, 0, 0.25) 200%
|
|
|
+ // );
|
|
|
+background: #bdc3c7; /* fallback for old browsers */
|
|
|
+background: -webkit-linear-gradient(to top, #2c3e50, #bdc3c7); /* Chrome 10-25, Safari 5.1-6 */
|
|
|
+background: linear-gradient(to top, #2c3e50, #bdc3c7); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
|
|
|
+
|
|
|
width: 100%;
|
|
|
height: 100vh;
|
|
|
display: grid;
|
|
|
grid-template-columns: repeat(4, 1fr);
|
|
|
grid-template-rows: repeat(5, 1fr);
|
|
|
grid-gap: 10px;
|
|
|
+ .item {
|
|
|
+ position: relative;
|
|
|
+ background-color: #303030;
|
|
|
+ border-radius: 20px;
|
|
|
+ padding: 1px;
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
.span-col-2 {
|
|
|
grid-column: span 2 / auto;
|
|
@@ -81,11 +129,11 @@ export default {
|
|
|
}
|
|
|
.item9 {
|
|
|
display: grid;
|
|
|
- grid-template-columns: repeat(3, 1fr);
|
|
|
- grid-template-rows: repeat(5, 148px);
|
|
|
- grid-gap: 10px;
|
|
|
+ grid-template-columns: repeat(3, 257px);
|
|
|
+ grid-template-rows: repeat(3, 160px);
|
|
|
+ grid-gap: 5px;
|
|
|
.watch {
|
|
|
- background-color: aqua;
|
|
|
+ margin-top: 20px;
|
|
|
}
|
|
|
}
|
|
|
</style>
|