fix: change UI

This commit is contained in:
oat_dev 2024-06-13 15:01:22 +07:00
parent ec854acd62
commit dff6eb190b
3 changed files with 85 additions and 30 deletions

BIN
public/shop-image.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -5,37 +5,91 @@ import AppBox from 'components/app/AppBox.vue';
<template>
<AppBox no-padding bordered style="box-shadow: var(--shadow-3)">
<div class="row q-pa-sm q-col-gutter-md">
<div class="col-4">
<div
class="rounded q-pa-md"
style="
border: 1px solid var(--green-10);
background-color: var(--surface-2);
"
>
<q-img src="blank-image.png"></q-img>
<div class="q-pa-sm">
<div class="row flex justify-between text-bold">
<div class="col-9">าบรการและคาดำเนนงานยนแบบคำรองขอนำเข</div>
<div class="col-3 relative-position" style="left: 10px; bottom: 10px">
<q-btn
flat
round
padding="sm"
class="absolute-top-right dots-btn app-text-muted"
icon="mdi-dots-vertical"
style="z-index: 99"
size="sm"
@click.stop=""
>
<q-menu class="bordered">
<q-list v-close-popup>
<q-item
clickable
dense
class="row q-py-sm"
style="white-space: nowrap"
@click="$emit('a')"
>
<q-icon
name="mdi-eye-outline"
class="col-3"
size="xs"
style="color: hsl(var(--green-6-hsl))"
/>
<span class="col-9 q-px-md flex items-center">
{{ $t('viewDetail') }}
</span>
</q-item>
<q-item
dense
clickable
class="row q-py-sm"
style="white-space: nowrap"
@click="$emit('a')"
v-close-popup
>
<q-icon
name="mdi-pencil-outline"
class="col-3"
size="xs"
style="color: hsl(var(--cyan-6-hsl))"
/>
<span class="col-9 q-px-md flex items-center">
{{ $t('edit') }}
</span>
</q-item>
</q-list>
</q-menu>
</q-btn>
</div>
</div>
<div class="col-8">
<div class="q-pr-sm q-mb-sm">
{{ 'ค่าบริการและค่าดำเนินงานยื่นแบบคำร้องขอนำเข้า' }}
<div class="app-text-muted">AC102</div>
<div class="flex justify-end text-bold" style="color: var(--green-10)">
฿ 1,200.00
</div>
<div
class="flex justify-center rounded items-center q-my-md q-py-lg"
style="background-color: var(--stone-3)"
>
<q-img
src="shop-image.png"
style="height: 86px; max-width: 100px"
></q-img>
</div>
<div class="row justify-between items-center q-mb-xs">
<div>
<q-icon
name="mdi-clock-outline surface-0 rounded q-pa-xs app-text-muted"
size="20px"
/>
14
</div>
<div class="row justify-between q-mb-xs">
<div
class="q-px-sm row items-center justify-between rounded hover-item text-white"
style="background-color: var(--blue-6)"
@click.stop="$emit('viewDetail')"
>
{{ 'AC103' }}
</div>
<div class="text-bold" style="color: var(--green-9)">
{{ '฿1,200.00' }}
</div>
</div>
<div class="row justify-between app-text-muted">
<div>ระยะเวลาในการดำเนนการ</div>
<div>14 </div>
<div>
<q-btn
unelevated
class="surface-0 q-mr-sm"
label="เพิ่มสินค้า"
@click="console.log('add')"
style="color: var(--blue-5)"
/>
</div>
</div>
</div>

View file

@ -5,11 +5,12 @@ import TotalProductCardComponent from 'components/04_product-service/TotalProduc
<template>
<AppBox
class="row"
bordered
no-padding
style="
width: 75vw;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-columns: repeat(4, 1fr);
gap: var(--size-3);
"
>