| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374 |
- <template>
- <Layout>
- <template #left>
- <div class="left">
- <Box
- :width="560"
- :height="1224"
- :name="'线路基本情况'"
- class="left-left"
- >
- <div class="linebase">
- <div class="car">
- <div class="top">
- <Icon
- name="1-1"
- :size="80"
- style="margin-right: 20px;"
- />
- <div class="name bold">
- 1
- </div>
- <div class="road">
- 路
- </div>
- </div>
- <div class="current">
- 当前线路
- </div>
- </div>
- <div class="info">
- <div
- v-for="item in lineInfo"
- :key="item.label"
- >
- <div class="label">
- {{ item.label }}
- </div>
- <div class="val">
- {{ item.value }}
- </div>
- </div>
- </div>
- </div>
- <div class="header">
- <div>
- <Icon
- name="1-2"
- :size="30"
- />
- 起讫点
- </div>
- <div>
- <Icon
- name="1-3"
- :size="30"
- />
- 运营时间
- </div>
- </div>
- <div class="detail">
- <div>
- <div class="row">
- <div class="type orange">
- 上行
- </div>
- <div class="name">
- 始发点名称 → 终点站名称
- </div>
- <div class="value">
- 06:00~22:00
- </div>
- </div>
- <div class="row">
- <div class="type">
- 下行
- </div>
- <div class="name">
- 始发点名称 → 终点站名称
- </div>
- <div class="value">
- 06:00~22:00
- </div>
- </div>
- </div>
- <div>
- <div class="row">
- <div class="type orange">
- 上
- </div>
- <div class="name">
- 线路上行里程
- </div>
- <div class="value">
- 20km
- </div>
- </div>
- <div class="row">
- <div class="type">
- 下
- </div>
- <div class="name">
- 线路下行里程
- </div>
- <div class="value">
- 20km
- </div>
- </div>
- <div class="row">
- <Icon
- name="1-4"
- :size="38"
- />
- <div class="name">
- 票价
- </div>
- <div class="value">
- 2元
- </div>
- </div>
- </div>
- <div>
- <div class="title">
- <div class="flex">
- <Icon
- name="1-5"
- :size="30"
- />
- <div class="name">
- 驾驶员数量
- </div>
- </div>
- <div class="value">
- <div
- class="bold"
- style="font-size: 40px"
- >
- 10
- </div>
- <div class="">
- 人
- </div>
- </div>
- </div>
- <div class="starlist">
- <div
- v-for="item in starlist"
- :key="item.label"
- class="star"
- >
- <div>{{ item.label }}</div>
- <div class="flex">
- <span class="num bold">{{ item.value }}</span>人
- </div>
- </div>
- </div>
- </div>
- <div style="border: 0;">
- <div class="title">
- <div class="flex">
- <Icon
- name="1-1"
- :size="30"
- />
- <div class="name">
- 车辆数占比
- </div>
- </div>
- <div class="value">
- 共
- <div
- class="bold"
- style="font-size: 40px"
- >
- 10
- </div>
- 辆
- </div>
- </div>
- <Echart
- style="width: 560px;height:318px"
- :option="leftContent.leftOp"
- />
- </div>
- </div>
- </Box>
- <Box
- :width="560"
- :height="1224"
- :name="'线路发班情况'"
- class="left-right"
- >
- <div class="filter">
- <div class="name bold">
- 筛选
- </div>
- <div class="odds">
- <div
- v-for="item in odds"
- :key="item.label"
- class="odd"
- >
- {{ item.label }} {{ item.value }}
- </div>
- </div>
- </div>
- <div class="frequency">
- <div class="title bold">
- 上行
- </div>
- <div class="content">
- <div
- v-for="item in status"
- :key="item"
- class="bus"
- >
- <img
- src="../../../../assets/img/1-1.png"
- alt="bus"
- >
- <div
- :class="item"
- class="status"
- >
- 执行中
- </div>
- <div class="info">
- <div>
- <div class="bold">
- 1路
- </div>
- <div class="busNum">
- 川T 12345
- </div>
- </div>
- <div>司机:小A </div>
- <div>电量: </div>
- </div>
- <div class="table">
- <div>
- <div class="label">
- 调度时间
- </div>
- <div class="value">
- 06:30:00
- </div>
- </div>
- <div>
- <div class="label">
- 实际发车时间
- </div>
- <div class="value">
- 06:30:00
- </div>
- </div>
- <div>
- <div class="label">
- 发车间隔
- </div>
- <div class="value">
- 1 分钟
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="page">
- <n-pagination :item-count="30">
- <template #prefix="{ itemCount }">
- 总共 {{ itemCount }} 个项目
- </template>
- </n-pagination>
- </div>
- </div>
- <div class="frequency">
- <div class="title bold">
- 下行
- </div>
- <div class="content">
- <div
- v-for="item in 3"
- :key="item"
- class="bus"
- >
- <img
- src="../../../../assets/img/1-1.png"
- alt="bus"
- >
- <div
- :class="item"
- class="status"
- >
- 执行中
- </div>
- <div class="info">
- <div>
- <div class="bold">
- 1路
- </div>
- <div class="busNum">
- 川T 12345
- </div>
- </div>
- <div>司机:小A </div>
- <div>电量: </div>
- </div>
- <div class="table">
- <div>
- <div class="label">
- 调度时间
- </div>
- <div class="value">
- 06:30:00
- </div>
- </div>
- <div>
- <div class="label">
- 实际发车时间
- </div>
- <div class="value">
- 06:30:00
- </div>
- </div>
- <div>
- <div class="label">
- 发车间隔
- </div>
- <div class="value">
- 1 分钟
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="page">
- <n-pagination :item-count="30">
- <template #prefix="{ itemCount }">
- 总共 {{ itemCount }} 个项目
- </template>
- </n-pagination>
- </div>
- </div>
- </Box>
- </div>
- </template>
- <template #center>
- <div>2222</div>
- </template>
- <template #right>
- <div class="right">
- <div class="right-top">
- <Box
- v-for="(item, index) in rightContent?.top"
- :key="index"
- :width="438"
- :height="570"
- :name="item.name"
- >
- <Echart :option="item.option" />
- </Box>
- </div>
- <div class="right-bottom">
- <Box
- :width="663"
- :height="570"
- :name="'车辆监控'"
- >
- <div class="carmonitor">
- <div class="control">
- <div
- v-for="item in controlList"
- :key="item.label"
- class="item"
- >
- <div class="label">
- {{ item.label }}
- </div>
- <n-select
- :bordered="false"
- size="large"
- :value="1"
- :options="item.options"
- />
- </div>
- </div>
- <n-table
- striped
- size="large"
- :bordered="false"
- single-column
- :bottom-bordered="false"
- class="table"
- >
- <thead>
- <tr>
- <th> 状态 </th>
- <th> 车牌号 </th>
- <th> 驾驶员 </th>
- <th> 拥挤度 </th>
- <th> 情景 </th>
- </tr>
- </thead>
- <tbody>
- <tr
- v-for="item in 10"
- :key="item"
- :class="{ no: item === 1 }"
- >
- <td>
- <div class="index" /> 运营中
- </td>
- <td> 川T 12345 </td>
- <td> 小A </td>
- <td> 舒适 </td>
- <td>{{ item === 1 ? '维保' : '行驶中' }} </td>
- </tr>
- </tbody>
- </n-table>
- </div>
- </Box>
- <Box
- :width="663"
- :height="570"
- :name="'车辆状态'"
- >
- <div class="carstatus">
- <div class="up">
- <div class="title">
- 上行
- </div>
- <div class="content">
- <div
- v-for="item in carstatusList"
- :key="item.label"
- >
- <div class="label">
- {{ item.label }}
- </div>
- <div class="value">
- {{ item.value }}
- </div>
- </div>
- </div>
- </div>
- <div class="down">
- <div class="title">
- 下行
- </div>
- <div class="content">
- <div
- v-for="item in carstatusList"
- :key="item.label"
- >
- <div class="label">
- {{ item.label }}
- </div>
- <div class="value">
- {{ item.value }}
- </div>
- </div>
- </div>
- </div>
- <div class="line" />
- </div>
- </Box>
- </div>
- </div>
- </template>
- </Layout>
- </template>
- <script setup lang='ts'>
- import Layout from '@/components/layout.vue'
- import Box from '@/components/box.vue'
- import Echart from '@/components/chart.vue'
- import { ref } from 'vue'
- import { graphic } from 'echarts'
- /* 线路类型:干线公交 车辆总数: 运 营 中:9 辆 非 运 营:1 辆 */
- const lineInfo = ref([
- { label: '线路类型:', value: '干线公交' },
- { label: '车辆总数:', value: '10 辆' },
- { label: '运 营 中:', value: '9 辆' },
- { label: '非 运 营:', value: '1 辆' }
- ])
- const starlist = ref([
- { label: '五星', value: '1' },
- { label: '四星', value: '2' },
- { label: '三星', value: '3' },
- { label: '二星', value: '4' },
- { label: '一星', value: '5' }
- ])
- const odds = ref([
- { label: '全部', value: '10' },
- { label: '已完成', value: '4' },
- { label: '执行中', value: '1' },
- { label: '已处理', value: '1' },
- { label: '已下发', value: '1' },
- { label: '待发', value: '1' },
- { label: '调停', value: '1' },
- { label: '非运营', value: '1' }
- ])
- const status = [ 'success', 'warning', 'error' ]
- const controlList = [
- {
- label: '状态:',
- options: [
- { label: '全部', value: 1 },
- { label: '运营中', value: 2 },
- { label: '非运营', value: 3 }
- ]
- },
- {
- label: '电量:',
- options: [
- { label: '0%-30%', value: 1 },
- { label: '31%-60%', value: 2 },
- { label: '61%-100%', value: 3 }
- ]
- },
- {
- label: '情景:',
- options: [
- { label: '全部', value: 1 },
- { label: '维保', value: 2 },
- { label: '充电', value: 3 },
- { label: '停驶', value: 4 },
- { label: '行驶中', value: 5 }
- ]
- }
- ]
- const carstatusList = [
- { label: '平均速度', value: '15.16' },
- { label: '最大车速', value: '17.82' },
- { label: '最小车速', value: '10.93' },
- { label: '平均间距', value: '14.03' },
- { label: '最大间距', value: '15' },
- { label: '最小间距', value: '12' },
- { label: '高峰平均时间', value: '69分钟' },
- { label: '平峰平均时间', value: '72分钟' },
- { label: '单程平均时间', value: '71分钟' }
- ]
- const leftContent = ref({
- leftOp: {
- grid: {
- containLabel: true
- },
- // 图表图例
- legend: {
- show: true,
- type: 'scroll',
- orient: 'horizontal', // 图例排列方向
- icon: 'circle', // 图例样式为圆形
- itemWidth: 10, // 图例图形的宽度
- itemHeight: 16, // 图例图形的高度
- itemGap: 10, // 图例项之间的间隔
- left: 'center', // 图例距离容器右侧的距离
- bottom: 0, // 图例垂直居中
- textStyle: {
- color: 'white', // 图例文字颜色
- fontSize: 16
- }
- },
- // color: [ '#6386e0', '#fb9a55', '#6bd98d', '#8dfd15', '#6bd98d', '#fff' ],
- series: [
- {
- type: 'pie', // 图表类型为饼图
- radius: '60%', // 控制内外圆环的半径,30%代表内圆,60%代表外圆
- avoidLabelOverlap: true, // 是否启用防止标签重叠策略
- showEmptyCircle: true, // 是否在无数据的时候显示一个占位圆
- label: {
- show: true,
- fontSize: 16,
- formatter: '{b}: {c}条',
- color: 'white'
- },
- data: [
- { key: 2, name: '2023', value: 130 },
- { key: 2, name: '2022', value: 50 },
- { key: 2, name: '2021', value: 50 },
- { key: 2, name: '2020', value: 50 },
- { key: 2, name: '2019', value: 50 }
- ]
- }
- ]
- }
- })
- const rightContent = ref({
- top: [
- {
- name: '乘客类型',
- option: {
- title: {
- text: '总', // 图标内容文本
- subtext: '196000',
- left: 'center', // 图标内容水平居中
- top: 'center', // 图标内容垂直居中
- // 文本样式
- textStyle: {
- color: '#fff', // 图标内容文字颜色
- fontSize: '16px', // 图标内容文字大小
- fontWeight: 'normal'
- },
- subtextStyle: {
- color: '#fff', // 图标内容文字颜色
- fontSize: '20px', // 图标内容文字大小
- fontWeight: 'normal'
- }
- },
- grid: {
- containLabel: true
- },
- // 图表图例
- legend: {
- show: true,
- type: 'scroll',
- orient: 'horizontal', // 图例排列方向
- icon: 'circle', // 图例样式为圆形
- itemWidth: 10, // 图例图形的宽度
- itemHeight: 16, // 图例图形的高度
- itemGap: 40, // 图例项之间的间隔
- left: 'center', // 图例距离容器右侧的距离
- bottom: 0, // 图例垂直居中
- textStyle: {
- color: 'white', // 图例文字颜色
- fontSize: 20
- }
- },
- // color: [ '#6386e0', '#fb9a55', '#6bd98d', '#8dfd15', '#6bd98d', '#fff' ],
- series: [
- {
- type: 'pie', // 图表类型为饼图
- radius: [ '55%', '75%' ], // 控制内外圆环的半径,30%代表内圆,60%代表外圆
- avoidLabelOverlap: true, // 是否启用防止标签重叠策略
- showEmptyCircle: true, // 是否在无数据的时候显示一个占位圆
- label: {
- show: true,
- formatter: '{d}%',
- color: 'white'
- },
- data: [
- { key: 2, name: '老年卡', value: 180 },
- { key: 2, name: '电子钱包', value: 50 },
- { key: 2, name: '现金', value: 30 },
- { key: 2, name: '学生卡', value: 20 },
- { key: 2, name: '成人次卡', value: 10 },
- { key: 2, name: '其他', value: 10 },
- { key: 2, name: '免费人次', value: 10 }
- ]
- }
- ]
- }
- },
- {
- name: '客流情况',
- option: {
- grid: {
- containLabel: true,
- right: 30,
- left: 50
- },
- legend: {
- show: true,
- left: 'center',
- top: '10',
- icon: 'stack',
- itemWidth: 15,
- itemHeight: 10,
- textStyle: {
- color: '#646464',
- fontSize: 18
- }
- },
- xAxis: [ {
- type: 'category',
- axisLine: {
- show: false
- },
- axisLabel: {
- color: '#fff',
- fontSize: 18
- // formatter: (value: number) => format( 1'时')
- },
- splitLine: {
- show: false
- },
- axisTick: {
- show: false
- },
- data: [ '1时', '2时', '3时', '4时', '5时', '6时', '7时', '8时', '9时', '10时', '11时', '12时' ]
- } ],
- yAxis: [ {
- name: '客流量/人次',
- nameLocation: 'center',
- nameGap: 50,
- nameTextStyle: {
- color: '#fff',
- fontSize: 18
- },
- padding: 5,
- // max: 1000,
- splitLine: {
- show: true,
- lineStyle: {
- color: '#A1A7B3'
- // type: 'dashed'
- }
- },
- axisLine: {
- show: false
- },
- axisLabel: {
- show: true,
- margin: 10,
- textStyle: {
- color: '#fff'
- }
- },
- axisTick: {
- show: false
- }
- }
- ],
- series: [ {
- name: '客流量',
- type: 'line',
- smooth: true,
- symbolSize: 0,
- itemStyle: {
- normal: {
- // color: '#FFD35D',
- lineStyle: {
- color: new graphic.LinearGradient(0, 0, 0, 1, [
- {
- offset: 0,
- color: '#FFD35D66'
- },
- {
- offset: 0.5,
- color: '#7ec2f366'
- },
- {
- offset: 1,
- color: '#1890ff'
- }
- ], false),
- width: 1
- }
- }
- },
- areaStyle: {
- normal: {
- color: new graphic.LinearGradient(0, 0, 0, 1, [
- {
- offset: 0,
- color: '#FFD35D66'
- },
- {
- offset: 0.5,
- color: '#7ec2f366'
- },
- {
- offset: 1,
- color: '#1890ff'
- }
- ], false)
- }
- },
- data: [ 120, 132, 101, 134, 90, 230, 210, 182, 191, 234, 290, 330 ]
- } ],
- dataZoom: {}
- }
- },
- {
- name: '里程情况',
- option: {
- grid: {
- containLabel: true,
- right: 30,
- left: 50
- },
- legend: {
- show: true,
- left: 'center',
- top: '10',
- icon: 'stack',
- itemWidth: 15,
- itemHeight: 10,
- textStyle: {
- color: '#646464',
- fontSize: 18
- }
- },
- xAxis: [ {
- type: 'category',
- axisLine: {
- show: false
- },
- axisLabel: {
- color: '#fff',
- fontSize: 18
- // formatter: (value: number) => format( 1'时')
- },
- splitLine: {
- show: false
- },
- axisTick: {
- show: false
- },
- data: [ '1时', '2时', '3时', '4时', '5时', '6时', '7时', '8时', '9时', '10时', '11时', '12时' ]
- } ],
- yAxis: [ {
- name: '里程/km',
- nameLocation: 'center',
- nameGap: 50,
- nameTextStyle: {
- color: '#fff',
- fontSize: 18
- },
- padding: 5,
- // max: 1000,
- splitLine: {
- show: true,
- lineStyle: {
- color: '#A1A7B3'
- // type: 'dashed'
- }
- },
- axisLine: {
- show: false
- },
- axisLabel: {
- show: true,
- margin: 10,
- textStyle: {
- color: '#fff'
- }
- },
- axisTick: {
- show: false
- }
- }
- ],
- series: [ {
- name: '里程',
- type: 'line',
- smooth: true,
- symbolSize: 0,
- itemStyle: {
- normal: {
- // color: '#4293FD',
- lineStyle: {
- // color: '#FFD35D',
- width: 1,
- color: new graphic.LinearGradient(0, 0, 0, 1, [
- {
- offset: 0,
- color: '#6A5BF066'
- },
- {
- offset: 0.5,
- color: '#7ec2f366'
- },
- {
- offset: 1,
- color: '#1890ff'
- }
- ], false)
- }
- }
- },
- areaStyle: {
- normal: {
- color: new graphic.LinearGradient(0, 0, 0, 1, [
- {
- offset: 0,
- color: '#6A5BF066'
- },
- {
- offset: 0.5,
- color: '#7ec2f366'
- },
- {
- offset: 1,
- color: '#1890ff'
- }
- ], false)
- }
- },
- data: [ 120, 132, 101, 134, 90, 230, 210, 182, 191, 234, 290, 330 ]
- } ],
- dataZoom: {}
- }
- }
- ],
- bottom: {
- }
- })
- </script>
- <style lang="scss" scoped>
- .left {
- display: flex;
- justify-content: space-between;
- gap: 10px;
- color: #fff;
- font-size: 18px;
- &-left {
- .linebase {
- height: 216px;
- padding: 20px 60px 35px 60px;
- display: flex;
- align-items: center;
- gap: 70px;
- .car {
- .top {
- display: flex;
- position: relative;
- font-size: 18px;
- .name {
- width: 63px;
- height: 74px;
- line-height: 74px;
- text-align: center;
- border: 2px solid #2185E8;
- font-size: 50px;
- border-radius: 10px;
- background: rgba(33, 133, 232, 0.298);
- }
- .road {
- position: absolute;
- bottom: 0;
- right: -25px;
- }
- }
- .current {
- text-align: center;
- text-shadow: 1px 1px 10px rgba(0, 255, 255, 0.698);
- margin-top: 10px;
- }
- }
- .info {
- width: 100%;
- >div {
- display: flex;
- gap: 10px;
- margin: 15.2px 0;
- .label {
- color: #80FFFF
- }
- }
- }
- }
- .header {
- height: 50px;
- background: rgba(33, 133, 232, 0.298);
- display: flex;
- >div {
- width: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- gap: 10px;
- }
- }
- .detail {
- padding: 0 20px 0 30px;
- >div {
- border-bottom: 1px solid rgba(128, 255, 255, 0.298);
- padding-bottom: 30px;
- padding-top: 16px;
- .value {
- color: #80FFFF;
- width: 200px;
- text-align: center;
- }
- .row {
- height: 50px;
- display: flex;
- align-items: center;
- .type {
- border: 1px solid #80FFFF;
- background: rgba(128, 255, 255, 0.098);
- border-radius: 5px;
- color: #80FFFF;
- padding: 5px 9px;
- &.orange {
- border: 1px solid #FAAD0E;
- background: rgba(250, 173, 14, 0.098);
- color: #FAAD0E;
- }
- }
- .name {
- flex: 1;
- margin-left: 10px;
- }
- }
- .title {
- display: flex;
- justify-content: space-between;
- align-items: center;
- .name {
- font-size: 24px;
- margin-left: 10px;
- }
- .value {
- display: flex;
- justify-content: center;
- align-items: flex-end;
- gap: 10px;
- }
- }
- .starlist {
- display: flex;
- justify-content: space-around;
- margin-top: 17px;
- .star {
- color: #80FFFF;
- .num {
- font-size: 24px;
- }
- }
- }
- }
- }
- }
- &-right {
- flex: 1;
- font-size: 18px;
- .filter {
- display: flex;
- align-items: center;
- padding: 20px 40px;
- .name {
- width: 120px;
- }
- .odds {
- display: flex;
- gap: 10px;
- flex-wrap: wrap;
- .odd {
- border-radius: 5px;
- border: 1px solid #2185E8;
- background: rgba(0, 191, 191, 0);
- padding: 2px 8px;
- min-width: 90px;
- text-align: center;
- &.checkd {
- background: #2185E8;
- }
- }
- }
- }
- .frequency {
- margin-top: 15px;
- .title {
- background: rgba(24, 145, 255, 0.498);
- height: 40px;
- line-height: 40px;
- font-size: 20px;
- text-align: center;
- text-shadow: 1px 1px 10px rgba(0, 255, 255, 0.698);
- }
- .content {
- display: flex;
- justify-content: space-between;
- gap: 10px;
- padding: 10px 13px;
- .bus {
- width: 236px;
- height: 401px;
- flex: 1;
- border: 1px solid #1891FF;
- background: rgba(27, 175, 255, 0.098);
- overflow: hidden;
- position: relative;
- .status {
- position: absolute;
- height: 31px;
- line-height: 31px;
- text-align: right;
- width: 100%;
- top: 119px;
- padding-right: 10px;
- background: linear-gradient(90deg, rgba(0, 0, 0, 0) 1%, #333333 100%);
- &.success {
- background: linear-gradient(90deg, rgba(0, 238, 200, 0) 4%, #00EEC8 100%);
- }
- &.warning {
- background: linear-gradient(90deg, rgba(250, 173, 14, 0) 1%, #FAAD0E 100%);
- }
- &.error {
- background: linear-gradient(90deg, rgba(231, 61, 65, 0) 1%, #E73D41 100%);
- }
- }
- img {
- height: 150px;
- width: 100%;
- }
- .info {
- padding: 10px;
- >div {
- display: flex;
- height: 35px;
- align-items: center;
- .bold {
- font-size: 24px;
- }
- .busNum {
- border: 2px solid #FFFFFF;
- border-radius: 3px;
- background: #1891FF;
- padding: 2px 5px;
- margin-left: 10px;
- }
- }
- }
- .table {
- >div {
- display: flex;
- height: 40px;
- align-items: center;
- .label {
- width: 135px;
- height: 40px;
- line-height: 40px;
- background: rgba(33, 133, 232, 0.298);
- color: #80FFFF;
- text-align: right;
- padding-right: 10px;
- }
- .value {
- text-align: center;
- flex: 1;
- }
- }
- }
- }
- }
- .page {
- display: flex;
- justify-content: flex-end;
- margin-top: 25px;
- }
- }
- }
- .flex {
- display: flex;
- gap: 10px;
- align-items: center;
- }
- .bold {
- color: #fff;
- font-weight: bold;
- font-family: Impact Normal;
- }
- }
- .right {
- &-top {
- color: #fff;
- display: flex;
- gap: 10px;
- justify-content: space-between;
- }
- &-bottom {
- color: #fff;
- gap: 10px;
- display: flex;
- justify-content: space-between;
- .carmonitor {
- padding: 10px;
- .control {
- display: flex;
- font-size: 20px;
- gap: 20px;
- :deep(.n-select){
- .n-base-selection{
- height: 40px;
- }
- }
- .item {
- display: flex;
- flex: 1;
- align-items: center;
- gap: 20px;
- .label {
- min-width: 60px;
- }
- }
- }
- .table {
- margin-top: 20px;
- text-align: center;
- th {
- border: 0;
- background: rgba(33, 133, 232, 0.6);
- text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6471);
- font-weight: bold;
- }
- tr {
- td {
- color: #fff;
- }
- .index {
- width: 14px;
- height: 14px;
- line-height: 14px;
- background: #8DFF53;
- border-radius: 50%;
- display: inline-block;
- color: #333333;
- }
- &.no {
- td {
- background: linear-gradient(180deg, #00A8F0 0%, #02B3B3 100%);
- }
- .index {
- background: #D7D7D7;
- }
- }
- }
- }
- }
- .carstatus {
- display: flex;
- align-items: center;
- justify-content: center;
- position: relative;
- .line{
- position: absolute;
- width: 1px;
- height: 397px;
- background-color: rgba(128, 255, 255, 0.298);
- left: 50%;
- top: 120px;
- }
- >div {
- flex: 1;
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- >div{
- width: 100%;
- }
- .title {
- width: 136px;
- height: 59px;
- line-height: 59px;
- border-radius: 5px;
- text-align: center;
- font-size: 24px;
- text-shadow: 1px 1px 5px rgba(0, 255, 255, 0.6471);
- margin: 30px 0 ;
- }
- }
- .up .title {
- background: rgba(27, 175, 255, 0.298);
- border: 1px solid #81D3F8;
- box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.349), inset 0px 0px 30px 1px rgba(24, 145, 255, 0.9961);
- }
- .down .title {
- background: rgba(231, 61, 65, 0.298);
- border: 1px solid #F9A15A;
- box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.349), inset 0px 0px 30px 1px rgba(231, 61, 65, 0.9882);
- }
- .content{
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- gap: 20px;
- >div{
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- gap: 20px;
- >div{
- flex: 1;
- }
- .label{
- font-size: 18px;
- color: #81D3F8;
- text-align: right;
- text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6471);
- }
- .value{
- font-size: 24px;
- text-shadow: 1px 1px 5px rgba(0, 255, 255, 0.6471);
- }
- }
- }
- }
- }
- }
- </style>
|