From 8ba8e8aac970edc25a6124986eb2996b60a4b9d8 Mon Sep 17 00:00:00 2001 From: xc Date: Mon, 15 Sep 2025 11:23:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E5=87=BB=E6=96=87=E4=BB=B6=E5=A4=B9?= =?UTF-8?q?=E8=BF=9B=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/afvue/src/assets/main.css | 10 +++++----- vue/afvue/src/views/Flist.vue | 16 ++++++++++++---- 2 files changed, 17 insertions(+), 9 deletions(-) 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() } } }