feat: 支持后台配置备案信息
This commit is contained in:
@@ -268,7 +268,10 @@
|
||||
<div v-else class="chain-empty muted">{{ t('chain.notOnchain') }}</div>
|
||||
</section>
|
||||
|
||||
<footer class="footer muted">{{ appName }}</footer>
|
||||
<footer class="footer muted">
|
||||
<span>{{ appName }}</span>
|
||||
<span v-if="filingInfo">{{ filingInfo }}</span>
|
||||
</footer>
|
||||
</template>
|
||||
|
||||
<!-- 轻提示 -->
|
||||
@@ -293,6 +296,7 @@ const { t, locale } = useI18n();
|
||||
const loading = ref(true);
|
||||
const data = ref<any>(null);
|
||||
const appName = ref('');
|
||||
const filingInfo = ref('');
|
||||
const toast = ref('');
|
||||
|
||||
// 节点图片默认收缩,避免页面过长;点击展开
|
||||
@@ -574,10 +578,12 @@ onMounted(async () => {
|
||||
try {
|
||||
const info = await fetchAppInfo();
|
||||
appName.value = info?.appName || t('app.name');
|
||||
filingInfo.value = info?.filingInfo || '';
|
||||
const iv = Number(info?.carouselInterval);
|
||||
if (Number.isFinite(iv) && iv >= 0) carouselInterval.value = iv;
|
||||
} catch {
|
||||
appName.value = t('app.name');
|
||||
filingInfo.value = '';
|
||||
}
|
||||
document.addEventListener('click', closeLangMenu);
|
||||
});
|
||||
@@ -1126,6 +1132,9 @@ watch(
|
||||
padding: 8px 0;
|
||||
}
|
||||
.footer {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
padding: 24px 0 32px;
|
||||
|
||||
Reference in New Issue
Block a user