|
@@ -3,7 +3,7 @@
|
|
|
<transition :enter-active-class="proxy?.animate.searchAnimate.enter"
|
|
<transition :enter-active-class="proxy?.animate.searchAnimate.enter"
|
|
|
:leave-active-class="proxy?.animate.searchAnimate.leave">
|
|
:leave-active-class="proxy?.animate.searchAnimate.leave">
|
|
|
<div v-show="showSearch" class="mb-[10px]">
|
|
<div v-show="showSearch" class="mb-[10px]">
|
|
|
- <el-card shadow="hover" class="statistic-card">
|
|
|
|
|
|
|
+ <div class="statistic-card">
|
|
|
<el-row :gutter="20" justify="space-between">
|
|
<el-row :gutter="20" justify="space-between">
|
|
|
<!-- 设备总数 -->
|
|
<!-- 设备总数 -->
|
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
@@ -70,7 +70,7 @@
|
|
|
</el-statistic>
|
|
</el-statistic>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
- </el-card>
|
|
|
|
|
|
|
+ </div>
|
|
|
<el-card shadow="hover" :style="{ marginTop: '10px', height: '80px' }">
|
|
<el-card shadow="hover" :style="{ marginTop: '10px', height: '80px' }">
|
|
|
<div class="form-wrapper">
|
|
<div class="form-wrapper">
|
|
|
<div class="form-container">
|
|
<div class="form-container">
|
|
@@ -652,7 +652,7 @@ const data = reactive<PageData<DeviceForm, DeviceQuery>>({
|
|
|
form: { ...initFormData },
|
|
form: { ...initFormData },
|
|
|
queryParams: {
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
|
- pageSize: 10,
|
|
|
|
|
|
|
+ pageSize: 20,
|
|
|
identifier: undefined,
|
|
identifier: undefined,
|
|
|
name: undefined,
|
|
name: undefined,
|
|
|
mac: undefined,
|
|
mac: undefined,
|
|
@@ -1106,11 +1106,13 @@ onMounted(() => {
|
|
|
border-radius: 4px;
|
|
border-radius: 4px;
|
|
|
}
|
|
}
|
|
|
.statistic-card {
|
|
.statistic-card {
|
|
|
- border-radius: 8px;
|
|
|
|
|
|
|
+ border-radius: 1px;
|
|
|
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.08);
|
|
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.08);
|
|
|
border: 1px solid #ebeef5;
|
|
border: 1px solid #ebeef5;
|
|
|
- padding: 15px 0;
|
|
|
|
|
- height: 120px;
|
|
|
|
|
|
|
+ padding: 10px 0;
|
|
|
|
|
+ height: 100px;
|
|
|
|
|
+ background: #ffffff;
|
|
|
|
|
+ width: calc(100% - 3px);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.statistic-item {
|
|
.statistic-item {
|