样式调整

master
wanglei 2 years ago
parent e90525f7ec
commit 2ad4057c1f

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 509 KiB

After

Width:  |  Height:  |  Size: 648 KiB

@ -59,8 +59,8 @@
:data="list" :data="list"
row-key="id" row-key="id"
:default-expand-all="isExpandAll" :default-expand-all="isExpandAll"
:tree-props="{children: 'children', hasChildren: 'hasChildren'}"> :tree-props="{children: 'children', hasChildren: 'hasChildren'}" border>
<el-table-column label="目录名称" align="left" header-align="center" prop="muName"> <el-table-column label="目录名称" align="left" header-align="center" prop="muName" min-width="160" fixed>
<template slot-scope="scope"> <template slot-scope="scope">
<el-link type="primary" @click="handleDAXX(scope.row)">{{ scope.row.muName }}</el-link> <el-link type="primary" @click="handleDAXX(scope.row)">{{ scope.row.muName }}</el-link>
</template> </template>

@ -39,7 +39,10 @@
<div style="margin-top: 40px;"> <div style="margin-top: 40px;">
<el-empty :image-size="240" v-if="pictureRecard.length===0"></el-empty> <div v-if="pictureRecard.length===0" class="empty">
<img src="@/assets/images/emptyData.png" alt="暂无数据"/>
<div>暂无数据</div>
</div>
<div v-if="pictureRecard.length>0"> <div v-if="pictureRecard.length>0">
@ -728,4 +731,14 @@ export default {
::v-deep .el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content { ::v-deep .el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
background-color: #fff18e; background-color: #fff18e;
} }
.empty{
width:100%;
height:500px;
color:#666666;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center
}
</style> </style>

@ -55,9 +55,9 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<!-- 底部 --> <!-- 底部 -->
<div class="el-login-footer"> <!-- <div class="el-login-footer">
<span>Copyright © 2018-2024 ruoyi.vip All Rights Reserved.</span> <span>Copyright © 2018-2024 ruoyi.vip All Rights Reserved.</span>
</div> </div>-->
</div> </div>
</template> </template>

Loading…
Cancel
Save