water-ldht/src/views/iot/group.vue

88 lines
2.1 KiB
Vue
Raw Normal View History

2024-09-26 14:04:18 +08:00
<template>
<div class="manage-container">
<vab-query-form>
<el-input v-model="input" placeholder="传感器名称"></el-input>
<el-button type="primary" icon="el-icon-search"></el-button>
<el-button type="primary">创建组态</el-button>
</vab-query-form>
<el-row :gutter="20">
<el-col :span="6">
<div class="list">
<div class="id">
<el-checkbox v-model="checked"></el-checkbox>
<el-col>
<span class="id-list">组态</span>
<span class="id-list">ID:218621000</span>
</el-col>
</div>
<div class="button-list">
<el-button type="text">发布</el-button>
<el-button type="text">运行</el-button>
2024-10-10 08:18:58 +08:00
<el-button type="text">{{ $t('defalult.bj') }}</el-button>
2024-09-26 14:04:18 +08:00
<el-button type="text">分享</el-button>
<el-button type="text">下架</el-button>
<el-button type="text">设置</el-button>
2024-10-10 08:18:58 +08:00
<el-button type="text">{{ $t('device.fz') }}</el-button>
<el-button type="text">{{ $t('defalult.sc') }}</el-button>
2024-09-26 14:04:18 +08:00
</div>
</div>
</el-col>
<el-col :span="6"></el-col>
<el-col :span="6"></el-col>
<el-col :span="6"></el-col>
</el-row>
</div>
</template>
<script>
export default {
name: 'Group',
data() {
return {
input: '',
checked: true,
};
},
};
</script>
<style lang="scss" scoped>
.manage-container {
width: 100%;
.el-col-6 {
padding: 30px;
.list {
padding: 20px;
border: 1px solid #e3e3e3;
border-radius: 4px;
.id {
display: flex;
justify-content: space-between;
align-items: center;
.id-list {
display: block;
margin: 10px 0;
font-size: 16px;
}
}
}
.button-list {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
text-align: center;
.el-button {
width: 25%;
margin: 0;
}
}
}
}
</style>