forked from cerc-io/cosmos-explorer
feat: add param menu
This commit is contained in:
parent
7be0c4c8a1
commit
a94e3be787
@ -1,12 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="text-main text-h5 mb-4">Parameters</div>
|
|
||||||
<div class="bg-card px-4 pt-3 pb-4 rounded-sm">
|
|
||||||
<div class="text-base mb-3 text-main">Minting Parameters</div>
|
|
||||||
<div class="grid grid-cols-5 gap-4">
|
|
||||||
<div v-for="item in 10" :key="item" class="rounded-sm bg-active px-4 py-2">
|
|
||||||
<div class="text-xs mb-2 text-secondary">Blocks Per Year</div>
|
|
||||||
<div class="text-base text-main">4,360,000</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
21
src/modules/[chain]/params/index.vue
Normal file
21
src/modules/[chain]/params/index.vue
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<script lang="ts" setup>
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<template>
|
||||||
|
<div class="bg-card px-4 pt-3 pb-4 rounded-sm">
|
||||||
|
<div class="text-base mb-3 text-main">Minting Parameters</div>
|
||||||
|
<div class="grid grid-cols-5 gap-4">
|
||||||
|
<div v-for="item in 10" :key="item" class="rounded-sm bg-active px-4 py-2">
|
||||||
|
<div class="text-xs mb-2 text-secondary">Blocks Per Year</div>
|
||||||
|
<div class="text-base text-main">4,360,000</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<route>
|
||||||
|
{
|
||||||
|
meta: {
|
||||||
|
i18n: 'parameters'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</route>
|
@ -3,7 +3,8 @@
|
|||||||
"dashboard": "面板首页",
|
"dashboard": "面板首页",
|
||||||
"blocks": "区块和交易",
|
"blocks": "区块和交易",
|
||||||
"staking": "质押生息",
|
"staking": "质押生息",
|
||||||
"governance": "社区治理"
|
"governance": "社区治理",
|
||||||
|
"parameters": "参数"
|
||||||
},
|
},
|
||||||
"index": {
|
"index": {
|
||||||
"slogan": "Ping Dashboard 是一个区块链浏览器,也是一个网页钱包,还有更多 ... 🛠",
|
"slogan": "Ping Dashboard 是一个区块链浏览器,也是一个网页钱包,还有更多 ... 🛠",
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
"dashboard": "Dashboard",
|
"dashboard": "Dashboard",
|
||||||
"blocks": "Blocks&Transaction",
|
"blocks": "Blocks&Transaction",
|
||||||
"staking": "Staking",
|
"staking": "Staking",
|
||||||
"governance": "Governance"
|
"governance": "Governance",
|
||||||
|
"parameters": "Parameters"
|
||||||
},
|
},
|
||||||
"index": {
|
"index": {
|
||||||
"slogan": "Ping Dashboard is not just an explorer but also a wallet and more ... 🛠",
|
"slogan": "Ping Dashboard is not just an explorer but also a wallet and more ... 🛠",
|
||||||
|
@ -230,8 +230,8 @@ watch(isVerticalNavMini(windowWidth, isVerticalNavHovered), val => {
|
|||||||
class="nav-group-children"
|
class="nav-group-children"
|
||||||
>
|
>
|
||||||
<Component
|
<Component
|
||||||
:is="'children' in child ? 'VerticalNavGroup' : VerticalNavLink"
|
|
||||||
v-for="child in item.children"
|
v-for="child in item.children"
|
||||||
|
:is="'children' in child ? 'VerticalNavGroup' : VerticalNavLink"
|
||||||
:key="child.title"
|
:key="child.title"
|
||||||
:item="child"
|
:item="child"
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user