fix :完善首页界面

This commit is contained in:
2024-05-09 18:26:40 +08:00
parent be5150c7c4
commit bf6a683261
3 changed files with 66 additions and 57 deletions

View File

@@ -21,12 +21,12 @@
</el-col>
<el-col :xs="24" :sm="8" :md="6" :lg="4" :xl="4">
<div class="right">
<div class="right-top">
<h3>欢迎回来 Sunshine</h3>
<div>科技创新项目需求征集中 要求参见OA内部信</div>
</div>
<!-- <div class="right-top">-->
<!-- <h3>欢迎回来 Sunshine</h3>-->
<!-- <div>科技创新项目需求征集中 要求参见OA内部信</div>-->
<!-- </div>-->
<!-- <div class="right-gap"></div>-->
<div class="right-down">
<div class="right-top ">
<div>
<h3>帮助文档</h3>
<span>查看更多</span>
@@ -36,6 +36,14 @@
{{ item.title }}
</div>
</div>
<div class="right-down">
<div>
<h3>工具下载</h3>
<span>常用网站</span>
</div>
<el-divider/>
</div>
</div>
</el-col>
</el-row>
@@ -103,10 +111,11 @@ const tableConfig = reactive({
align: 'center',
},
{
prop: 'state',
label: '状态',
prop: 'type',
label: '类型',
align: 'center',
currentRender: ({row, index}) => (<Tag dictType={'normal_disable'} value={row.state}/>)
showOverflowTooltip: false,
// currentRender: ({row, index}) => (<Tag dictType={'normal_disable'} value={row.state}/>)
},
{
prop: 'createTime',
@@ -119,6 +128,7 @@ const tableConfig = reactive({
fixed: 'right',
width: '150',
align: 'center',
showOverflowTooltip: false,
currentRender: ({row, index}) => {
return (
<div>
@@ -232,20 +242,20 @@ const headBtnClick = (key) => {
flex-direction: column;
justify-content: space-between;
.right-top {
h3 {
text-align: center;
margin-bottom: 15px;
}
div {
color: #909399;
font-size: 14px;
margin: 0 20px;
letter-spacing: 1px;
line-height: 25px;
}
}
//.right-top {
// h3 {
// text-align: center;
// margin-bottom: 15px;
// }
//
// div {
// color: #909399;
// font-size: 14px;
// margin: 0 20px;
// letter-spacing: 1px;
// line-height: 25px;
// }
//}
.right-top, .right-down {
flex: 0.5;
@@ -254,8 +264,7 @@ const headBtnClick = (key) => {
background-color: #ffffff;
}
.right-down {
.right-down,.right-top {
flex: 0.48;
> div:first-child {