mirror of
https://github.com/vastsa/FileCodeBox.git
synced 2026-11-20 21:57:02 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f80d50981c | ||
|
|
dfb7367100 | ||
|
|
d764cb48e3 | ||
|
|
f01d39c1c9 | ||
|
|
59805273bf |
No files matched your search
+11
-4
@@ -18,6 +18,10 @@
|
||||
.el-menu-demo {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -62,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"
|
||||
>
|
||||
@@ -198,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);
|
||||
},
|
||||
@@ -221,8 +229,7 @@
|
||||
});
|
||||
})
|
||||
},
|
||||
loginAdmin: function (current_page = 1) {
|
||||
this.paginate.page = current_page;
|
||||
loginAdmin: function () {
|
||||
axios.post('', this.paginate, {
|
||||
'headers': {
|
||||
'pwd': this.pwd,
|
||||
@@ -253,4 +260,4 @@
|
||||
}
|
||||
})
|
||||
</script>
|
||||
</html>
|
||||
</html>
|
||||
+10
-2
@@ -12,7 +12,15 @@
|
||||
<meta name="keywords" content="{{keywords}}"/>
|
||||
<meta name="generator" content="FileCodeBox"/>
|
||||
<meta name="template" content="Lan-V1.5.8"/>
|
||||
<meta name="description" content="{{description}}"/>
|
||||
<meta name="keywords" content="{{keywords}}"/>
|
||||
<meta name="generator" content="FileCodeBox"/>
|
||||
<meta name="template" content="Lan-V1.5.8"/>
|
||||
<style>
|
||||
body {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
.qu .el-button {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
@@ -313,7 +321,7 @@
|
||||
},
|
||||
copyText: function (value, style = 1) {
|
||||
if (style === 0) {
|
||||
value = '我在分享了给你文件,取件码:${value},${window.location.href}?code=${value}';
|
||||
value = `我在分享了给你文件,取件码:${value},${window.location.href}?code=${value}`;
|
||||
}
|
||||
const input = document.createElement('input');
|
||||
input.setAttribute('readonly', 'readonly');
|
||||
@@ -395,4 +403,4 @@
|
||||
}
|
||||
})
|
||||
</script>
|
||||
</html>
|
||||
</html>
|
||||
Reference in new issue
Block a user