2024-01-05 11:03:08 +08:00
|
|
|
<template>
|
|
|
|
<div class="scroll-board-container">
|
2024-01-08 16:59:42 +08:00
|
|
|
<dv-scroll-board :config="config" :style="{'width':width,'height':height}" :ref='id'/>
|
2024-01-05 11:03:08 +08:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
name: 'ScrollBoard',
|
|
|
|
props: {
|
|
|
|
config: {
|
|
|
|
type: Object,
|
|
|
|
default: () => ({})
|
|
|
|
},
|
|
|
|
width:{
|
|
|
|
type: String,
|
|
|
|
default: '600px'
|
|
|
|
},
|
|
|
|
height:{
|
|
|
|
type: String,
|
|
|
|
default: '380px'
|
2024-01-08 16:59:42 +08:00
|
|
|
},
|
|
|
|
id:{
|
|
|
|
type: String,
|
|
|
|
default: ''
|
2024-01-05 11:03:08 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-01-08 16:59:42 +08:00
|
|
|
</script>
|