feat:完善样式

This commit is contained in:
zjc
2024-12-20 12:56:03 +08:00
parent c9b4f315e5
commit cfba180177
13 changed files with 924 additions and 47 deletions

View File

@@ -23,7 +23,7 @@
<style lang="scss" scoped>
.core-video {
margin: vh(10);
width: vw(326);
width: vw(300);
border-radius: vw(2);
background-image: url('@/assets/images/bg-1.png');
background-size: 100% 100%;

View File

@@ -1,5 +1,5 @@
<template>
<div class="box-4-content" >
<div class="box-4-content">
<div class="top-box">
<div class="title">融合通信</div>
<div class="icon-box flex">
@@ -52,22 +52,22 @@
</template>
<script setup>
import { fitChartSize } from '@/utils/dataUtil'
const props = defineProps({
width: {
type: Number,
default: () => 0
},
id: {
type: String,
default: () => ''
}
})
import { fitChartSize } from '@/utils/dataUtil'
const props = defineProps({
width: {
type: Number,
default: () => 0
},
id: {
type: String,
default: () => ''
}
})
</script>
<style lang="scss" scoped>
.box-4-content {
width: vw(315);
width: vw(300);
height: vh(1060);
background-image: url('/src/assets/images/rt-bg.png');
background-repeat: no-repeat;

View File

@@ -164,7 +164,8 @@
defaultConfig.legend.data.push(item.name)
})
lineChart.setOption({
...defaultConfig
...defaultConfig,
...props.config
})
// // 开启轮播
// startTooltipLoop()