Compare commits

...
5 Commits
Author SHA1 Message Date
vastsa f80d50981c fix:error 2022-12-19 22:34:19 +08:00
vastsa dfb7367100 fix:error 2022-12-19 22:33:51 +08:00
vastsa d764cb48e3 fix:admin error 2022-12-19 22:28:59 +08:00
lan f01d39c1c9 update:background-color 2022-12-19 22:00:04 +08:00
lan 59805273bf add:管理页面页码+Banner配置 2022-12-19 18:50:36 +08:00
2 changed files with 21 additions and 6 deletions

No files matched your search

+11 -4
View File
@@ -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
View File
@@ -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>