|
|
@ -48,30 +48,36 @@ |
|
|
|
class="block w-full rounded border border-slate-400 mb-2 px-3 py-2" |
|
|
|
placeholder="What was received" |
|
|
|
/> |
|
|
|
<div class="flex flex-row justify-center"> |
|
|
|
<span |
|
|
|
class="rounded-l border border-r-0 border-slate-400 bg-slate-200 text-center text-blue-500 px-2 py-2 w-20" |
|
|
|
@click="changeUnitCode()" |
|
|
|
> |
|
|
|
{{ libsUtil.UNIT_SHORT[unitCode] || unitCode }} |
|
|
|
</span> |
|
|
|
<div |
|
|
|
class="border border-r-0 border-slate-400 bg-slate-200 px-4 py-2" |
|
|
|
<div class="flex mb-4"> |
|
|
|
<button |
|
|
|
class="rounded-s border border-e-0 border-slate-400 bg-slate-200 px-4 py-2" |
|
|
|
@click="amountInput === '0' ? null : decrement()" |
|
|
|
> |
|
|
|
<font-awesome icon="chevron-left" /> |
|
|
|
</div> |
|
|
|
</button> |
|
|
|
<input |
|
|
|
id="inputGivenAmount" |
|
|
|
v-model="amountInput" |
|
|
|
type="number" |
|
|
|
class="border border-r-0 border-slate-400 px-2 py-2 text-center w-20" |
|
|
|
class="flex-1 border border-e-0 border-slate-400 px-2 py-2 text-center w-[1px]" |
|
|
|
/> |
|
|
|
<div |
|
|
|
class="rounded-r border border-slate-400 bg-slate-200 px-4 py-2" |
|
|
|
<button |
|
|
|
class="rounded-e border border-slate-400 bg-slate-200 px-4 py-2" |
|
|
|
@click="increment()" |
|
|
|
> |
|
|
|
<font-awesome icon="chevron-right" /> |
|
|
|
</div> |
|
|
|
</button> |
|
|
|
|
|
|
|
<select |
|
|
|
v-model="unitCode" |
|
|
|
class="flex-1 rounded border border-slate-400 ms-2 px-3 py-2" |
|
|
|
> |
|
|
|
<option value="HUR">Hours</option> |
|
|
|
<option value="USD">US $</option> |
|
|
|
<option value="BTC">BTC</option> |
|
|
|
<option value="BX">BX</option> |
|
|
|
<option value="ETH">ETH</option> |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="flex justify-center mt-4" data-testId="imagery"> |
|
|
|