add hover

This commit is contained in:
liangping 2023-05-21 17:40:53 +08:00
parent 8945c1d703
commit 473e5b4db7

View File

@ -109,7 +109,7 @@ const result = ref('');
Contract List of Code: {{ props.code_id }} Contract List of Code: {{ props.code_id }}
</h2> </h2>
<div class="overflow-x-auto"> <div class="overflow-x-auto">
<table class="table w-full mt-4"> <table class="table table-compact w-full mt-4">
<thead> <thead>
<tr> <tr>
<th style="position: relative; z-index: 2">Contract List</th> <th style="position: relative; z-index: 2">Contract List</th>
@ -117,7 +117,7 @@ const result = ref('');
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr v-for="(v, index) in response.contracts" :key="index"> <tr v-for="(v, index) in response.contracts" :key="index" class="hover">
<td>{{ v }}</td> <td>{{ v }}</td>
<td> <td>
<label <label
@ -184,7 +184,7 @@ const result = ref('');
</div> </div>
<div class="overflow-auto"> <div class="overflow-auto">
<table class="table table-compact w-full text-sm"> <table class="table table-compact w-full text-sm">
<tr v-for="(v, index) in state.models" :key="index"> <tr v-for="(v, index) in state.models" :key="index" class="hover">
<td class="text-right" :data-tip="format.hexToString(v.key)"> <td class="text-right" :data-tip="format.hexToString(v.key)">
<span class="font-bold float-right">{{ format.hexToString(v.key) }}</span> <span class="font-bold float-right">{{ format.hexToString(v.key) }}</span>
</td> </td>