加底部

This commit is contained in:
陈红丽 2024-10-10 17:07:06 +08:00
parent b47aa3f145
commit e19a3b0b1a
10 changed files with 28 additions and 16 deletions

View File

@ -4,7 +4,9 @@
<template v-if="!$slots.default">
<template v-if="src">
<div class="img-cropper-img" @click="openCropper">
<img :src="src" :class="{ circled: circled }"/>
<div class="img-boxs">
<img :src="src" :class="{ circled: circled }"/>
</div>
<div class="mask" :class="{ circled: circled }" @click.stop>
<div class="handle-icon" @click="openCropper">
<el-icon >
@ -92,12 +94,17 @@
overflow: hidden;
text-align: center;
position: relative;
// border: 1px dashed var(--el-border-color-darker);
// padding:5px;
&-img {
position: relative;
width: 100%;
height: 100%;
border-radius: 50%;
.img-boxs {
border: 1px dashed #999999;
padding:5px;
}
.addImg {
width: v-bind(getWidth);
height: v-bind(getWidth);

View File

@ -384,7 +384,7 @@
await nextTick();
const headEl = tableEl.querySelector('.el-table__header-wrapper');
const { bottomIncludeBody } = getViewportOffset(headEl);
let headerH = 64;
let headerH = 40;
let paginationH = 0;
let marginH = 0;
if (!isBoolean(pagination.value)) {

View File

@ -5,7 +5,7 @@
<a href="https://www.baidu.com" target="_blank"> 社区 </a>
<a href="https://www.baidu.com/issues" target="_blank"> 交流 </a>
</div>
<div class="copyright"> 版权说明 </div>
<div class="copyright">Copyright © 2024 南京云恒信息技术有限公司</div>
</div>
</template>
@ -24,6 +24,7 @@
<style lang="scss" scoped>
.page-footer {
//margin: 28px 0 24px 0;
margin-top:20px;
padding: 0 16px;
text-align: center;

View File

@ -55,12 +55,12 @@
<div class="admin-layout-content-main">
<div class="main-view" ref="adminBodyRef">
<MainView />
<PageFooter/>
</div>
</div>
<!-- <el-back-top :right="100" /> -->
</div>
</div>
<div class="admin-layout-shade"></div>
</div>
@ -82,6 +82,7 @@
import { TabsView } from './components/TagsView';
import { MainView } from './components/Main';
import { PageHeader } from './components/Header';
import { PageFooter } from './components/Footer';
import { useProjectSetting } from '@/hooks/setting/useProjectSetting';
import { useDesignSetting } from '@/hooks/setting/useDesignSetting';
import { useRoute } from 'vue-router';

View File

@ -20,6 +20,7 @@
ref="tableRef"
:data="lists"
row-key="id"
:height="fwbHeight"
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
>
<el-table-column label="分类名称" prop="name" min-width="150" show-overflow-tooltip />
@ -79,6 +80,7 @@
*/
const editDialog = defineAsyncComponent(() => import('./edit.vue'));
const fwbHeight = document.body.clientHeight - 320;
const isExpand = ref(false);
const loading = ref(false);
const editVisible = ref(false);

View File

@ -1,7 +1,7 @@
<template>
<PageWrapper>
<el-row :gutter="10" class="mt-3">
<el-col :xs="24" :sm="24" :md="3" :lg="3" :xl="3" class="mb-4">
<el-col :xs="24" :sm="24" :md="3" :lg="3" :xl="3">
<el-card shadow="hover" class="mb-4 border-0 proCard" :style="{ height: docHeight + 'px' }">
<div
v-for="(item, index) in messageTypeList"
@ -16,7 +16,7 @@
</div>
</el-card>
</el-col>
<el-col :xs="24" :sm="24" :md="21" :lg="21" :xl="21" class="mb-4">
<el-col :xs="24" :sm="24" :md="21" :lg="21" :xl="21">
<el-card shadow="hover" class="mb-4 border-0 proCard">
<BasicTable
:columns="columns"
@ -162,7 +162,7 @@
selectionData.value = value;
}
onMounted(() => {
docHeight.value = document.body.clientHeight - 165;
docHeight.value = document.body.clientHeight - 145;
});
</script>

View File

@ -1,7 +1,7 @@
<template>
<PageWrapper>
<el-row :gutter="10" class="mt-3">
<el-col :xs="24" :sm="24" :md="6" :lg="6" :xl="6" class="mb-4">
<el-col :xs="24" :sm="24" :md="6" :lg="6" :xl="6">
<el-card shadow="hover" class="border-0">
<template #header>
<el-row>
@ -65,7 +65,7 @@
/>
</el-card>
</el-col>
<el-col :xs="24" :sm="24" :md="18" :lg="18" :xl="18" class="mb-4">
<el-col :xs="24" :sm="24" :md="18" :lg="18" :xl="18">
<el-card shadow="hover" class="mb-4 border-0 proCard">
<configItem :configId="configId" v-if="configItemShow" />
</el-card>
@ -104,7 +104,7 @@
size: 10,
count: configDataList.value.length,
});
const fwbHeight = document.body.clientHeight - 395;
const fwbHeight = document.body.clientHeight - 370;
/**
* 执行添加

View File

@ -1,7 +1,7 @@
<template>
<PageWrapper>
<el-row :gutter="10" class="mt-3">
<el-col :xs="24" :sm="24" :md="6" :lg="6" :xl="6" class="mb-4">
<el-col :xs="24" :sm="24" :md="6" :lg="6" :xl="6">
<el-card shadow="hover" class="border-0">
<template #header>
<el-row>
@ -72,7 +72,7 @@
/>
</el-card>
</el-col>
<el-col :xs="24" :sm="24" :md="18" :lg="18" :xl="18" class="mb-4">
<el-col :xs="24" :sm="24" :md="18" :lg="18" :xl="18">
<el-card shadow="hover" class="mb-4 border-0 proCard">
<dictItem :dictId="dictId" v-if="dictItemShow" />
</el-card>
@ -122,7 +122,7 @@
size: 20,
count: dictDataList.value.length,
});
const fwbHeight = document.body.clientHeight - 395;
const fwbHeight = document.body.clientHeight - 370;
/**
* 执行添加

View File

@ -73,7 +73,7 @@
size: 10,
count: onlineTableData.value.length,
});
const fwbHeight = document.body.clientHeight - 370;
const fwbHeight = document.body.clientHeight - 340;
/**
* 加载数据列表

View File

@ -20,6 +20,7 @@
ref="tableRef"
:data="lists"
row-key="id"
:height="fwbHeight"
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
>
<el-table-column label="部门名称" prop="name" min-width="150" show-overflow-tooltip />
@ -90,7 +91,7 @@
import { confirm, message, buildTree } from '@/utils/auth';
const editDialog = defineAsyncComponent(() => import('./edit.vue'));
const fwbHeight = document.body.clientHeight - 320;
const isExpand = ref(false);
const loading = ref(false);
const editVisible = ref(false);