修改移动文件夹样式
This commit is contained in:
parent
b8c070c641
commit
337ed6fbb0
@ -61,7 +61,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-header>
|
</el-header>
|
||||||
<el-main class="nopadding">
|
<el-main class="nopadding">
|
||||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" @selection-change="selectionChange" :size="size" stripe :rowChild="false">
|
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" @selection-change="selectionChange" :params="params" :size="size" stripe :rowChild="false">
|
||||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||||
<template #name="scope">
|
<template #name="scope">
|
||||||
@ -135,7 +135,9 @@ export default {
|
|||||||
params: {
|
params: {
|
||||||
keyword: "",
|
keyword: "",
|
||||||
folder_id:"",
|
folder_id:"",
|
||||||
name:""
|
name:"",
|
||||||
|
sort_by:"name",
|
||||||
|
sort_order:"asc", // asc desc。默认asc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -5,6 +5,7 @@
|
|||||||
<div class="btn"><el-button @click="addFolder" :size="size" plain type="primary">新建文件夹</el-button></div>
|
<div class="btn"><el-button @click="addFolder" :size="size" plain type="primary">新建文件夹</el-button></div>
|
||||||
</div>
|
</div>
|
||||||
<el-scrollbar :max-height="360" v-loading="loading">
|
<el-scrollbar :max-height="360" v-loading="loading">
|
||||||
|
<div class="treeMain">
|
||||||
<el-tree
|
<el-tree
|
||||||
:data="list"
|
:data="list"
|
||||||
:props="defaultProps"
|
:props="defaultProps"
|
||||||
@ -19,6 +20,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-tree>
|
</el-tree>
|
||||||
|
</div>
|
||||||
</el-scrollbar>
|
</el-scrollbar>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<el-button @click="visible=false" >取 消</el-button>
|
<el-button @click="visible=false" >取 消</el-button>
|
||||||
@ -121,9 +123,16 @@ export default {
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.headerBtn{
|
.headerBtn{
|
||||||
display: flex;align-items: center;
|
display: flex;align-items: center;
|
||||||
margin-bottom: 12px;
|
padding-bottom: 12px;
|
||||||
|
margin-top: -10px;
|
||||||
|
margin-bottom: 5px;
|
||||||
.btn{
|
.btn{
|
||||||
margin-right: 12px;
|
margin-right: 12px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.treeMain{
|
||||||
|
padding: 5px;
|
||||||
|
border-radius: 4px;
|
||||||
|
border: 1px solid rgba(0,0,0,0.12);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user