div 设置自适应高度 ,height: 100vh
<template>
<div class="mod-config">
<el-row>
<el-col>
<div class="showBtResponse"></div>
</el-col>
</el-row>
<el-row class="bottomContent">
<el-input v-model="btCmd" placeholder="请输入BT指令" type="textarea" :rows="2"></el-input>
<el-button>发送</el-button>
</el-row>
</div>
</template>
<script>
export default {
data() {
return {
btCmd: ""
}
},
components: {},
activated() {
this.getData()
},
methods: {}
}
</script>
<style scoped>
.showBtResponse {
width: 100%;
border: 1px solid black;
height: 65vh;
}
.bottomContent{
}
</style>
网友评论