修改showFile
This commit is contained in:
parent
1eb23fe7f1
commit
65ae60521f
@ -45,7 +45,7 @@
|
||||
<style lang="scss" scoped>
|
||||
.container {
|
||||
width: 100%;
|
||||
min-height: calc(100vh - 50px);
|
||||
/*min-height: calc(100vh - 50px);*/
|
||||
}
|
||||
.share-empty {
|
||||
height: 30%;
|
||||
|
||||
@ -144,10 +144,10 @@
|
||||
|
||||
<!--list布局-->
|
||||
<!--<div v-show="!grid && fileList.length > 0" :style="{'width':'100%','height': clientHeight+'px'}">-->
|
||||
<div id="v-draw-rectangle" :style="{'width':'100%','height': clientHeight+'px'}">
|
||||
<div v-show="fileList.length > 0" id="v-draw-rectangle" :style="{'width':'100%','height': clientHeight+'px'}">
|
||||
<pl-table
|
||||
ref="fileListTable"
|
||||
v-show="!grid && fileList.length > 0"
|
||||
v-show="!grid"
|
||||
v-loading="tableLoading"
|
||||
:max-height="clientHeight"
|
||||
:default-sort="sortable"
|
||||
@ -291,7 +291,7 @@
|
||||
|
||||
|
||||
<!--grid布局-->
|
||||
<div v-show="grid && fileList.length > 0" v-loading="tableLoading"
|
||||
<div v-show="grid" v-loading="tableLoading"
|
||||
element-loading-text="文件加载中"
|
||||
element-loading-spinner="el-icon-loading"
|
||||
element-loading-background="#f6f7fa88">
|
||||
@ -342,7 +342,7 @@
|
||||
</div>
|
||||
|
||||
<empty-file
|
||||
v-if="this.fileList.length < 1 && !tableLoading"
|
||||
v-if="fileList.length < 1 && !tableLoading"
|
||||
:emptyStatus="emptyStatus"
|
||||
>
|
||||
</empty-file>
|
||||
|
||||
@ -113,7 +113,7 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
<style lang="scss" scoped>
|
||||
.button {
|
||||
--background: #409EFF;
|
||||
--background-hover: #6bcbff;
|
||||
|
||||
@ -106,7 +106,7 @@ export function substring(str,n){
|
||||
*/
|
||||
export function formatTime(agoTime) {
|
||||
const diff = agoTime / 1000
|
||||
if (diff < 30) {
|
||||
if (diff < 60) {
|
||||
return '刚刚'
|
||||
} else if (diff < 3600) {
|
||||
// less 1 hour
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user