feat: 完成首台率左上角

main
shengwen.chen 4 months ago
parent 918f589fdb
commit 2726b8773e

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 98 KiB

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="557.455078125" height="530" viewBox="0 0 557.455078125 530"><defs><filter id="master_svg0_555_21768" filterUnits="objectBoundingBox" color-interpolation-filters="sRGB" x="0" y="0" width="554" height="527"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feColorMatrix in="SourceAlpha" type="matrix" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="0" dx="0"/><feGaussianBlur stdDeviation="25"/><feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 0.49803921580314636 0 0 0 0 0.33725491166114807 0 0 0 0 0.8509804010391235 0 0 0 0.5 0"/><feBlend mode="normal" in2="shape" result="effect1_innerShadow"/></filter><linearGradient x1="0.012568394653499126" y1="0.2873583436012268" x2="0.9811341762542725" y2="1" id="master_svg1_201_02516"><stop offset="0%" stop-color="#8C64E2" stop-opacity="1"/><stop offset="10.360609740018845%" stop-color="#8C64E2" stop-opacity="0"/><stop offset="47.14285731315613%" stop-color="#8C64E2" stop-opacity="0"/><stop offset="73.57142567634583%" stop-color="#8C64E2" stop-opacity="0.699999988079071"/><stop offset="85.00000238418579%" stop-color="#8C64E2" stop-opacity="0.2199999988079071"/><stop offset="100%" stop-color="#8C64E2" stop-opacity="0"/></linearGradient><linearGradient x1="1.5" y1="62.5009765625" x2="1.5" y2="62.5009765625" gradientUnits="userSpaceOnUse" id="master_svg2_185_49104"><stop offset="0%" stop-color="#FFFFFF" stop-opacity="0"/><stop offset="50%" stop-color="#FFFFFF" stop-opacity="1"/><stop offset="100%" stop-color="#FFFFFF" stop-opacity="0"/></linearGradient><linearGradient x1="6.661338147750939e-16" y1="0.5" x2="1.017080545425415" y2="0.5000399947166443" id="master_svg3_555_29651"><stop offset="0%" stop-color="#5D49AF" stop-opacity="1"/><stop offset="100%" stop-color="#7E65E5" stop-opacity="0"/></linearGradient><linearGradient x1="6.661338147750939e-16" y1="0.5" x2="1.017080545425415" y2="0.5000399947166443" id="master_svg4_555_29651"><stop offset="0%" stop-color="#5D49AF" stop-opacity="1"/><stop offset="100%" stop-color="#7E65E5" stop-opacity="0"/></linearGradient></defs><g><g filter="url(#master_svg0_555_21768)"><path d="M1.5,528.5L555.5,528.5L555.5,11.5L241.5,11.5L233.5,1.5L1.5,1.5L1.5,528.5Z" fill="#01152A" fill-opacity="0.4000000059604645"/><path d="M242.221,10L557,10L557,530L0,530L0,0L234.221,0L242.221,10ZM232.779,3L240.329,12.437L240.779,13L554,13L554,527L3,527L3,3L232.779,3Z" fill-rule="evenodd" fill="url(#master_svg1_201_02516)" fill-opacity="1"/></g><g transform="matrix(0,1,-1,0,64.0009765625,61.0009765625)"><line x1="1.5" y1="62.0009765625" x2="368.0810852050781" y2="62.0009765625" stroke="url(#master_svg2_185_49104)" fill-opacity="0" fill="none" stroke-width="1"/></g><g><g><path d="M242.5,1.5L457.485,1.5L460.586,5.33186L245.60075,5.33186L242.5,1.5Z" fill="url(#master_svg3_555_29651)" fill-opacity="1"/></g><g><path d="M466.5,1.5L554.3545,1.5L557.4552,5.33186L469.60075,5.33186L466.5,1.5Z" fill="url(#master_svg4_555_29651)" fill-opacity="1"/></g></g></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="608" height="574" viewBox="0 0 608 574"><defs><filter id="master_svg0_6814_170688" filterUnits="objectBoundingBox" color-interpolation-filters="sRGB" x="-0.05714285714285714" y="-0.053231939163498096" width="1.1142857142857143" height="1.1216730038022813"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="4" dx="0"/><feGaussianBlur stdDeviation="8"/><feColorMatrix type="matrix" values="0 0 0 0 0.34117648005485535 0 0 0 0 0.2666666805744171 0 0 0 0 0.686274528503418 0 0 0 0.20000000298023224 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/><feGaussianBlur in="BackgroundImageFix" stdDeviation="5"/><feComposite in2="SourceAlpha" operator="in" result="effect2_foregroundBlur"/><feBlend mode="normal" in="SourceGraphic" in2="effect2_foregroundBlur" result="shape"/></filter><linearGradient x1="0.5" y1="0" x2="0.5" y2="1" id="master_svg1_6814_165834"><stop offset="0%" stop-color="#F0F3FD" stop-opacity="1"/><stop offset="100%" stop-color="#E8EEFD" stop-opacity="1"/></linearGradient><linearGradient x1="0.5" y1="0" x2="0.5" y2="1" id="master_svg2_6814_165846"><stop offset="0%" stop-color="#C2ACF7" stop-opacity="1"/><stop offset="100%" stop-color="#6F39F4" stop-opacity="0"/></linearGradient><linearGradient x1="0.5" y1="0" x2="0.5" y2="1" id="master_svg3_6814_165846"><stop offset="0%" stop-color="#C2ACF7" stop-opacity="1"/><stop offset="100%" stop-color="#6F39F4" stop-opacity="0"/></linearGradient></defs><g><g filter="url(#master_svg0_6814_170688)"><rect x="24" y="20" width="560" height="526" rx="8" fill="url(#master_svg1_6814_165834)" fill-opacity="0.949999988079071"/><rect x="25" y="21" width="558" height="524" rx="7" fill-opacity="0" stroke-opacity="1" stroke="#DFE0F3" fill="none" stroke-width="2"/></g><g transform="matrix(0,-1,1,0,4,50)"><rect x="27" y="23" width="3" height="40" rx="0" fill="url(#master_svg2_6814_165846)" fill-opacity="1"/></g><g><g><rect x="24" y="20" width="3" height="260" rx="0" fill="url(#master_svg3_6814_165846)" fill-opacity="1"/></g></g></g></svg>

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="17" height="20.5" viewBox="0 0 17 20.5"><defs><filter id="master_svg0_555_21695" filterUnits="objectBoundingBox" color-interpolation-filters="sRGB" x="-4" y="-4" width="18" height="18"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur stdDeviation="1" result="effect1_foregroundBlur"/></filter><linearGradient x1="0.5" y1="-3.0616171314629196e-17" x2="0.5" y2="1" id="master_svg1_555_27682"><stop offset="1.4285714365541935%" stop-color="#BEA4FF" stop-opacity="0.6000000238418579"/><stop offset="100%" stop-color="#D4C3FF" stop-opacity="0"/></linearGradient><filter id="master_svg2_555_21694" filterUnits="objectBoundingBox" color-interpolation-filters="sRGB" x="-8" y="-4" width="21" height="21"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="4" dx="0"/><feGaussianBlur stdDeviation="2"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/></filter></defs><g><g filter="url(#master_svg0_555_21695)"><ellipse cx="8.5" cy="8" rx="5" ry="5" fill="url(#master_svg1_555_27682)" fill-opacity="1"/></g><g filter="url(#master_svg2_555_21694)"><ellipse cx="8.5" cy="8" rx="2.5" ry="2.5" fill="#733FF3" fill-opacity="1"/></g></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="16" height="16" viewBox="0 0 16 16"><defs><filter id="master_svg0_6814_170735" filterUnits="objectBoundingBox" color-interpolation-filters="sRGB" x="-0.4" y="-0.4" width="1.8" height="1.8"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur stdDeviation="1" result="effect1_foregroundBlur"/></filter><linearGradient x1="0.5" y1="0" x2="0.5" y2="1" id="master_svg1_6814_166220"><stop offset="0%" stop-color="#9E88F6" stop-opacity="0.800000011920929"/><stop offset="100%" stop-color="#9E88F6" stop-opacity="0"/></linearGradient></defs><g><g filter="url(#master_svg0_6814_170735)"><ellipse cx="8" cy="8" rx="5" ry="5" fill="url(#master_svg1_6814_166220)" fill-opacity="1"/></g><g><ellipse cx="8" cy="8" rx="2.5" ry="2.5" fill="#9E88F6" fill-opacity="1"/></g></g></svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 984 B

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="12" height="15" viewBox="0 0 12 15"><defs><linearGradient x1="0.02499999664723873" y1="0.04545453190803528" x2="1.1313317729665855" y2="0.7568946689199456" id="master_svg0_6814_166143"><stop offset="0%" stop-color="#7651D0" stop-opacity="1"/><stop offset="100%" stop-color="#DCCFFC" stop-opacity="1"/></linearGradient></defs><g transform="matrix(0,1,-1,0,12,-12)"><path d="M19.4999995,0L27.000000999999997,11.999999L12,12L19.4999995,0Z" fill="url(#master_svg0_6814_166143)" fill-opacity="1"/></g></svg>

