| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275 |
- <template>
- <Layout>
- <template #left>
- <div class="left">
- <div class="left-top">
- <template
- v-for="(item, index) in leftContent.topCount"
- :key="index"
- >
- <div>
- <template
- v-for="(it, id) in item"
- :key="id"
- >
- <div>
- <Icon
- :name="it.icon"
- :size="96"
- style="margin-right: 20px;"
- />
- <div>
- <p>
- <span>{{ it.num }}</span>
- {{ it.until }}
- </p>
- <p>{{ it.name }}</p>
- </div>
- </div>
- </template>
- </div>
- </template>
- </div>
- <div class="left-content">
- <template
- v-for="(item, index) in leftContent.charts"
- :key="index"
- >
- <Box
- :width="655"
- :height="455"
- :name="item.name"
- >
- <div
- v-if="index === 0"
- class="dateChange"
- >
- <div
- v-for="(itm, index) in item.btns"
- :key="index"
- :class="{ active: index === item.checkId }"
- @click="changeFn(index, item)"
- >
- {{ itm }}
- </div>
- </div>
- <Echart :option="item.option" />
- </Box>
- </template>
- </div>
- </div>
- </template>
- <template #center>
- <div>111111</div>
- </template>
- <template #right>
- <div class="right">
- <template
- v-for="(itemd, indexd) in rightContent"
- :key="indexd"
- >
- <Box
- :width="655"
- :height="622"
- :name="itemd.name"
- >
- <div
- v-if="indexd === 0"
- class="statistics"
- >
- <div class="statistics-top">
- <template
- v-for="(item, index) in itemd.content[0]"
- :key="index"
- >
- <div>
- <p>{{ item.num }}</p>
- <p>{{ item.name }}</p>
- </div>
- </template>
- </div>
- <div class="statistics-content">
- <template
- v-for="(item, ids) in itemd.content[1]"
- :key="ids"
- >
- <div>
- <Icon
- :name="item.icon"
- :size="74"
- />
- <div>
- <p>
- {{ item.name }}
- </p>
- <p>
- <span>{{ item.num }}</span>
- 件
- </p>
- </div>
- </div>
- </template>
- </div>
- </div>
- <div
- v-else
- class="classes"
- >
- <div
- v-if="indexd === 1"
- class="classes-top"
- >
- <template
- v-for="(item, id) in itemd.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
- v-else-if="indexd === 2"
- class="classes-top"
- >
- <template
- v-for="(item, id) in itemd.content[0]"
- :key="id"
- >
- <div>
- <n-progress
- type="circle"
- :percentage="item.num"
- :offset-degree="180"
- :color="item.color"
- :indicator-text-color="item.color"
- />
- <div>
- <p>
- {{ item.name }}
- </p>
- <p>
- <span>{{ item.num }}</span>
- {{ item.util }}
- </p>
- </div>
- </div>
- </template>
- </div>
- <div
- v-else
- class="classes-top"
- >
- <template
- v-for="(item, id) in itemd.content[0]"
- :key="id"
- >
- <div :style="`justify-content:${id !== 0 ? 'flex-start' : 'center'};`">
- <Icon
- v-if="id === 0"
- :name="item.icon"
- :size="74"
- />
- <n-progress
- v-else
- type="circle"
- :percentage="item.num"
- :offset-degree="180"
- :color="item.color"
- :indicator-text-color="item.color"
- />
- <div>
- <p>
- {{ item.name }}
- </p>
- <p>
- <span>{{ item.num }}</span>
- {{ item.util }}
- </p>
- </div>
- </div>
- </template>
- </div>
- <div
- v-if="indexd === 1 || indexd === 3"
- class="classes-scroll"
- >
- <div class="classes-scroll-head">
- <span>线路名称</span>
- <span v-if="indexd === 1">
- 班次
- <i>已发数/准点数</i>
- </span>
- <span v-else>
- 发车
- <i>已发数/准点数</i>
- </span>
- </div>
- <div class="scrollBox">
- <TankSeamlessScroll
- :step-length="60"
- :debug="false"
- :reverse="false"
- >
- <template
- v-for="(item, index) in itemd.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>
- <n-progress
- type="line"
- :percentage="item.pratic"
- :show-indicator="false"
- processing
- />
- </div>
- </div>
- </template>
- </TankSeamlessScroll>
- </div>
- </div>
- <template v-else>
- <div
- v-for="(item, index) in itemd.content[1]"
- :key="index"
- class="classes-tables"
- >
- <div class="classes-tables-head">
- <span
- v-for="(itm, id) in item.head"
- :key="id"
- >{{ itm }}</span>
- </div>
- <div class="classes-tables-body">
- <div
- v-for="(it, ids) in item.body"
- :key="ids"
- >
- <span
- v-for="(t, d) in it"
- :key="d"
- >{{ t }}</span>
- </div>
- </div>
- </div>
- </template>
- </div>
- </Box>
- </template>
- </div>
- </template>
- </Layout>
- </template>
- <script setup lang='ts'>
- import Layout from '@/components/layout.vue'
- import { ref } from 'vue'
- import Box from '@/components/box.vue'
- import TankSeamlessScroll from 'tank-vue3-seamless-scroll'
- import { graphic } from 'echarts'
- import Echart from '@/components/chart.vue'
- const datas = [
- {
- value: 99,
- name: '系列一'
- },
- {
- value: 97,
- name: '系列二'
- },
- {
- value: 94,
- name: '系列三'
- },
- {
- value: 90,
- name: '系列四'
- },
- {
- value: 88,
- name: '系列五'
- },
- {
- value: 84,
- name: '系列6'
- },
- {
- value: 81,
- name: '系列7'
- },
- {
- value: 79,
- name: '系列8'
- },
- {
- value: 75,
- name: '系列9'
- },
- {
- value: 65.88,
- name: '系列a'
- }
- ]
- const leftContent = ref({
- topCount: [
- [
- {
- num: 6.8, icon: '11', name: '总刷卡量', until: '亿人次'
- },
- {
- num: 6.8, icon: '12', name: '总客流量', until: '亿人次'
- },
- {
- num: 6.8, icon: '13', name: '安全行驶', until: '万公里'
- }
- ],
- [
- {
- num: 6.8, icon: '14', name: '累计减少碳排放', until: '吨'
- },
- {
- num: 6.8, icon: '15', name: '累计责任事故率', until: '起/百万公里'
- },
- {
- num: 6.8, icon: '16', name: '乘客满意度', until: '%'
- }
- ]
- ],
- charts: [
- {
- name: '客运量',
- option: {
- grid: {
- containLabel: true,
- top: 100,
- bottom: 100
- },
- tooltip: {
- trigger: 'axis',
- axisPointer: {
- type: 'shadow'
- }
- },
- legend: {
- top: 45,
- lett: 'center',
- itemGap: 30,
- textStyle: {
- fontSize: 18,
- color: '#C9D2FA'
- }
- },
- xAxis: {
- triggerEvent: true,
- data: [
- '1月',
- '2月',
- '3月',
- '4月',
- '5月',
- '6月'
- ],
- axisLabel: {
- interval: 0,
- fontSize: 18,
- color: '#C9D2FA'
- }
- },
- yAxis: [
- {
- splitNumber: 2,
- axisLabel: {
- fontSize: 18,
- color: '#C9D2FA'
- },
- splitLine: {
- lineStyle: {
- type: 'dashed',
- color: '#3E4A82'
- }
- }
- },
- {
- splitNumber: 2,
- position: 'right', // 放在右边
- axisLabel: {
- fontSize: 18,
- color: '#C9D2FA',
- formatter(value: number) {
- // 在标签后面添加百分号
- return `${value}%`
- }
- },
- splitLine: {
- lineStyle: {
- type: 'dashed',
- color: '#3E4A82'
- }
- }
- }
- ],
- series: [
- {
- name: '客运量',
- type: 'bar',
- silent: true,
- itemStyle: {
- color: '#2F8FFF'
- },
- barWidth: 30,
- data: [ 200, 108, 200, 40, 210, 100 ]
- },
- {
- name: '同比增长率',
- type: 'line',
- yAxisIndex: 1, // 与第二个 y 轴关联
- itemStyle: {
- color: 'yellow' // 设置折线颜色为黄色
- },
- data: [ 100, 80, 120, 60, 90, 70 ] // 折线图的数据
- }
- ]
- },
- btns: [ '总', '年', '月', '日' ],
- checkId: 0
- },
- {
- name: '消费占比',
- option: {
- title: {
- text: '跳槽率19.5%', // 图标内容文本
- left: 'center', // 图标内容水平居中
- top: 'center', // 图标内容垂直居中
- // 文本样式
- textStyle: {
- color: '#fff', // 图标内容文字颜色
- fontSize: '18px', // 图标内容文字大小
- fontWeight: 'normal'
- }
- },
- grid: {
- containLabel: true
- },
- // 图表图例
- legend: {
- type: 'scroll',
- orient: 'horizontal', // 图例排列方向
- icon: 'circle', // 图例样式为圆形
- itemWidth: 10, // 图例图形的宽度
- itemHeight: 16, // 图例图形的高度
- itemGap: 10, // 图例项之间的间隔
- left: 'center', // 图例距离容器右侧的距离
- bottom: 0, // 图例垂直居中
- textStyle: {
- color: 'white', // 图例文字颜色
- fontSize: 20
- }
- },
- series: [
- {
- type: 'pie', // 图表类型为饼图
- radius: [ '55%', '75%' ], // 控制内外圆环的半径,30%代表内圆,60%代表外圆
- avoidLabelOverlap: true, // 是否启用防止标签重叠策略
- showEmptyCircle: true, // 是否在无数据的时候显示一个占位圆
- label: {
- formatter: '{b}\n{d}%',
- color: 'white'
- },
- data: [
- { key: 2, name: '0次', value: 30619 },
- { key: 2, name: '1次', value: 5921 },
- { key: 2, name: '2次', value: 1153 },
- { key: 2, name: '3次', value: 266 },
- { key: 2, name: '大于3次', value: 87 },
- { key: 2, name: '大于4次', value: 999 },
- { key: 2, name: '12次', value: 5921 },
- { key: 2, name: '22次', value: 1153 },
- { key: 2, name: '32次', value: 266 },
- { key: 2, name: '大于32次', value: 87 },
- { key: 2, name: '大于42次', value: 999 }
- ]
- }
- ]
- }
- },
- {
- name: '客流排名',
- option: {
- tooltip: {
- trigger: 'axis',
- axisPointer: {
- type: 'shadow'
- }
- },
- grid: {
- top: 20,
- left: 20,
- bottom: 20,
- right: 20,
- containLabel: true
- },
- xAxis: {
- type: 'value',
- splitLine: {
- lineStyle: {
- color: '#fff'
- }
- },
- axisLabel: {
- color: '#fff',
- fontSize: 18
- }
- },
- yAxis: {
- type: 'category',
- inverse: true,
- axisTick: {
- alignWithLabel: true,
- lineStyle: {
- color: '#fff'
- }
- },
- axisLine: {
- lineStyle: {
- color: '#fff'
- }
- },
- data: [ '雨城区', '雨城区', '雨城区', '雨城区', '雨城区', '雨城区', '雨城区', '雨城区' ],
- axisLabel: {
- fontSize: 18,
- color: '#fff',
- margin: 10,
- rich: {
- a1: {
- backgroundColor: '#FFFF0050',
- width: 30,
- height: 28,
- align: 'center',
- borderRadius: 15,
- fontSize: 18,
- borderColor: '#FFFF00',
- borderType: 'solid',
- borderWidth: 1,
- padding: [ 2, 0, 0, 0 ]
- },
- a2: {
- backgroundColor: '#F2F2F250',
- width: 30,
- height: 28,
- align: 'center',
- borderRadius: 15,
- fontSize: 18,
- borderColor: '#F2F2F2',
- borderType: 'solid',
- borderWidth: 1,
- padding: [ 2, 0, 0, 0 ]
- },
- a3: {
- backgroundColor: '#FAAD0E50',
- width: 30,
- height: 28,
- align: 'center',
- borderRadius: 15,
- fontSize: 18,
- borderColor: '#FAAD0E',
- borderType: 'solid',
- borderWidth: 1,
- padding: [ 2, 0, 0, 0 ]
- },
- b: {
- backgroundColor: '#00FFFF50',
- width: 30,
- height: 28,
- align: 'center',
- borderRadius: 15,
- fontSize: 18,
- borderColor: '#00FFFF',
- borderType: 'solid',
- borderWidth: 1,
- padding: [ 2, 0, 0, 0 ]
- }
- },
- formatter: (params: string, _id: number) => {
- const id = _id + 1
- if (_id < 3) {
- return `{a${id}|${id}} ${params}`
- }
- return `{b|${id}} ${params}`
- }
- }
- },
- series: [
- {
- z: 2,
- name: 'value',
- type: 'bar',
- barWidth: 25,
- zlevel: 1,
- data: datas.map((item, i) => ({
- value: item.value,
- itemStyle: {
- color: new graphic.LinearGradient(0, 0, 1, 0, [
- {
- offset: 0,
- color: 'rgba(24, 103, 222, 0.4)'
- },
- {
- offset: 1,
- color: 'rgba(231, 185, 44, 1)'
- }
- ])
- }
- })),
- label: {
- position: 'inside',
- color: '#fff',
- fontSize: 16
- },
- itemStyle: {
- borderRadius: [ 0, 15, 15, 0 ]
- }
- }
- ]
- }
- },
- {
- name: '线路客流排名',
- option: {
- tooltip: {
- trigger: 'axis',
- axisPointer: {
- type: 'shadow'
- }
- },
- grid: {
- top: 20,
- left: 20,
- bottom: 20,
- right: 20,
- containLabel: true
- },
- xAxis: {
- type: 'value',
- splitLine: {
- lineStyle: {
- color: '#fff'
- }
- },
- axisLabel: {
- color: '#fff',
- fontSize: 18
- }
- },
- yAxis: {
- type: 'category',
- inverse: true,
- axisTick: {
- alignWithLabel: true,
- lineStyle: {
- color: '#fff'
- }
- },
- axisLine: {
- lineStyle: {
- color: '#fff'
- }
- },
- data: [ '1路(45689)', '2路(45689)', '3路(45689)', '4路(45689)', '5路(45689)', '6路(45689)', '7路(45689)', '8路(45689)' ],
- axisLabel: {
- fontSize: 18,
- color: '#fff',
- margin: 20,
- rich: {
- a1: {
- backgroundColor: '#FFFF0050',
- width: 30,
- height: 28,
- align: 'center',
- borderRadius: 15,
- fontSize: 18,
- borderColor: '#FFFF00',
- borderType: 'solid',
- borderWidth: 1,
- padding: [ 2, 0, 0, 0 ]
- },
- a2: {
- backgroundColor: '#F2F2F250',
- width: 30,
- height: 28,
- align: 'center',
- borderRadius: 15,
- fontSize: 18,
- borderColor: '#F2F2F2',
- borderType: 'solid',
- borderWidth: 1,
- padding: [ 2, 0, 0, 0 ]
- },
- a3: {
- backgroundColor: '#FAAD0E50',
- width: 30,
- height: 28,
- align: 'center',
- borderRadius: 15,
- fontSize: 18,
- borderColor: '#FAAD0E',
- borderType: 'solid',
- borderWidth: 1,
- padding: [ 2, 0, 0, 0 ]
- },
- b: {
- backgroundColor: '#00FFFF50',
- width: 30,
- height: 28,
- align: 'center',
- borderRadius: 15,
- fontSize: 18,
- borderColor: '#00FFFF',
- borderType: 'solid',
- borderWidth: 1,
- padding: [ 2, 0, 0, 0 ]
- }
- },
- formatter: (params: string, _id: number) => {
- const id = _id + 1
- if (_id < 3) {
- return `{a${id}|${id}} ${params}`
- }
- return `{b|${id}} ${params}`
- }
- }
- },
- series: [
- {
- z: 2,
- name: 'value',
- type: 'bar',
- barWidth: 25,
- zlevel: 1,
- data: datas.map((item, i) => ({
- value: item.value,
- itemStyle: {
- color: new graphic.LinearGradient(0, 0, 1, 0, [
- {
- offset: 0,
- color: 'rgba(24, 103, 222, 0.4)'
- },
- {
- offset: 1,
- color: 'rgba(231, 185, 44, 1)'
- }
- ])
- }
- })),
- label: {
- position: 'inside',
- color: '#fff',
- fontSize: 16
- },
- itemStyle: {
- borderRadius: [ 0, 15, 15, 0 ]
- }
- }
- ]
- }
- }
- ]
- })
- const rightContent = ref([
- {
- name: '舆情统计',
- content: [
- [
- { name: '报警总数', num: 0 },
- { name: '报警企业', num: 0 },
- { name: '待反馈', num: 0 },
- { name: '待解除', num: 0 }
- ],
- [
- { name: '事件', num: 0, icon: '17' },
- { name: '舆情', num: 0, icon: '18' },
- { name: '高风险', num: 0, icon: '19' },
- { name: '汛情', num: 0, icon: '20' },
- { name: '网络检查', num: 0, icon: '21' },
- { name: '火险', num: 0, icon: '22' },
- { name: '驾驶员报警', num: 0, icon: '23' },
- { name: '充电', num: 0, icon: '24' },
- { 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: '昨日首末班准点率', num: 70, icon: '26', util: '%', color: '#00FFFF'
- },
- {
- name: '昨日中途站准点率', num: 70, icon: '29', util: '%', color: '#FAAD0E'
- }
- ],
- [
- {
- head: [ '今日首班', '方向', '计划', '实际', '状态' ],
- body: [
- [ '2路(45567)', '下行', '07:00', '8:00', '1' ],
- [ '2路(45567)', '下行', '07:00', '8:00', '1' ],
- [ '2路(45567)', '下行', '07:00', '8:00', '1' ]
- ]
- },
- {
- head: [ '昨日末班', '方向', '计划', '实际', '状态' ],
- body: [
- [ '2路(45567)', '下行', '07:00', '8:00', '1' ],
- [ '2路(45567)', '下行', '07:00', '8:00', '1' ],
- [ '2路(45567)', '下行', '07:00', '8:00', '1' ]
- ]
- }
- ]
- ]
- },
- {
- name: '发车准点率',
- content: [
- [
- {
- name: '昨日准点班次数', num: 70, icon: '26', util: '次', color: '#04FF77'
- },
- {
- name: '昨日准点率', num: 70, icon: '29', util: '%', color: '#04FF77'
- }
- ],
- [
- {
- 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)
- function changeFn(id: number, item: any) {
- item.checkId = id
- }
- </script>
- <style lang="scss" scoped>
- .left {
- padding-right: 40px;
- &-top {
- &>div {
- display: flex;
- }
- &>div:first-child,
- &>div:nth-child(2) {
- background: linear-gradient(180deg, rgba(33, 133, 232, 0.0902) 0%, rgba(0, 170, 255, 0) 99%);
- &>div {
- display: flex;
- color: white;
- text-shadow: 1px 1px 5px rgba(0, 255, 255, 0.647058823529412);
- width: 440px;
- height: 160px;
- align-items: center;
- justify-content: center;
- &>div {
- &>p:first-child {
- font-size: 18px;
- span {
- font-size: 50px;
- }
- }
- &>p:last-child {
- font-size: 24px;
- }
- }
- }
- }
- }
- &-content {
- display: flex;
- justify-content: space-between;
- flex-wrap: wrap;
- :deep(.box-content) {
- position: relative;
- .dateChange {
- position: absolute;
- width: 360px;
- height: 30px;
- border-radius: 30px;
- border: solid 1px #2185E8;
- left: 50%;
- transform: translate(-50%, 0);
- top: 10px;
- z-index: 2;
- display: flex;
- &>div {
- width: 90px;
- color: white;
- font-size: 16px;
- text-align: center;
- cursor: pointer;
- line-height: 30px;
- &:not(:first-child) {
- border-left: solid 1px #2185E8;
- }
- }
- .active {
- background: #2185e860;
- }
- }
- }
- }
- }
- .right {
- display: flex;
- justify-content: space-between;
- flex-wrap: wrap;
- padding-left: 40px;
- white-space: nowrap;
- text-shadow: 1px 1px 5px rgba(0, 255, 255, 0.647058823529412);
- .statistics {
- padding: 20px;
- &-top {
- display: flex;
- justify-content: space-between;
- &>div {
- width: 145px;
- 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);
- &>p:first-child {
- padding-top: 33px;
- padding-bottom: 10px;
- font-weight: 700;
- font-style: normal;
- font-size: 40px;
- color: #FFFFFF;
- text-align: center;
- }
- &>p:last-child {
- font-size: 20px;
- }
- }
- }
- &-content {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- &>div {
- display: flex;
- width: 205px;
- overflow: hidden;
- margin-top: 40px;
- &>div {
- width: 100px;
- color: white;
- padding-left: 20px;
- &>p {
- font-size: 20px;
- span {
- font-size: 34px;
- font-weight: 400;
- }
- }
- }
- }
- }
- }
- .classes {
- padding: 20px;
- &-top {
- display: flex;
- justify-content: space-between;
- &>div {
- width: 300px;
- height: 150px;
- 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;
- margin-left: 10px;
- text-align: left;
- &:first-child {
- width: 99px;
- height: 99px;
- }
- &>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;
- padding: 13px 0;
- }
- }
- }
- .scrollBox {
- height: 270px;
- overflow: hidden;
- }
- &-tables {
- text-shadow: none;
- font-family: 'Arial Normal', 'Arial', sans-serif;
- font-weight: 400;
- text-align: center;
- font-size: 20px;
- color: #FFFFFF;
- &:nth-child(3)>div:nth-child(2)>div:last-child,
- &:nth-child(2)>div:nth-child(2)>div:first-child {
- color: #E73D41;
- }
- &:nth-child(3)>div:first-child>span:first-child {
- color: #FAAD0E;
- }
- &-head {
- display: flex;
- align-items: center;
- background: rgba(86, 137, 240, 0.298);
- height: 40px;
- margin-top: 20px;
- &>span {
- width: 112px;
- font-weight: 700;
- &:first-child {
- width: 182px;
- color: #04FF77;
- }
- }
- }
- &-body {
- color: #81D3F8;
- &>div {
- display: flex;
- align-items: center;
- height: 50px;
- &>span {
- width: 112px;
- &:first-child {
- width: 182px;
- }
- }
- }
- }
- }
- }
- }
- </style>
|