修改边距

This commit is contained in:
yangjun 2025-08-27 14:25:35 +08:00
parent feb02ac338
commit 93f1a6e285
9 changed files with 18 additions and 14 deletions

View File

@ -521,9 +521,9 @@
//update-end-author:liusq---date:20230517--for: [issues/526]RangePicker --- //update-end-author:liusq---date:20230517--for: [issues/526]RangePicker ---
.ant-table-wrapper { .ant-table-wrapper {
padding: 6px; padding: 14px;
background-color: @component-background; background-color: @component-background;
border-radius: 2px; border-radius: 8px;
.ant-table-title { .ant-table-title {
min-height: 40px; min-height: 40px;

View File

@ -6,6 +6,7 @@
// @import './table.less'; // @import './table.less';
.jeecg-basic-table-form-container .ant-form { .jeecg-basic-table-form-container .ant-form {
margin-bottom: 14px !important; margin-bottom: 14px !important;
border-radius: 8px !important;
} }
.ant-row { .ant-row {
margin-top: 5px; margin-top: 5px;

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="p-2"> <div >
<!--引用表格--> <!--引用表格-->
<BasicTable @register="registerTable" > <BasicTable @register="registerTable" >
<!--插槽:table标题--> <!--插槽:table标题-->

View File

@ -1,6 +1,6 @@
<template> <template>
<a-spin :spinning="confirmLoading"> <a-spin :spinning="confirmLoading">
<div style="width: 236px;float:left;"> <div style="width: 236px;float:left;margin-top:14px;">
<a-menu <a-menu
style="width: 236px;margin-top: -11px;border-radius: 8px;" style="width: 236px;margin-top: -11px;border-radius: 8px;"
mode="inline" mode="inline"
@ -17,7 +17,7 @@
</a-sub-menu> </a-sub-menu>
</a-menu> </a-menu>
</div> </div>
<div style="width: calc(100% - 236px);float:left;margin-top: -21px;"> <div style="width: calc(100% - 236px);float:left;margin-top: -10px;">
<a-row> <a-row>
<SxtList :tableData="sbList.cameraInfoList" @ok="hadleSuccess"></SxtList> <SxtList :tableData="sbList.cameraInfoList" @ok="hadleSuccess"></SxtList>
<DbList :tableData="sbList.electricityMeterList" @ok="hadleSuccess"></DbList> <DbList :tableData="sbList.electricityMeterList" @ok="hadleSuccess"></DbList>

View File

@ -53,7 +53,7 @@
<div><span style="color: #909399;">负责人电话</span>{{ item.orgLeaderPhone }}</div> <div><span style="color: #909399;">负责人电话</span>{{ item.orgLeaderPhone }}</div>
</div> </div>
<div class="org-address"> <div class="org-address">
<span class="ellipsis-one-lines2" :title="item.comRegisterAddress">啊手动阀手动阀{{ item.comRegisterAddress }}</span> <span class="ellipsis-one-lines2" :title="item.comRegisterAddress">{{ item.comRegisterAddress }}</span>
</div><div </div><div
style="font-size: 12px; display: flex; justify-content: space-between; align-items: center; margin-top: 12px;"> style="font-size: 12px; display: flex; justify-content: space-between; align-items: center; margin-top: 12px;">
<span style="color: #909399;">加盟时间{{ item.franchiseTime?.substring(0, 10) }}</span> <span style="color: #909399;">加盟时间{{ item.franchiseTime?.substring(0, 10) }}</span>

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="p-2"> <div >
<!--引用表格--> <!--引用表格-->
<BasicTable @register="registerTable"> <BasicTable @register="registerTable" style="padding: 0 !important;">
<!--插槽:table标题--> <!--插槽:table标题-->
<template #tableTitle> <template #tableTitle>
</template> </template>

View File

@ -3,7 +3,7 @@
<a-tabs v-model:activeKey="tabActiveKey" class="tabs-container"> <a-tabs v-model:activeKey="tabActiveKey" class="tabs-container">
<a-tab-pane key="dataAsync" tab="配置信息"> <a-tab-pane key="dataAsync" tab="配置信息">
<!--引用表格--> <!--引用表格-->
<BasicTable ref="tableRef" @register="registerTable"> <BasicTable ref="tableRef" @register="registerTable" style="padding: 0 !important;">
<!--插槽:table标题--> <!--插槽:table标题-->
<template #tableTitle> <template #tableTitle>
<a-button v-show="isShow" type="primary" preIcon="ant-design:plus-outlined" @click="handleAdd"> 新增</a-button> <a-button v-show="isShow" type="primary" preIcon="ant-design:plus-outlined" @click="handleAdd"> 新增</a-button>
@ -168,7 +168,8 @@ onMounted(() => {
.tabs-container { .tabs-container {
width: 100%; width: 100%;
background-color: white; background-color: white;
padding: 20px; padding: 14px;
border-radius: 8px !important;
} }

View File

@ -3,7 +3,7 @@
<a-tabs v-model:activeKey="tabActiveKey" class="tabs-container"> <a-tabs v-model:activeKey="tabActiveKey" class="tabs-container">
<a-tab-pane key="dataAsync" tab="配置信息"> <a-tab-pane key="dataAsync" tab="配置信息">
<!--引用表格--> <!--引用表格-->
<BasicTable @register="registerTable"> <BasicTable @register="registerTable" style="padding: 0 !important;">
<!--插槽:table标题--> <!--插槽:table标题-->
<template #tableTitle> <template #tableTitle>
<a-button type="primary" preIcon="ant-design:plus-outlined" @click="handleAdd"> 新增</a-button> <a-button type="primary" preIcon="ant-design:plus-outlined" @click="handleAdd"> 新增</a-button>
@ -153,7 +153,8 @@ function getTableAction(record) {
.tabs-container { .tabs-container {
width: 100%; width: 100%;
background-color: white; background-color: white;
padding: 20px; padding: 14px;
border-radius: 8px !important;
} }

View File

@ -3,7 +3,7 @@
<a-tabs v-model:activeKey="tabActiveKey" class="tabs-container"> <a-tabs v-model:activeKey="tabActiveKey" class="tabs-container">
<a-tab-pane key="dataAsync" tab="配置信息"> <a-tab-pane key="dataAsync" tab="配置信息">
<!--引用表格--> <!--引用表格-->
<BasicTable ref="tableRef" @register="registerTable"> <BasicTable ref="tableRef" @register="registerTable" style="padding:0 !important;">
<!--插槽:table标题--> <!--插槽:table标题-->
<template #tableTitle> <template #tableTitle>
<a-button v-show="isShow" type="primary" preIcon="ant-design:plus-outlined" @click="handleAdd"> 新增</a-button> <a-button v-show="isShow" type="primary" preIcon="ant-design:plus-outlined" @click="handleAdd"> 新增</a-button>
@ -168,7 +168,8 @@ onMounted(() => {
.tabs-container { .tabs-container {
width: 100%; width: 100%;
background-color: white; background-color: white;
padding: 20px; padding: 14px;
border-radius: 8px !important;
} }
</style> </style>