After

Width:  |  Height:  |  Size: 618 B

@ -1,6 +1,6 @@
<template>
<div class="w-[171.38vh] flex justify-between mx-auto">
<div class="w-[51.48vh]">
<div class="box">
<div class="leftBox">
<leftTop></leftTop>
<leftBottom></leftBottom>
</div>
@ -21,4 +21,15 @@ export default {
};
</script>
<style></style>
<style lang="scss" scoped>
.box {
width: vw(1850);
display: flex;
justify-content: space-between;
margin: 0 auto;
.leftBox {
width: vw(560);
}
}
</style>

@ -0,0 +1,107 @@
<template>
<div class="h-[32.4vh] mt-[2.77vh] bgLeftBottomBox pt-[3.24vh]">
<div class="w-[43.79vh] h-[26.85vh] mx-auto" ref="echartsContainer"></div>
</div>
</template>
<script>
import * as echarts from 'echarts';
import { GetMonitorFirstOperationMonth } from '@/api/operation';
let chart = null;
export default {
data() {
return {
chartOptions: {
grid: {
top: '13%',
left: '13%',
right: '10%',
bottom: '13%',
},
xAxis: {
type: 'category',
boundaryGap: false,
data: ['3月', '4月', '5月', '6月', '7月', '8月'],
axisLabel: {
color: '#fff',
fontFamily: 'DIN-Bold,Microsoft YaHei',
},
},
yAxis: {
type: 'value',
axisLabel: {
formatter: '{value}%',
color: '#fff',
fontFamily: 'DIN-Bold,Microsoft YaHei',
},
splitLine: {
lineStyle: {
color: 'rgba(0,142,114,0.3)',
width: 0.5,
},
},
},
series: [
{
data: [95, 97, 96, 98, 99, 96],
type: 'line',
itemStyle: {
color: '#30FDFF',
},
areaStyle: {
color: {
type: 'linear',
x: 0,
y: 0,
x2: 0,
y2: 1,
colorStops: [
{
offset: 0,
color: 'rgba(0, 128, 255, 0.7)', //
},
{
offset: 1,
color: 'rgba(200, 254, 255, 0)', //
},
],
},
},
},
],
},
isLoading: true,
};
},
methods: {
onGetPageData() {
GetMonitorFirstOperationMonth().then(res => {
this.chartOptions['xAxis']['data'] = [];
this.chartOptions['series'][0]['data'] = [];
res['data'].forEach(item => {
this.chartOptions['xAxis']['data'].push(item['monthName']);
this.chartOptions['series'][0]['data'].push(item['firstPunctualityRate'].slice(0, -1));
});
chart.setOption(this.chartOptions);
this.isLoading = false;
});
},
},
mounted() {
chart = echarts.init(this.$refs.echartsContainer);
this.onGetPageData();
setInterval(() => {
this.onGetPageData();
}, this.$store.getters.intervalTime);
},
};
</script>
<style>
.bgLeftBottomBox {
background-image: url('@/assets/svg/Operation/LeftBottom/Box.svg');
background-size: contain;
background-position: center;
background-repeat: no-repeat;
}
</style>

