From 259856a01d72db3652c09bda2294f658e74a9868 Mon Sep 17 00:00:00 2001 From: vastsa <48862574+vastsa@users.noreply.github.com> Date: Mon, 19 Dec 2022 22:28:59 +0800 Subject: [PATCH 1/3] fix:admin error --- templates/index.html | 559 ++++++++++++++++--------------------------- 1 file changed, 208 insertions(+), 351 deletions(-) diff --git a/templates/index.html b/templates/index.html index 3d77f2a..4afe3b3 100644 --- a/templates/index.html +++ b/templates/index.html @@ -7,224 +7,149 @@ - {{title}} + 后台管理-{{title}} - - - - - + + + - - -
- - - - - - - - 1 - - - 2 - - - 3 - - - 4 - - - 5 - - - 6 - - - 7 - - - 8 - - - 9 - - - -
-
-
- - 0 - - - -
-
-
-
-
- - - -
- - - - - - - -
- - - - - - - - - - - - 文件 - - - 文本 - - - - - -
将文字、文件拖、粘贴到此处,或点击上传
-
天数<7或限制次数(24h后删除)
-
- - - -
- -
- 取件 -
- -
- 我的文件 -
- -
- 存入 -
-
+
+ + + + 文件管理 + 系统配置 + + + + + + + + +
+
取件码:${ file.code }
+
文件名:${ file.name }
+
次   数:${ file.count }
+
到   期:${ file.exp_time.slice(0,19) }
+
+ 内   容:${ file.text } +
+
+ 链   接: + 点击下载 +
+
+
+ + 删除 + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ 删除 +
+
+ + 新增Banner + + + 更新 + +
- - -
-
取件码:${ file.code }
-
文件名:${ file.name }
-
- 内   容:${ file.text } -
-
- 链   接: - 点击下载 -
-
-
- -
- - - - - - - - - ${ file.name } - - - 取件码: -

- ${ file.code } -

-
-
-
- - 二维码 - -
-
-
-
-
- FileCodeBox +
+ + 登录 +
+ - \ No newline at end of file + From 3251237d2d9281a10fe2fc1c209f4cb4c76b513f Mon Sep 17 00:00:00 2001 From: vastsa <48862574+vastsa@users.noreply.github.com> Date: Mon, 19 Dec 2022 22:33:51 +0800 Subject: [PATCH 2/3] fix:error --- templates/index.html | 559 +++++++++++++++++++++++++++---------------- 1 file changed, 351 insertions(+), 208 deletions(-) diff --git a/templates/index.html b/templates/index.html index 4afe3b3..8b0247f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -7,149 +7,224 @@ - 后台管理-{{title}} + {{title}} - - - + + + + + + + -
- - - - 文件管理 - 系统配置 - - - - - - - - -
-
取件码:${ file.code }
-
文件名:${ file.name }
-
次   数:${ file.count }
-
到   期:${ file.exp_time.slice(0,19) }
-
- 内   容:${ file.text } -
-
- 链   接: - 点击下载 -
-
-
- - 删除 - -
-
+
+ + + + + + + + 1 + + + 2 + + + 3 + + + 4 + + + 5 + + + 6 + + + 7 + + + 8 + + + 9 + + + +
+
+
+ + 0 + + + +
+
+
+
+
+ + + +
+ + + + + + + +
+ + + + + + + + + + + + 文件 + + + 文本 + + + + + +
将文字、文件拖、粘贴到此处,或点击上传
+
天数<7或限制次数(24h后删除)
+
+ + + +
+ +
+ 取件 +
+ +
+ 我的文件 +
+ +
+ 存入 +
+
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
-
- 删除 -
-
- - 新增Banner - - - 更新 - -
-
- - 登录 - + + +
+
取件码:${ file.code }
+
文件名:${ file.name }
+
+ 内   容:${ file.text } +
+
+ 链   接: + 点击下载 +
+
+
+ +
+ + + + + + + + + ${ file.name } + + + 取件码: +

+ ${ file.code } +

+
+
+
+ + 二维码 + +
+
+
+
+
- From d92de1ab49cea2c29a06197f98060aca657ed71a Mon Sep 17 00:00:00 2001 From: vastsa <48862574+vastsa@users.noreply.github.com> Date: Mon, 19 Dec 2022 22:34:19 +0800 Subject: [PATCH 3/3] fix:error --- templates/admin.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/templates/admin.html b/templates/admin.html index ca0ddc7..4afe3b3 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -66,7 +66,7 @@ style="text-align: center" layout="prev, pager, next, sizes" :page-size="paginate.page_size" - @current-change="loginAdmin" + @current-change="updatePage" @size-change="updateSize" :total="paginate.total" > @@ -202,6 +202,10 @@ this.paginate.size = value; this.loginAdmin(); }, + updatePage: function (value) { + this.paginate.page = value; + this.loginAdmin(); + }, deleteBanner: function (index) { this.config.banners.splice(index, 1); }, @@ -225,8 +229,7 @@ }); }) }, - loginAdmin: function (current_page = 1) { - this.paginate.page = current_page; + loginAdmin: function () { axios.post('', this.paginate, { 'headers': { 'pwd': this.pwd, @@ -257,4 +260,4 @@ } }) - \ No newline at end of file +