diff --git a/vue/afvue/src/assets/main.css b/vue/afvue/src/assets/main.css index fbc4abc..39f10d1 100644 --- a/vue/afvue/src/assets/main.css +++ b/vue/afvue/src/assets/main.css @@ -59,16 +59,16 @@ a, background-position: 0px -399px; } .tb-html { - background-position: 0px -448px; + background-position: 0px -452px; } .tb-gz{ - background-position: 0px -298px; + background-position: 0px -302px; } .tb-zip{ - background-position: 0px -298px; + background-position: 0px -302px; } .tb-js{ - background-position: 0px -523px; + background-position: 0px -526px; } .tb-json{ background-position: 0px -623px; @@ -86,5 +86,5 @@ a, background-position: 0px -375px; } .tb-php{ - background-position: 0px -848px; + background-position: 0px -852px; } \ No newline at end of file diff --git a/vue/afvue/src/views/Flist.vue b/vue/afvue/src/views/Flist.vue index 4f16787..e89e8eb 100644 --- a/vue/afvue/src/views/Flist.vue +++ b/vue/afvue/src/views/Flist.vue @@ -17,10 +17,8 @@
- - - - {{ item.path }} + {{ item.path }} + {{ item.path }} {{ item.size }}KB {{ item.hash }} @@ -81,6 +79,16 @@ export default { this.$refs.sokey.value = key // this.spath = this.$refs.sokey.value this.getFlist() + }, + // 进入详情 + openfile(path){ + // this.spath = path + if(this.spath == '/'){ + this.spath = '' + } + let npath = this.spath+"/"+path + this.spath = npath + this.getFlist() } } }