fix(01): bank icon & separator

This commit is contained in:
puriphatt 2024-08-05 07:53:50 +00:00
parent 30787ff473
commit 30f7e39d7a
11 changed files with 27 additions and 2 deletions

BIN
public/img/bank/bay.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

BIN
public/img/bank/bbl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

BIN
public/img/bank/gsb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

BIN
public/img/bank/kbank.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 KiB

BIN
public/img/bank/kkp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

BIN
public/img/bank/ktb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

BIN
public/img/bank/scb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
public/img/bank/ttb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
public/img/bank/uob.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

View file

@ -23,7 +23,7 @@
},
{
"label": "UOB Bank",
"value": "uobt"
"value": "uob"
},
{
"label": "Krungsri Bank",
@ -807,7 +807,7 @@
},
{
"label": "ธนาคารยูโอบี",
"value": "uobt"
"value": "uob"
},
{
"label": "ธนาคารกรุงศรีอยุธยา",

View file

@ -95,6 +95,12 @@ watch(
:class="{ 'q-pt-lg': i !== 0 }"
:key="i"
>
<q-separator
v-if="i > 0"
class="full-width"
style="padding-block: 0.1px"
spaced="lg"
/>
<span class="col-12 app-text-muted-2 flex justify-between items-center">
{{ `${$t('bankBookNo')} ${i + 1}` }}
<q-btn
@ -130,6 +136,25 @@ watch(
for="select-bankbook"
@filter="bankBoookFilter"
>
<template v-slot:option="scope">
<q-item
v-if="scope.opt"
v-bind="scope.itemProps"
class="row items-center col-12"
>
<q-item-section avatar>
<q-img
:src="`/img/bank/${scope.opt.value}.png`"
class="bordered"
style="border-radius: 50%"
/>
</q-item-section>
<q-item-section>
{{ scope.opt.label }}
</q-item-section>
</q-item>
</template>
<template v-slot:no-option>
<q-item>
<q-item-section class="text-grey">