add hover

This commit is contained in:
liangping 2023-06-17 20:24:51 +08:00
parent 3b2c658340
commit 751e2f662c

View File

@ -51,7 +51,7 @@ const list = computed(() => {
<div v-show="tab === 'transactions'" class="bg-base-100 rounded overflow-x-auto"> <div v-show="tab === 'transactions'" class="bg-base-100 rounded overflow-x-auto">
<table class="table w-full table-compact"> <table class="table w-full table-compact">
<thead> <thead class="bg-base-200">
<tr> <tr>
<th style="position: relative; z-index: 2;">Height</th> <th style="position: relative; z-index: 2;">Height</th>
<th style="position: relative; z-index: 2;">Hash</th> <th style="position: relative; z-index: 2;">Hash</th>
@ -60,7 +60,7 @@ const list = computed(() => {
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr v-for="(item, index) in base.txsInRecents" :index="index"> <tr v-for="(item, index) in base.txsInRecents" :index="index" class="hover">
<td class="text-sm text-primary"> <td class="text-sm text-primary">
<RouterLink :to="`/${props.chain}/block/${item.height}`">{{ item.height }}</RouterLink> <RouterLink :to="`/${props.chain}/block/${item.height}`">{{ item.height }}</RouterLink>
</td> </td>