| | |
| | | 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; |
| | |
| | | </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 |
| | |
| | | </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" |
| | |
| | | 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); |
| | | } |