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