样式调整

This commit is contained in:
pan 2024-09-02 13:34:05 +08:00
parent a04e154f94
commit 0dae5b346b
4 changed files with 67 additions and 11 deletions

View File

@ -1067,6 +1067,59 @@ body .el-drawer .el-drawer__body{
margin: 0;
padding-top: 0;
}
body .el-drawer .el-drawer__body .drawer-head{
display: flex;
padding: 10px 32px 10px 32px;
border-bottom: 1px solid rgba(0 0 0 / 5%);
margin: -16px -32px 0 -32px;
position: sticky;
top: -16px;
z-index: 2;
background: #fff;
}
body .el-drawer .el-drawer__body .drawer-head .cell-title{
display: block;
flex: 1;
color: #141414;
font-size: 18px;
font-weight: 500;
}
body .el-drawer .el-drawer__body .drawer-head .cell-title .title{
display: block;
color: #141414;
font-size: 18px;
font-weight: 500;
line-height: 34px;
}
body .el-drawer .el-drawer__body .drawer-head .cell-btn{
display: block;
}
body .iframe-drawer{
background: #fff;
}
body .iframe-drawer .drawer-head{
display: flex;
padding: 0 0 10px 0;
border-bottom: 1px solid rgba(0 0 0 / 5%);
position: sticky;
top: 0;
z-index: 2;
background: #fff;
}
body .iframe-drawer .drawer-head .cell-title{
display: block;
flex: 1;
color: #141414;
font-size: 18px;
font-weight: 500;
}
body .iframe-drawer .drawer-head .cell-title .title{
display: block;
color: #141414;
font-size: 18px;
font-weight: 500;
line-height: 34px;
}
/*pagination-container 分页*/
body .apparatus-card>.el-card__body .el-card.gray-card+.pagination-container{
@ -1436,13 +1489,17 @@ body .el-radio-button__inner:hover {
}
/*el-upload 上传按钮组件*/
body .el-upload+.el-button,
body .el-button+.el-upload{
margin-left: 10px;
}
body .el-upload,
body .registerbox .avatar-uploader .el-upload{
background:#fff;
border:1px solid #004098;
color:#004098 !important;
border-radius: 2px;
height: 36px;
height: 34px;
}
body .el-upload:hover,
body .registerbox .avatar-uploader .el-upload:hover{
@ -1463,6 +1520,8 @@ body .el-upload:hover .el-upload-dragger i{
}
body .el-upload .el-button,
body .el-upload .el-button:hover{
height: 32px;
line-height: 30px;
border: none !important;
background: transparent !important;
}

View File

@ -134,7 +134,7 @@ export default {
},
getList() {
this.loading = true
this.$set(this.queryParams,"createById", this.$store.getters.userId)
this.$set(this.queryParams,"receiverId", this.$store.getters.userId)
listMessage(this.queryParams).then(response => {
this.total = response?.total
this.tableList = response?.rows || []

View File

@ -1,7 +1,7 @@
<template>
<div class="app-container" v-loading="pageloading">
<el-row :gutter="20">
<el-col :span="12">
<el-row :gutter="24">
<el-col :span="8">
<el-card>
<div slot="header" class="clearfix"><span class="tline">工具类别统计</span></div>
<!-- -->
@ -17,7 +17,7 @@
</div>
</el-card><!--el-card-->
</el-col><!--el-col-->
<el-col :span="12">
<el-col :span="8">
<el-card>
<div slot="header" class="clearfix"><span class="tline">工具状态统计</span></div>
<div class="tjbox2" v-if="isPieChart">
@ -33,10 +33,7 @@
</div>
</el-card><!--el-card-->
</el-col><!--el-col-->
</el-row><!--el-row-->
<el-row :gutter="20">
<el-col :span="12">
<el-col :span="8">
<el-card>
<div slot="header" class="clearfix"><span class="tline">工具来源统计</span></div>
<div class="tjbox2" v-if="isPieChart">
@ -51,7 +48,7 @@
</div>
</el-card><!--el-card-->
</el-col><!--el-col-->
</el-row>
</el-row><!--el-row-->
<el-row :gutter="20">
<el-col :span="24">
<el-card>

View File

@ -1,5 +1,5 @@
<template>
<main-component ref="mainComponent" :code="code" :data="data" @close="handleCloseChange"></main-component>
<main-component ref="mainComponent" :code="code" :data="data" @close="handleCloseChange" class="iframe-drawer"></main-component>
</template>
<script>