feat: 锁屏添加OMC升级等待

This commit is contained in:
TsMask
2024-01-17 17:29:31 +08:00
parent ce076ef7f8
commit e3a01b8998
5 changed files with 100 additions and 43 deletions

View File

@@ -138,19 +138,6 @@ const logoUrl = computed(() => {
return url.replace('{language}', lang);
});
// 系统使用手册地址
const helpDocUrl = computed(() => {
let url = parseUrlPath(appStore.helpDoc);
if (url.indexOf('{language}') === -1) {
return url;
}
// 语言参数替换
const local = currentLocale.value;
const lang = local.split('_')[0];
return url.replace('{language}', lang);
});
/**系统使用手册跳转 */
function fnClickHelpDoc(language?: string) {
const routeData = router.resolve({ name: 'HelpDoc' });
@@ -315,7 +302,7 @@ document.addEventListener('visibilitychange', function () {
<template #footerRender="{ width }">
<footer class="footer">
<div class="footer-fixed" :style="{ width }">
<div style="flex: 1;">
<div style="flex: 1">
<span>{{ appStore.copyright }}</span>
</div>
<a-space direction="horizontal" :size="8">
@@ -367,7 +354,7 @@ document.addEventListener('visibilitychange', function () {
.footer {
z-index: 16;
margin: 0px;
width: auto;
width: auto;
margin-top: 52px;
&-fixed {
position: fixed;