|
@@ -13,7 +13,6 @@
|
|
|
:key="id"
|
|
:key="id"
|
|
|
>
|
|
>
|
|
|
<div>
|
|
<div>
|
|
|
- <!-- <img :src="it.icon"> -->
|
|
|
|
|
<Icon
|
|
<Icon
|
|
|
:name="it.icon"
|
|
:name="it.icon"
|
|
|
:size="96"
|
|
:size="96"
|
|
@@ -73,7 +72,6 @@
|
|
|
:key="ids"
|
|
:key="ids"
|
|
|
>
|
|
>
|
|
|
<div>
|
|
<div>
|
|
|
- <!-- <img :src="item.icon"> -->
|
|
|
|
|
<Icon
|
|
<Icon
|
|
|
:name="item.icon"
|
|
:name="item.icon"
|
|
|
:size="74"
|
|
:size="74"
|
|
@@ -95,9 +93,67 @@
|
|
|
<Box
|
|
<Box
|
|
|
:width="655"
|
|
:width="655"
|
|
|
:height="622"
|
|
:height="622"
|
|
|
- name="班次完成率"
|
|
|
|
|
|
|
+ :name="rightContent[1].name"
|
|
|
>
|
|
>
|
|
|
- 123123
|
|
|
|
|
|
|
+ <div class="classes">
|
|
|
|
|
+ <div class="classes-top">
|
|
|
|
|
+ <template
|
|
|
|
|
+ v-for="(item, id) in rightContent[1].content[0]"
|
|
|
|
|
+ :key="id"
|
|
|
|
|
+ >
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <Icon
|
|
|
|
|
+ :name="item.icon"
|
|
|
|
|
+ :size="74"
|
|
|
|
|
+ />
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <p>
|
|
|
|
|
+ {{ item.name }}
|
|
|
|
|
+ </p>
|
|
|
|
|
+ <p>
|
|
|
|
|
+ <span>{{ item.num }}</span>
|
|
|
|
|
+ {{ item.util }}
|
|
|
|
|
+ </p>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="classes-scroll">
|
|
|
|
|
+ <div class="classes-scroll-head">
|
|
|
|
|
+ <span>线路名称</span>
|
|
|
|
|
+ <span>
|
|
|
|
|
+ 班次
|
|
|
|
|
+ <i>计划/实际</i>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="scrollBox">
|
|
|
|
|
+ <TankSeamlessScroll
|
|
|
|
|
+ :step-length="60"
|
|
|
|
|
+ :debug="false"
|
|
|
|
|
+ :reverse="false"
|
|
|
|
|
+ >
|
|
|
|
|
+ <template
|
|
|
|
|
+ v-for="(item, index) in rightContent[1].content[1]"
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ >
|
|
|
|
|
+ <div class="classes-scroll-content">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <span>{{ item.name }}<i>{{ item.num }}</i></span>
|
|
|
|
|
+ <span>始</span>
|
|
|
|
|
+ <span>{{ item.start }}</span>
|
|
|
|
|
+ <span>终</span>
|
|
|
|
|
+ <span>{{ item.end }}</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div>{{ item.plan }}/{{ item.pratic }}</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div>jindutiao</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </TankSeamlessScroll>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</Box>
|
|
</Box>
|
|
|
<Box
|
|
<Box
|
|
|
:width="655"
|
|
:width="655"
|
|
@@ -109,9 +165,67 @@
|
|
|
<Box
|
|
<Box
|
|
|
:width="655"
|
|
:width="655"
|
|
|
:height="622"
|
|
:height="622"
|
|
|
- name="发车准点率"
|
|
|
|
|
|
|
+ :name="rightContent[3].name"
|
|
|
>
|
|
>
|
|
|
- 123123
|
|
|
|
|
|
|
+ <div class="classes">
|
|
|
|
|
+ <div class="classes-top">
|
|
|
|
|
+ <template
|
|
|
|
|
+ v-for="(item, id) in rightContent[3].content[0]"
|
|
|
|
|
+ :key="id"
|
|
|
|
|
+ >
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <Icon
|
|
|
|
|
+ :name="item.icon"
|
|
|
|
|
+ :size="74"
|
|
|
|
|
+ />
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <p>
|
|
|
|
|
+ {{ item.name }}
|
|
|
|
|
+ </p>
|
|
|
|
|
+ <p>
|
|
|
|
|
+ <span>{{ item.num }}</span>
|
|
|
|
|
+ {{ item.util }}
|
|
|
|
|
+ </p>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="classes-scroll">
|
|
|
|
|
+ <div class="classes-scroll-head">
|
|
|
|
|
+ <span>线路名称</span>
|
|
|
|
|
+ <span>
|
|
|
|
|
+ 班次
|
|
|
|
|
+ <i>计划/实际</i>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="scrollBox">
|
|
|
|
|
+ <TankSeamlessScroll
|
|
|
|
|
+ :step-length="60"
|
|
|
|
|
+ :debug="false"
|
|
|
|
|
+ :reverse="false"
|
|
|
|
|
+ >
|
|
|
|
|
+ <template
|
|
|
|
|
+ v-for="(item, index) in rightContent[3].content[1]"
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ >
|
|
|
|
|
+ <div class="classes-scroll-content">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <span>{{ item.name }}<i>{{ item.num }}</i></span>
|
|
|
|
|
+ <span>始</span>
|
|
|
|
|
+ <span>{{ item.start }}</span>
|
|
|
|
|
+ <span>终</span>
|
|
|
|
|
+ <span>{{ item.end }}</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div>{{ item.plan }}/{{ item.pratic }}</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div>jindutiao</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </TankSeamlessScroll>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</Box>
|
|
</Box>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
@@ -122,6 +236,7 @@
|
|
|
import Layout from '@/components/layout.vue'
|
|
import Layout from '@/components/layout.vue'
|
|
|
import { ref } from 'vue'
|
|
import { ref } from 'vue'
|
|
|
import Box from '@/components/box.vue'
|
|
import Box from '@/components/box.vue'
|
|
|
|
|
+import TankSeamlessScroll from 'tank-vue3-seamless-scroll'
|
|
|
|
|
|
|
|
const leftTopCount = ref([
|
|
const leftTopCount = ref([
|
|
|
[
|
|
[
|
|
@@ -177,8 +292,72 @@ const rightContent = ref([
|
|
|
{ name: '电池高温', num: 0, icon: '25' }
|
|
{ name: '电池高温', num: 0, icon: '25' }
|
|
|
]
|
|
]
|
|
|
]
|
|
]
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '班次完成率',
|
|
|
|
|
+ content: [
|
|
|
|
|
+ [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '昨日总班次', num: 100, icon: '26', util: '次'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '昨日完成率', num: 100, icon: '27', util: '%'
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '1路', num: '(45567)', start: '始发站牌名称', end: '始发站牌名称', plan: 100, pratic: 70
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '1路', num: '(45567)', start: '始发站牌名称', end: '始发站牌名称', plan: 100, pratic: 70
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '1路', num: '(45567)', start: '始发站牌名称', end: '始发站牌名称', plan: 100, pratic: 70
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '1路', num: '(45567)', start: '始发站牌名称', end: '始发站牌名称', plan: 100, pratic: 70
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '1路', num: '(45567)', start: '始发站牌名称', end: '始发站牌名称', plan: 100, pratic: 70
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '',
|
|
|
|
|
+ content: []
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '发车准点率',
|
|
|
|
|
+ content: [
|
|
|
|
|
+ [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '昨日准点班次数', num: 100, icon: '26', util: '次'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '昨日准点率', num: 100, icon: '29', util: '%'
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '1路', num: '(45567)', start: '始发站牌名称', end: '始发站牌名称', plan: 100, pratic: 70
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '1路', num: '(45567)', start: '始发站牌名称', end: '始发站牌名称', plan: 100, pratic: 70
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '1路', num: '(45567)', start: '始发站牌名称', end: '始发站牌名称', plan: 100, pratic: 70
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '1路', num: '(45567)', start: '始发站牌名称', end: '始发站牌名称', plan: 100, pratic: 70
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '1路', num: '(45567)', start: '始发站牌名称', end: '始发站牌名称', plan: 100, pratic: 70
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ ]
|
|
|
}
|
|
}
|
|
|
-])
|
|
|
|
|
|
|
+] as any)
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
@@ -296,5 +475,142 @@ const rightContent = ref([
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-}
|
|
|
|
|
-</style>
|
|
|
|
|
|
|
+
|
|
|
|
|
+ .classes {
|
|
|
|
|
+ padding: 20px;
|
|
|
|
|
+
|
|
|
|
|
+ &-top {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+
|
|
|
|
|
+ &>div {
|
|
|
|
|
+ width: 300px;
|
|
|
|
|
+ height: 145px;
|
|
|
|
|
+ font-size: 20px;
|
|
|
|
|
+ color: #80FFFF;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ background: rgba(33, 133, 232, 0.098);
|
|
|
|
|
+ border: 1px solid rgba(0, 255, 255, 0.298);
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+
|
|
|
|
|
+ &>div {
|
|
|
|
|
+ padding-left: 20px;
|
|
|
|
|
+ text-align: left;
|
|
|
|
|
+
|
|
|
|
|
+ &>p:last-child {
|
|
|
|
|
+ color: white;
|
|
|
|
|
+ font-family: 'Impact Normal', 'Impact', sans-serif;
|
|
|
|
|
+
|
|
|
|
|
+ &>span {
|
|
|
|
|
+ font-size: 34px;
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+ margin-right: 5px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &-scroll {
|
|
|
|
|
+ &-head {
|
|
|
|
|
+ margin-top: 40px;
|
|
|
|
|
+ margin-bottom: 20px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ font-size: 20px;
|
|
|
|
|
+ color: #80FFFF;
|
|
|
|
|
+
|
|
|
|
|
+ &>span:last-child {
|
|
|
|
|
+ color: white;
|
|
|
|
|
+
|
|
|
|
|
+ i {
|
|
|
|
|
+ color: #80FFFF;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &-content {
|
|
|
|
|
+ font-family: Arial Normal;
|
|
|
|
|
+
|
|
|
|
|
+ &>div:first-child {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+
|
|
|
|
|
+ &>div:first-child {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ font-size: 18px;
|
|
|
|
|
+ align-items: flex-end;
|
|
|
|
|
+ text-shadow: none;
|
|
|
|
|
+
|
|
|
|
|
+ &>span {
|
|
|
|
|
+ &:first-child {
|
|
|
|
|
+ width: 153px;
|
|
|
|
|
+ height: 48px;
|
|
|
|
|
+ border-radius: 5px;
|
|
|
|
|
+ background: rgba(33, 133, 232, 0.298);
|
|
|
|
|
+ border: 3px solid #80FFFF;
|
|
|
|
|
+ font-size: 24px;
|
|
|
|
|
+ color: white;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ line-height: 40px;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ margin-right: 10px;
|
|
|
|
|
+
|
|
|
|
|
+ i {
|
|
|
|
|
+ font-size: 20px;
|
|
|
|
|
+ margin-left: 10px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &:nth-child(4),
|
|
|
|
|
+ &:nth-child(2) {
|
|
|
|
|
+ width: 30px;
|
|
|
|
|
+ height: 30px;
|
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
|
+ border-radius: 50%;
|
|
|
|
|
+ border: 1px solid #2bb972;
|
|
|
|
|
+ background: #2BB97249;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ line-height: 30px;
|
|
|
|
|
+ margin: 0 5px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &:nth-child(4) {
|
|
|
|
|
+ border: 1px solid #E73D41;
|
|
|
|
|
+ background: #E73D4149;
|
|
|
|
|
+ margin-left: 10px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &:nth-child(3),
|
|
|
|
|
+ &:last-child {
|
|
|
|
|
+ color: #81D3F8;
|
|
|
|
|
+ padding-bottom: 5px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &>div:last-child {
|
|
|
|
|
+ font-size: 24px;
|
|
|
|
|
+ text-align: right;
|
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &>div:last-child {
|
|
|
|
|
+ height: 40px;
|
|
|
|
|
+ border: solid 1px red;
|
|
|
|
|
+ margin: 10px 0 15px 0;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .scrollBox {
|
|
|
|
|
+ height: 270px;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}</style>
|