feat:完善样式
This commit is contained in:
@@ -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%;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -164,7 +164,8 @@
|
||||
defaultConfig.legend.data.push(item.name)
|
||||
})
|
||||
lineChart.setOption({
|
||||
...defaultConfig
|
||||
...defaultConfig,
|
||||
...props.config
|
||||
})
|
||||
// // 开启轮播
|
||||
// startTooltipLoop()
|
||||
|
||||
Reference in New Issue
Block a user