Browse Source

优化

master
wen 2 years ago
parent
commit
0cd3824858
  1. 7
      src/views/filemange/index.vue
  2. 18
      src/views/subfile/index.vue

7
src/views/filemange/index.vue

@ -22,12 +22,12 @@
<el-table-column <el-table-column
align="left" align="left"
prop="name" prop="name"
label="名称"> label="名称" min-width="25%">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="left" align="left"
label="类型" label="类型"
width="auto"> min-width="30%">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="type_file_click"> <div class="type_file_click">
<el-tooltip content="点击进入子文件夹" placement="bottom-start" effect="light"> <el-tooltip content="点击进入子文件夹" placement="bottom-start" effect="light">
@ -46,7 +46,7 @@
<el-table-column <el-table-column
align="left" align="left"
label="操作" label="操作"
width="auto"> min-width="45%">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="file_caozuo"> <div class="file_caozuo">
<el-button size="mini" :filenames="scope.row.name" mark="rename">重命名</el-button> <el-button size="mini" :filenames="scope.row.name" mark="rename">重命名</el-button>
@ -413,6 +413,7 @@ methods: {
.sou_bottom{margin-left:10px;} .sou_bottom{margin-left:10px;}
.use_button{margin:15px 0 16px 0;} .use_button{margin:15px 0 16px 0;}
// .use_button>button{margin:0 10px 10px 0;} // .use_button>button{margin:0 10px 10px 0;}
// .file_caozuo{text-align:center;}
.file_caozuo2>button{margin:6px 10px 0 0;} .file_caozuo2>button{margin:6px 10px 0 0;}
.el-table td{padding:9px 0} .el-table td{padding:9px 0}
.folder_bottom a{margin:0 6px;} .folder_bottom a{margin:0 6px;}

18
src/views/subfile/index.vue

@ -31,12 +31,12 @@
<el-table-column <el-table-column
align="left" align="left"
prop="name" prop="name"
label="名称"> label="名称" min-width="25%">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="left" align="left"
label="类型" label="类型"
width="auto"> min-width="30%">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="type_file_click"> <div class="type_file_click">
<a title="点击进入子文件夹" :href="'#/filemange/subfile?id='+scope.row.id"> <a title="点击进入子文件夹" :href="'#/filemange/subfile?id='+scope.row.id">
@ -51,7 +51,7 @@
<el-table-column <el-table-column
align="left" align="left"
label="操作" label="操作"
width="auto"> min-width="45%">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="file_caozuo"> <div class="file_caozuo">
<el-button size="mini" :filenames="scope.row.name" mark="rename">重命名</el-button> <el-button size="mini" :filenames="scope.row.name" mark="rename">重命名</el-button>
@ -82,12 +82,12 @@
<el-table-column <el-table-column
align="left" align="left"
prop="name" prop="name"
label="名称"> label="名称" min-width="20%">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="left" align="left"
label="图片" label="图片"
width="auto"> min-width="30%">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="file_show"> <div class="file_show">
<a title="点击查看原文件" :href="imgurl+scope.row.image" target="_blank"> <a title="点击查看原文件" :href="imgurl+scope.row.image" target="_blank">
@ -109,7 +109,7 @@
<el-table-column <el-table-column
align="left" align="left"
label="操作"> label="操作" min-width="45%">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="file_caozuo"> <div class="file_caozuo">
<el-button size="mini" :filenames="scope.row.name" :suffixs="'.'+scope.row.suffix" mark="rename">重命名</el-button> <el-button size="mini" :filenames="scope.row.name" :suffixs="'.'+scope.row.suffix" mark="rename">重命名</el-button>
@ -826,10 +826,11 @@ export default {
.sou_bottom{margin-left:10px;} .sou_bottom{margin-left:10px;}
.use_button{margin:15px 0 16px 0;} .use_button{margin:15px 0 16px 0;}
// .use_button>button{margin:0 10px 10px 0;} // .use_button>button{margin:0 10px 10px 0;}
// .file_caozuo{text-align:center;}
.file_caozuo>button{margin:6px 10px 0 0;} .file_caozuo>button{margin:6px 10px 0 0;}
.el-table td{padding:9px 0} .el-table td{padding:9px 0}
.folder_bottom a{margin:0 6px;} .folder_bottom a{margin:0 6px;}
.el-table__body-wrapper img{display:block;max-width:66%;max-height:286px;} .el-table__body-wrapper img{display:block;max-width:68%;max-height:286px;}
.el-drawer__body{text-align:center;padding:0 10% 20px 10%;} .el-drawer__body{text-align:center;padding:0 10% 20px 10%;}
.request_main{text-align:center;margin:12px 0;} .request_main{text-align:center;margin:12px 0;}
.addimgtext{line-height:25px;display:inline-block;color:#8c939d;vertical-align: middle;} .addimgtext{line-height:25px;display:inline-block;color:#8c939d;vertical-align: middle;}
@ -840,5 +841,8 @@ export default {
.file_show a{display:block;} .file_show a{display:block;}
// .link_copy{position:absolute;top:0;right:0;} // .link_copy{position:absolute;top:0;right:0;}
// .el-table .is-center{text-align:left;} // .el-table .is-center{text-align:left;}
}
@media (max-width: 990px) {
.subfile_main .el-table__body-wrapper img{max-width:100%;}
} }
</style> </style>

Loading…
Cancel
Save