forked from cerc-io/cosmos-explorer
feat: validator commission
This commit is contained in:
parent
78543b0fe1
commit
1c038b465f
@ -1,12 +1,12 @@
|
||||
<script lang="ts" setup>
|
||||
import { useTxDialog } from '@/stores'
|
||||
const store = useTxDialog()
|
||||
import { useTxDialog } from '@/stores';
|
||||
const store = useTxDialog();
|
||||
</script>
|
||||
<template>
|
||||
<ping-tx-dialog
|
||||
:type="store.type"
|
||||
:sender="store.sender"
|
||||
:endpoint="store.endpoint"
|
||||
:params="store.params"
|
||||
></ping-tx-dialog>
|
||||
</template>
|
||||
<ping-tx-dialog
|
||||
:type="store.type"
|
||||
:sender="store.sender"
|
||||
:endpoint="store.endpoint"
|
||||
:params="store.params"
|
||||
></ping-tx-dialog>
|
||||
</template>
|
||||
|
@ -24,7 +24,12 @@ const bars = computed(() => {
|
||||
</script>
|
||||
<template>
|
||||
<div class="flex items-center justify-evenly">
|
||||
<span v-for="(b, i) in bars" :key="i" :class="b.color" class="rounded" style="width: 1.5%"
|
||||
<span
|
||||
v-for="(b, i) in bars"
|
||||
:key="i"
|
||||
:class="b.color"
|
||||
class="rounded"
|
||||
style="width: 1.5%"
|
||||
>
|
||||
<v-tooltip
|
||||
v-if="Number(b.height) > 0"
|
||||
|
@ -151,18 +151,18 @@ const chartConfig = computed(() => {
|
||||
:series="series"
|
||||
/>
|
||||
|
||||
<div class="d-flex align-center justify-center flex-wrap mx-2 gap-x-6">
|
||||
<div class="d-flex align-center gap-2">
|
||||
<VBadge dot color="success" />
|
||||
<span class="mt-1 text-caption">Rate:{{ rate }}%</span>
|
||||
<div class="flex items-center justify-center flex-wrap mx-2 gap-x-6">
|
||||
<div class="flex items-center gap-2">
|
||||
<div class="bg-success w-[6px] h-[6px] rounded-full"></div>
|
||||
<span class="text-caption">Rate:{{ rate }}%</span>
|
||||
</div>
|
||||
<div class="d-flex align-center gap-2">
|
||||
<VBadge dot color="success" style="opacity: 0.2" />
|
||||
<span class="mt-1 text-caption">24h: ±{{ change }}%</span>
|
||||
<div class="flex items-center gap-2">
|
||||
<div class="bg-success w-[6px] h-[6px] rounded-full opacity-60"></div>
|
||||
<span class="text-caption">24h: ±{{ change }}%</span>
|
||||
</div>
|
||||
<div class="d-flex align-center gap-2">
|
||||
<VBadge dot color="secondary" />
|
||||
<span class="mt-1 text-caption">Max:{{ max }}%</span>
|
||||
<div class="flex items-center gap-2">
|
||||
<div class="bg-secondary w-[6px] h-[6px] rounded-full"></div>
|
||||
<span class="text-caption">Max:{{ max }}%</span>
|
||||
</div>
|
||||
</div>
|
||||
</VCardText>
|
||||
|
Loading…
Reference in New Issue
Block a user