diff --git a/resource/static/theme-server-status/css/main.css b/resource/static/theme-server-status/css/main.css
index a110a1a..6f3d6b1 100644
--- a/resource/static/theme-server-status/css/main.css
+++ b/resource/static/theme-server-status/css/main.css
@@ -234,6 +234,19 @@ body {
cursor: pointer;
}
+/*加快Agent详情下拉展示速度*/
+.collapsing{
+ -webkit-transition-property:height,visibility;
+ -o-transition-property:height,visibility;
+ transition-property:height,visibility;
+ -webkit-transition-duration:.15s;
+ -o-transition-duration:.15s;
+ transition-duration:.15s;
+ -webkit-transition-timing-function: linear;
+ -o-transition-timing-function: linear;
+ transition-timing-function: linear
+}
+
/*正文结束*/
/* 服务页 正文*/
diff --git a/resource/static/theme-server-status/js/mixin.js b/resource/static/theme-server-status/js/mixin.js
index be04471..1260709 100644
--- a/resource/static/theme-server-status/js/mixin.js
+++ b/resource/static/theme-server-status/js/mixin.js
@@ -25,6 +25,13 @@ const mixinsVue = {
window.removeEventListener('scroll', this.handleScroll);
},
methods: {
+ toggleTemplate(template) {
+ if( template != this.preferredTemplate){
+ this.preferredTemplate = template;
+ this.updateCookie("preferred_theme", template);
+ window.location.reload();
+ }
+ },
initTheme() {
const storedTheme = localStorage.getItem("theme");
const theme = (storedTheme === 'dark' || storedTheme === 'light') ? storedTheme : (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
diff --git a/resource/template/common/footer.html b/resource/template/common/footer.html
index 94a61c2..8b17c69 100644
--- a/resource/template/common/footer.html
+++ b/resource/template/common/footer.html
@@ -6,10 +6,10 @@
{{.Version}}
-
-
+
+
-
+