You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
788 B
44 lines
788 B
1 year ago
|
<template>
|
||
|
<div class="broadcast_tpl_shower">
|
||
|
<p class="text">{{ text }}</p>
|
||
|
</div>
|
||
|
</template>
|
||
|
<script>
|
||
|
export default {
|
||
|
name:"BoardPreview",
|
||
|
data(){
|
||
|
return {
|
||
|
}
|
||
|
},
|
||
|
props:{
|
||
|
text: {
|
||
|
type: String,
|
||
|
default: "测试文字"
|
||
|
},
|
||
|
},
|
||
|
watch:{
|
||
|
|
||
|
},
|
||
|
computed:{
|
||
|
},
|
||
|
mounted(){
|
||
|
},
|
||
|
methods:{
|
||
|
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
<style lang="scss" scoped>
|
||
|
.broadcast_tpl_shower{
|
||
|
background-color: #000;
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
justify-content: flex-start;
|
||
|
align-items: center; padding: 4px 12px;
|
||
|
.text {
|
||
|
color: #0E0;
|
||
|
font-size: 16px; line-height: 18px; max-height: 36px; overflow: hidden;
|
||
|
word-break: break-all;
|
||
|
}
|
||
|
}
|
||
|
</style>
|