feat: 用独立页面展示存证详情并按天河链版式绘制证书
This commit is contained in:
@@ -31,12 +31,6 @@
|
||||
<n-descriptions-item v-if="proof?.onchainAt" :label="t('pages.blockchain.onchainAt')">
|
||||
{{ fmt(proof.onchainAt) }}
|
||||
</n-descriptions-item>
|
||||
<n-descriptions-item v-if="proof?.explorerUrl" :label="t('pages.blockchain.explorer')">
|
||||
<a :href="proof.explorerUrl" target="_blank" rel="noopener" class="proof-link">
|
||||
{{ t('pages.blockchain.openExplorer') }}
|
||||
<n-icon :component="OpenOutline" />
|
||||
</a>
|
||||
</n-descriptions-item>
|
||||
<n-descriptions-item v-if="failureReason" :label="t('pages.operations.resultReason')">
|
||||
<n-text type="error">{{ failureReason }}</n-text>
|
||||
</n-descriptions-item>
|
||||
@@ -96,7 +90,7 @@
|
||||
import { computed, defineComponent, h, ref, watch } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { NButton, NIcon } from 'naive-ui';
|
||||
import { CopyOutline, OpenOutline } from '@vicons/ionicons5';
|
||||
import { CopyOutline } from '@vicons/ionicons5';
|
||||
import { onchainApi, traceCodeApi } from '@/api';
|
||||
import { useAuthStore } from '@/stores/auth';
|
||||
import { fmt, statusType } from '@/utils/format';
|
||||
|
||||
Reference in New Issue
Block a user