添加 Title 组件

This commit is contained in:
tao
2025-12-30 15:51:13 +08:00
parent 1b4c9bcc8d
commit 7b36211f04
8 changed files with 60 additions and 462 deletions

View File

@@ -109,18 +109,15 @@ fetchBoundEquipmentList()
<template>
<div class="equipment__container">
<div class="main-title">绑定设备列表</div>
<Title name="绑定设备列表" showRefresh @refresh="fetchBoundEquipmentList" />
<a-row class="main-content" :gutter="24">
<a-col :span="10" class="input__container">
<a-row>
<a-col :span="17">
<a-row :gutter="12">
<a-col :span="21">
<a-input size="large" v-model:value="equipmentInput" @pressEnter="fetchEquipmentInfo" placeholder="按下回车搜索" />
</a-col>
<a-col :span="6" :offset="1">
<a-space>
<a-button type="primary" size="large" @click="handleBind">绑定</a-button>
<a-button size="large" @click="fetchBoundEquipmentList">刷新</a-button>
</a-space>
<a-col :span="3">
<a-button type="primary" size="large" @click="handleBind">绑定</a-button>
</a-col>
</a-row>
<div class="description-wrapper">
@@ -173,13 +170,6 @@ fetchBoundEquipmentList()
}
}
.main-title {
font-size: 20px;
font-weight: 600;
border-bottom: 1px solid #c9c9c9;
padding: 0 0 8px;
}
.table-wrapper {
height: 100%;
overflow: auto;