From 8a5e373add078ed9aa11d4e406a9f68638e1b42e Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期六, 07 三月 2026 14:06:11 +0800
Subject: [PATCH] #
---
src/main/webapp/views/index.html | 29 +++++++++++++++++++++++++++--
1 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index 0bd4657..b9bf30f 100644
--- a/src/main/webapp/views/index.html
+++ b/src/main/webapp/views/index.html
@@ -236,6 +236,14 @@
line-height: 1.7;
}
+ .aside-footer-copy {
+ margin-bottom: 8px;
+ color: rgba(255, 255, 255, 0.62);
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+
.aside-footer-version {
display: flex;
align-items: center;
@@ -531,6 +539,7 @@
</el-scrollbar>
<div class="aside-footer" v-show="!isCollapse">
+ <div class="aside-footer-copy">漏 2026 娴欐睙涓壃绔嬪簱鎶�鏈湁闄愬叕鍙�</div>
<div class="aside-footer-version">
<span class="aside-footer-version-text">{{ versionText }}</span>
<el-tag
@@ -559,8 +568,12 @@
</div>
<div class="header-right">
- <el-tag v-if="licenseVisible" size="mini" type="warning" effect="dark">
- 璁稿彲璇� {{ licenseDays }} 澶╂父鏁�
+ <el-tag
+ v-if="licenseDisplayVisible"
+ size="mini"
+ :type="licenseTagType"
+ effect="dark">
+ 涓存椂璁稿彲璇佹湁鏁堟湡锛歿{ licenseDays }}澶�
</el-tag>
<el-tag
v-if="fakeVisible"
@@ -780,6 +793,18 @@
licenseVisible: function () {
return this.licenseDays !== null && this.licenseDays <= 30;
},
+ licenseDisplayVisible: function () {
+ return this.licenseVisible && this.licenseDays >= 0;
+ },
+ licenseTagType: function () {
+ if (this.licenseDays !== null && this.licenseDays <= 15) {
+ return "danger";
+ }
+ if (this.licenseDays !== null && this.licenseDays <= 30) {
+ return "warning";
+ }
+ return "info";
+ },
userShortName: function () {
return (this.userName || "绠$悊鍛�").substring(0, 1);
}
--
Gitblit v1.9.1