no message
This commit is contained in:
parent
7fea622174
commit
86b3cbeb66
@ -27,7 +27,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li @click="[pid=0,searchKey='']">{{$L('全部文件')}}</li>
|
<li @click="[pid=0,searchKey='']">{{$L('全部文件')}}</li>
|
||||||
<li v-if="searchKey">{{$L('搜索')}} "{{searchKey}}"</li>
|
<li v-if="searchKey">{{$L('搜索')}} "{{searchKey}}"</li>
|
||||||
<li v-else v-for="item in navigator" @click="pid=item.id">{{item.name}}</li>
|
<li v-else v-for="item in navigator" @click="pid=item.id"><span :title="item.name">{{item.name}}</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
<Button v-if="shearFile && shearFile.pid != pid" size="small" type="primary" @click="shearTo">
|
<Button v-if="shearFile && shearFile.pid != pid" size="small" type="primary" @click="shearTo">
|
||||||
<div class="file-shear">
|
<div class="file-shear">
|
||||||
@ -320,6 +320,10 @@ export default {
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (item.newname == item.name) {
|
||||||
|
this.$set(item, '_edit', false);
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (item._load) {
|
if (item._load) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
16
resources/assets/sass/pages/page-file.scss
vendored
16
resources/assets/sass/pages/page-file.scss
vendored
@ -69,6 +69,7 @@
|
|||||||
> ul {
|
> ul {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
overflow: auto;
|
||||||
> li {
|
> li {
|
||||||
display: flex;
|
display: flex;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
@ -91,6 +92,13 @@
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-family: system-ui, sans-serif;
|
font-family: system-ui, sans-serif;
|
||||||
}
|
}
|
||||||
|
> span {
|
||||||
|
display: inline-block;
|
||||||
|
max-width: 180px;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.ivu-btn {
|
.ivu-btn {
|
||||||
@ -121,8 +129,8 @@
|
|||||||
list-style: none;
|
list-style: none;
|
||||||
float: left;
|
float: left;
|
||||||
margin: 12px;
|
margin: 12px;
|
||||||
width: 90px;
|
width: 94px;
|
||||||
height: 95px;
|
height: 100px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
@ -186,8 +194,8 @@
|
|||||||
}
|
}
|
||||||
.file-icon {
|
.file-icon {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 46px;
|
width: 52px;
|
||||||
height: 46px;
|
height: 52px;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user