@ -0,0 +1,90 @@
.leftBox {
height: vh(526);
box-sizing: border-box;
padding: vh(20) vw(20);
background-image: url('@/assets/svg/Operation/LeftTop/Box.svg');
background-size: auto;
background-position: center;
background-repeat: no-repeat;
.echartsContainer {
width: vw(230);
height: vh(230);
margin: vh(20) auto;
}
.bottomBox {
display: flex;
justify-content: space-between;
align-items: center;
width: vw(496);
height: vh(172);
padding: vh(24) vw(30) 0;
margin: vh(50) auto 0;
background: linear-gradient(180deg, #F2F3FA 0%, #EAE9FE 100%);
box-sizing: border-box;
border: 2px solid #EDE9F4;
.top {
>div {
div {
font-size: vw(16);
color: #302D32;
margin-left: vw(8);
}
}
p {
font-size: vw(28);
color: #605C68;
span {
font-size: vw(44);
color: #5D49AF;
vertical-align: baseline;
}
}
}
.bottom {
>div {
width: vw(276);
height: vh(48);
padding: 0 vw(24);
background: linear-gradient(272deg, rgba(93, 73, 175, 0.045) 2%, rgba(93, 73, 175, 0.066) 99%);
border: 1px solid;
border-image: linear-gradient(160deg, rgba(158, 136, 246, 0.4) -10%, rgba(93, 73, 175, 0) 41%) 1.5;
display: flex;
align-items: center;
justify-content: space-between;
.left {
display: flex;
align-items: center;
span {
font-size: vw(16);
color: #571273;
margin-left: vw(4);
}
}
.right {
font-size: vw(12);
color: #571273;
span {
font-weight: 500;
font-size: vw(26);
color: #5D49AF;
vertical-align: baseline;
}
}
&:first-child {
margin-bottom: vh(24);
}
}
}
}
}

@ -1,26 +1,26 @@
<template>
<div class="h-[48.79vh] bgLeftTopBox p-[1.85vh]">
<div class="w-[21.29vh] h-[21.29vh] mx-auto m-[2vh]" ref="echartsContainer"></div>
<div class="w-[45.18vh] h-[14.81vh] bgTopLeftItemBox mx-auto mt-[4.8vh] px-[2.96vh] py-[2.4vh] flex justify-between items-center">
<section>
<div class="leftBox">
<div class="echartsContainer" ref="echartsContainer"></div>
<div class="bottomBox">
<section class="top">
<div class="flex">
<img src="@/assets/svg/Monitor/TopLeft/TrianglePurple.svg" />
<span class="youshe text-[1.75vh] ml-[1.11vh] opacity-80">总人数</span>
<img src="@/assets/svg/Operation/LeftTop/TrianglePurple.svg" />
<div>总人数</div>
</div>
<p class="text-[#733FF3] text-[4.07vh] mt-[1.4vh] youshe leading-none">
{{ totalPopulation }}
<p>
<span class="panmen">{{ totalPopulation }}</span>
</p>
</section>
<section>
<section class="bottom">
<template v-for="(item, index) in peopleData">
<div class="w-[25.55vh] h-[4.07vh] peopleItemBox px-[2.22vh] flex justify-between items-center" :class="!index && 'mb-[1.85vh]'" :key="index">
<div class="flex items-end">
<div :key="index">
<div class="left">
<img src="@/assets/svg/Operation/LeftTop/PointBlue.svg" />
<span class="text-[1.48vh] opacity-80 ml-[0.74vh]">{{ item['itemName'] }}</span>
<span>{{ item['itemName'] }}</span>
</div>
<div class="flex items-center">
<span class="text-[#733FF3] text-[2.4vh] youshe">{{ item['itemVal'] }}</span>
<span class="text-[1.11vh] opacity-65 ml-[0.74vh]"></span>
<div class="right">
<span class="panmen">{{ item['itemVal'] }}</span>
</div>
</div>
</template>
@ -64,11 +64,11 @@ export default {
colorStops: [
{
offset: 0,
color: '#9C85FA',
color: '#6551B4',
},
{
offset: 1,
color: '#5531E7',
color: '#ACA0DC',
},
],
global: false,
@ -77,7 +77,7 @@ export default {
},
axisLine: {
lineStyle: {
color: [[1, '#4F518C']],
color: [[1, '#fff']],
opacity: 0.7,
width: 30,
},
@ -99,10 +99,10 @@ export default {
value: 86,
name: '首台准点率',
title: {
offsetCenter: ['0%', '20%'],
offsetCenter: ['0%', '24%'],
fontSize: 22,
fontFamily: 'Microsoft YaHei',
color: '#fff',
color: '#5D49AF',
overflow: 'break',
lineHeight: 20,
},
@ -110,8 +110,8 @@ export default {
valueAnimation: true,
offsetCenter: ['0%', '-15%'],
fontSize: 40,
fontFamily: 'DIN-Bold,Microsoft YaHei',
color: '#03FFFF',
fontFamily: 'panmen',
color: '#5D49AF',
formatter: `{value}%`,
},
},
@ -169,22 +169,6 @@ export default {
};
</script>
<style>
.bgLeftTopBox {
background-image: url('@/assets/svg/Operation/LeftTop/Box.svg');
background-size: contain;
background-position: center;
background-repeat: no-repeat;
}
.bgTopLeftItemBox {
background-image: url('@/assets/svg/Operation/LeftTop/ItemBox.svg');
background-size: contain;
background-position: center;
background-repeat: no-repeat;
}
.peopleItemBox {
background: linear-gradient(271deg, rgba(85, 255, 212, 0.045) 2%, rgba(35, 150, 121, 0.066) 99%);
border: 1.5px solid;
border-image: linear-gradient(159deg, rgba(169, 213, 255, 0.4) -8%, rgba(169, 213, 255, 0) 38%) 1.5;
}
<style lang="scss" scoped>
@import "./index.scss";
</style>

@ -0,0 +1,128 @@
<template>
<div class="w-[116.94vh] h-[85.8vh] bgRightMidBox">
<div class="w-[112.96vh] h-[77.03vh] mx-auto mt-[2.96vh]">
<div class="h-[4.44vh] leading-[4.44vh] text-center bg-[#322369]">
<div class="inline-block">
<div class="inline-block w-[5.11vh] text-[#AAAAAA] text-[1.48vh]">手术间</div>
<div class="inline-block w-[11.11vh] text-[#AAAAAA] text-[1.48vh]">人员</div>
<div class="inline-block w-[16.51vh] text-[#AAAAAA] text-[1.48vh]">手术名称</div>
<div class="inline-block w-[13.11vh] text-[#AAAAAA] text-[1.48vh]">申请类型</div>
<div class="inline-block w-[16.66vh] text-[#AAAAAA] text-[1.48vh]">入手术室时间</div>
<div class="inline-block w-[16.66vh] text-[#AAAAAA] text-[1.48vh]">麻醉开始时间</div>
<div class="inline-block w-[16.66vh] text-[#AAAAAA] text-[1.48vh]">手术开始时间</div>
<div class="inline-block w-[11.11vh] text-[#AAAAAA] text-[1.48vh]">是否准点</div>
</div>
</div>
<div class="h-[72.58vh]">
<el-carousel direction="vertical" :autoplay="true" :interval="15000" indicatorPosition="none">
<el-carousel-item v-for="(item, index) in scheduList" :key="index">
<template v-for="(subItem, index) in item">
<div class="h-[4.44vh] leading-[4.44vh] mt-[0.74vh] text-center itemStyle" :key="index">
<div class="inline-block">
<div class="inline-block align-top w-[5.11vh] text-[1.48vh] panmen">
{{ subItem['roomName'] }}
</div>
<div class="inline-block align-top w-[11.11vh] text-[1.48vh]">
{{ subItem['patientName'] }}
</div>
<div class="inline-block align-top w-[16.51vh] text-[1.48vh] px-1">
<marquee scrollamount="2">{{ subItem['operationName'] }}</marquee>
</div>
<div class="inline-block align-middle w-[13.11vh] text-[1.48vh]">
<img class="mx-auto" src="@/assets/svg/Operation/RightMid/Emergency.svg" v-if="subItem['OperationType']" />
<img class="mx-auto" src="@/assets/svg/Operation/RightMid/Other.svg" v-else />
</div>
<div class="inline-block align-top w-[16.66vh] text-[1.48vh]">
{{ formatData(subItem['inDateTime']) }}
</div>
<div class="inline-block align-top w-[16.66vh] text-[1.48vh]">
{{ formatData(subItem['anesStartTime']) }}
</div>
<div class="inline-block align-top w-[16.66vh] text-[1.48vh]">
{{ formatData(subItem['operStartTime']) }}
</div>
<div class="inline-block align-top w-[11.11vh] text-[1.48vh]" :class="subItem['IsFirstOnTime'] ? 'text-[#349AFC]' : 'text-[#A53FAF]'">
{{ subItem['IsFirstOnTime'] ? '准点' : '不准点' }}
</div>
</div>
</div>
</template>
</el-carousel-item>
</el-carousel>
</div>
</div>
</div>
</template>
<script>
import { Carousel, CarouselItem } from 'element-ui';
import { GetMonitorOperationCount } from '@/api/operation';
import dayjs from 'dayjs';
export default {
data() {
return {
scheduList: [],
isLoading: true,
};
},
methods: {
onGetPageData() {
let nowDay = dayjs().format('YYYY-MM-DD');
if (this.$store.getters.isMock) {
nowDay = '2024-06-06';
}
GetMonitorOperationCount(nowDay).then(res => {
this.scheduList = [];
let group = 0;
for (let i = 0; i < res['data']['length']; i++) {
group = parseInt(i / 14);
if (this.scheduList[group]) {
this.scheduList[group].push(res['data'][i]);
} else {
this.scheduList[group] = [res['data'][i]];
}
}
this.isLoading = false;
});
},
formatData(date) {
let txt = '';
if (date) {
txt = dayjs(date).format('YYYY-MM-DD HH:mm:ss');
}
return txt;
},
},
mounted() {
this.onGetPageData();
setInterval(() => {
this.onGetPageData();
}, this.$store.getters.intervalTime);
},
components: {
'el-carousel': Carousel,
'el-carousel-item': CarouselItem,
},
};
</script>
<style lang="scss" scoped>
.bgRightMidBox {
background-image: url('@/assets/svg/Operation/RightMid/Box.svg');
background-size: contain;
background-position: center;
background-repeat: no-repeat;
}
.itemStyle {
background: rgba(74, 78, 103, 0.15);
box-sizing: border-box;
border: 1px solid rgba(87, 151, 181, 0.4);
}
:deep(.el-carousel) {
height: 100%;
.el-carousel__item,
.el-carousel__container {
height: 100%;
}
}
</style>
Loading…
Cancel
Save